From ed1f23637a4916112800df2779c160be520d1525 Mon Sep 17 00:00:00 2001 From: Mark Rutland Date: Tue, 7 May 2013 14:04:03 +0100 Subject: arm64: dts: fix #address-cells for foundation-v8 Commit 90556ca1 ("arm64: vexpress: Add dts files for the ARMv8 RTSM models") added foundation-v8.dts, but erroneously set /cpus/#address-cells = <1> while providing two cells in each cpus/cpu@N node's reg property. As of commit ea393a2e ("arm64: smp: honour #address-size when parsing CPU reg property") we read in as many address cells as specified rather than always reading two. This means that for foundation-v8.dts, we only read the first reg cell (zero) for each cpu node, and receive a lot of warnings at boot of the form "/cpus/cpu@1: duplicate cpu reg properties in the DT". This patch corrects foundation-v8.dts to have the correct value for /cpus/#address-cells. Signed-off-by: Mark Rutland Cc: Catalin Marinas Cc: Pawel Moll Cc: Will Deacon Tested-by: Marc Zyngier Acked-by: Marc Zyngier Signed-off-by: Catalin Marinas --- arch/arm64/boot/dts/foundation-v8.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm64/boot') diff --git a/arch/arm64/boot/dts/foundation-v8.dts b/arch/arm64/boot/dts/foundation-v8.dts index 198682b6de31..84fcc5018284 100644 --- a/arch/arm64/boot/dts/foundation-v8.dts +++ b/arch/arm64/boot/dts/foundation-v8.dts @@ -23,7 +23,7 @@ }; cpus { - #address-cells = <1>; + #address-cells = <2>; #size-cells = <0>; cpu@0 { -- cgit v1.2.3-59-g8ed1b