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";
119 pinctrl: pin-controller {
120 compatible = "st,stm32mp157-pinctrl";
121 #address-cells = <1>;
123 ranges = <0 0x50002000 0xa400>;
126 gpioa: gpio@50002000 {
129 interrupt-controller;
130 #interrupt-cells = <2>;
132 clocks = <&rcc_clk GPIOA>;
133 st,bank-name = "GPIOA";
135 gpio-ranges = <&pinctrl 0 0 16>;
139 gpiob: gpio@50003000 {
142 interrupt-controller;
143 #interrupt-cells = <2>;
144 reg = <0x1000 0x400>;
145 clocks = <&rcc_clk GPIOB>;
146 st,bank-name = "GPIOB";
148 gpio-ranges = <&pinctrl 0 16 16>;
152 gpioc: gpio@50004000 {
155 interrupt-controller;
156 #interrupt-cells = <2>;
157 reg = <0x2000 0x400>;
158 clocks = <&rcc_clk GPIOC>;
159 st,bank-name = "GPIOC";
161 gpio-ranges = <&pinctrl 0 32 16>;
165 gpiod: gpio@50005000 {
168 interrupt-controller;
169 #interrupt-cells = <2>;
170 reg = <0x3000 0x400>;
171 clocks = <&rcc_clk GPIOD>;
172 st,bank-name = "GPIOD";
174 gpio-ranges = <&pinctrl 0 48 16>;
178 gpioe: gpio@50006000 {
181 interrupt-controller;
182 #interrupt-cells = <2>;
183 reg = <0x4000 0x400>;
184 clocks = <&rcc_clk GPIOE>;
185 st,bank-name = "GPIOE";
187 gpio-ranges = <&pinctrl 0 64 16>;
191 gpiof: gpio@50007000 {
194 interrupt-controller;
195 #interrupt-cells = <2>;
196 reg = <0x5000 0x400>;
197 clocks = <&rcc_clk GPIOF>;
198 st,bank-name = "GPIOF";
200 gpio-ranges = <&pinctrl 0 80 16>;
204 gpiog: gpio@50008000 {
207 interrupt-controller;
208 #interrupt-cells = <2>;
209 reg = <0x6000 0x400>;
210 clocks = <&rcc_clk GPIOG>;
211 st,bank-name = "GPIOG";
213 gpio-ranges = <&pinctrl 0 96 16>;
217 gpioh: gpio@50009000 {
220 interrupt-controller;
221 #interrupt-cells = <2>;
222 reg = <0x7000 0x400>;
223 clocks = <&rcc_clk GPIOH>;
224 st,bank-name = "GPIOH";
226 gpio-ranges = <&pinctrl 0 112 16>;
230 gpioi: gpio@5000a000 {
233 interrupt-controller;
234 #interrupt-cells = <2>;
235 reg = <0x8000 0x400>;
236 clocks = <&rcc_clk GPIOI>;
237 st,bank-name = "GPIOI";
239 gpio-ranges = <&pinctrl 0 128 16>;
243 gpioj: gpio@5000b000 {
246 interrupt-controller;
247 #interrupt-cells = <2>;
248 reg = <0x9000 0x400>;
249 clocks = <&rcc_clk GPIOJ>;
250 st,bank-name = "GPIOJ";
252 gpio-ranges = <&pinctrl 0 144 16>;
256 gpiok: gpio@5000c000 {
259 interrupt-controller;
260 #interrupt-cells = <2>;
261 reg = <0xa000 0x400>;
262 clocks = <&rcc_clk GPIOK>;
263 st,bank-name = "GPIOK";
265 gpio-ranges = <&pinctrl 0 160 8>;
270 pinctrl_z: pin-controller-z {
271 compatible = "st,stm32mp157-z-pinctrl";
272 #address-cells = <1>;
274 ranges = <0 0x54004000 0x400>;
277 gpioz: gpio@54004000 {
280 interrupt-controller;
281 #interrupt-cells = <2>;
283 clocks = <&rcc_clk GPIOZ>;
284 st,bank-name = "GPIOZ";
285 st,bank-ioport = <11>;
287 gpio-ranges = <&pinctrl_z 0 400 8>;
292 sdmmc1: sdmmc@58005000 {
293 compatible = "st,stm32-sdmmc2";
294 reg = <0x58005000 0x1000>, <0x58006000 0x1000>;
295 reg-names = "sdmmc", "delay";
296 clocks = <&rcc_clk SDMMC1_K>;
297 resets = <&rcc_rst SDMMC1_R>;
301 max-frequency = <120000000>;
305 sdmmc2: sdmmc@58007000 {
306 compatible = "st,stm32-sdmmc2";
307 reg = <0x58007000 0x1000>, <0x58008000 0x1000>;
308 reg-names = "sdmmc", "delay";
309 interrupts = <GIC_SPI 124 IRQ_TYPE_NONE>;
310 clocks = <&rcc_clk SDMMC2_K>;
311 resets = <&rcc_rst SDMMC2_R>;
315 max-frequency = <120000000>;
320 compatible = "st,stm32f7-i2c";
321 reg = <0x5c002000 0x400>;
322 interrupt-names = "event", "error", "wakeup";
323 clocks = <&rcc_clk I2C4_K>;
324 resets = <&rcc_rst I2C4_R>;
325 #address-cells = <1>;