xref: /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/rk3308k.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd
4 */
5
6#include <dt-bindings/input/input.h>
7#include "rk3308.dtsi"
8
9/ {
10	uboot-wide-temperature {
11		status = "okay";
12		compatible = "rockchip,uboot-wide-temperature";
13	};
14};
15
16&cpu0_opp_table {
17	rockchip,high-temp = <55000>;
18	rockchip,high-temp-max-freq = <1008000>;
19};
20
21&rk3308bs_cpu0_opp_table {
22	rockchip,high-temp = <55000>;
23	rockchip,high-temp-max-freq = <1008000>;
24};
25
26&rockchip_suspend {
27	rockchip,sleep-mode-config = <
28		(0
29		| RKPM_PMU_HW_PLLS_PD
30		| RKPM_PWM_VOLTAGE_DEFAULT
31		)
32	>;
33};
34
35&thermal_zones {
36	soc-thermal {
37		sustainable-power = <422>;
38		rk3308bs-sustainable-power = <363>;
39		k_pu = <6>;
40		k_po = <1024>;
41		k_i = <0>;
42
43		trips {
44			trip-point@0 {
45				temperature = <55000>;
46			};
47			trip-point@1 {
48				temperature = <90000>;
49			};
50		};
51	};
52};
53