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....@nxp.com>
---
depends on: 
        - https://patchwork.ozlabs.org/project/uboot/list/?series=113364
        - https://patchwork.ozlabs.org/project/uboot/list/?series=110856
        - https://patchwork.ozlabs.org/project/uboot/list/?series=109677

Changes in v3:
        - Delete unnecessary i2c slave nodes.
Changes in v2: 
        - Delete unnecessary aliases about i2c.

 arch/arm/dts/fsl-ls1028a-rdb.dts |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/arch/arm/dts/fsl-ls1028a-rdb.dts b/arch/arm/dts/fsl-ls1028a-rdb.dts
index 932cfa2..541c9bf 100644
--- a/arch/arm/dts/fsl-ls1028a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1028a-rdb.dts
@@ -37,6 +37,26 @@
 
 &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 {
-- 
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to