[][kernel][mt7988][lvts][Add multiple thermal zones support]

[Description]
Add multiple thermal zones support.

We originally only registered one thermal zone (zone0) to
obtain the maximum temperature monitored in the entire IC.

If there are areas on the IC that exhibit higher termperatures,
we would not be able to determine which area is causing it.
Therefore, we have added zones 1 to 8 to obtain temperatures
from different thermal sensors. (For now, the thermal framework
supports only 1 sensor per zone.)

Thermal zones 1 to 8 represent thermal sensors 0 to 7.

Test Command:
cat /sys/class/thermal/thermal_zone[0~8]/type
cat /sys/class/thermal/thermal_zone[0~8]/temp

Test Result:
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone0/type
soc_thermal
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone0/temp
46263
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone1/type
mcusys_thermal0
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone1/temp
44339
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone2/type
mcusys_thermal1
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone2/temp
44489
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone3/type
eth2p5g_thermal0
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone3/temp
44489
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone4/type
eth2p5g_thermal1
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone4/temp
44451
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone5/type
tops_thermal0
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone5/temp
45338
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone6/type
tops_thermal1
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone6/temp
45513
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone7/type
ethsys_thermal0
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone7/temp
46050
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone8/type
ethsys_thermal1
root@OpenWrt:/# cat /sys/class/thermal/thermal_zone8/temp
46275

[Release-log]
N/A


Change-Id: I0464d001355d63b461d1a29f8c178183c42818bf
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9106476
diff --git a/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi b/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
index 9abe45f..f38b2b7 100644
--- a/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
+++ b/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
@@ -133,7 +133,7 @@
 	};
 
 	thermal-zones {
-		cpu_thermal: cpu-thermal {
+		thermal_zone0: soc_thermal {
 			polling-delay-passive = <1000>;
 			polling-delay = <1000>;
 			thermal-sensors = <&lvts 0>;
@@ -178,6 +178,54 @@
 			};
 
 		};
+
+		thermal_zone1: mcusys_thermal0 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 1>;
+		};
+
+		thermal_zone2: mcusys_thermal1 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 2>;
+		};
+
+		thermal_zone3: eth2p5g_thermal0 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 3>;
+		};
+
+		thermal_zone4: eth2p5g_thermal1 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 4>;
+		};
+
+		thermal_zone5: tops_thermal0 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 5>;
+		};
+
+		thermal_zone6: tops_thermal1 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 6>;
+		};
+
+		thermal_zone7: ethsys_thermal0 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 7>;
+		};
+
+		thermal_zone8: ethsys_thermal1 {
+			polling-delay-passive = <1000>;
+			polling-delay = <1000>;
+			thermal-sensors = <&lvts 8>;
+		};
 	};
 
 	mmc0: mmc@11230000 {