ramips: Add hex prefix (0x) to dtsi reg properties where needed.
ramips: Add hex prefix (0x) to dtsi reg properties where needed.

Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49356 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- 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>;

--- 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>;

--- 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 = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
@@ -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 = <GIC_SHARED 23 IRQ_TYPE_LEVEL_HIGH>;
 	};

--- 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>;

--- 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>;

--- 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>;

--- 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>;

--- 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>;

--- 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>;

comments