arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
authorVadym Kochan <vadym.kochan@plvision.eu>
Sun, 9 Feb 2020 21:20:30 +0000 (21:20 +0000)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 15 Mar 2020 09:37:00 +0000 (10:37 +0100)
armada-ap806-dual.dtsi includes armada-ap806.dtsi which describes
thermal zones for 4 cpus but only cpu0 and cpu1 only exists for dual
configuration, this makes dtb compilation fail. Fix it by removing
thermal zone nodes for non-existed cpus for dual configuration.

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi

index 09849558a77627b8732101878e7d515149f55de4..fcab5173fe6704139cbe772785911ea05d2b887d 100644 (file)
@@ -53,4 +53,9 @@
                        cache-sets = <512>;
                };
        };
+
+       thermal-zones {
+               /delete-node/ ap-thermal-cpu2;
+               /delete-node/ ap-thermal-cpu3;
+       };
 };