[U-Boot] [PATCH v2 5/5] armv8: dts: ls1088ardb: Add slave nodes under the i2c0 controller

Chuanhua Han chuanhua.han at nxp.com
Tue Jul 2 06:35:49 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: 
    - http://patchwork.ozlabs.org/project/uboot/list/?series=110856
    - http://patchwork.ozlabs.org/project/uboot/list/?series=109459

Changes in v2: 
    - Delete unnecessary i2c slave nodes.

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

diff --git a/arch/arm/dts/fsl-ls1088a-rdb.dts b/arch/arm/dts/fsl-ls1088a-rdb.dts
index 765d1e3..0fe3519 100644
--- a/arch/arm/dts/fsl-ls1088a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1088a-rdb.dts
@@ -17,6 +17,29 @@
 	};
 };
 
+&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>;
+			};
+		};
+	};
+};
+
 &qspi {
 	bus-num = <0>;
 	status = "okay";
-- 
1.7.1



More information about the U-Boot mailing list