Author: loos
Date: Sun Sep 27 18:21:22 2015
New Revision: 288311
URL: https://svnweb.freebsd.org/changeset/base/288311

Log:
  Set the #address-cells and #size-cells for the I2C controllers in RPi2.
  
  This allows the use of I2C addresses in 'reg' property.

Modified:
  head/sys/boot/fdt/dts/arm/bcm2836.dtsi

Modified: head/sys/boot/fdt/dts/arm/bcm2836.dtsi
==============================================================================
--- head/sys/boot/fdt/dts/arm/bcm2836.dtsi      Sun Sep 27 13:47:28 2015        
(r288310)
+++ head/sys/boot/fdt/dts/arm/bcm2836.dtsi      Sun Sep 27 18:21:22 2015        
(r288311)
@@ -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>;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to