Author: loos
Date: Tue Feb 17 19:38:16 2015
New Revision: 278915
URL: https://svnweb.freebsd.org/changeset/base/278915
Log:
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
Modified:
head/sys/boot/fdt/dts/arm/bcm2835.dtsi
Modified: head/sys/boot/fdt/dts/arm/bcm2835.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/bcm2835.dtsi Tue Feb 17 19:32:11 2015
(r278914)
+++ head/sys/boot/fdt/dts/arm/bcm2835.dtsi Tue Feb 17 19:38:16 2015
(r278915)
@@ -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>;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"