Skip to contentSkip to conversation

Various ARM64 Armada DT warning fixup

PATCH New Gregory CLEMENT 1 participant 4 messages Nov 7, 2016

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

cover Various ARM64 Armada DT warning fixup

Following the series sent for Armada 370/XP, this patchset fixes up various warning from the DT compiler when using the flag W=1 with make.

Being a fresh new port, the arm64 we did a better job for dt than for the arm32 so there is only a few patches needed.

Gregory

Gregory CLEMENT (3):
arm64: dts: marvell: Fixup internal-regs DT warning for Armada 37xx
arm64: dts: marvell: Fixup config-space DT warning For Armada 7K/8K
ARM64: dts: marvell: Fixup memory DT warning for Armada 37xx

 arch/arm64/boot/dts/marvell/armada-3720-db.dts          | 2 +-
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 2 +-
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi            | 2 +-
 arch/arm64/boot/dts/marvell/armada-ap806.dtsi           | 2 +-
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi    | 2 +-
 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.10.1
#1 lore raw

PATCH 1/3 arm64: dts: marvell: Fixup internal-regs DT warning for Armada 37xx

internal-regs has a ranges property so the unit name should contain an address.

---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +1 -1
index c4762538ec01..f1596daa2bc7 100644
@@ -91,7 +91,7 @@
 		#size-cells = <2>;
 		ranges;
 
-		internal-regs {
+		internal-regs at d0000000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
Signature · 1 line
2.10.1
#2 lore raw

PATCH 2/3 arm64: dts: marvell: Fixup config-space DT warning For Armada 7K/8K

In reply to Gregory CLEMENT

config-space has a ranges property so the unit name should contain an address.

---
 arch/arm64/boot/dts/marvell/armada-ap806.dtsi        | 2 +-
 arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 2 +-
 arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/marvell/armada-ap806.dtsi +1 -1
index 7b6136182ad0..a749ba2edec4 100644
@@ -71,7 +71,7 @@
 		interrupt-parent = <&gic>;
 		ranges;
 
-		config-space {
+		config-space at f0000000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +1 -1
index e5e3ed678b6f..607e9a3ef834 100644
@@ -52,7 +52,7 @@
 		interrupt-parent = <&gic>;
 		ranges;
 
-		config-space {
+		config-space at f2000000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +1 -1
index 842fb333285c..88e74069c666 100644
@@ -52,7 +52,7 @@
 		interrupt-parent = <&gic>;
 		ranges;
 
-		config-space {
+		config-space at f4000000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			compatible = "simple-bus";
Signature · 1 line
2.10.1
#3 lore raw

PATCH 3/3 ARM64: dts: marvell: Fixup memory DT warning for Armada 37xx

In reply to Gregory CLEMENT

memory has a reg property so the unit name should contain an address.

---
 arch/arm64/boot/dts/marvell/armada-3720-db.dts          | 2 +-
 arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/marvell/armada-3720-db.dts +1 -1
index 1372e9a6aaa4..a260ae25b658 100644
@@ -56,7 +56,7 @@
 		stdout-path = "serial0:115200n8";
 	};
 
-	memory {
+	memory at 0 {
 		device_type = "memory";
 		reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
 	};
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +1 -1
index eadd5993c7bd..83178d909fc2 100644
@@ -55,7 +55,7 @@
 		stdout-path = "serial0:115200n8";
 	};
 
-	memory {
+	memory at 0 {
 		device_type = "memory";
 		reg = <0x00000000 0x00000000 0x00000000 0x20000000>;
 	};
Signature · 1 line
2.10.1