]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: ls2088ardb: Add slave nodes under the i2c0
authorChuanhua Han <chuanhua.han@nxp.com>
Mon, 22 Jul 2019 08:36:46 +0000 (16:36 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:36 +0000 (09:07 +0530)
Add some slave nodes to support the i2c dm on the device side under the i2c0.

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

index bf97d138fc2c7d5ba1c4aa9e1827e3f3c979ef4d..72b2177b70d9bcdfd6011ca1152a695ddd36b47b 100644 (file)
        };
 };
 
+&i2c0 {
+       status = "okay";
+       u-boot,dm-pre-reloc;
+
+       pca9547@75 {
+               compatible = "nxp,pca9547";
+               reg = <0x75>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+                i2c@1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0x01>;
+                       rtc@68 {
+                               compatible = "dallas,ds3232";
+                               reg = <0x68>;
+                       };
+               };
+       };
+};
+
 &sata {
        status = "okay";
 };