armv8: ls1043a: dts: Fix the ranges table of IFC node
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 6 Dec 2016 07:27:49 +0000 (15:27 +0800)
committerYork Sun <york.sun@nxp.com>
Thu, 15 Dec 2016 19:56:59 +0000 (11:56 -0800)
Corrected the ranges table of the IFC node.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/dts/fsl-ls1043a-qds.dtsi
arch/arm/dts/fsl-ls1043a-rdb.dts

index 2e9f1f917c5f74bd8eb5af3fc0871025942936ad..21011720dd7d0ba7640f5440b70c89c44209fb99 100644 (file)
        #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 {
                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>;
        };
 };
 
index 57440750bca32845e8862b063d29e472bc135bbb..f271e714b18e4be8504f1d5bcddc25c56f0dcfd0 100644 (file)
@@ -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";