[U-Boot] [PATCH 1/2] armv8: ls1043ardb: dts: Fix the unit-address of some I2C device nodes

From: Hou Zhiqiang Zhiqiang.Hou@nxp.com
The unit-address should be the same as the I2C address of the device.
Signed-off-by: Hou Zhiqiang Zhiqiang.Hou@nxp.com --- arch/arm/dts/fsl-ls1043a-rdb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a-rdb.dts b/arch/arm/dts/fsl-ls1043a-rdb.dts index 16c5c89..5744075 100644 --- a/arch/arm/dts/fsl-ls1043a-rdb.dts +++ b/arch/arm/dts/fsl-ls1043a-rdb.dts @@ -47,12 +47,12 @@ compatible = "adi,adt7461a"; reg = <0x4c>; }; - eeprom@56 { + eeprom@52 { compatible = "at24,24c512"; reg = <0x52>; };
- eeprom@57 { + eeprom@53 { compatible = "at24,24c512"; reg = <0x53>; };

From: Hou Zhiqiang Zhiqiang.Hou@nxp.com
Corrected the ranges table of the IFC node.
Signed-off-by: Hou Zhiqiang Zhiqiang.Hou@nxp.com --- arch/arm/dts/fsl-ls1043a-qds.dtsi | 12 ++++++------ arch/arm/dts/fsl-ls1043a-rdb.dts | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1043a-qds.dtsi b/arch/arm/dts/fsl-ls1043a-qds.dtsi index 2e9f1f9..2101172 100644 --- a/arch/arm/dts/fsl-ls1043a-qds.dtsi +++ b/arch/arm/dts/fsl-ls1043a-qds.dtsi @@ -135,8 +135,8 @@ #size-cells = <1>; /* NOR, NAND Flashes and FPGA on board */ ranges = <0x0 0x0 0x0 0x60000000 0x08000000 - 0x2 0x0 0x0 0x7e800000 0x00010000 - 0x3 0x0 0x0 0x7fb00000 0x00000100>; + 0x1 0x0 0x0 0x7e800000 0x00010000 + 0x2 0x0 0x0 0x7fb00000 0x00000100>; status = "okay";
nor@0,0 { @@ -148,21 +148,21 @@ device-width = <1>; };
- nand@2,0 { + nand@1,0 { compatible = "fsl,ifc-nand"; #address-cells = <1>; #size-cells = <1>; reg = <0x1 0x0 0x10000>; };
- fpga: board-control@3,0 { + fpga: board-control@2,0 { #address-cells = <1>; #size-cells = <1>; compatible = "simple-bus"; - reg = <0x3 0x0 0x0000100>; + reg = <0x2 0x0 0x0000100>; bank-width = <1>; device-width = <1>; - ranges = <0 3 0 0x100>; + ranges = <0 2 0 0x100>; }; };
diff --git a/arch/arm/dts/fsl-ls1043a-rdb.dts b/arch/arm/dts/fsl-ls1043a-rdb.dts index 5744075..f271e71 100644 --- a/arch/arm/dts/fsl-ls1043a-rdb.dts +++ b/arch/arm/dts/fsl-ls1043a-rdb.dts @@ -69,8 +69,8 @@ #size-cells = <1>; /* NOR, NAND Flashes and FPGA on board */ ranges = <0x0 0x0 0x0 0x60000000 0x08000000 - 0x2 0x0 0x0 0x7e800000 0x00010000 - 0x3 0x0 0x0 0x7fb00000 0x00000100>; + 0x1 0x0 0x0 0x7e800000 0x00010000 + 0x2 0x0 0x0 0x7fb00000 0x00000100>;
nor@0,0 { compatible = "cfi-flash";

On 12/05/2016 11:41 PM, Zhiqiang Hou wrote:
From: Hou Zhiqiang Zhiqiang.Hou@nxp.com
Corrected the ranges table of the IFC node.
Signed-off-by: Hou Zhiqiang Zhiqiang.Hou@nxp.com
arch/arm/dts/fsl-ls1043a-qds.dtsi | 12 ++++++------ arch/arm/dts/fsl-ls1043a-rdb.dts | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-)
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York

On 12/05/2016 11:41 PM, Zhiqiang Hou wrote:
From: Hou Zhiqiang Zhiqiang.Hou@nxp.com
The unit-address should be the same as the I2C address of the device.
Signed-off-by: Hou Zhiqiang Zhiqiang.Hou@nxp.com
arch/arm/dts/fsl-ls1043a-rdb.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to fsl-qoriq master, awaiting upstream. Thanks.
York
participants (2)
-
york sun
-
Zhiqiang Hou