summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3308k.dtsi
blob: 5862443eb813a6b60bf4f468e6b8af082b1e9cb2 (plain)
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
// 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_DBG_FSM_SOUT
		| RKPM_PWM_VOLTAGE_DEFAULT
		)
	>;
};

&thermal_zones {
	soc-thermal {
		sustainable-power = <308>;
		k_pu = <8>;
		k_po = <1024>;
		k_i = <0>;

		trips {
			trip-point-0 {
				temperature = <55000>;
			};
			trip-point-1 {
				temperature = <90000>;
			};
		};
	};
};