summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2015-02-17 19:38:16 +0000
committerloos <loos@FreeBSD.org>2015-02-17 19:38:16 +0000
commit68a4902d98c88ebff2f1dfd8bee849d62233ba60 (patch)
tree8d11551f0bc938f2f03e995004fa9154ccb1aaac /sys/boot/fdt/dts
parent8de94edb0dafe01ef92c1342b0bbaa3b1c216d61 (diff)
downloadFreeBSD-src-68a4902d98c88ebff2f1dfd8bee849d62233ba60.zip
FreeBSD-src-68a4902d98c88ebff2f1dfd8bee849d62233ba60.tar.gz
Set the #address-cells and #size-cells properties on I2C controllers of
Raspberry-pi. This fixes the issues of dtc(1) while compiling I2C addresses set in "reg" property. MFC after: 2 weeks
Diffstat (limited to 'sys/boot/fdt/dts')
-rw-r--r--sys/boot/fdt/dts/arm/bcm2835.dtsi4
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>;
OpenPOWER on IntegriCloud