[U-Boot] [PATCH 12/18] armv8: ls1046a: add i2c entry

ying.zhang22455 at nxp.com ying.zhang22455 at nxp.com
Thu Aug 23 01:14:59 UTC 2018


From: Zhang Ying-22455 <ying.zhang22455 at nxp.com>

Signed-off-by: Zhang Ying-22455 <ying.zhang22455 at nxp.com>
---
 arch/arm/dts/fsl-ls1046a-rdb.dts | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index 136de24..90b5aa8 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -19,6 +19,40 @@
 
 };
 
+&i2c0 {
+	status = "okay";
+
+	ina220 at 40 {
+		compatible = "ti,ina220";
+		reg = <0x40>;
+		shunt-resistor = <1000>;
+	};
+
+	temp-sensor at 4c {
+		compatible = "adi,adt7461";
+		reg = <0x4c>;
+	};
+
+	eeprom at 56 {
+		compatible = "atmel,24c512";
+		reg = <0x52>;
+	};
+
+	eeprom at 57 {
+		compatible = "atmel,24c512";
+		reg = <0x53>;
+	};
+};
+
+&i2c3 {
+	status = "okay";
+
+	rtc at 51 {
+		compatible = "nxp,pcf2129";
+		reg = <0x51>;
+	};
+};
+
 &qspi {
 	bus-num = <0>;
 	status = "okay";
-- 
2.7.4



More information about the U-Boot mailing list