diff mbox series

[U-Boot,v3,7/7] armv8: lx2160ardb : Add the "u-boot, dm-pre-reloc" property for i2c0 node

Message ID 20190702033514.41904-7-chuanhua.han@nxp.com
State Superseded
Delegated to: Prabhakar Kushwaha
Headers show
Series [U-Boot,v3,1/7] armv8: lx2160a: The lx2160a platform supports the I2C driver model. | expand

Commit Message

Chuanhua Han July 2, 2019, 3:35 a.m. UTC
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.han@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 mbox series

Patch

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";