blob: ceb629c4fa52e5b665c4aaebbd07e305cd4168a1 [file] [log] [blame]
Patrick Delaunayc5c90692019-11-06 16:16:32 +01001// SPDX-License-Identifier: GPL-2.0+ OR X11
Patrice Chotarde4c6b782017-09-13 18:00:09 +02002/*
3 * Copyright 2017 - Alexandre Torgue <alexandre.torgue@st.com>
4 *
Patrice Chotarde4c6b782017-09-13 18:00:09 +02005 */
6
Patrice Chotarde4c6b782017-09-13 18:00:09 +02007#include "armv7-m.dtsi"
Patrice Chotard0dca06e2017-09-13 18:00:11 +02008#include <dt-bindings/clock/stm32h7-clks.h>
Patrice Chotard17ed1942017-10-03 15:54:56 +02009#include <dt-bindings/mfd/stm32h7-rcc.h>
Patrice Chotard044d7af2018-12-06 11:53:39 +010010#include <dt-bindings/interrupt-controller/irq.h>
Patrice Chotarde4c6b782017-09-13 18:00:09 +020011
12/ {
Patrick Delaunayc5c90692019-11-06 16:16:32 +010013 #address-cells = <1>;
14 #size-cells = <1>;
15
Patrice Chotarde4c6b782017-09-13 18:00:09 +020016 clocks {
17 clk_hse: clk-hse {
18 #clock-cells = <0>;
19 compatible = "fixed-clock";
Patrice Chotard044d7af2018-12-06 11:53:39 +010020 clock-frequency = <0>;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020021 };
22
23 clk_lse: clk-lse {
24 #clock-cells = <0>;
25 compatible = "fixed-clock";
26 clock-frequency = <32768>;
Patrice Chotarde4c6b782017-09-13 18:00:09 +020027 };
28
Patrice Chotard0dca06e2017-09-13 18:00:11 +020029 clk_i2s: i2s_ckin {
Patrice Chotarde4c6b782017-09-13 18:00:09 +020030 #clock-cells = <0>;
31 compatible = "fixed-clock";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020032 clock-frequency = <0>;
Patrice Chotarde4c6b782017-09-13 18:00:09 +020033 };
34 };
35
36 soc {
Patrice Chotard044d7af2018-12-06 11:53:39 +010037 timer5: timer@40000c00 {
38 compatible = "st,stm32-timer";
39 reg = <0x40000c00 0x400>;
40 interrupts = <50>;
41 clocks = <&rcc TIM5_CK>;
Patrice Chotard0dca06e2017-09-13 18:00:11 +020042 };
43
Patrice Chotard044d7af2018-12-06 11:53:39 +010044 lptimer1: timer@40002400 {
45 #address-cells = <1>;
46 #size-cells = <0>;
47 compatible = "st,stm32-lptimer";
48 reg = <0x40002400 0x400>;
49 clocks = <&rcc LPTIM1_CK>;
50 clock-names = "mux";
Patrice Chotarde4c6b782017-09-13 18:00:09 +020051 status = "disabled";
Patrice Chotard044d7af2018-12-06 11:53:39 +010052
53 pwm {
54 compatible = "st,stm32-pwm-lp";
55 #pwm-cells = <3>;
56 status = "disabled";
57 };
58
59 trigger@0 {
60 compatible = "st,stm32-lptimer-trigger";
61 reg = <0>;
62 status = "disabled";
63 };
64
65 counter {
66 compatible = "st,stm32-lptimer-counter";
67 status = "disabled";
68 };
69 };
70
71 spi2: spi@40003800 {
72 #address-cells = <1>;
73 #size-cells = <0>;
74 compatible = "st,stm32h7-spi";
75 reg = <0x40003800 0x400>;
76 interrupts = <36>;
Patrice Chotard62f56162020-11-06 08:11:58 +010077 resets = <&rcc STM32H7_APB1L_RESET(SPI2)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +010078 clocks = <&rcc SPI2_CK>;
79 status = "disabled";
80
81 };
82
83 spi3: spi@40003c00 {
84 #address-cells = <1>;
85 #size-cells = <0>;
86 compatible = "st,stm32h7-spi";
87 reg = <0x40003c00 0x400>;
88 interrupts = <51>;
Patrice Chotard62f56162020-11-06 08:11:58 +010089 resets = <&rcc STM32H7_APB1L_RESET(SPI3)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +010090 clocks = <&rcc SPI3_CK>;
91 status = "disabled";
Patrice Chotarde4c6b782017-09-13 18:00:09 +020092 };
93
94 usart2: serial@40004400 {
Patrice Chotard62f56162020-11-06 08:11:58 +010095 compatible = "st,stm32h7-uart";
Patrice Chotarde4c6b782017-09-13 18:00:09 +020096 reg = <0x40004400 0x400>;
97 interrupts = <38>;
98 status = "disabled";
Patrice Chotard0dca06e2017-09-13 18:00:11 +020099 clocks = <&rcc USART2_CK>;
Patrice Chotarde4c6b782017-09-13 18:00:09 +0200100 };
101
dillon min5d901982021-04-09 15:28:42 +0800102 usart3: serial@40004800 {
103 compatible = "st,stm32h7-uart";
104 reg = <0x40004800 0x400>;
105 interrupts = <39>;
106 status = "disabled";
107 clocks = <&rcc USART3_CK>;
108 };
109
110 uart4: serial@40004c00 {
111 compatible = "st,stm32h7-uart";
112 reg = <0x40004c00 0x400>;
113 interrupts = <52>;
114 status = "disabled";
115 clocks = <&rcc UART4_CK>;
116 };
117
Patrice Chotard044d7af2018-12-06 11:53:39 +0100118 i2c1: i2c@40005400 {
119 compatible = "st,stm32f7-i2c";
120 #address-cells = <1>;
121 #size-cells = <0>;
122 reg = <0x40005400 0x400>;
123 interrupts = <31>,
124 <32>;
125 resets = <&rcc STM32H7_APB1L_RESET(I2C1)>;
126 clocks = <&rcc I2C1_CK>;
127 status = "disabled";
128 };
129
130 i2c2: i2c@40005800 {
131 compatible = "st,stm32f7-i2c";
132 #address-cells = <1>;
133 #size-cells = <0>;
134 reg = <0x40005800 0x400>;
135 interrupts = <33>,
136 <34>;
137 resets = <&rcc STM32H7_APB1L_RESET(I2C2)>;
138 clocks = <&rcc I2C2_CK>;
139 status = "disabled";
140 };
141
dillon mina5dc7a12021-04-09 15:28:43 +0800142 i2c3: i2c@40005c00 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100143 compatible = "st,stm32f7-i2c";
144 #address-cells = <1>;
145 #size-cells = <0>;
146 reg = <0x40005C00 0x400>;
147 interrupts = <72>,
148 <73>;
149 resets = <&rcc STM32H7_APB1L_RESET(I2C3)>;
150 clocks = <&rcc I2C3_CK>;
151 status = "disabled";
152 };
153
154 dac: dac@40007400 {
155 compatible = "st,stm32h7-dac-core";
156 reg = <0x40007400 0x400>;
157 clocks = <&rcc DAC12_CK>;
158 clock-names = "pclk";
159 #address-cells = <1>;
160 #size-cells = <0>;
161 status = "disabled";
162
163 dac1: dac@1 {
164 compatible = "st,stm32-dac";
Patrice Chotard62f56162020-11-06 08:11:58 +0100165 #io-channel-cells = <1>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100166 reg = <1>;
167 status = "disabled";
168 };
169
170 dac2: dac@2 {
171 compatible = "st,stm32-dac";
Patrice Chotard62f56162020-11-06 08:11:58 +0100172 #io-channel-cells = <1>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100173 reg = <2>;
174 status = "disabled";
175 };
176 };
177
178 usart1: serial@40011000 {
Patrice Chotard62f56162020-11-06 08:11:58 +0100179 compatible = "st,stm32h7-uart";
Patrice Chotard044d7af2018-12-06 11:53:39 +0100180 reg = <0x40011000 0x400>;
181 interrupts = <37>;
182 status = "disabled";
183 clocks = <&rcc USART1_CK>;
184 };
185
186 spi1: spi@40013000 {
187 #address-cells = <1>;
188 #size-cells = <0>;
189 compatible = "st,stm32h7-spi";
190 reg = <0x40013000 0x400>;
191 interrupts = <35>;
Patrice Chotard62f56162020-11-06 08:11:58 +0100192 resets = <&rcc STM32H7_APB2_RESET(SPI1)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100193 clocks = <&rcc SPI1_CK>;
194 status = "disabled";
195 };
196
197 spi4: spi@40013400 {
198 #address-cells = <1>;
199 #size-cells = <0>;
200 compatible = "st,stm32h7-spi";
201 reg = <0x40013400 0x400>;
202 interrupts = <84>;
Patrice Chotard62f56162020-11-06 08:11:58 +0100203 resets = <&rcc STM32H7_APB2_RESET(SPI4)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100204 clocks = <&rcc SPI4_CK>;
205 status = "disabled";
206 };
207
208 spi5: spi@40015000 {
209 #address-cells = <1>;
210 #size-cells = <0>;
211 compatible = "st,stm32h7-spi";
212 reg = <0x40015000 0x400>;
213 interrupts = <85>;
Patrice Chotard62f56162020-11-06 08:11:58 +0100214 resets = <&rcc STM32H7_APB2_RESET(SPI5)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100215 clocks = <&rcc SPI5_CK>;
216 status = "disabled";
217 };
218
Patrice Chotard62f56162020-11-06 08:11:58 +0100219 dma1: dma-controller@40020000 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100220 compatible = "st,stm32-dma";
221 reg = <0x40020000 0x400>;
222 interrupts = <11>,
223 <12>,
224 <13>,
225 <14>,
226 <15>,
227 <16>,
228 <17>,
229 <47>;
230 clocks = <&rcc DMA1_CK>;
231 #dma-cells = <4>;
232 st,mem2mem;
233 dma-requests = <8>;
234 status = "disabled";
235 };
236
Patrice Chotard62f56162020-11-06 08:11:58 +0100237 dma2: dma-controller@40020400 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100238 compatible = "st,stm32-dma";
239 reg = <0x40020400 0x400>;
240 interrupts = <56>,
241 <57>,
242 <58>,
243 <59>,
244 <60>,
245 <68>,
246 <69>,
247 <70>;
248 clocks = <&rcc DMA2_CK>;
249 #dma-cells = <4>;
250 st,mem2mem;
251 dma-requests = <8>;
252 status = "disabled";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200253 };
254
Patrice Chotard044d7af2018-12-06 11:53:39 +0100255 dmamux1: dma-router@40020800 {
256 compatible = "st,stm32h7-dmamux";
dillon mina5dc7a12021-04-09 15:28:43 +0800257 reg = <0x40020800 0x40>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100258 #dma-cells = <3>;
259 dma-channels = <16>;
260 dma-requests = <128>;
261 dma-masters = <&dma1 &dma2>;
262 clocks = <&rcc DMA1_CK>;
263 };
264
265 adc_12: adc@40022000 {
266 compatible = "st,stm32h7-adc-core";
267 reg = <0x40022000 0x400>;
268 interrupts = <18>;
269 clocks = <&rcc ADC12_CK>;
270 clock-names = "bus";
271 interrupt-controller;
272 #interrupt-cells = <1>;
273 #address-cells = <1>;
274 #size-cells = <0>;
275 status = "disabled";
276
277 adc1: adc@0 {
278 compatible = "st,stm32h7-adc";
279 #io-channel-cells = <1>;
280 reg = <0x0>;
281 interrupt-parent = <&adc_12>;
282 interrupts = <0>;
283 status = "disabled";
284 };
285
286 adc2: adc@100 {
287 compatible = "st,stm32h7-adc";
288 #io-channel-cells = <1>;
289 reg = <0x100>;
290 interrupt-parent = <&adc_12>;
291 interrupts = <1>;
292 status = "disabled";
293 };
294 };
295
296 usbotg_hs: usb@40040000 {
297 compatible = "st,stm32f7-hsotg";
298 reg = <0x40040000 0x40000>;
299 interrupts = <77>;
300 clocks = <&rcc USB1OTG_CK>;
301 clock-names = "otg";
302 g-rx-fifo-size = <256>;
303 g-np-tx-fifo-size = <32>;
304 g-tx-fifo-size = <128 128 64 64 64 64 32 32>;
305 status = "disabled";
306 };
307
308 usbotg_fs: usb@40080000 {
309 compatible = "st,stm32f4x9-fsotg";
310 reg = <0x40080000 0x40000>;
311 interrupts = <101>;
312 clocks = <&rcc USB2OTG_CK>;
313 clock-names = "otg";
314 status = "disabled";
315 };
316
Patrice Chotard62f56162020-11-06 08:11:58 +0100317 ltdc: display-controller@50001000 {
318 compatible = "st,stm32-ltdc";
319 reg = <0x50001000 0x200>;
320 interrupts = <88>, <89>;
321 resets = <&rcc STM32H7_APB3_RESET(LTDC)>;
322 clocks = <&rcc LTDC_CK>;
323 clock-names = "lcd";
324 status = "disabled";
325 };
326
327 mdma1: dma-controller@52000000 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100328 compatible = "st,stm32h7-mdma";
329 reg = <0x52000000 0x1000>;
330 interrupts = <122>;
331 clocks = <&rcc MDMA_CK>;
332 #dma-cells = <5>;
333 dma-channels = <16>;
334 dma-requests = <32>;
335 };
336
Patrice Chotard83975322022-09-23 13:20:33 +0200337 sdmmc1: mmc@52007000 {
Patrick Delaunayc5c90692019-11-06 16:16:32 +0100338 compatible = "arm,pl18x", "arm,primecell";
339 arm,primecell-periphid = <0x10153180>;
340 reg = <0x52007000 0x1000>;
341 interrupts = <49>;
Patrice Chotard83975322022-09-23 13:20:33 +0200342 interrupt-names = "cmd_irq";
Patrick Delaunayc5c90692019-11-06 16:16:32 +0100343 clocks = <&rcc SDMMC1_CK>;
344 clock-names = "apb_pclk";
345 resets = <&rcc STM32H7_AHB3_RESET(SDMMC1)>;
346 cap-sd-highspeed;
347 cap-mmc-highspeed;
348 max-frequency = <120000000>;
349 };
350
Patrice Chotard83975322022-09-23 13:20:33 +0200351 sdmmc2: mmc@48022400 {
dillon min5d901982021-04-09 15:28:42 +0800352 compatible = "arm,pl18x", "arm,primecell";
353 arm,primecell-periphid = <0x10153180>;
354 reg = <0x48022400 0x400>;
355 interrupts = <124>;
Patrice Chotard83975322022-09-23 13:20:33 +0200356 interrupt-names = "cmd_irq";
dillon min5d901982021-04-09 15:28:42 +0800357 clocks = <&rcc SDMMC2_CK>;
358 clock-names = "apb_pclk";
359 resets = <&rcc STM32H7_AHB2_RESET(SDMMC2)>;
360 cap-sd-highspeed;
361 cap-mmc-highspeed;
362 max-frequency = <120000000>;
Patrice Chotard83975322022-09-23 13:20:33 +0200363 status = "disabled";
dillon min5d901982021-04-09 15:28:42 +0800364 };
365
Patrice Chotard044d7af2018-12-06 11:53:39 +0100366 exti: interrupt-controller@58000000 {
367 compatible = "st,stm32h7-exti";
368 interrupt-controller;
369 #interrupt-cells = <2>;
370 reg = <0x58000000 0x400>;
371 interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <62>, <76>;
372 };
373
Patrice Chotard62f56162020-11-06 08:11:58 +0100374 syscfg: syscon@58000400 {
375 compatible = "st,stm32-syscfg", "syscon";
Patrice Chotard044d7af2018-12-06 11:53:39 +0100376 reg = <0x58000400 0x400>;
377 };
378
379 spi6: spi@58001400 {
380 #address-cells = <1>;
381 #size-cells = <0>;
382 compatible = "st,stm32h7-spi";
383 reg = <0x58001400 0x400>;
384 interrupts = <86>;
Patrice Chotard62f56162020-11-06 08:11:58 +0100385 resets = <&rcc STM32H7_APB4_RESET(SPI6)>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100386 clocks = <&rcc SPI6_CK>;
387 status = "disabled";
388 };
389
dillon mina5dc7a12021-04-09 15:28:43 +0800390 i2c4: i2c@58001c00 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100391 compatible = "st,stm32f7-i2c";
392 #address-cells = <1>;
393 #size-cells = <0>;
394 reg = <0x58001C00 0x400>;
395 interrupts = <95>,
396 <96>;
397 resets = <&rcc STM32H7_APB4_RESET(I2C4)>;
398 clocks = <&rcc I2C4_CK>;
399 status = "disabled";
400 };
401
402 lptimer2: timer@58002400 {
403 #address-cells = <1>;
404 #size-cells = <0>;
405 compatible = "st,stm32-lptimer";
406 reg = <0x58002400 0x400>;
407 clocks = <&rcc LPTIM2_CK>;
408 clock-names = "mux";
409 status = "disabled";
410
411 pwm {
412 compatible = "st,stm32-pwm-lp";
413 #pwm-cells = <3>;
414 status = "disabled";
415 };
416
417 trigger@1 {
418 compatible = "st,stm32-lptimer-trigger";
419 reg = <1>;
420 status = "disabled";
421 };
422
423 counter {
424 compatible = "st,stm32-lptimer-counter";
425 status = "disabled";
426 };
427 };
428
429 lptimer3: timer@58002800 {
430 #address-cells = <1>;
431 #size-cells = <0>;
432 compatible = "st,stm32-lptimer";
433 reg = <0x58002800 0x400>;
434 clocks = <&rcc LPTIM3_CK>;
435 clock-names = "mux";
436 status = "disabled";
437
438 pwm {
439 compatible = "st,stm32-pwm-lp";
440 #pwm-cells = <3>;
441 status = "disabled";
442 };
443
444 trigger@2 {
445 compatible = "st,stm32-lptimer-trigger";
446 reg = <2>;
447 status = "disabled";
448 };
449 };
450
451 lptimer4: timer@58002c00 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100452 compatible = "st,stm32-lptimer";
453 reg = <0x58002c00 0x400>;
454 clocks = <&rcc LPTIM4_CK>;
455 clock-names = "mux";
456 status = "disabled";
457
458 pwm {
459 compatible = "st,stm32-pwm-lp";
460 #pwm-cells = <3>;
461 status = "disabled";
462 };
463 };
464
465 lptimer5: timer@58003000 {
Patrice Chotard044d7af2018-12-06 11:53:39 +0100466 compatible = "st,stm32-lptimer";
467 reg = <0x58003000 0x400>;
468 clocks = <&rcc LPTIM5_CK>;
469 clock-names = "mux";
470 status = "disabled";
471
472 pwm {
473 compatible = "st,stm32-pwm-lp";
474 #pwm-cells = <3>;
475 status = "disabled";
476 };
477 };
478
479 vrefbuf: regulator@58003c00 {
480 compatible = "st,stm32-vrefbuf";
481 reg = <0x58003C00 0x8>;
482 clocks = <&rcc VREF_CK>;
483 regulator-min-microvolt = <1500000>;
484 regulator-max-microvolt = <2500000>;
485 status = "disabled";
486 };
487
488 rtc: rtc@58004000 {
489 compatible = "st,stm32h7-rtc";
490 reg = <0x58004000 0x400>;
491 clocks = <&rcc RTCAPB_CK>, <&rcc RTC_CK>;
492 clock-names = "pclk", "rtc_ck";
493 assigned-clocks = <&rcc RTC_CK>;
494 assigned-clock-parents = <&rcc LSE_CK>;
495 interrupt-parent = <&exti>;
496 interrupts = <17 IRQ_TYPE_EDGE_RISING>;
Patrice Chotard044d7af2018-12-06 11:53:39 +0100497 st,syscfg = <&pwrcfg 0x00 0x100>;
498 status = "disabled";
499 };
500
501 rcc: reset-clock-controller@58024400 {
502 compatible = "st,stm32h743-rcc", "st,stm32-rcc";
503 reg = <0x58024400 0x400>;
504 #clock-cells = <1>;
505 #reset-cells = <1>;
506 clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>;
507 st,syscfg = <&pwrcfg>;
508 };
509
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200510 pwrcfg: power-config@58024800 {
Patrice Chotard62f56162020-11-06 08:11:58 +0100511 compatible = "st,stm32-power-config", "syscon";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200512 reg = <0x58024800 0x400>;
513 };
514
Patrice Chotard044d7af2018-12-06 11:53:39 +0100515 adc_3: adc@58026000 {
516 compatible = "st,stm32h7-adc-core";
517 reg = <0x58026000 0x400>;
518 interrupts = <127>;
519 clocks = <&rcc ADC3_CK>;
520 clock-names = "bus";
521 interrupt-controller;
522 #interrupt-cells = <1>;
523 #address-cells = <1>;
524 #size-cells = <0>;
525 status = "disabled";
Patrice Chotard0dca06e2017-09-13 18:00:11 +0200526
Patrice Chotard044d7af2018-12-06 11:53:39 +0100527 adc3: adc@0 {
528 compatible = "st,stm32h7-adc";
529 #io-channel-cells = <1>;
530 reg = <0x0>;
531 interrupt-parent = <&adc_3>;
532 interrupts = <0>;
533 status = "disabled";
534 };
Patrice Chotarde4c6b782017-09-13 18:00:09 +0200535 };
Patrick Delaunayc5c90692019-11-06 16:16:32 +0100536
537 mac: ethernet@40028000 {
538 compatible = "st,stm32-dwmac", "snps,dwmac-4.10a";
539 reg = <0x40028000 0x8000>;
540 reg-names = "stmmaceth";
541 interrupts = <61>;
542 interrupt-names = "macirq";
543 clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
544 clocks = <&rcc ETH1MAC_CK>, <&rcc ETH1TX_CK>, <&rcc ETH1RX_CK>;
545 st,syscon = <&syscfg 0x4>;
546 snps,pbl = <8>;
547 status = "disabled";
548 };
dillon min75a81de2021-04-09 15:28:41 +0800549
Patrice Chotard83975322022-09-23 13:20:33 +0200550 pinctrl: pinctrl@58020000 {
dillon min75a81de2021-04-09 15:28:41 +0800551 #address-cells = <1>;
552 #size-cells = <1>;
553 compatible = "st,stm32h743-pinctrl";
554 ranges = <0 0x58020000 0x3000>;
555 interrupt-parent = <&exti>;
556 st,syscfg = <&syscfg 0x8>;
557 pins-are-numbered;
558
559 gpioa: gpio@58020000 {
560 gpio-controller;
561 #gpio-cells = <2>;
562 reg = <0x0 0x400>;
563 clocks = <&rcc GPIOA_CK>;
564 st,bank-name = "GPIOA";
565 interrupt-controller;
566 #interrupt-cells = <2>;
567 ngpios = <16>;
568 gpio-ranges = <&pinctrl 0 0 16>;
569 };
570
571 gpiob: gpio@58020400 {
572 gpio-controller;
573 #gpio-cells = <2>;
574 reg = <0x400 0x400>;
575 clocks = <&rcc GPIOB_CK>;
576 st,bank-name = "GPIOB";
577 interrupt-controller;
578 #interrupt-cells = <2>;
579 ngpios = <16>;
580 gpio-ranges = <&pinctrl 0 16 16>;
581 };
582
583 gpioc: gpio@58020800 {
584 gpio-controller;
585 #gpio-cells = <2>;
586 reg = <0x800 0x400>;
587 clocks = <&rcc GPIOC_CK>;
588 st,bank-name = "GPIOC";
589 interrupt-controller;
590 #interrupt-cells = <2>;
591 ngpios = <16>;
592 gpio-ranges = <&pinctrl 0 32 16>;
593 };
594
595 gpiod: gpio@58020c00 {
596 gpio-controller;
597 #gpio-cells = <2>;
598 reg = <0xc00 0x400>;
599 clocks = <&rcc GPIOD_CK>;
600 st,bank-name = "GPIOD";
601 interrupt-controller;
602 #interrupt-cells = <2>;
603 ngpios = <16>;
604 gpio-ranges = <&pinctrl 0 48 16>;
605 };
606
607 gpioe: gpio@58021000 {
608 gpio-controller;
609 #gpio-cells = <2>;
610 reg = <0x1000 0x400>;
611 clocks = <&rcc GPIOE_CK>;
612 st,bank-name = "GPIOE";
613 interrupt-controller;
614 #interrupt-cells = <2>;
615 ngpios = <16>;
616 gpio-ranges = <&pinctrl 0 64 16>;
617 };
618
619 gpiof: gpio@58021400 {
620 gpio-controller;
621 #gpio-cells = <2>;
622 reg = <0x1400 0x400>;
623 clocks = <&rcc GPIOF_CK>;
624 st,bank-name = "GPIOF";
625 interrupt-controller;
626 #interrupt-cells = <2>;
627 ngpios = <16>;
628 gpio-ranges = <&pinctrl 0 80 16>;
629 };
630
631 gpiog: gpio@58021800 {
632 gpio-controller;
633 #gpio-cells = <2>;
634 reg = <0x1800 0x400>;
635 clocks = <&rcc GPIOG_CK>;
636 st,bank-name = "GPIOG";
637 interrupt-controller;
638 #interrupt-cells = <2>;
639 ngpios = <16>;
640 gpio-ranges = <&pinctrl 0 96 16>;
641 };
642
643 gpioh: gpio@58021c00 {
644 gpio-controller;
645 #gpio-cells = <2>;
646 reg = <0x1c00 0x400>;
647 clocks = <&rcc GPIOH_CK>;
648 st,bank-name = "GPIOH";
649 interrupt-controller;
650 #interrupt-cells = <2>;
651 ngpios = <16>;
652 gpio-ranges = <&pinctrl 0 112 16>;
653 };
654
655 gpioi: gpio@58022000 {
656 gpio-controller;
657 #gpio-cells = <2>;
658 reg = <0x2000 0x400>;
659 clocks = <&rcc GPIOI_CK>;
660 st,bank-name = "GPIOI";
661 interrupt-controller;
662 #interrupt-cells = <2>;
663 ngpios = <16>;
664 gpio-ranges = <&pinctrl 0 128 16>;
665 };
666
667 gpioj: gpio@58022400 {
668 gpio-controller;
669 #gpio-cells = <2>;
670 reg = <0x2400 0x400>;
671 clocks = <&rcc GPIOJ_CK>;
672 st,bank-name = "GPIOJ";
673 interrupt-controller;
674 #interrupt-cells = <2>;
675 ngpios = <16>;
676 gpio-ranges = <&pinctrl 0 144 16>;
677 };
678
679 gpiok: gpio@58022800 {
680 gpio-controller;
681 #gpio-cells = <2>;
682 reg = <0x2800 0x400>;
683 clocks = <&rcc GPIOK_CK>;
684 st,bank-name = "GPIOK";
685 interrupt-controller;
686 #interrupt-cells = <2>;
687 ngpios = <8>;
688 gpio-ranges = <&pinctrl 0 160 8>;
689 };
690 };
Patrice Chotarde4c6b782017-09-13 18:00:09 +0200691 };
692};
693
694&systick {
695 clock-frequency = <250000000>;
696 status = "okay";
697};