[U-Boot] [PATCH v4 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

Chuanhua Han chuanhua.han at nxp.com
Wed Jul 10 13:16:52 UTC 2019


This patch adds some slave nodes to support the i2c dm on the device
side under the i2c0 controller.

Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
---
depends on: 
	- https://patchwork.ozlabs.org/project/uboot/list/?series=113364
	- https://patchwork.ozlabs.org/project/uboot/list/?series=110856
	- https://patchwork.ozlabs.org/project/uboot/list/?series=109677

Changes in v4:
	- No change.
Changes in v3:
	- Delete unnecessary i2c slave nodes.
Changes in v2: 
	- Delete unnecessary aliases about i2c.

 arch/arm/dts/fsl-ls1028a-rdb.dts |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1028a-rdb.dts b/arch/arm/dts/fsl-ls1028a-rdb.dts
index 932cfa2..541c9bf 100644
--- a/arch/arm/dts/fsl-ls1028a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1028a-rdb.dts
@@ -37,6 +37,26 @@
 
 &i2c0 {
 	status = "okay";
+	u-boot,dm-pre-reloc;
+
+	 i2c-mux at 77 {
+
+		compatible = "nxp,pca9547";
+		reg = <0x77>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		i2c at 3 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x3>;
+
+			rtc at 51 {
+				compatible = "pcf2127-rtc";
+				reg = <0x51>;
+			};
+		};
+	};
 };
 
 &i2c1 {
-- 
1.7.1



More information about the U-Boot mailing list