Lx2160ardb need to use i2c0 before relocation, so we also need to set
u-boot,dm-pre-reloc to initialize node before relocation.

Signed-off-by: Chuanhua Han <chuanhua....@nxp.com>
---
Changes in v3:
        - Delete unnecessary i2c slave nodes.
        - Modify the subject and submission information of the patch
Changes in v2:
        - Add "u-boot,dm-pre-reloc" attribute to i2c0 node.

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

diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts
index 8180b86..7b6608b 100644
--- a/arch/arm/dts/fsl-lx2160a-rdb.dts
+++ b/arch/arm/dts/fsl-lx2160a-rdb.dts
@@ -27,6 +27,11 @@
        status = "okay";
 };
 
+&i2c0 {
+       status = "okay";
+       u-boot,dm-pre-reloc;
+};
+
 &i2c4 {
        status = "okay";
 
-- 
1.7.1

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

Reply via email to