Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2015 18:21:23 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288311 - head/sys/boot/fdt/dts/arm
Message-ID:  <201509271821.t8RILNtA012462@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509271821.t8RILNtA012462>