unetd: fix PKG_MIRROR_HASH
[openwrt/staging/xback.git] / target / linux / mvebu / files / arch / arm64 / boot / dts / marvell / puzzle-thermal.dtsi
1 #define PUZZLE_FAN_THERMAL(_cname, _fan) \
2 polling-delay-passive = <500>; \
3 polling-delay = <1000>; \
4 \
5 trips { \
6 cpu-hot { \
7 temperature = <75000>; \
8 hysteresis = <5000>; \
9 type = "hot"; \
10 }; \
11 _cname##_active_full: cpu-active-full { \
12 temperature = <70000>; \
13 hysteresis = <5000>; \
14 type = "active"; \
15 }; \
16 _cname##_active_high: cpu-active-high { \
17 temperature = <65000>; \
18 hysteresis = <5000>; \
19 type = "active"; \
20 }; \
21 _cname##_active_med: cpu-active-med { \
22 temperature = <62500>; \
23 hysteresis = <3000>; \
24 type = "active"; \
25 }; \
26 _cname##_active_low: cpu-active-low { \
27 temperature = <60000>; \
28 hysteresis = <3000>; \
29 type = "active"; \
30 }; \
31 _cname##_active_min: cpu-active-min { \
32 temperature = <55000>; \
33 hysteresis = <5000>; \
34 type = "active"; \
35 }; \
36 _cname##_active_idle: cpu-active-idle { \
37 temperature = <50000>; \
38 hysteresis = <5000>; \
39 type = "active"; \
40 }; \
41 }; \
42 cooling-maps { \
43 cpu-active-full { \
44 trip = <&_cname##_active_full>; \
45 cooling-device = <_fan THERMAL_NO_LIMIT \
46 THERMAL_NO_LIMIT>; \
47 }; \
48 cpu-active-high { \
49 trip = <&_cname##_active_high>; \
50 cooling-device = <_fan 4 5>; \
51 }; \
52 cpu-active-med { \
53 trip = <&_cname##_active_med>; \
54 cooling-device = <_fan 3 4>; \
55 }; \
56 cpu-active-low { \
57 trip = <&_cname##_active_low>; \
58 cooling-device = <_fan 2 3>; \
59 }; \
60 cpu-active-min { \
61 trip = <&_cname##_active_min>; \
62 cooling-device = <_fan 1 2>; \
63 }; \
64 cpu-active-idle { \
65 trip = <&_cname##_active_idle>; \
66 cooling-device = <_fan 0 0>; \
67 }; \
68 }