]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: lx2160aqds : Add pcf2127 node
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 10 Jul 2019 13:05:13 +0000 (21:05 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +0000 (09:07 +0530)
Add the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 in dts for
lx2160aqds boards.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/dts/fsl-lx2160a-qds.dts

index 99836c4ccb0f5e11561e881c7e226b64d1f12fc4..34df0f51060e7b66543f7f19322bf9d8f9cc16f7 100644 (file)
        status = "okay";
 };
 
+&i2c0 {
+       status = "okay";
+       u-boot,dm-pre-reloc;
+
+       i2c-mux@77 {
+               compatible = "nxp,pca9547";
+               reg = <0x77>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               i2c@3 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x3>;
+
+                       rtc@51 {
+                               compatible = "pcf2127-rtc";
+                               reg = <0x51>;
+                       };
+               };
+       };
+};
+
 &sata0 {
        status = "okay";
 };