]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller
authorChuanhua Han <chuanhua.han@nxp.com>
Wed, 10 Jul 2019 13:16:52 +0000 (21:16 +0800)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Thu, 22 Aug 2019 03:37:35 +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: Alex Marginean <alexm.osslist@gmail.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
arch/arm/dts/fsl-ls1028a-rdb.dts

index 052538937b656ff9fc9f343ad0c2a5484dd6d32c..d18cf6d5aebd30f3d47b64fa8e5c9573f21f68c7 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>;
+                       };
+               };
+       };
 };
 
 &i2c1 {