hc
2023-02-15 9c2dfff96adcfcdf2a1143893a7dd749b9f3677a
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
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
 */
 
#include <dt-bindings/input/input.h>
#include "rk3308.dtsi"
 
/ {
   uboot-wide-temperature {
       status = "okay";
       compatible = "rockchip,uboot-wide-temperature";
   };
};
 
&cpu0_opp_table {
   rockchip,high-temp = <55000>;
   rockchip,high-temp-max-volt = <1125000>;
};
 
&rockchip_suspend {
   rockchip,sleep-mode-config = <
       (0
       | RKPM_PMU_HW_PLLS_PD
       | RKPM_PWM_VOLTAGE_DEFAULT
       )
   >;
};
 
&thermal_zones {
   soc-thermal {
       sustainable-power = <422>;
       k_pu = <6>;
       k_po = <1024>;
       k_i = <0>;
 
       trips {
           trip-point-0 {
               temperature = <55000>;
           };
           trip-point-1 {
               temperature = <90000>;
           };
       };
   };
};