armv8: dts: ls1088ardb: Add slave nodes under the i2c0 controller
authorChuanhua Han <chuanhua.han@nxp.com>
Tue, 23 Jul 2019 10:43:15 +0000 (18:43 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
This patch adds some slave nodes to support the i2c dm on the device
side under the i2c0 controller.

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

index 765d1e3d74e8c1bd5d66bfb95c41587ed7e2f86c..0fe351973dc5987f669949d09987b0a144de8e31 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>;
+                       };
+               };
+       };
+};
+
 &qspi {
        bus-num = <0>;
        status = "okay";