Various ARM64 Armada DT warning fixup
Subsystems (2)
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
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
@@ -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
PATCH 2/3 arm64: dts: marvell: Fixup config-space DT warning For Armada 7K/8K
In reply to Gregory CLEMENTconfig-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
@@ -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
@@ -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
@@ -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
PATCH 3/3 ARM64: dts: marvell: Fixup memory DT warning for Armada 37xx
In reply to Gregory CLEMENTmemory 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
@@ -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
@@ -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