]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: ls1088aqds : Add pcf2127 node
authorChuanhua Han <chuanhua.han@nxp.com>
Fri, 26 Jul 2019 12:25:36 +0000 (20:25 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
Add the pcf2127-rtc node under the i2c0->i2c-mux@77->i2c@3 for ls1088aqds boards.

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

index 8fbb52f0e09df5d827f40610f4031e1f38789073..f07d0c6f2748939ffc161d9fab0b761510f79e86 100644 (file)
        };
 };
 
+&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>;
+                       };
+               };
+       };
+};
+
 &ifc {
        #address-cells = <2>;
        #size-cells = <1>;