diff options
author | Vadym Kochan <vadym.kochan@plvision.eu> | 2020-02-09 21:20:30 +0000 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2020-03-15 10:37:00 +0100 |
commit | 664d9ebf807355a034b949b9c4b9739d3f14dc13 (patch) | |
tree | 85e382426db1a9041ff5e81c540329deaa0ce511 /arch | |
parent | 004c64a8ea040813f968e5782fa04d2ab04a93e9 (diff) | |
download | linux-stable-664d9ebf807355a034b949b9c4b9739d3f14dc13.tar.gz linux-stable-664d9ebf807355a034b949b9c4b9739d3f14dc13.tar.bz2 linux-stable-664d9ebf807355a034b949b9c4b9739d3f14dc13.zip |
arm64: dts: marvell: fix non-existed cpu referrence in armada-ap806-dual.dtsi
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi index 09849558a776..fcab5173fe67 100644 --- a/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806-dual.dtsi @@ -53,4 +53,9 @@ cache-sets = <512>; }; }; + + thermal-zones { + /delete-node/ ap-thermal-cpu2; + /delete-node/ ap-thermal-cpu3; + }; }; |