[U-Boot] [PATCH v2 6/7] armv8: lx2160ardb : Add pcf2127 node

Chuanhua Han chuanhua.han at nxp.com
Wed Jun 12 08:39:05 UTC 2019


This patch adds the pcf2127-rtc node under the i2c4 node.

Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
---
Changes in v2: 
	- Delete unnecessary aliases about i2c.

 arch/arm/dts/fsl-lx2160a-rdb.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts
index 4b526449a1..8180b86722 100644
--- a/arch/arm/dts/fsl-lx2160a-rdb.dts
+++ b/arch/arm/dts/fsl-lx2160a-rdb.dts
@@ -27,6 +27,15 @@
 	status = "okay";
 };
 
+&i2c4 {
+	status = "okay";
+
+	rtc at 51 {
+		compatible = "pcf2127-rtc";
+		reg = <0x51>;
+	};
+};
+
 &sata0 {
 	status = "okay";
 };
-- 
2.17.1



More information about the U-Boot mailing list