xref: /freebsd/sys/contrib/device-tree/src/arm/samsung/exynos4-cpu-thermal.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device tree sources for Exynos4 thermal zone
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2014 Lukasz Majewski <l.majewski@samsung.com>
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadotthermal-zones {
12*f126890aSEmmanuel Vadot	cpu_thermal: cpu-thermal {
13*f126890aSEmmanuel Vadot		thermal-sensors = <&tmu>;
14*f126890aSEmmanuel Vadot		polling-delay-passive = <0>;
15*f126890aSEmmanuel Vadot		polling-delay = <0>;
16*f126890aSEmmanuel Vadot		trips {
17*f126890aSEmmanuel Vadot			cpu_alert0: cpu-alert-0 {
18*f126890aSEmmanuel Vadot				temperature = <70000>; /* millicelsius */
19*f126890aSEmmanuel Vadot				hysteresis = <10000>; /* millicelsius */
20*f126890aSEmmanuel Vadot				type = "active";
21*f126890aSEmmanuel Vadot			};
22*f126890aSEmmanuel Vadot			cpu_alert1: cpu-alert-1 {
23*f126890aSEmmanuel Vadot				temperature = <95000>; /* millicelsius */
24*f126890aSEmmanuel Vadot				hysteresis = <10000>; /* millicelsius */
25*f126890aSEmmanuel Vadot				type = "active";
26*f126890aSEmmanuel Vadot			};
27*f126890aSEmmanuel Vadot			cpu_alert2: cpu-alert-2 {
28*f126890aSEmmanuel Vadot				temperature = <110000>; /* millicelsius */
29*f126890aSEmmanuel Vadot				hysteresis = <10000>; /* millicelsius */
30*f126890aSEmmanuel Vadot				type = "active";
31*f126890aSEmmanuel Vadot			};
32*f126890aSEmmanuel Vadot			cpu_crit0: cpu-crit-0 {
33*f126890aSEmmanuel Vadot				temperature = <120000>; /* millicelsius */
34*f126890aSEmmanuel Vadot				hysteresis = <0>; /* millicelsius */
35*f126890aSEmmanuel Vadot				type = "critical";
36*f126890aSEmmanuel Vadot			};
37*f126890aSEmmanuel Vadot		};
38*f126890aSEmmanuel Vadot		cooling-maps {
39*f126890aSEmmanuel Vadot			map0 {
40*f126890aSEmmanuel Vadot				trip = <&cpu_alert0>;
41*f126890aSEmmanuel Vadot			};
42*f126890aSEmmanuel Vadot			map1 {
43*f126890aSEmmanuel Vadot				trip = <&cpu_alert1>;
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot		};
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot};
48*f126890aSEmmanuel Vadot};
49