forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/omap3-cpu-thermal.dtsi
....@@ -1,7 +1,7 @@
11 /*
22 * Device Tree Source for OMAP3 SoC CPU thermal
33 *
4
- * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
4
+ * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
55 *
66 * This file is licensed under the terms of the GNU General Public License
77 * version 2. This program is licensed "as is" without any warranty of any
....@@ -17,4 +17,25 @@
1717
1818 /* sensor ID */
1919 thermal-sensors = <&bandgap 0>;
20
+
21
+ cpu_trips: trips {
22
+ cpu_alert0: cpu_alert {
23
+ temperature = <80000>; /* millicelsius */
24
+ hysteresis = <2000>; /* millicelsius */
25
+ type = "passive";
26
+ };
27
+ cpu_crit: cpu_crit {
28
+ temperature = <90000>; /* millicelsius */
29
+ hysteresis = <2000>; /* millicelsius */
30
+ type = "critical";
31
+ };
32
+ };
33
+
34
+ cpu_cooling_maps: cooling-maps {
35
+ map0 {
36
+ trip = <&cpu_alert0>;
37
+ cooling-device =
38
+ <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
39
+ };
40
+ };
2041 };