arm64: dts: hisilicon: separate each group of data in the property "ranges"
authorZhen Lei <thunder.leizhen@huawei.com>
Mon, 18 Jan 2021 03:16:29 +0000 (11:16 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 29 Jan 2021 08:33:24 +0000 (16:33 +0800)
Do not write the "ranges" of multiple groups of data into a uint32 array,
use <> to separate them. Otherwise, the errors similar to the following
will be reported:

soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \
10059776016777216, 0, 0, 0, 3086942208, 0, 65536]] is not valid under \
any of the given schemas (Possible causes of the failure):
soc: pcie@a0090000:ranges: [[33554432, 0, 2986344448, 0, 2986344448, 0, \
10059776016777216, 0, 0, 0, 3086942208, 0, 65536]] is not of type 'boolean'
soc: pcie@a0090000:ranges:0: [33554432, 0, 2986344448, 0, 2986344448, 0, \
10059776016777216, 0, 0, 0, 3086942208, 0, 65536] is too long

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi
arch/arm64/boot/dts/hisilicon/hip06.dtsi
arch/arm64/boot/dts/hisilicon/hip07.dtsi

index 81d09434c5c610d13867d4271db81fc357010e06..16e11fde3ed9020d6d9af051176b9854eb9a8ce6 100644 (file)
                        device_type = "pci";
                        bus-range = <0x00 0xff>;
                        num-lanes = <1>;
-                       ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000
-                                 0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>;
+                       ranges = <0x81000000 0x0 0x00000000 0x4f00000 0x0 0x100000>,
+                                <0x82000000 0x0 0x3000000 0x3000000 0x0 0x01f00000>;
                        interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "msi";
                        #interrupt-cells = <1>;
index 7980709e21ff020f6340084147894a173775e376..78050d67a78645bd3c44e17b056cd1556e6bde7e 100644 (file)
                        #size-cells = <2>;
                        device_type = "pci";
                        dma-coherent;
-                       ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0
-                                0x5ff0000 0x01000000 0 0 0 0xb7ff0000
-                                0 0x10000>;
+                       ranges = <0x02000000 0 0xb2000000 0x0 0xb2000000 0 0x5ff0000>,
+                                <0x01000000 0 0 0 0xb7ff0000 0 0x10000>;
                        #interrupt-cells = <1>;
                        interrupt-map-mask = <0xf800 0 0 7>;
                        interrupt-map = <0x0 0 0 1 &mbigen_pcie0 650 4
index 7832d9cdec21c937e57276592e6198c706a61600..f477f442c2755617da65e57fe91c7bfd2606a1d3 100644 (file)
                        #size-cells = <2>;
                        device_type = "pci";
                        dma-coherent;
-                       ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000
-                                 0x01000000 0 0 0 0xaf7f0000 0 0x10000>;
+                       ranges = <0x02000000 0 0xa8000000 0 0xa8000000 0 0x77f0000>,
+                                <0x01000000 0 0 0 0xaf7f0000 0 0x10000>;
                        #interrupt-cells = <1>;
                        interrupt-map-mask = <0xf800 0 0 7>;
                        interrupt-map = <0x0 0 0 1 &mbigen_pcie2_a 671 4