[U-Boot] [PATCH v4 3/4] armv8: ls2088aqds : Add ds3232 node

Chuanhua Han chuanhua.han at nxp.com
Fri Jul 26 11:24:02 UTC 2019


This patch adds the ds3232-rtc node under the i2c0->i2c-mux at 77->i2c at 0
for ls2088aqds boards.

Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
---
depends on:
	- http://patchwork.ozlabs.org/project/uboot/list/?series=118772
	- http://patchwork.ozlabs.org/project/uboot/list/?series=117226

Changes in v4:
	- No change.
Changes in v3:
	- Change the order of the config and device tree patch files
Changes in v2:
	- No change.

 arch/arm/dts/fsl-ls2080a-qds.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/dts/fsl-ls2080a-qds.dts b/arch/arm/dts/fsl-ls2080a-qds.dts
index 2a0a528..13461b5 100644
--- a/arch/arm/dts/fsl-ls2080a-qds.dts
+++ b/arch/arm/dts/fsl-ls2080a-qds.dts
@@ -19,6 +19,25 @@
 	};
 };
 
+&i2c0 {
+	status = "okay";
+	pca9547 at 77 {
+		compatible = "nxp,pca9547";
+		reg = <0x77>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c at 0 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <0x00>;
+			rtc at 68 {
+				compatible = "dallas,ds3232";
+				reg = <0x68>;
+			};
+		};
+	};
+};
+
 &dspi {
 	bus-num = <0>;
 	status = "okay";
-- 
2.9.5



More information about the U-Boot mailing list