Loading...
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device tree sources for Exynos4 thermal zone
4 *
5 * Copyright (c) 2014 Lukasz Majewski <l.majewski@samsung.com>
6 */
7
8#include <dt-bindings/thermal/thermal.h>
9
10/ {
11thermal-zones {
12 cpu_thermal: cpu-thermal {
13 thermal-sensors = <&tmu 0>;
14 polling-delay-passive = <0>;
15 polling-delay = <0>;
16 trips {
17 cpu_alert0: cpu-alert-0 {
18 temperature = <70000>; /* millicelsius */
19 hysteresis = <10000>; /* millicelsius */
20 type = "active";
21 };
22 cpu_alert1: cpu-alert-1 {
23 temperature = <95000>; /* millicelsius */
24 hysteresis = <10000>; /* millicelsius */
25 type = "active";
26 };
27 cpu_alert2: cpu-alert-2 {
28 temperature = <110000>; /* millicelsius */
29 hysteresis = <10000>; /* millicelsius */
30 type = "active";
31 };
32 cpu_crit0: cpu-crit-0 {
33 temperature = <120000>; /* millicelsius */
34 hysteresis = <0>; /* millicelsius */
35 type = "critical";
36 };
37 };
38 cooling-maps {
39 map0 {
40 trip = <&cpu_alert0>;
41 };
42 map1 {
43 trip = <&cpu_alert1>;
44 };
45 };
46 };
47};
48};
1/*
2 * Device tree sources for Exynos4 thermal zone
3 *
4 * Copyright (c) 2014 Lukasz Majewski <l.majewski@samsung.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 */
11
12#include <dt-bindings/thermal/thermal.h>
13
14/ {
15thermal-zones {
16 cpu_thermal: cpu-thermal {
17 thermal-sensors = <&tmu 0>;
18 polling-delay-passive = <0>;
19 polling-delay = <0>;
20 trips {
21 cpu_alert0: cpu-alert-0 {
22 temperature = <70000>; /* millicelsius */
23 hysteresis = <10000>; /* millicelsius */
24 type = "active";
25 };
26 cpu_alert1: cpu-alert-1 {
27 temperature = <95000>; /* millicelsius */
28 hysteresis = <10000>; /* millicelsius */
29 type = "active";
30 };
31 cpu_alert2: cpu-alert-2 {
32 temperature = <110000>; /* millicelsius */
33 hysteresis = <10000>; /* millicelsius */
34 type = "active";
35 };
36 cpu_crit0: cpu-crit-0 {
37 temperature = <120000>; /* millicelsius */
38 hysteresis = <0>; /* millicelsius */
39 type = "critical";
40 };
41 };
42 cooling-maps {
43 map0 {
44 trip = <&cpu_alert0>;
45 };
46 map1 {
47 trip = <&cpu_alert1>;
48 };
49 };
50 };
51};
52};