OSDN Git Service

arm64: dts: fsl: fix ifc simple-bus unit address format warnings
authorShawn Guo <shawnguo@kernel.org>
Sat, 24 Feb 2018 06:42:25 +0000 (14:42 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Feb 2018 01:49:50 +0000 (09:49 +0800)
It fixes LS family SoCs device tree dtc warning in IFC child nodes.

Warning (simple_bus_reg): Node /soc/ifc@1530000/nor@0,0 simple-bus unit address format error, expected "0"
Warning (simple_bus_reg): Node /soc/ifc@1530000/nand@1,0 simple-bus unit address format error, expected "100000000"
Warning (simple_bus_reg): Node /soc/ifc@1530000/board-control@2,0 simple-bus unit address format error, expected "200000000"

Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi

index 6341281..3a09297 100644 (file)
                  0x2 0x0 0x0 0x7fb00000 0x00000100>;
        status = "okay";
 
-       nor@0,0 {
+       nor@0 {
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
                bank-width = <2>;
                device-width = <1>;
        };
 
-       nand@1,0 {
+       nand@100000000 {
                compatible = "fsl,ifc-nand";
                reg = <0x1 0x0 0x10000>;
        };
 
-       fpga: board-control@2,0 {
+       fpga: board-control@200000000 {
                compatible = "fsl,ls1043aqds-fpga", "fsl,fpga-qixis";
                reg = <0x2 0x0 0x0000100>;
        };
index 3dc0c8e..0a82bf9 100644 (file)
@@ -97,7 +97,7 @@
                  0x1 0x0 0x0 0x7e800000 0x00010000
                  0x2 0x0 0x0 0x7fb00000 0x00000100>;
 
-               nor@0,0 {
+               nor@0 {
                        compatible = "cfi-flash";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        device-width = <1>;
                };
 
-               nand@1,0 {
+               nand@100000000 {
                        compatible = "fsl,ifc-nand";
                        #address-cells = <1>;
                        #size-cells = <1>;
                        reg = <0x1 0x0 0x10000>;
                };
 
-               cpld: board-control@2,0 {
+               cpld: board-control@200000000 {
                        compatible = "fsl,ls1043ardb-cpld";
                        reg = <0x2 0x0 0x0000100>;
                };
index 434383b..410dc61 100644 (file)
                  0x2 0x0 0x0 0x7fb00000 0x00000100>;
        status = "okay";
 
-       nor@0,0 {
+       nor@0 {
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
                bank-width = <2>;
                device-width = <1>;
        };
 
-       nand@1,0 {
+       nand@100000000 {
                compatible = "fsl,ifc-nand";
                reg = <0x1 0x0 0x10000>;
        };
 
-       fpga: board-control@2,0 {
+       fpga: board-control@200000000 {
                compatible = "fsl,ls1046aqds-fpga", "fsl,fpga-qixis";
                reg = <0x2 0x0 0x0000100>;
        };
index 5dc2782..18d3c5b 100644 (file)
                  0x2 0x0 0x0 0x7fb00000 0x00000100>;
        status = "okay";
 
-       nand@0,0 {
+       nand@0 {
                compatible = "fsl,ifc-nand";
                #address-cells = <1>;
                #size-cells = <1>;
                reg = <0x0 0x0 0x10000>;
        };
 
-       cpld: board-control@2,0 {
+       cpld: board-control@200000000 {
                compatible = "fsl,ls1046ardb-cpld";
                reg = <0x2 0x0 0x0000100>;
        };
index 3012805..0b96d6d 100644 (file)
                  3 0 0x5 0x20000000 0x00010000>;
        status = "okay";
 
-       nor@0,0 {
+       nor@0 {
                compatible = "cfi-flash";
                reg = <0x0 0x0 0x8000000>;
                bank-width = <2>;
                device-width = <1>;
        };
 
-       nand@2,0 {
+       nand@200000000 {
                compatible = "fsl,ifc-nand";
                reg = <0x2 0x0 0x10000>;
        };
 
-       fpga: board-control@3,0 {
+       fpga: board-control@300000000 {
                compatible = "fsl,ls1088aqds-fpga", "fsl,fpga-qixis";
                reg = <0x3 0x0 0x0000100>;
        };
index 4f17601..3d57008 100644 (file)
                  2 0 0x5 0x20000000 0x00010000>;
        status = "okay";
 
-       nand@0,0 {
+       nand@0 {
                compatible = "fsl,ifc-nand";
                reg = <0x0 0x0 0x10000>;
        };
 
-       fpga: board-control@2,0 {
+       fpga: board-control@200000000 {
                compatible = "fsl,ls1088ardb-fpga", "fsl,fpga-qixis";
                reg = <0x2 0x0 0x0000100>;
        };
index 1de6188..5ac3412 100644 (file)
@@ -58,7 +58,7 @@
                  0x2 0x0 0x5 0x30000000 0x00010000
                  0x3 0x0 0x5 0x20000000 0x00010000>;
 
-       nor@0,0 {
+       nor@0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "cfi-flash";
                device-width = <1>;
        };
 
-       nand@2,0 {
+       nand@200000000 {
             compatible = "fsl,ifc-nand";
             reg = <0x2 0x0 0x10000>;
        };
 
-       cpld@3,0 {
+       cpld@300000000 {
             reg = <0x3 0x0 0x10000>;
             compatible = "fsl,ls2080aqds-fpga", "fsl,fpga-qixis";
        };