hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
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
// 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-freq = <1008000>;
};
 
&rk3308bs_cpu0_opp_table {
   rockchip,high-temp = <55000>;
   rockchip,high-temp-max-freq = <1008000>;
};
 
&rockchip_suspend {
   rockchip,sleep-mode-config = <
       (0
       | RKPM_PMU_HW_PLLS_PD
       | RKPM_PWM_VOLTAGE_DEFAULT
       )
   >;
};
 
&thermal_zones {
   soc-thermal {
       sustainable-power = <422>;
       rk3308bs-sustainable-power = <363>;
       k_pu = <6>;
       k_po = <1024>;
       k_i = <0>;
 
       trips {
           trip-point@0 {
               temperature = <55000>;
           };
           trip-point@1 {
               temperature = <90000>;
           };
       };
   };
};