From: Rosen Penev Date: Wed, 27 May 2026 07:33:21 +0000 (-0700) Subject: treewide: convert ranges to new syntax X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cce5275b6460e61465f7a098a15df936fa4048a;p=thirdparty%2Fopenwrt.git treewide: convert ranges to new syntax Same as e1c2f02325 but for ranges. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/24133 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi index 95ddf00cc73..a5cab0e153c 100644 --- a/target/linux/lantiq/dts/amazonse.dtsi +++ b/target/linux/lantiq/dts/amazonse.dtsi @@ -117,8 +117,8 @@ localbus: localbus@0 { #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ - 1 0 0x4000000 0x4000010>; /* addsel1 */ + ranges = <0 0 0x0000000 0x3ffffff>, /* addrsel0 */ + <1 0 0x4000000 0x4000010>; /* addsel1 */ compatible = "lantiq,localbus", "simple-bus"; }; diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi index 4e722102266..820d3df5c5e 100644 --- a/target/linux/lantiq/dts/ar9.dtsi +++ b/target/linux/lantiq/dts/ar9.dtsi @@ -44,8 +44,8 @@ #interrupt-cells = <1>; interrupt-controller; compatible = "lantiq,icu"; - reg = <0x80200 0xc8 /* icu0 */ - 0x80300 0xc8>; /* icu1 */ + reg = <0x80200 0xc8>, /* icu0 */ + <0x80300 0xc8>; /* icu1 */ }; watchdog@803f0 { @@ -130,8 +130,8 @@ localbus: localbus@0 { #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ - 1 0 0x4000000 0x4000010>; /* addsel1 */ + ranges = <0 0 0x0000000 0x3ffffff>, /* addrsel0 */ + <1 0 0x4000000 0x4000010>; /* addsel1 */ compatible = "lantiq,localbus", "simple-bus"; }; @@ -402,10 +402,10 @@ #interrupt-cells = <1>; compatible = "lantiq,pci-xway"; bus-range = <0x0 0x0>; - ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */ - 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */ - reg = <0x7000000 0x8000 /* config space */ - 0xe105400 0x400>; /* pci bridge */ + ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000>, /* pci memory */ + <0x1000000 0 0x0000000 0xae00000 0 0x200000>; /* io space */ + reg = <0x7000000 0x8000>, /* config space */ + <0xe105400 0x400>; /* pci bridge */ lantiq,bus-clock = <33333333>; interrupt-map-mask = <0xf800 0x0 0x0 0x7>; interrupt-map = <0x7000 0 0 1 &icu0 30 1>; diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi index 45fdeec9bdc..cbf54620c44 100644 --- a/target/linux/lantiq/dts/danube.dtsi +++ b/target/linux/lantiq/dts/danube.dtsi @@ -129,8 +129,8 @@ localbus: localbus@0 { #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ - 1 0 0x4000000 0x4000010>; /* addsel1 */ + ranges = <0 0 0x0000000 0x3ffffff>, /* addrsel0 */ + <1 0 0x4000000 0x4000010>; /* addsel1 */ compatible = "lantiq,localbus", "simple-bus"; }; @@ -317,10 +317,10 @@ #interrupt-cells = <1>; compatible = "lantiq,pci-xway"; bus-range = <0x0 0x0>; - ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */ - 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */ - reg = <0x7000000 0x8000 /* config space */ - 0xe105400 0x400>; /* pci bridge */ + ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000>, /* pci memory */ + <0x1000000 0 0x0000000 0xae00000 0 0x0200000>; /* io space */ + reg = <0x7000000 0x8000>, /* config space */ + <0xe105400 0x400>; /* pci bridge */ lantiq,bus-clock = <33333333>; interrupt-map-mask = <0xf800 0x0 0x0 0x7>; interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */ diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index d821d29a13d..c424128e822 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -49,8 +49,8 @@ #interrupt-cells = <1>; interrupt-controller; compatible = "lantiq,icu"; - reg = <0x80200 0xc8 /* icu0 */ - 0x80300 0xc8>; /* icu1 */ + reg = <0x80200 0xc8>, /* icu0 */ + <0x80300 0xc8>; /* icu1 */ }; watchdog@803f0 { @@ -169,8 +169,8 @@ localbus: localbus@0 { #address-cells = <2>; #size-cells = <1>; - ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ - 1 0 0x4000000 0x4000010>; /* addsel1 */ + ranges = <0 0 0x0000000 0x3ffffff>, /* addrsel0 */ + <1 0 0x4000000 0x4000010>; /* addsel1 */ compatible = "lantiq,localbus", "simple-bus"; }; @@ -433,10 +433,9 @@ compatible = "lantiq,xrx200-gswip"; #address-cells = <1>; #size-cells = <0>; - reg = < 0xe108000 0x3000 /* switch */ - 0xe10b100 0x70 /* mdio */ - 0xe10b1d8 0x30 /* mii */ - >; + reg = <0xe108000 0x3000>, /* switch */ + <0xe10b100 0x70>, /* mdio */ + <0xe10b1d8 0x30>; /* mii */ dsa,member = <0 0>; @@ -549,10 +548,10 @@ #interrupt-cells = <1>; compatible = "lantiq,pci-xway"; bus-range = <0x0 0x0>; - ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */ - 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */ - reg = <0x7000000 0x8000 /* config space */ - 0xe105400 0x400>; /* pci bridge */ + ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000>, /* pci memory */ + <0x1000000 0 0x0000000 0xae00000 0 0x200000>; /* io space */ + reg = <0x7000000 0x8000>, /* config space */ + <0xe105400 0x400>; /* pci bridge */ lantiq,bus-clock = <33333333>; interrupt-map-mask = <0xf800 0x0 0x0 0x7>; interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */ diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/br200-wp.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/br200-wp.dts index 3b8c940a689..9cd59ba74cf 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/br200-wp.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/br200-wp.dts @@ -260,17 +260,16 @@ pci0: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; status = "disabled"; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -278,17 +277,16 @@ pci1: pcie@ffe0a000 { reg = <0x0 0xffe0a000 0x0 0x1000>; - ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0x0 0xffc20000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0x0 0xffc20000 0x0 0x10000>; reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; pcie@0 { ranges = <0x2000000 0x0 0xc0000000 0x2000000 0x0 0xc0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t10.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t10.dts index a610d75f5ea..89397a0a641 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t10.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t10.dts @@ -11,9 +11,9 @@ reg = <0x0 0xffe1e000 0 0x2000>; /* NOR, NAND Flashes and CPLD on board */ - ranges = <0x0 0x0 0x0 0xee000000 0x02000000 - 0x1 0x0 0x0 0xff800000 0x00010000 - 0x3 0x0 0x0 0xffb00000 0x00000020>; + ranges = <0x0 0x0 0x0 0xee000000 0x02000000>, + <0x1 0x0 0x0 0xff800000 0x00010000>, + <0x3 0x0 0x0 0xffb00000 0x00000020>; nand@100000000 { compatible = "fsl,ifc-nand"; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t15.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t15.dts index 6a726aee8bd..d26e59fe731 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t15.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t15.dts @@ -11,9 +11,9 @@ reg = <0x0 0xffe1e000 0 0x2000>; /* NOR, NAND Flashes and CPLD on board */ - ranges = <0x0 0x0 0x0 0xee000000 0x02000000 - 0x1 0x0 0x0 0xff800000 0x00010000 - 0x3 0x0 0x0 0xffb00000 0x00000020>; + ranges = <0x0 0x0 0x0 0xee000000 0x02000000>, + <0x1 0x0 0x0 0xff800000 0x00010000>, + <0x3 0x0 0x0 0xffb00000 0x00000020>; nand@100000000 { compatible = "fsl,ifc-nand"; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t1x.dtsi b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t1x.dtsi index 7be1dc4dcd2..b9c34d93553 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t1x.dtsi +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t1x.dtsi @@ -233,17 +233,16 @@ pci0: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; status = "disabled"; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -252,14 +251,13 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/msm460.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/msm460.dts index 3666350271b..cea9a95b756 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/msm460.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/msm460.dts @@ -29,10 +29,10 @@ lbc: localbus@ffe05000 { reg = <0 0xffe05000 0 0x1000>; - ranges = <0x0 0x0 0x0 0xec000000 0x04000000 - 0x1 0x0 0x0 0xff800000 0x00040000 - 0x2 0x0 0x0 0xffa00000 0x00020000 - 0x3 0x0 0x0 0xffb00000 0x00020000>; + ranges = <0x0 0x0 0x0 0xec000000 0x04000000>, + <0x1 0x0 0x0 0xff800000 0x00040000>, + <0x2 0x0 0x0 0xffa00000 0x00020000>, + <0x3 0x0 0x0 0xffb00000 0x00020000>; nand@1,0 { compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand"; @@ -164,15 +164,14 @@ }; pci0: pcie@ffe09000 { - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; reg = <0 0xffe09000 0 0x1000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; @@ -186,14 +185,13 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts index c4125052ec2..2f0b8c3ddf5 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts @@ -26,10 +26,10 @@ lbc: localbus@ffe05000 { reg = <0 0xffe05000 0 0x1000>; - ranges = <0x0 0x0 0x0 0xec000000 0x04000000 - 0x1 0x0 0x0 0xff800000 0x00040000 - 0x2 0x0 0x0 0xffa00000 0x00020000 - 0x3 0x0 0x0 0xffb00000 0x00020000>; + ranges = <0x0 0x0 0x0 0xec000000 0x04000000>, + <0x1 0x0 0x0 0xff800000 0x00040000>, + <0x2 0x0 0x0 0xffa00000 0x00020000>, + <0x3 0x0 0x0 0xffb00000 0x00020000>; nand@100000000 { compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand"; @@ -194,15 +194,14 @@ }; pci0: pcie@ffe09000 { - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; reg = <0 0xffe09000 0 0x1000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -210,14 +209,13 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts index 933601dd50e..c70e6f194e3 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts @@ -118,9 +118,9 @@ reg = <0x0 0xffe1e000 0 0x2000>; /* NOR, NAND Flashes and CPLD on board */ - ranges = <0x0 0x0 0x0 0xee000000 0x02000000 - 0x1 0x0 0x0 0xff800000 0x00010000 - 0x3 0x0 0x0 0xffb00000 0x00000020>; + ranges = <0x0 0x0 0x0 0xee000000 0x02000000>, + <0x1 0x0 0x0 0xff800000 0x00010000>, + <0x3 0x0 0x0 0xffb00000 0x00000020>; nand@100000000 { compatible = "fsl,ifc-nand"; @@ -195,17 +195,16 @@ pci0: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; status = "disabled"; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -213,15 +212,14 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts index 8b714445600..c56a3a21917 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts @@ -333,14 +333,13 @@ pci0: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; @@ -357,14 +356,13 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts index 833db68343f..631f16544d2 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts @@ -156,22 +156,20 @@ }; pci0: pcie@ffe09000 { - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; reg = <0 0xffe09000 0 0x1000>; /* Filled by U-Boot */ bus-range = <0x00 0x01>; - dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 - 0x00 0x100000 0x42000000 0x00 0x00 0x00 - 0x00 0x00 0x10000000>; + dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 0x00 0x100000>, + <0x42000000 0x00 0x00 0x00 0x00 0x00 0x10000000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -179,21 +177,19 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; /* Filled by U-Boot */ bus-range = <0x00 0x01>; - dma-ranges = <0x2000000 0x00 0xfff00000 0x00 - 0xffe00000 0x00 0x100000 0x42000000 - 0x00 0x00 0x00 0x00 0x00 0x10000000>; + dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 0x00 0x100000>, + <0x42000000 0x00 0x00 0x00 0x00 0x00 0x10000000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts index dfc0ed05383..a38f064b1e9 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts @@ -154,14 +154,13 @@ pci0: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; @@ -175,14 +174,13 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts index 3487c6ed78f..3dc92a16f0b 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3825i.dts @@ -212,22 +212,20 @@ }; pci0: pcie@ffe09000 { - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; reg = <0 0xffe09000 0 0x1000>; /* Filled by U-Boot */ bus-range = <0x00 0x01>; - dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 - 0x00 0x100000 0x42000000 0x00 0x00 0x00 - 0x00 0x00 0x10000000>; + dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 0x00 0x100000>, + <0x42000000 0x00 0x00 0x00 0x00 0x00 0x10000000>; pcie@0 { ranges = <0x2000000 0x0 0xa0000000 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; @@ -235,21 +233,19 @@ pci1: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>; /* Filled by U-Boot */ bus-range = <0x00 0x01>; - dma-ranges = <0x2000000 0x00 0xfff00000 0x00 - 0xffe00000 0x00 0x100000 0x42000000 - 0x00 0x00 0x00 0x00 0x00 0x10000000>; + dma-ranges = <0x2000000 0x00 0xfff00000 0x00 0xffe00000 0x00 0x100000>, + <0x42000000 0x00 0x00 0x00 0x00 0x00 0x10000000>; pcie@0 { ranges = <0x2000000 0x0 0x80000000 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x100000>; }; diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/xtm330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/xtm330.dts index 79b921118d4..68cc7f9383f 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/xtm330.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/xtm330.dts @@ -36,8 +36,8 @@ reg = <0 0xffe05000 0 0x1000>; /* NOR and NAND Flashes */ - ranges = < 0x0 0x0 0x0 0xefe00000 0x00200000 - 0x1 0x0 0x0 0xffa00000 0x00040000 >; + ranges = <0x0 0x0 0x0 0xefe00000 0x00200000>, + <0x1 0x0 0x0 0xffa00000 0x00040000>; nor@0,0 { compatible = "cfi-flash"; @@ -311,50 +311,47 @@ pci0: pcie@ffe08000 { reg = <0 0xffe08000 0 0x1000>; - ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0x0 0xffc20000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0x0 0xffc20000 0x0 0x10000>; status = "disabled"; pcie@0 { - ranges = < 0x2000000 0x0 0xc0000000 - 0x2000000 0x0 0xc0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 - 0x1000000 0x0 0x0 - 0x0 0x100000>; + ranges = <0x2000000 0x0 0xc0000000 + 0x2000000 0x0 0xc0000000 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; }; }; pci1: pcie@ffe09000 { reg = <0 0xffe09000 0 0x1000>; - ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; + ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>; status = "disabled"; pcie@0 { - ranges = < 0x2000000 0x0 0xa0000000 - 0x2000000 0x0 0xa0000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 - 0x1000000 0x0 0x0 - 0x0 0x100000>; + ranges = <0x2000000 0x0 0xa0000000 + 0x2000000 0x0 0xa0000000 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x100000>; }; }; pci2: pcie@ffe0a000 { reg = <0 0xffe0a000 0 0x1000>; - ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000 - 0x1000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 0x0 0x80000000 0x0 0x20000000>, + <0x1000000 0x0 0x00000000 0x0 0xffc00000 0x0 0x10000>; pcie@0 { - ranges = < 0x2000000 0x0 0x80000000 - 0x2000000 0x0 0x80000000 - 0x0 0x20000000 - - 0x1000000 0x0 0x0 - 0x1000000 0x0 0x0 - 0x0 0x10000>; + ranges = <0x2000000 0x0 0x80000000 + 0x2000000 0x0 0x80000000 + 0x0 0x20000000>, + <0x1000000 0x0 0x0 + 0x1000000 0x0 0x0 + 0x0 0x10000>; }; }; }; diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls220de.dts b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls220de.dts index 8740cb32d92..b168a9385a0 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls220de.dts +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls220de.dts @@ -37,9 +37,9 @@ }; soc { - ranges = ; + ranges = , + , + ; }; system_fan: gpio_fan { diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls421de.dts b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls421de.dts index 13cc8efa2dd..dcc55218a4b 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls421de.dts +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-370-buffalo-ls421de.dts @@ -36,9 +36,9 @@ }; soc { - ranges = ; + ranges = , + , + ; }; system_fan: gpio_fan { diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-380-iij-sa-w2.dts b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-380-iij-sa-w2.dts index 86029d3629a..46f1c39407e 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-380-iij-sa-w2.dts +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-380-iij-sa-w2.dts @@ -29,11 +29,11 @@ }; soc { - ranges = ; + ranges = , + , + , + , + ; pcie { status = "okay"; diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi index cd2eed157cf..b33eb69f466 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-fortinet-fg-xxe.dtsi @@ -21,11 +21,11 @@ }; soc { - ranges = ; + ranges = , + , + , + , + ; }; gpio-keys { diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-nas1dual.dts b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-nas1dual.dts index aa5f73eb3f0..080f00cfe36 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-nas1dual.dts +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-nas1dual.dts @@ -38,11 +38,11 @@ }; soc { - ranges = ; + ranges = , + , + , + , + ; }; gpio-keys { diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-wd_cloud.dtsi b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-wd_cloud.dtsi index f32c838977f..6ef7b3b171c 100644 --- a/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-wd_cloud.dtsi +++ b/target/linux/mvebu/files/arch/arm/boot/dts/marvell/armada-385-wd_cloud.dtsi @@ -33,11 +33,11 @@ }; soc { - ranges = ; + ranges = , + , + , + , + ; internal-regs { timer@c200 { diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 7cb7a6c5661..f8963a3506c 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -608,10 +608,8 @@ device_type = "pci"; bus-range = <0 255>; - ranges = < - 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */ - 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */ - >; + ranges = <0x02000000 0 0x00000000 0x20000000 0 0x10000000>, /* pci memory */ + <0x01000000 0 0x00000000 0x10160000 0 0x00010000>; /* io space */ status = "disabled"; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index 6bc7d87646c..251cc35bf61 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -500,10 +500,8 @@ device_type = "pci"; bus-range = <0 255>; - ranges = < - 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */ - 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */ - >; + ranges = <0x02000000 0 0x00000000 0x20000000 0 0x10000000>, /* pci memory */ + <0x01000000 0 0x00000000 0x10160000 0 0x00010000>; /* io space */ pcie0: pcie@0,0 { reg = <0x0000 0 0 0 0>; diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index ad1b4a595be..01fab063a37 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -395,10 +395,8 @@ device_type = "pci"; bus-range = <0 255>; - ranges = < - 0x02000000 0 0x00000000 0x20000000 0 0x10000000 /* pci memory */ - 0x01000000 0 0x00000000 0x10160000 0 0x00010000 /* io space */ - >; + ranges = <0x02000000 0 0x00000000 0x20000000 0 0x10000000>, /* pci memory */ + <0x01000000 0 0x00000000 0x10160000 0 0x00010000>; /* io space */ interrupt-map-mask = <0xf800 0 0 7>; interrupt-map = < diff --git a/target/linux/siflower/dts/sf21.dtsi b/target/linux/siflower/dts/sf21.dtsi index 1488200a465..97a7b8dcbe7 100644 --- a/target/linux/siflower/dts/sf21.dtsi +++ b/target/linux/siflower/dts/sf21.dtsi @@ -219,8 +219,8 @@ #size-cells = <2>; device_type = "pci"; bus-range = <0x0 0xff>; - ranges = <0x81000000 0x0 0xa0080000 0x0 0xa0080000 0x0 0x00080000 /* downstream I/O 256KB */ - 0x82000000 0x0 0xa0100000 0x0 0xa0100000 0x0 0x2ff00000>; /* non-prefetchable memory */ + ranges = <0x81000000 0x0 0xa0080000 0x0 0xa0080000 0x0 0x00080000>, /* downstream I/O 256KB */ + <0x82000000 0x0 0xa0100000 0x0 0xa0100000 0x0 0x2ff00000>; /* non-prefetchable memory */ siflower,ctlr-idx = <0>; num-viewport = <8>; interrupts = <124 IRQ_TYPE_LEVEL_HIGH>, @@ -254,8 +254,8 @@ #size-cells = <2>; device_type = "pci"; bus-range = <0x0 0xff>; - ranges = <0x81000000 0x0 0xd0080000 0x0 0xd0080000 0x0 0x00080000 /* downstream I/O 256KB */ - 0x82000000 0x0 0xd0100000 0x0 0xd0100000 0x0 0x2ff00000>; /* non-prefetchable memory */ + ranges = <0x81000000 0x0 0xd0080000 0x0 0xd0080000 0x0 0x00080000>, /* downstream I/O 256KB */ + <0x82000000 0x0 0xd0100000 0x0 0xd0100000 0x0 0x2ff00000>; /* non-prefetchable memory */ siflower,ctlr-idx = <1>; num-viewport = <8>; interrupts = <125 IRQ_TYPE_LEVEL_HIGH>,