ramips: Add hex prefix (0x) to dtsi reg properties where needed.
authorLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:37:15 +0000 (22:37 +0000)
committerLuka Perkov <luka@openwrt.org>
Tue, 10 May 2016 22:37:15 +0000 (22:37 +0000)
Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
SVN-Revision: 49356

target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index 3c89880..0310bd4 100644 (file)
 
        ethernet@10100000 {
                compatible = "mediatek,mt7620-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                #address-cells = <1>;
                #size-cells = <0>;
 
        gsw: gsw@10110000 {
                compatible = "mediatek,mt7620-gsw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        sdhci@10130000 {
                compatible = "ralink,mt7620-sdhci";
-               reg = <0x10130000 4000>;
+               reg = <0x10130000 0x4000>;
 
                interrupt-parent = <&intc>;
                interrupts = <14>;
 
        wmac@10180000 {
                compatible = "ralink,rt7620-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index 7e66abe..6c5d66e 100644 (file)
 
        ethernet@10100000 {
                compatible = "mediatek,mt7620-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                #address-cells = <1>;
                #size-cells = <0>;
 
        gsw: gsw@10110000 {
                compatible = "mediatek,mt7620-gsw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        wmac@10180000 {
                compatible = "ralink,rt7620-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index c055285..71d833d 100644 (file)
 
        sdhci@1E130000 {
                compatible = "ralink,mt7620-sdhci";
-               reg = <0x1E130000 4000>;
+               reg = <0x1E130000 0x4000>;
 
                interrupt-parent = <&gic>;
                interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
 
        ethernet@1e100000 {
                compatible = "mediatek,mt7621-eth";
-               reg = <0x1e100000 10000>;
+               reg = <0x1e100000 0x10000>;
 
                #address-cells = <1>;
                #size-cells = <0>;
 
        gsw: gsw@1e110000 {
                compatible = "mediatek,mt7621-gsw";
-               reg = <0x1e110000 8000>;
+               reg = <0x1e110000 0x8000>;
                interrupt-parent = <&gic>;
                interrupts = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
        };
index c1f03fc..98496e3 100644 (file)
 
        usbphy: usbphy@10120000 {
                compatible = "ralink,mt7628an-usbphy", "mediatek,mt7620-usbphy";
-               reg = <0x10120000 4000>;
+               reg = <0x10120000 0x4000>;
                #phy-cells = <1>;
 
                resets = <&rstctrl 22 &rstctrl 25>;
 
        sdhci@10130000 {
                compatible = "ralink,mt7620-sdhci";
-               reg = <0x10130000 4000>;
+               reg = <0x10130000 0x4000>;
 
                interrupt-parent = <&intc>;
                interrupts = <14>;
 
        ethernet@10100000 {
                compatible = "ralink,rt5350-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <5>;
 
        esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        wmac: wmac@10300000 {
                compatible = "mediatek,mt7628-wmac";
-               reg = <0x10300000 100000>;
+               reg = <0x10300000 0x100000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index dc3f0ba..603eed8 100644 (file)
 
        ethernet@400000 {
                compatible = "ralink,rt2880-eth";
-               reg = <0x00400000 10000>;
+               reg = <0x00400000 0x10000>;
 
                #address-cells = <1>;
                #size-cells = <0>;
 
        wmac@480000 {
                compatible = "ralink,rt2880-wmac";
-               reg = <0x480000 40000>;
+               reg = <0x480000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index 0a4cf1e..3aecba6 100644 (file)
 
        ethernet@10100000 {
                compatible = "ralink,rt3050-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                resets = <&rstctrl 21>;
                reset-names = "fe";
 
        esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        wmac@10180000 {
                compatible = "ralink,rt3050-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
 
        otg@101c0000 {
                compatible = "ralink,rt3050-otg", "snps,dwc2";
-               reg = <0x101c0000 40000>;
+               reg = <0x101c0000 0x40000>;
 
                interrupt-parent = <&intc>;
                interrupts = <18>;
index f9721d8..a22af42 100644 (file)
 
        ethernet@10100000 {
                compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                resets = <&rstctrl 21>;
                reset-names = "fe";
 
        esw: esw@10110000 {
                compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        wmac@10180000 {
                compatible = "ralink,rt3352-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index fa070a1..9f0c96f 100644 (file)
 
        ethernet@10100000 {
                compatible = "ralink,rt3883-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                resets = <&rstctrl 21>;
                reset-names = "fe";
 
        wmac@10180000 {
                compatible = "ralink,rt3883-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;
index 226d4a4..93c95c8 100644 (file)
 
        ethernet@10100000 {
                compatible = "ralink,rt5350-eth";
-               reg = <0x10100000 10000>;
+               reg = <0x10100000 0x10000>;
 
                resets = <&rstctrl 21 &rstctrl 23>;
                reset-names = "fe", "esw";
 
        esw: esw@10110000 {
                compatible = "ralink,rt3050-esw";
-               reg = <0x10110000 8000>;
+               reg = <0x10110000 0x8000>;
 
                resets = <&rstctrl 23>;
                reset-names = "esw";
 
        wmac@10180000 {
                compatible = "ralink,rt5350-wmac", "ralink,rt2880-wmac";
-               reg = <0x10180000 40000>;
+               reg = <0x10180000 0x40000>;
 
                interrupt-parent = <&cpuintc>;
                interrupts = <6>;