arm64: dts: freescale: Separate each group of data in the property 'reg'
authorZhen Lei <thunder.leizhen@huawei.com>
Fri, 21 May 2021 09:20:42 +0000 (17:20 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 12 Jun 2021 08:17:02 +0000 (16:17 +0800)
Do not write the 'reg' of multiple groups of data into a uint32 array,
use <> to separate them. Otherwise, the errors similar to the following
will be reported by reg.yaml.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dt.yaml:
 soc: pcie@3400000:reg:0: \
 [0, 54525952, 0, 1048576, 64, 0, 0, 8192] is too long

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi

index 9058cfa4980f2739746f90428cf79fb1c08c628b..50a72cda4727341640d57ba6b041e0d0fb36c5a6 100644 (file)
                                             "fsl,sec-v4.0-rtic";
                                #address-cells = <1>;
                                #size-cells = <1>;
-                               reg = <0x60000 0x100 0x60e00 0x18>;
+                               reg = <0x60000 0x100>, <0x60e00 0x18>;
                                ranges = <0x0 0x60100 0x500>;
 
                                rtic_a: rtic-a@0 {
                                        compatible = "fsl,sec-v5.4-rtic-memory",
                                                     "fsl,sec-v5.0-rtic-memory",
                                                     "fsl,sec-v4.0-rtic-memory";
-                                       reg = <0x00 0x20 0x100 0x100>;
+                                       reg = <0x00 0x20>, <0x100 0x100>;
                                };
 
                                rtic_b: rtic-b@20 {
                                        compatible = "fsl,sec-v5.4-rtic-memory",
                                                     "fsl,sec-v5.0-rtic-memory",
                                                     "fsl,sec-v4.0-rtic-memory";
-                                       reg = <0x20 0x20 0x200 0x100>;
+                                       reg = <0x20 0x20>, <0x200 0x100>;
                                };
 
                                rtic_c: rtic-c@40 {
                                        compatible = "fsl,sec-v5.4-rtic-memory",
                                                     "fsl,sec-v5.0-rtic-memory",
                                                     "fsl,sec-v4.0-rtic-memory";
-                                       reg = <0x40 0x20 0x300 0x100>;
+                                       reg = <0x40 0x20>, <0x300 0x100>;
                                };
 
                                rtic_d: rtic-d@60 {
                                        compatible = "fsl,sec-v5.4-rtic-memory",
                                                     "fsl,sec-v5.0-rtic-memory",
                                                     "fsl,sec-v4.0-rtic-memory";
-                                       reg = <0x60 0x20 0x400 0x100>;
+                                       reg = <0x60 0x20>, <0x400 0x100>;
                                };
                        };
                };
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,ls1012a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x40 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 118 0x4>, /* controller interrupt */
                                     <0 117 0x4>; /* PME interrupt */
