From: Rosen Penev Date: Wed, 1 Apr 2026 23:41:03 +0000 (-0700) Subject: treewide: dts: reg: use new syntax for arrays X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c2f02325;p=thirdparty%2Fopenwrt.git treewide: dts: reg: use new syntax for arrays <>, <> is the preferred way to specify multiple entries. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/22736 Signed-off-by: Robert Marko --- diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi index 71dea7ae208..a1154f4018d 100644 --- a/target/linux/apm821xx/dts/apm82181.dtsi +++ b/target/linux/apm821xx/dts/apm82181.dtsi @@ -115,8 +115,7 @@ L2C0: l2c { compatible = "ibm,l2-cache-apm82181", "ibm,l2-cache"; - dcr-reg = <0x020 0x008 - 0x030 0x008>; + dcr-reg = <0x020 0x008>, <0x030 0x008>; cache-line-size = <32>; cache-size = <262144>; interrupt-parent = <&UIC1>; diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi index 1cfe82ded89..beb52a16855 100644 --- a/target/linux/ath79/dts/ar7100.dtsi +++ b/target/linux/ath79/dts/ar7100.dtsi @@ -210,8 +210,7 @@ ð0 { compatible = "qca,ar7100-eth", "syscon"; - reg = <0x19000000 0x200 - 0x18070000 0x4>; + reg = <0x19000000 0x200>, <0x18070000 0x4>; pll-data = <0x00110000 0x00001099 0x00991099>; pll-reg = <0x4 0x10 17>; @@ -229,8 +228,7 @@ ð1 { compatible = "qca,ar7100-eth", "syscon"; - reg = <0x1a000000 0x200 - 0x18070004 0x4>; + reg = <0x1a000000 0x200>, <0x18070004 0x4>; pll-data = <0x00110000 0x00001099 0x00991099>; pll-reg = <0x4 0x14 19>; diff --git a/target/linux/ath79/dts/ar9132.dtsi b/target/linux/ath79/dts/ar9132.dtsi index ee9eab4ed1f..0633080daa5 100644 --- a/target/linux/ath79/dts/ar9132.dtsi +++ b/target/linux/ath79/dts/ar9132.dtsi @@ -199,8 +199,7 @@ ð0 { compatible = "qca,ar9130-eth", "syscon"; - reg = <0x19000000 0x200 - 0x18070000 0x4>; + reg = <0x19000000 0x200>, <0x18070000 0x4>; pll-data = <0x1a000000 0x13000a44 0x00441099>; pll-reg = <0x4 0x14 20>; pll-handle = <&pll>; diff --git a/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi b/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi index 981173c0cd8..e41031d6830 100644 --- a/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi +++ b/target/linux/ath79/dts/ar9132_buffalo_wzr-hp-g300nh.dtsi @@ -236,8 +236,7 @@ status = "disabled"; compatible = "qca,ar9130-eth", "syscon"; - reg = <0x1a000000 0x200 - 0x18070004 0x4>; + reg = <0x1a000000 0x200>, <0x18070004 0x4>; pll-reg = <0x4 0x18 22>; pll-handle = <&pll>; diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi index b5b51275cbe..ca1ba6ce204 100644 --- a/target/linux/ath79/dts/qca953x.dtsi +++ b/target/linux/ath79/dts/qca953x.dtsi @@ -234,8 +234,7 @@ ð0 { compatible = "qca,qca9530-eth", "syscon"; pll-data = <0x82000101 0x80000101 0x80001313>; - reg = <0x19000000 0x200 - 0x18070000 0x4>; + reg = <0x19000000 0x200>, <0x18070000 0x4>; pll-reg = <0x4 0x2c 17>; pll-handle = <&pll>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi index 042b7f828a9..e396ed24963 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/amazonse.dtsi @@ -202,8 +202,7 @@ usb: usb@e101000 { compatible = "lantiq,ase-usb"; - reg = <0xe101000 0x1000 - 0xe120000 0x3f000>; + reg = <0xe101000 0x1000>, <0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <39>; dr_mode = "host"; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi index fdea51192bc..541c58a26e5 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/ar9.dtsi @@ -335,8 +335,7 @@ usb0: usb@e101000 { compatible = "lantiq,arx100-usb"; - reg = <0xe101000 0x1000 - 0xe120000 0x3f000>; + reg = <0xe101000 0x1000>, <0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <62 91>; dr_mode = "host"; @@ -347,8 +346,7 @@ usb1: usb@e106000 { compatible = "lantiq,arx100-usb"; - reg = <0xe106000 0x1000 - 0xe1e0000 0x3f000>; + reg = <0xe106000 0x1000>, <0xe1e0000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <91>; dr_mode = "host"; @@ -381,8 +379,7 @@ gsw: ethernet@e180000 { compatible = "lantiq,etop-xway"; - reg = <0xe180000 0x40000 - 0xe108000 0x200>; + reg = <0xe180000 0x40000>, <0xe108000 0x200>; interrupt-parent = <&icu0>; interrupts = <73 72>; pinctrl-0 = <&mdio_pins>; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi index 8c75f4ad43d..45fdeec9bdc 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/danube.dtsi @@ -257,8 +257,7 @@ #address-cells = <1>; #size-cells = <0>; compatible = "lantiq,danube-usb"; - reg = <0xe101000 0x1000 - 0xe120000 0x3f000>; + reg = <0xe101000 0x1000>, <0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <62>; dr_mode = "host"; diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi index ffad8226902..1a2e51032d2 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9.dtsi @@ -398,8 +398,7 @@ #size-cells = <0>; status = "disabled"; compatible = "lantiq,xrx200-usb"; - reg = <0xe101000 0x1000 - 0xe120000 0x3f000>; + reg = <0xe101000 0x1000>, <0xe120000 0x3f000>; interrupt-parent = <&icu0>; interrupts = <62 91>; dr_mode = "host"; diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 781919df5c6..43c497b4b72 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -591,8 +591,7 @@ pcie: pcie@10140000 { compatible = "mediatek,mt7620-pci"; - reg = <0x10140000 0x100 - 0x10142000 0x100>; + reg = <0x10140000 0x100>, <0x10142000 0x100>; #address-cells = <3>; #size-cells = <2>; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 64a2982137c..89f7ff457ae 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -393,8 +393,7 @@ #size-cells = <0>; compatible = "mediatek,mt8173-xhci"; - reg = <0x1e1c0000 0x1000 - 0x1e1d0700 0x0100>; + reg = <0x1e1c0000 0x1000>, <0x1e1d0700 0x0100>; reg-names = "mac", "ippc"; clocks = <&sysc MT7621_CLK_XTAL>; @@ -456,8 +455,7 @@ status = "disabled"; compatible = "mediatek,mt7621-nfc"; - reg = <0x1e003000 0x800 - 0x1e003800 0x800>; + reg = <0x1e003000 0x800>, <0x1e003800 0x800>; reg-names = "nfi", "ecc"; clocks = <&sysc MT7621_CLK_NAND>; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index bf39ec307b1..650ccbbc6d2 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -481,8 +481,7 @@ pcie: pcie@10140000 { compatible = "mediatek,mt7620-pci"; - reg = <0x10140000 0x100 - 0x10142000 0x8000>; + reg = <0x10140000 0x100>, <0x10142000 0x8000>; #address-cells = <3>; #size-cells = <2>;