aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index beb0b7f6464c..929630aee299 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -50,6 +50,7 @@
50#include "skeleton.dtsi" 50#include "skeleton.dtsi"
51 51
52#include <dt-bindings/interrupt-controller/arm-gic.h> 52#include <dt-bindings/interrupt-controller/arm-gic.h>
53#include <dt-bindings/thermal/thermal.h>
53 54
54#include <dt-bindings/dma/sun4i-a10.h> 55#include <dt-bindings/dma/sun4i-a10.h>
55#include <dt-bindings/pinctrl/sun4i-a10.h> 56#include <dt-bindings/pinctrl/sun4i-a10.h>
@@ -133,6 +134,38 @@
133 }; 134 };
134 }; 135 };
135 136
137 thermal-zones {
138 cpu_thermal {
139 /* milliseconds */
140 polling-delay-passive = <250>;
141 polling-delay = <1000>;
142 thermal-sensors = <&rtp>;
143
144 cooling-maps {
145 map0 {
146 trip = <&cpu_alert0>;
147 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
148 };
149 };
150
151 trips {
152 cpu_alert0: cpu_alert0 {
153 /* milliCelsius */
154 temperature = <75000>;
155 hysteresis = <2000>;
156 type = "passive";
157 };
158
159 cpu_crit: cpu_crit {
160 /* milliCelsius */
161 temperature = <100000>;
162 hysteresis = <2000>;
163 type = "critical";
164 };
165 };
166 };
167 };
168
136 memory { 169 memory {
137 reg = <0x40000000 0x80000000>; 170 reg = <0x40000000 0x80000000>;
138 }; 171 };