OSDN Git Service

arm64: dts: marvell: Change core numbering in AP806 thermal-node
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 21 May 2019 14:25:03 +0000 (16:25 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Mon, 3 Jun 2019 14:28:51 +0000 (16:28 +0200)
When adding thermal nodes, the CPUs have been named from 1 to 4 while
usually everywhere else they are referred as 0-3. Let's change this to
be consistent with later changes when we will use CPUfreq and CPU
phandles as cooling devices to avoid inconsistencies in the nodes
numbering.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-ap806.dtsi

index 91dad7e..9443d39 100644 (file)
                        cooling-maps { };
                };
 
-               ap_thermal_cpu1: ap-thermal-cpu1 {
+               ap_thermal_cpu0: ap-thermal-cpu0 {
                        polling-delay-passive = <1000>;
                        polling-delay = <1000>;
 
                        cooling-maps { };
                };
 
-               ap_thermal_cpu2: ap-thermal-cpu2 {
+               ap_thermal_cpu1: ap-thermal-cpu1 {
                        polling-delay-passive = <1000>;
                        polling-delay = <1000>;
 
                        cooling-maps { };
                };
 
-               ap_thermal_cpu3: ap-thermal-cpu3 {
+               ap_thermal_cpu2: ap-thermal-cpu2 {
                        polling-delay-passive = <1000>;
                        polling-delay = <1000>;
 
                        cooling-maps { };
                };
 
-               ap_thermal_cpu4: ap-thermal-cpu4 {
+               ap_thermal_cpu3: ap-thermal-cpu3 {
                        polling-delay-passive = <1000>;
                        polling-delay = <1000>;