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