Skip to contentSkip to conversation

ARM: dts: imx6qdl: Remove leading zeroes from unit addresses

PATCH New Marco Franchi 1 participant 1 message Sep 22, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: imx6qdl: Remove leading zeroes from unit addresses

The following build warnings are seen with W=1:

Warning (simple_bus_reg): Node /soc/sram at 00900000 simple-bus unit address format error, expected "900000"
Warning (simple_bus_reg): Node /soc/aips-bus at 02000000 simple-bus unit address format error, expected "2000000"
Warning (simple_bus_reg): Node /soc/aips-bus at 02000000/pxp at 020f0000 simple-bus unit address format error, expected "20f0000" (...)

Remove the leading zeroes from unit addresses to fix the warnings.

---
Changes since v1:
- Send to the correct list address

 arch/arm/boot/dts/imx6dl.dtsi  |  16 ++--
 arch/arm/boot/dts/imx6q.dtsi   |  16 ++--
 arch/arm/boot/dts/imx6qdl.dtsi | 178 ++++++++++++++++++++---------------------
 arch/arm/boot/dts/imx6qp.dtsi  |   2 +-
 4 files changed, 106 insertions(+), 106 deletions(-)
arch/arm/boot/dts/imx6dl.dtsi +8 -8
index 8475e6c..4d693a7 100644
@@ -60,35 +60,35 @@
 	};
 
 	soc {
-		ocram: sram at 00900000 {
+		ocram: sram at 900000 {
 			compatible = "mmio-sram";
 			reg = <0x00900000 0x20000>;
 			clocks = <&clks IMX6QDL_CLK_OCRAM>;
 		};
 
-		aips1: aips-bus at 02000000 {
-			iomuxc: iomuxc at 020e0000 {
+		aips1: aips-bus at 2000000 {
+			iomuxc: iomuxc at 20e0000 {
 				compatible = "fsl,imx6dl-iomuxc";
 			};
 
-			pxp: pxp at 020f0000 {
+			pxp: pxp at 20f0000 {
 				reg = <0x020f0000 0x4000>;
 				interrupts = <0 98 IRQ_TYPE_LEVEL_HIGH>;
 			};
 
-			epdc: epdc at 020f4000 {
+			epdc: epdc at 20f4000 {
 				reg = <0x020f4000 0x4000>;
 				interrupts = <0 97 IRQ_TYPE_LEVEL_HIGH>;
 			};
 
-			lcdif: lcdif at 020f8000 {
+			lcdif: lcdif at 20f8000 {
 				reg = <0x020f8000 0x4000>;
 				interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
 			};
 		};
 
-		aips2: aips-bus at 02100000 {
-			i2c4: i2c at 021f8000 {
+		aips2: aips-bus at 2100000 {
+			i2c4: i2c at 21f8000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "fsl,imx6q-i2c", "fsl,imx21-i2c";
arch/arm/boot/dts/imx6q.dtsi +8 -8
index 90a7417..bc581aa 100644
@@ -79,15 +79,15 @@
 	};
 
 	soc {
-		ocram: sram at 00900000 {
+		ocram: sram at 900000 {
 			compatible = "mmio-sram";
 			reg = <0x00900000 0x40000>;
 			clocks = <&clks IMX6QDL_CLK_OCRAM>;
 		};
 
-		aips-bus at 02000000 { /* AIPS1 */
-			spba-bus at 02000000 {
-				ecspi5: ecspi at 02018000 {
+		aips-bus at 2000000 { /* AIPS1 */
+			spba-bus at 2000000 {
+				ecspi5: ecspi at 2018000 {
 					#address-cells = <1>;
 					#size-cells = <0>;
 					compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi";
@@ -102,12 +102,12 @@
 				};
 			};
 
-			iomuxc: iomuxc at 020e0000 {
+			iomuxc: iomuxc at 20e0000 {
 				compatible = "fsl,imx6q-iomuxc";
 			};
 		};
 
-		sata: sata at 02200000 {
+		sata: sata at 2200000 {
 			compatible = "fsl,imx6q-ahci";
 			reg = <0x02200000 0x4000>;
 			interrupts = <0 39 IRQ_TYPE_LEVEL_HIGH>;
@@ -118,7 +118,7 @@
 			status = "disabled";
 		};
 
-		gpu_vg: gpu at 02204000 {
+		gpu_vg: gpu at 2204000 {
 			compatible = "vivante,gc";
 			reg = <0x02204000 0x4000>;
 			interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
@@ -128,7 +128,7 @@
 			power-domains = <&pd_pu>;
 		};
 
-		ipu2: ipu at 02800000 {
+		ipu2: ipu at 2800000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "fsl,imx6q-ipu";
arch/arm/boot/dts/imx6qdl.dtsi +89 -89

672 lines not on this page · raw message

arch/arm/boot/dts/imx6qp.dtsi +1 -1
index 299d863..24c5cfa 100644
@@ -56,7 +56,7 @@
 			clocks = <&clks IMX6QDL_CLK_OCRAM>;
 		};
 
-		aips-bus at 02100000 {
+		aips-bus at 2100000 {
 			pre1: pre at 21c8000 {
 				compatible = "fsl,imx6qp-pre";
 				reg = <0x021c8000 0x1000>;
Signature · 1 line
2.7.4