index 5b500c16c9c10c688e3c8081ad4c477fc13aac37..2fe12454234d8181b1ac6c2375f34f94fcd51bb6 100644 (file)
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,ls1028a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x80 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x80 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
                                     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
 
                pcie2: pcie@3500000 {
                        compatible = "fsl,ls1028a-pcie";
-                       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-                              0x88 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+                             <0x88 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
index 28c51e521cb22299e5314b92430e09de5fccfa0d..01b01e3204118c526cbd9c04b58f08f424eeaf6e 100644 (file)
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,ls1043a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x40 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 118 0x4>, /* controller interrupt */
                                     <0 117 0x4>; /* PME interrupt */
 
                pcie2: pcie@3500000 {
                        compatible = "fsl,ls1043a-pcie";
-                       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-                              0x48 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+                             <0x48 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 128 0x4>,
                                     <0 127 0x4>;
 
                pcie3: pcie@3600000 {
                        compatible = "fsl,ls1043a-pcie";
-                       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-                              0x50 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+                             <0x50 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 162 0x4>,
                                     <0 161 0x4>;
index 39458305e3334cc460d1330a19ab82970b0ee751..687fea6d8afa4b096575472b083e912c97e67d30 100644 (file)
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,ls1046a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x40 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x40 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                                     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
 
                pcie_ep1: pcie_ep@3400000 {
                        compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
-                       reg = <0x00 0x03400000 0x0 0x00100000
-                               0x40 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03400000 0x0 0x00100000>,
+                             <0x40 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <6>;
                        num-ob-windows = <8>;
 
                pcie2: pcie@3500000 {
                        compatible = "fsl,ls1046a-pcie";
-                       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-                              0x48 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+                             <0x48 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                                     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
 
                pcie_ep2: pcie_ep@3500000 {
                        compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep";
-                       reg = <0x00 0x03500000 0x0 0x00100000
-                               0x48 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03500000 0x0 0x00100000>,
+                             <0x48 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <6>;
                        num-ob-windows = <8>;
 
                pcie3: pcie@3600000 {
                        compatible = "fsl,ls1046a-pcie";
-                       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-                              0x50 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+                             <0x50 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */
                                     <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
 
                pcie_ep3: pcie_ep@3600000 {
                        compatible = "fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep";
-                       reg = <0x00 0x03600000 0x0 0x00100000
-                               0x50 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03600000 0x0 0x00100000>,
+                             <0x50 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <6>;
                        num-ob-windows = <8>;
index 8ffbc9fde0415e20f58e5ff15383d27f6803e7c0..2fa6cfbef01f9f1982fe7aae1902cda7ce86e9c7 100644 (file)
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,ls1088a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x20 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x20 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
                        interrupt-names = "aer";
 
                pcie_ep1: pcie-ep@3400000 {
                        compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
-                       reg = <0x00 0x03400000 0x0 0x00100000
-                              0x20 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03400000 0x0 0x00100000>,
+                             <0x20 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <24>;
                        num-ob-windows = <256>;
 
                pcie2: pcie@3500000 {
                        compatible = "fsl,ls1088a-pcie";
-                       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-                              0x28 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+                             <0x28 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
                        interrupt-names = "aer";
 
                pcie_ep2: pcie-ep@3500000 {
                        compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
-                       reg = <0x00 0x03500000 0x0 0x00100000
-                              0x28 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03500000 0x0 0x00100000>,
+                             <0x28 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <6>;
                        num-ob-windows = <6>;
 
                pcie3: pcie@3600000 {
                        compatible = "fsl,ls1088a-pcie";
-                       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-                              0x30 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+                             <0x30 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "regs", "config";
                        interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>; /* aer interrupt */
                        interrupt-names = "aer";
 
                pcie_ep3: pcie-ep@3600000 {
                        compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep";
-                       reg = <0x00 0x03600000 0x0 0x00100000
-                              0x30 0x00000000 0x8 0x00000000>;
+                       reg = <0x00 0x03600000 0x0 0x00100000>,
+                             <0x30 0x00000000 0x8 0x00000000>;
                        reg-names = "regs", "addr_space";
                        num-ib-windows = <6>;
                        num-ob-windows = <6>;
index 76ab68d2de0bfa9476ce21915bb1a063872599aa..6f6667b70028efd4002bec94f82ab9d07b99d9c5 100644 (file)
 };
 
 &pcie1 {
-       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-              0x10 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+             <0x10 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x10 0x00010000 0x0 0x00010000   /* downstream I/O */
                  0x82000000 0x0 0x40000000 0x10 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 };
 
 &pcie2 {
-       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-              0x12 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+             <0x12 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x12 0x00010000 0x0 0x00010000   /* downstream I/O */
                  0x82000000 0x0 0x40000000 0x12 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 };
 
 &pcie3 {
-       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-              0x14 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+             <0x14 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x14 0x00010000 0x0 0x00010000   /* downstream I/O */
                  0x82000000 0x0 0x40000000 0x14 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
 };
 
 &pcie4 {
-       reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
-              0x16 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
+             <0x16 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x16 0x00010000 0x0 0x00010000   /* downstream I/O */
                  0x82000000 0x0 0x40000000 0x16 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
index da24dc1276983925ce9dfd0098148b683c62e052..c3dc38188c17ca1aaceb6e349d838842c0a3f7d0 100644 (file)
 
 &pcie1 {
        compatible = "fsl,ls2088a-pcie";
-       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-              0x20 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+             <0x20 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x20 0x00010000 0x0 0x00010000
                  0x82000000 0x0 0x40000000 0x20 0x40000000 0x0 0x40000000>;
 
 &pcie2 {
        compatible = "fsl,ls2088a-pcie";
-       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-              0x28 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+             <0x28 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x28 0x00010000 0x0 0x00010000
                  0x82000000 0x0 0x40000000 0x28 0x40000000 0x0 0x40000000>;
 
 &pcie3 {
        compatible = "fsl,ls2088a-pcie";
-       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-              0x30 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+             <0x30 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x30 0x00010000 0x0 0x00010000
                  0x82000000 0x0 0x40000000 0x30 0x40000000 0x0 0x40000000>;
 
 &pcie4 {
        compatible = "fsl,ls2088a-pcie";
-       reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
-              0x38 0x00000000 0x0 0x00002000>; /* configuration space */
+       reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
+             <0x38 0x00000000 0x0 0x00002000>; /* configuration space */
 
        ranges = <0x81000000 0x0 0x00000000 0x38 0x00010000 0x0 0x00010000
                  0x82000000 0x0 0x40000000 0x38 0x40000000 0x0 0x40000000>;
index 0551f6f4c313cb8ba834ca6ea32efbcdd10ba914..c4b1a59ba424b2e6d3879d07b8c5388c6ba7bf4e 100644 (file)
 
                pcie1: pcie@3400000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03400000 0x0 0x00100000   /* controller registers */
-                              0x80 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03400000 0x0 0x00100000>, /* controller registers */
+                             <0x80 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
 
                pcie2: pcie@3500000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03500000 0x0 0x00100000   /* controller registers */
-                              0x88 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03500000 0x0 0x00100000>, /* controller registers */
+                             <0x88 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
 
                pcie3: pcie@3600000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03600000 0x0 0x00100000   /* controller registers */
-                              0x90 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03600000 0x0 0x00100000>, /* controller registers */
+                             <0x90 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
 
                pcie4: pcie@3700000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03700000 0x0 0x00100000   /* controller registers */
-                              0x98 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03700000 0x0 0x00100000>, /* controller registers */
+                             <0x98 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
 
                pcie5: pcie@3800000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03800000 0x0 0x00100000   /* controller registers */
-                              0xa0 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03800000 0x0 0x00100000>, /* controller registers */
+                             <0xa0 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */
 
                pcie6: pcie@3900000 {
                        compatible = "fsl,lx2160a-pcie";
-                       reg = <0x00 0x03900000 0x0 0x00100000   /* controller registers */
-                              0xa8 0x00000000 0x0 0x00002000>; /* configuration space */
+                       reg = <0x00 0x03900000 0x0 0x00100000>, /* controller registers */
+                             <0xa8 0x00000000 0x0 0x00002000>; /* configuration space */
                        reg-names = "csr_axi_slave", "config_axi_slave";
                        interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* AER interrupt */
                                     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, /* PME interrupt */