diff options
author | loos <loos@FreeBSD.org> | 2015-09-27 18:21:22 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2015-09-27 18:21:22 +0000 |
commit | 55927c3d56ba557e1ee6269c350749d7f5c0bb1c (patch) | |
tree | 3643f97987b63bc4ee836d9cd379f48adfbbe8af /sys/boot/fdt/dts | |
parent | ba6084f68972fe48de4abe069143177cfdf30dce (diff) | |
download | FreeBSD-src-55927c3d56ba557e1ee6269c350749d7f5c0bb1c.zip FreeBSD-src-55927c3d56ba557e1ee6269c350749d7f5c0bb1c.tar.gz |
Set the #address-cells and #size-cells for the I2C controllers in RPi2.
This allows the use of I2C addresses in 'reg' property.
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r-- | sys/boot/fdt/dts/arm/bcm2836.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/bcm2836.dtsi b/sys/boot/fdt/dts/arm/bcm2836.dtsi index bd75c84..c1caac3 100644 --- a/sys/boot/fdt/dts/arm/bcm2836.dtsi +++ b/sys/boot/fdt/dts/arm/bcm2836.dtsi @@ -379,6 +379,8 @@ }; bsc0 { + #address-cells = <1>; + #size-cells = <0>; compatible = "broadcom,bcm2835-bsc", "broadcom,bcm2708-bsc"; reg = <0x205000 0x20>; @@ -387,6 +389,8 @@ }; bsc1 { + #address-cells = <1>; + #size-cells = <0>; compatible = "broadcom,bcm2835-bsc", "broadcom,bcm2708-bsc"; reg = <0x804000 0x20>; |