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

Chuanhua Han chuanhua.han at nxp.com
Wed Jul 10 13:00:25 UTC 2019


This patch adds the pcf2127-rtc node under the i2c4 node
for lx2160ardb boards.

Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
---
Changes in v4: 
	- No change.
Changes in v3: 
    - Modify the submission information of the patch.
Changes in v2: 
	- Delete unnecessary aliases about i2c.
 arch/arm/dts/fsl-lx2160a-rdb.dts |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts
index 4b52644..8180b86 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";
 };
-- 
1.7.1



More information about the U-Boot mailing list