aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi77
1 files changed, 77 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
index a1c5112f1582..60b533144414 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
@@ -43,6 +43,7 @@
43 */ 43 */
44 44
45#include <dt-bindings/interrupt-controller/irq.h> 45#include <dt-bindings/interrupt-controller/irq.h>
46#include <dt-bindings/thermal/thermal.h>
46 47
47/ { 48/ {
48 compatible = "fsl,ls1012a"; 49 compatible = "fsl,ls1012a";
@@ -127,6 +128,82 @@
127 clocks = <&sysclk>; 128 clocks = <&sysclk>;
128 }; 129 };
129 130
131 tmu: tmu@1f00000 {
132 compatible = "fsl,qoriq-tmu";
133 reg = <0x0 0x1f00000 0x0 0x10000>;
134 interrupts = <0 33 0x4>;
135 fsl,tmu-range = <0xb0000 0x9002a 0x6004c 0x30062>;
136 fsl,tmu-calibration = <0x00000000 0x00000026
137 0x00000001 0x0000002d
138 0x00000002 0x00000032
139 0x00000003 0x00000039
140 0x00000004 0x0000003f
141 0x00000005 0x00000046
142 0x00000006 0x0000004d
143 0x00000007 0x00000054
144 0x00000008 0x0000005a
145 0x00000009 0x00000061
146 0x0000000a 0x0000006a
147 0x0000000b 0x00000071
148
149 0x00010000 0x00000025
150 0x00010001 0x0000002c
151 0x00010002 0x00000035
152 0x00010003 0x0000003d
153 0x00010004 0x00000045
154 0x00010005 0x0000004e
155 0x00010006 0x00000057
156 0x00010007 0x00000061
157 0x00010008 0x0000006b
158 0x00010009 0x00000076
159
160 0x00020000 0x00000029
161 0x00020001 0x00000033
162 0x00020002 0x0000003d
163 0x00020003 0x00000049
164 0x00020004 0x00000056
165 0x00020005 0x00000061
166 0x00020006 0x0000006d
167
168 0x00030000 0x00000021
169 0x00030001 0x0000002a
170 0x00030002 0x0000003c
171 0x00030003 0x0000004e>;
172 big-endian;
173 #thermal-sensor-cells = <1>;
174 };
175
176 thermal-zones {
177 cpu_thermal: cpu-thermal {
178 polling-delay-passive = <1000>;
179 polling-delay = <5000>;
180 thermal-sensors = <&tmu 0>;
181
182 trips {
183 cpu_alert: cpu-alert {
184 temperature = <85000>;
185 hysteresis = <2000>;
186 type = "passive";
187 };
188
189 cpu_crit: cpu-crit {
190 temperature = <95000>;
191 hysteresis = <2000>;
192 type = "critical";
193 };
194 };
195
196 cooling-maps {
197 map0 {
198 trip = <&cpu_alert>;
199 cooling-device =
200 <&cpu0 THERMAL_NO_LIMIT
201 THERMAL_NO_LIMIT>;
202 };
203 };
204 };
205 };
206
130 i2c0: i2c@2180000 { 207 i2c0: i2c@2180000 {
131 compatible = "fsl,vf610-i2c"; 208 compatible = "fsl,vf610-i2c";
132 #address-cells = <1>; 209 #address-cells = <1>;