diff options
author | loos <loos@FreeBSD.org> | 2015-03-03 17:03:41 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2015-03-03 17:03:41 +0000 |
commit | 6dec850dfa4f1b51c22e8f878cf19a0747285d71 (patch) | |
tree | c75e5d23420ae4441dd508797e439498bf98bbca /sys/boot/fdt/dts | |
parent | 2de8a94917bc6f1133159ae912fc07bf9ed69cb9 (diff) | |
download | FreeBSD-src-6dec850dfa4f1b51c22e8f878cf19a0747285d71.zip FreeBSD-src-6dec850dfa4f1b51c22e8f878cf19a0747285d71.tar.gz |
MFC r278915:
Set the #address-cells and #size-cells properties on I2C controllers of
Raspberry-pi.
This fixes the issues on dtc(1) while compiling I2C addresses set with
"reg" property.
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/bcm2835.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/bcm2835.dtsi b/sys/boot/fdt/dts/arm/bcm2835.dtsi index bb30248..6ff1944 100644 --- a/sys/boot/fdt/dts/arm/bcm2835.dtsi +++ b/sys/boot/fdt/dts/arm/bcm2835.dtsi @@ -397,6 +397,8 @@ }; bsc0 { + #address-cells = <1>; + #size-cells = <0>; compatible = "broadcom,bcm2835-bsc", "broadcom,bcm2708-bsc"; reg = <0x205000 0x20>; @@ -405,6 +407,8 @@ }; bsc1 { + #address-cells = <1>; + #size-cells = <0>; compatible = "broadcom,bcm2835-bsc", "broadcom,bcm2708-bsc"; reg = <0x804000 0x20>; |