hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
 */
#include "px30-robot.dtsi"
 
/ {
   compatible = "rockchip,linux", "rockchip,px30-robot-no-gpu";
 
   /* Remove gpu thermal and gpu cooling map */
   /delete-node/ thermal-zones;
 
   thermal_zones: thermal-zones {
       soc_thermal: soc-thermal {
           polling-delay-passive = <20>;
           polling-delay = <1000>;
           sustainable-power = <252>;
 
           thermal-sensors = <&tsadc 0>;
           trips {
               threshold: trip-point-0 {
                   temperature = <75000>;
                   hysteresis = <2000>;
                   type = "passive";
               };
               target: trip-point-1 {
                   temperature = <90000>;
                   hysteresis = <2000>;
                   type = "passive";
               };
               soc_crit: soc-crit {
                   temperature = <115000>;
                   hysteresis = <2000>;
                   type = "critical";
               };
           };
 
           cooling-maps {
               map0 {
                   trip = <&target>;
                   cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
               };
           };
       };
 
       gpu_thermal: gpu-thermal {
           polling-delay-passive = <100>; /* milliseconds */
           polling-delay = <1000>; /* milliseconds */
 
           thermal-sensors = <&tsadc 1>;
       };
   };
};
 
&gpu {
   status = "disabled";
};