aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157c.dtsi
diff options
context:
space:
mode:
authorFabrice Gasnier <fabrice.gasnier@st.com>2018-04-17 09:45:00 -0400
committerAlexandre Torgue <alexandre.torgue@st.com>2018-04-27 11:14:54 -0400
commit61fc211c484d1c5dfec077bed8ebcd10696ad087 (patch)
treef7bd9819339d29277e50c3a6658569cedda983bc /arch/arm/boot/dts/stm32mp157c.dtsi
parent3599a8af1cce1143eb01208df27250cd5937246c (diff)
ARM: dts: stm32: add timers support to stm32mp157c
Add PWM and trigger support to stm32mp157c. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c.dtsi')
-rw-r--r--arch/arm/boot/dts/stm32mp157c.dtsi283
1 files changed, 283 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc3eda6..115ec7335d34 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -104,6 +104,185 @@
104 interrupt-parent = <&intc>; 104 interrupt-parent = <&intc>;
105 ranges; 105 ranges;
106 106
107 timers2: timer@40000000 {
108 #address-cells = <1>;
109 #size-cells = <0>;
110 compatible = "st,stm32-timers";
111 reg = <0x40000000 0x400>;
112 clocks = <&rcc TIM2_K>;
113 clock-names = "int";
114 status = "disabled";
115
116 pwm {
117 compatible = "st,stm32-pwm";
118 status = "disabled";
119 };
120
121 timer@1 {
122 compatible = "st,stm32h7-timer-trigger";
123 reg = <1>;
124 status = "disabled";
125 };
126 };
127
128 timers3: timer@40001000 {
129 #address-cells = <1>;
130 #size-cells = <0>;
131 compatible = "st,stm32-timers";
132 reg = <0x40001000 0x400>;
133 clocks = <&rcc TIM3_K>;
134 clock-names = "int";
135 status = "disabled";
136
137 pwm {
138 compatible = "st,stm32-pwm";
139 status = "disabled";
140 };
141
142 timer@2 {
143 compatible = "st,stm32h7-timer-trigger";
144 reg = <2>;
145 status = "disabled";
146 };
147 };
148
149 timers4: timer@40002000 {
150 #address-cells = <1>;
151 #size-cells = <0>;
152 compatible = "st,stm32-timers";
153 reg = <0x40002000 0x400>;
154 clocks = <&rcc TIM4_K>;
155 clock-names = "int";
156 status = "disabled";
157
158 pwm {
159 compatible = "st,stm32-pwm";
160 status = "disabled";
161 };
162
163 timer@3 {
164 compatible = "st,stm32h7-timer-trigger";
165 reg = <3>;
166 status = "disabled";
167 };
168 };
169
170 timers5: timer@40003000 {
171 #address-cells = <1>;
172 #size-cells = <0>;
173 compatible = "st,stm32-timers";
174 reg = <0x40003000 0x400>;
175 clocks = <&rcc TIM5_K>;
176 clock-names = "int";
177 status = "disabled";
178
179 pwm {
180 compatible = "st,stm32-pwm";
181 status = "disabled";
182 };
183
184 timer@4 {
185 compatible = "st,stm32h7-timer-trigger";
186 reg = <4>;
187 status = "disabled";
188 };
189 };
190
191 timers6: timer@40004000 {
192 #address-cells = <1>;
193 #size-cells = <0>;
194 compatible = "st,stm32-timers";
195 reg = <0x40004000 0x400>;
196 clocks = <&rcc TIM6_K>;
197 clock-names = "int";
198 status = "disabled";
199
200 timer@5 {
201 compatible = "st,stm32h7-timer-trigger";
202 reg = <5>;
203 status = "disabled";
204 };
205 };
206
207 timers7: timer@40005000 {
208 #address-cells = <1>;
209 #size-cells = <0>;
210 compatible = "st,stm32-timers";
211 reg = <0x40005000 0x400>;
212 clocks = <&rcc TIM7_K>;
213 clock-names = "int";
214 status = "disabled";
215
216 timer@6 {
217 compatible = "st,stm32h7-timer-trigger";
218 reg = <6>;
219 status = "disabled";
220 };
221 };
222
223 timers12: timer@40006000 {
224 #address-cells = <1>;
225 #size-cells = <0>;
226 compatible = "st,stm32-timers";
227 reg = <0x40006000 0x400>;
228 clocks = <&rcc TIM12_K>;
229 clock-names = "int";
230 status = "disabled";
231
232 pwm {
233 compatible = "st,stm32-pwm";
234 status = "disabled";
235 };
236
237 timer@11 {
238 compatible = "st,stm32h7-timer-trigger";
239 reg = <11>;
240 status = "disabled";
241 };
242 };
243
244 timers13: timer@40007000 {
245 #address-cells = <1>;
246 #size-cells = <0>;
247 compatible = "st,stm32-timers";
248 reg = <0x40007000 0x400>;
249 clocks = <&rcc TIM13_K>;
250 clock-names = "int";
251 status = "disabled";
252
253 pwm {
254 compatible = "st,stm32-pwm";
255 status = "disabled";
256 };
257
258 timer@12 {
259 compatible = "st,stm32h7-timer-trigger";
260 reg = <12>;
261 status = "disabled";
262 };
263 };
264
265 timers14: timer@40008000 {
266 #address-cells = <1>;
267 #size-cells = <0>;
268 compatible = "st,stm32-timers";
269 reg = <0x40008000 0x400>;
270 clocks = <&rcc TIM14_K>;
271 clock-names = "int";
272 status = "disabled";
273
274 pwm {
275 compatible = "st,stm32-pwm";
276 status = "disabled";
277 };
278
279 timer@13 {
280 compatible = "st,stm32h7-timer-trigger";
281 reg = <13>;
282 status = "disabled";
283 };
284 };
285
107 usart2: serial@4000e000 { 286 usart2: serial@4000e000 {
108 compatible = "st,stm32h7-uart"; 287 compatible = "st,stm32h7-uart";
109 reg = <0x4000e000 0x400>; 288 reg = <0x4000e000 0x400>;
@@ -152,6 +331,48 @@
152 status = "disabled"; 331 status = "disabled";
153 }; 332 };
154 333
334 timers1: timer@44000000 {
335 #address-cells = <1>;
336 #size-cells = <0>;
337 compatible = "st,stm32-timers";
338 reg = <0x44000000 0x400>;
339 clocks = <&rcc TIM1_K>;
340 clock-names = "int";
341 status = "disabled";
342
343 pwm {
344 compatible = "st,stm32-pwm";
345 status = "disabled";
346 };
347
348 timer@0 {
349 compatible = "st,stm32h7-timer-trigger";
350 reg = <0>;
351 status = "disabled";
352 };
353 };
354
355 timers8: timer@44001000 {
356 #address-cells = <1>;
357 #size-cells = <0>;
358 compatible = "st,stm32-timers";
359 reg = <0x44001000 0x400>;
360 clocks = <&rcc TIM8_K>;
361 clock-names = "int";
362 status = "disabled";
363
364 pwm {
365 compatible = "st,stm32-pwm";
366 status = "disabled";
367 };
368
369 timer@7 {
370 compatible = "st,stm32h7-timer-trigger";
371 reg = <7>;
372 status = "disabled";
373 };
374 };
375
155 usart6: serial@44003000 { 376 usart6: serial@44003000 {
156 compatible = "st,stm32h7-uart"; 377 compatible = "st,stm32h7-uart";
157 reg = <0x44003000 0x400>; 378 reg = <0x44003000 0x400>;
@@ -160,6 +381,68 @@
160 status = "disabled"; 381 status = "disabled";
161 }; 382 };
162 383
384 timers15: timer@44006000 {
385 #address-cells = <1>;
386 #size-cells = <0>;
387 compatible = "st,stm32-timers";
388 reg = <0x44006000 0x400>;
389 clocks = <&rcc TIM15_K>;
390 clock-names = "int";
391 status = "disabled";
392
393 pwm {
394 compatible = "st,stm32-pwm";
395 status = "disabled";
396 };
397
398 timer@14 {
399 compatible = "st,stm32h7-timer-trigger";
400 reg = <14>;
401 status = "disabled";
402 };
403 };
404
405 timers16: timer@44007000 {
406 #address-cells = <1>;
407 #size-cells = <0>;
408 compatible = "st,stm32-timers";
409 reg = <0x44007000 0x400>;
410 clocks = <&rcc TIM16_K>;
411 clock-names = "int";
412 status = "disabled";
413
414 pwm {
415 compatible = "st,stm32-pwm";
416 status = "disabled";
417 };
418 timer@15 {
419 compatible = "st,stm32h7-timer-trigger";
420 reg = <15>;
421 status = "disabled";
422 };
423 };
424
425 timers17: timer@44008000 {
426 #address-cells = <1>;
427 #size-cells = <0>;
428 compatible = "st,stm32-timers";
429 reg = <0x44008000 0x400>;
430 clocks = <&rcc TIM17_K>;
431 clock-names = "int";
432 status = "disabled";
433
434 pwm {
435 compatible = "st,stm32-pwm";
436 status = "disabled";
437 };
438
439 timer@16 {
440 compatible = "st,stm32h7-timer-trigger";
441 reg = <16>;
442 status = "disabled";
443 };
444 };
445
163 rcc: rcc@50000000 { 446 rcc: rcc@50000000 {
164 compatible = "st,stm32mp1-rcc", "syscon"; 447 compatible = "st,stm32mp1-rcc", "syscon";
165 reg = <0x50000000 0x1000>; 448 reg = <0x50000000 0x1000>;