From: Stanislav Galabov Date: Mon, 9 May 2016 06:23:12 +0000 (+0300) Subject: ramips: Add hex prefix (0x) to dtsi reg properties where needed. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=600c2242138f570e57f23052db7a57d28b65b787;p=openwrt%2Fstaging%2Fadrian.git ramips: Add hex prefix (0x) to dtsi reg properties where needed. Signed-off-by: Stanislav Galabov --- diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi index 3c89880746..0310bd4d2e 100644 --- a/target/linux/ramips/dts/mt7620a.dtsi +++ b/target/linux/ramips/dts/mt7620a.dtsi @@ -406,7 +406,7 @@ ethernet@10100000 { compatible = "mediatek,mt7620-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; #address-cells = <1>; #size-cells = <0>; @@ -443,7 +443,7 @@ gsw: gsw@10110000 { compatible = "mediatek,mt7620-gsw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -454,7 +454,7 @@ sdhci@10130000 { compatible = "ralink,mt7620-sdhci"; - reg = <0x10130000 4000>; + reg = <0x10130000 0x4000>; interrupt-parent = <&intc>; interrupts = <14>; @@ -527,7 +527,7 @@ wmac@10180000 { compatible = "ralink,rt7620-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi index 7e66abe4fd..6c5d66eaa8 100644 --- a/target/linux/ramips/dts/mt7620n.dtsi +++ b/target/linux/ramips/dts/mt7620n.dtsi @@ -265,7 +265,7 @@ ethernet@10100000 { compatible = "mediatek,mt7620-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; #address-cells = <1>; #size-cells = <0>; @@ -288,7 +288,7 @@ gsw: gsw@10110000 { compatible = "mediatek,mt7620-gsw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -326,7 +326,7 @@ wmac@10180000 { compatible = "ralink,rt7620-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index c055285bc6..71d833d69e 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -243,7 +243,7 @@ sdhci@1E130000 { compatible = "ralink,mt7620-sdhci"; - reg = <0x1E130000 4000>; + reg = <0x1E130000 0x4000>; interrupt-parent = <&gic>; interrupts = ; @@ -292,7 +292,7 @@ ethernet@1e100000 { compatible = "mediatek,mt7621-eth"; - reg = <0x1e100000 10000>; + reg = <0x1e100000 0x10000>; #address-cells = <1>; #size-cells = <0>; @@ -318,7 +318,7 @@ gsw: gsw@1e110000 { compatible = "mediatek,mt7621-gsw"; - reg = <0x1e110000 8000>; + reg = <0x1e110000 0x8000>; interrupt-parent = <&gic>; interrupts = ; }; diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi index c1f03fc76c..98496e325d 100644 --- a/target/linux/ramips/dts/mt7628an.dtsi +++ b/target/linux/ramips/dts/mt7628an.dtsi @@ -346,7 +346,7 @@ usbphy: usbphy@10120000 { compatible = "ralink,mt7628an-usbphy", "mediatek,mt7620-usbphy"; - reg = <0x10120000 4000>; + reg = <0x10120000 0x4000>; #phy-cells = <1>; resets = <&rstctrl 22 &rstctrl 25>; @@ -355,7 +355,7 @@ sdhci@10130000 { compatible = "ralink,mt7620-sdhci"; - reg = <0x10130000 4000>; + reg = <0x10130000 0x4000>; interrupt-parent = <&intc>; interrupts = <14>; @@ -390,7 +390,7 @@ ethernet@10100000 { compatible = "ralink,rt5350-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; interrupt-parent = <&cpuintc>; interrupts = <5>; @@ -403,7 +403,7 @@ esw: esw@10110000 { compatible = "ralink,rt3050-esw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -448,7 +448,7 @@ wmac: wmac@10300000 { compatible = "mediatek,mt7628-wmac"; - reg = <0x10300000 100000>; + reg = <0x10300000 0x100000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi index dc3f0ba99f..603eed871b 100644 --- a/target/linux/ramips/dts/rt2880.dtsi +++ b/target/linux/ramips/dts/rt2880.dtsi @@ -160,7 +160,7 @@ ethernet@400000 { compatible = "ralink,rt2880-eth"; - reg = <0x00400000 10000>; + reg = <0x00400000 0x10000>; #address-cells = <1>; #size-cells = <0>; @@ -188,7 +188,7 @@ wmac@480000 { compatible = "ralink,rt2880-wmac"; - reg = <0x480000 40000>; + reg = <0x480000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi index 0a4cf1e485..3aecba6345 100644 --- a/target/linux/ramips/dts/rt3050.dtsi +++ b/target/linux/ramips/dts/rt3050.dtsi @@ -217,7 +217,7 @@ ethernet@10100000 { compatible = "ralink,rt3050-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; resets = <&rstctrl 21>; reset-names = "fe"; @@ -230,7 +230,7 @@ esw: esw@10110000 { compatible = "ralink,rt3050-esw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -241,7 +241,7 @@ wmac@10180000 { compatible = "ralink,rt3050-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; @@ -251,7 +251,7 @@ otg@101c0000 { compatible = "ralink,rt3050-otg", "snps,dwc2"; - reg = <0x101c0000 40000>; + reg = <0x101c0000 0x40000>; interrupt-parent = <&intc>; interrupts = <18>; diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index f9721d89e0..a22af42112 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -231,7 +231,7 @@ ethernet@10100000 { compatible = "ralink,rt3352-eth", "ralink,rt3050-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; resets = <&rstctrl 21>; reset-names = "fe"; @@ -244,7 +244,7 @@ esw: esw@10110000 { compatible = "ralink,rt3352-esw", "ralink,rt3050-esw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -263,7 +263,7 @@ wmac@10180000 { compatible = "ralink,rt3352-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi index fa070a1ec9..9f0c96f15f 100644 --- a/target/linux/ramips/dts/rt3883.dtsi +++ b/target/linux/ramips/dts/rt3883.dtsi @@ -246,7 +246,7 @@ ethernet@10100000 { compatible = "ralink,rt3883-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; resets = <&rstctrl 21>; reset-names = "fe"; @@ -368,7 +368,7 @@ wmac@10180000 { compatible = "ralink,rt3883-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>; diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi index 226d4a401f..93c95c8605 100644 --- a/target/linux/ramips/dts/rt5350.dtsi +++ b/target/linux/ramips/dts/rt5350.dtsi @@ -277,7 +277,7 @@ ethernet@10100000 { compatible = "ralink,rt5350-eth"; - reg = <0x10100000 10000>; + reg = <0x10100000 0x10000>; resets = <&rstctrl 21 &rstctrl 23>; reset-names = "fe", "esw"; @@ -290,7 +290,7 @@ esw: esw@10110000 { compatible = "ralink,rt3050-esw"; - reg = <0x10110000 8000>; + reg = <0x10110000 0x8000>; resets = <&rstctrl 23>; reset-names = "esw"; @@ -301,7 +301,7 @@ wmac@10180000 { compatible = "ralink,rt5350-wmac", "ralink,rt2880-wmac"; - reg = <0x10180000 40000>; + reg = <0x10180000 0x40000>; interrupt-parent = <&cpuintc>; interrupts = <6>;