1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * Copyright (C) STMicroelectronics 2018 - All Rights Reserved
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/stm32mp1-clks.h>
8 #include <dt-bindings/reset-controller/stm32mp1-resets.h>
19 compatible = "arm,cortex-a7";
25 compatible = "arm,cortex-a7";
35 intc: interrupt-controller@a0021000 {
36 compatible = "arm,cortex-a7-gic";
37 #interrupt-cells = <3>;
39 reg = <0xa0021000 0x1000>,
46 compatible = "fixed-clock";
47 clock-frequency = <24000000>;
52 compatible = "fixed-clock";
53 clock-frequency = <64000000>;
58 compatible = "fixed-clock";
59 clock-frequency = <32768>;
64 compatible = "fixed-clock";
65 clock-frequency = <32000>;
70 compatible = "fixed-clock";
71 clock-frequency = <4000000>;
76 compatible = "simple-bus";
79 interrupt-parent = <&intc>;
82 uart4: serial@40010000 {
83 compatible = "st,stm32h7-uart";
84 reg = <0x40010000 0x400>;
85 clocks = <&rcc_clk UART4_K>;
89 sdmmc3: sdmmc@48004000 {
90 compatible = "st,stm32-sdmmc2";
91 reg = <0x48004000 0x400>, <0x48005000 0x400>;
92 reg-names = "sdmmc", "delay";
93 interrupts = <GIC_SPI 137 IRQ_TYPE_NONE>;
94 clocks = <&rcc_clk SDMMC3_K>;
95 resets = <&rcc_rst SDMMC3_R>;
99 max-frequency = <120000000>;
104 compatible = "syscon", "simple-mfd";
106 reg = <0x50000000 0x1000>;
108 rcc_clk: rcc-clk@50000000 {
110 compatible = "st,stm32mp1-rcc-clk";
113 rcc_rst: rcc-reset@50000000 {
115 compatible = "st,stm32mp1-rcc-rst";
118 rcc_reboot: rcc-reboot@50000000 {
119 compatible = "syscon-reboot";
126 pinctrl: pin-controller {
127 compatible = "st,stm32mp157-pinctrl";
128 #address-cells = <1>;
130 ranges = <0 0x50002000 0xa400>;
133 gpioa: gpio@50002000 {
136 interrupt-controller;
137 #interrupt-cells = <2>;
139 clocks = <&rcc_clk GPIOA>;
140 st,bank-name = "GPIOA";
142 gpio-ranges = <&pinctrl 0 0 16>;
146 gpiob: gpio@50003000 {
149 interrupt-controller;
150 #interrupt-cells = <2>;
151 reg = <0x1000 0x400>;
152 clocks = <&rcc_clk GPIOB>;
153 st,bank-name = "GPIOB";
155 gpio-ranges = <&pinctrl 0 16 16>;
159 gpioc: gpio@50004000 {
162 interrupt-controller;
163 #interrupt-cells = <2>;
164 reg = <0x2000 0x400>;
165 clocks = <&rcc_clk GPIOC>;
166 st,bank-name = "GPIOC";
168 gpio-ranges = <&pinctrl 0 32 16>;
172 gpiod: gpio@50005000 {
175 interrupt-controller;
176 #interrupt-cells = <2>;
177 reg = <0x3000 0x400>;
178 clocks = <&rcc_clk GPIOD>;
179 st,bank-name = "GPIOD";
181 gpio-ranges = <&pinctrl 0 48 16>;
185 gpioe: gpio@50006000 {
188 interrupt-controller;
189 #interrupt-cells = <2>;
190 reg = <0x4000 0x400>;
191 clocks = <&rcc_clk GPIOE>;
192 st,bank-name = "GPIOE";
194 gpio-ranges = <&pinctrl 0 64 16>;
198 gpiof: gpio@50007000 {
201 interrupt-controller;
202 #interrupt-cells = <2>;
203 reg = <0x5000 0x400>;
204 clocks = <&rcc_clk GPIOF>;
205 st,bank-name = "GPIOF";
207 gpio-ranges = <&pinctrl 0 80 16>;
211 gpiog: gpio@50008000 {
214 interrupt-controller;
215 #interrupt-cells = <2>;
216 reg = <0x6000 0x400>;
217 clocks = <&rcc_clk GPIOG>;
218 st,bank-name = "GPIOG";
220 gpio-ranges = <&pinctrl 0 96 16>;
224 gpioh: gpio@50009000 {
227 interrupt-controller;
228 #interrupt-cells = <2>;
229 reg = <0x7000 0x400>;
230 clocks = <&rcc_clk GPIOH>;
231 st,bank-name = "GPIOH";
233 gpio-ranges = <&pinctrl 0 112 16>;
237 gpioi: gpio@5000a000 {
240 interrupt-controller;
241 #interrupt-cells = <2>;
242 reg = <0x8000 0x400>;
243 clocks = <&rcc_clk GPIOI>;
244 st,bank-name = "GPIOI";
246 gpio-ranges = <&pinctrl 0 128 16>;
250 gpioj: gpio@5000b000 {
253 interrupt-controller;
254 #interrupt-cells = <2>;
255 reg = <0x9000 0x400>;
256 clocks = <&rcc_clk GPIOJ>;
257 st,bank-name = "GPIOJ";
259 gpio-ranges = <&pinctrl 0 144 16>;
263 gpiok: gpio@5000c000 {
266 interrupt-controller;
267 #interrupt-cells = <2>;
268 reg = <0xa000 0x400>;
269 clocks = <&rcc_clk GPIOK>;
270 st,bank-name = "GPIOK";
272 gpio-ranges = <&pinctrl 0 160 8>;
277 pinctrl_z: pin-controller-z {
278 compatible = "st,stm32mp157-z-pinctrl";
279 #address-cells = <1>;
281 ranges = <0 0x54004000 0x400>;
284 gpioz: gpio@54004000 {
287 interrupt-controller;
288 #interrupt-cells = <2>;
290 clocks = <&rcc_clk GPIOZ>;
291 st,bank-name = "GPIOZ";
292 st,bank-ioport = <11>;
294 gpio-ranges = <&pinctrl_z 0 400 8>;
299 sdmmc1: sdmmc@58005000 {
300 compatible = "st,stm32-sdmmc2";
301 reg = <0x58005000 0x1000>, <0x58006000 0x1000>;
302 reg-names = "sdmmc", "delay";
303 clocks = <&rcc_clk SDMMC1_K>;
304 resets = <&rcc_rst SDMMC1_R>;
308 max-frequency = <120000000>;
312 sdmmc2: sdmmc@58007000 {
313 compatible = "st,stm32-sdmmc2";
314 reg = <0x58007000 0x1000>, <0x58008000 0x1000>;
315 reg-names = "sdmmc", "delay";
316 interrupts = <GIC_SPI 124 IRQ_TYPE_NONE>;
317 clocks = <&rcc_clk SDMMC2_K>;
318 resets = <&rcc_rst SDMMC2_R>;
322 max-frequency = <120000000>;
327 compatible = "st,stm32f7-i2c";
328 reg = <0x5c002000 0x400>;
329 interrupt-names = "event", "error", "wakeup";
330 clocks = <&rcc_clk I2C4_K>;
331 resets = <&rcc_rst I2C4_R>;
332 #address-cells = <1>;