1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de>
6 #include "stm32mp15-pinctrl.dtsi"
7 #include "stm32mp15xxaa-pinctrl.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/mfd/st,stpmic1.h>
13 ethernet0 = ðernet0;
17 device_type = "memory";
18 reg = <0xC0000000 0x40000000>;
26 mcuram2: mcuram2@10000000 {
27 compatible = "shared-dma-pool";
28 reg = <0x10000000 0x40000>;
32 vdev0vring0: vdev0vring0@10040000 {
33 compatible = "shared-dma-pool";
34 reg = <0x10040000 0x1000>;
38 vdev0vring1: vdev0vring1@10041000 {
39 compatible = "shared-dma-pool";
40 reg = <0x10041000 0x1000>;
44 vdev0buffer: vdev0buffer@10042000 {
45 compatible = "shared-dma-pool";
46 reg = <0x10042000 0x4000>;
50 mcuram: mcuram@30000000 {
51 compatible = "shared-dma-pool";
52 reg = <0x30000000 0x40000>;
56 retram: retram@38000000 {
57 compatible = "shared-dma-pool";
58 reg = <0x38000000 0x10000>;
63 ethernet_vio: vioregulator {
64 compatible = "regulator-fixed";
65 regulator-name = "vio";
66 regulator-min-microvolt = <3300000>;
67 regulator-max-microvolt = <3300000>;
68 gpio = <&gpiog 3 GPIO_ACTIVE_LOW>;
77 vdda-supply = <&vdda>;
78 vref-supply = <&vdda>;
82 st,min-sample-time-nsecs = <5000>;
83 st,adc-channels = <0>;
88 st,adc-channels = <1>;
89 st,min-sample-time-nsecs = <5000>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
97 vref-supply = <&vdda>;
114 pinctrl-0 = <ðernet0_rmii_pins_a>;
115 pinctrl-1 = <ðernet0_rmii_sleep_pins_a>;
116 pinctrl-names = "default", "sleep";
119 phy-handle = <&phy0>;
121 phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
124 #address-cells = <1>;
126 compatible = "snps,dwmac-mdio";
128 phy0: ethernet-phy@1 {
135 pinctrl-names = "default";
136 pinctrl-0 = <&i2c4_pins_a>;
137 i2c-scl-rising-time-ns = <185>;
138 i2c-scl-falling-time-ns = <20>;
140 /* spare dmas for other usage */
141 /delete-property/dmas;
142 /delete-property/dma-names;
145 compatible = "microcrystal,rv8803";
150 compatible = "st,stpmic1";
152 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
153 interrupt-controller;
154 #interrupt-cells = <2>;
158 compatible = "st,stpmic1-regulators";
159 ldo1-supply = <&v3v3>;
160 ldo2-supply = <&v3v3>;
161 ldo3-supply = <&vdd_ddr>;
162 ldo5-supply = <&v3v3>;
163 ldo6-supply = <&v3v3>;
164 pwr_sw1-supply = <&bst_out>;
165 pwr_sw2-supply = <&bst_out>;
168 regulator-name = "vddcore";
169 regulator-min-microvolt = <800000>;
170 regulator-max-microvolt = <1350000>;
172 regulator-initial-mode = <0>;
173 regulator-over-current-protection;
177 regulator-name = "vdd_ddr";
178 regulator-min-microvolt = <1350000>;
179 regulator-max-microvolt = <1350000>;
181 regulator-initial-mode = <0>;
182 regulator-over-current-protection;
186 regulator-name = "vdd";
187 regulator-min-microvolt = <3300000>;
188 regulator-max-microvolt = <3300000>;
191 regulator-initial-mode = <0>;
192 regulator-over-current-protection;
196 regulator-name = "v3v3";
197 regulator-min-microvolt = <3300000>;
198 regulator-max-microvolt = <3300000>;
200 regulator-over-current-protection;
201 regulator-initial-mode = <0>;
205 regulator-name = "vdda";
206 regulator-min-microvolt = <2900000>;
207 regulator-max-microvolt = <2900000>;
208 interrupts = <IT_CURLIM_LDO1 0>;
212 regulator-name = "v2v8";
213 regulator-min-microvolt = <2800000>;
214 regulator-max-microvolt = <2800000>;
215 interrupts = <IT_CURLIM_LDO2 0>;
219 regulator-name = "vtt_ddr";
220 regulator-min-microvolt = <500000>;
221 regulator-max-microvolt = <750000>;
223 regulator-over-current-protection;
227 regulator-name = "vdd_usb";
228 regulator-min-microvolt = <3300000>;
229 regulator-max-microvolt = <3300000>;
230 interrupts = <IT_CURLIM_LDO4 0>;
234 regulator-name = "vdd_sd";
235 regulator-min-microvolt = <2900000>;
236 regulator-max-microvolt = <2900000>;
237 interrupts = <IT_CURLIM_LDO5 0>;
242 regulator-name = "v1v8";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
245 interrupts = <IT_CURLIM_LDO6 0>;
249 regulator-name = "vref_ddr";
251 regulator-over-current-protection;
255 regulator-name = "bst_out";
256 interrupts = <IT_OCP_BOOST 0>;
260 regulator-name = "vbus_otg";
261 interrupts = <IT_OCP_OTG 0>;
265 regulator-name = "vbus_sw";
266 interrupts = <IT_OCP_SWOUT 0>;
267 regulator-active-discharge;
272 compatible = "st,stpmic1-onkey";
273 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
274 interrupt-names = "onkey-falling", "onkey-rising";
275 power-off-time-sec = <10>;
280 compatible = "st,stpmic1-wdt";
286 compatible = "ti,tsc2004";
288 vio-supply = <&v3v3>;
289 interrupts-extended = <&gpioh 15 IRQ_TYPE_EDGE_FALLING>;
293 compatible = "atmel,24c02";
309 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
310 <&vdev0vring1>, <&vdev0buffer>;
311 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
312 mbox-names = "vq0", "vq1", "shutdown";
313 interrupt-parent = <&exti>;
320 vdd_3v3_usbfs-supply = <&vdd_usb>;
324 pinctrl-names = "default", "sleep";
325 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
326 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
327 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
328 #address-cells = <1>;
332 flash0: mx66l51235l@0 {
333 compatible = "jedec,spi-nor";
335 spi-rx-bus-width = <4>;
336 spi-max-frequency = <108000000>;
337 #address-cells = <1>;
351 pinctrl-names = "default", "opendrain", "sleep";
352 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
353 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
354 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
360 vmmc-supply = <&vdd_sd>;
365 pinctrl-names = "default", "opendrain", "sleep";
366 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
367 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
368 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
374 vmmc-supply = <&v3v3>;
375 vqmmc-supply = <&v3v3>;
381 pinctrl-names = "default", "opendrain", "sleep";
382 pinctrl-0 = <&sdmmc3_b4_pins_a>;
383 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
384 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
388 vmmc-supply = <&v3v3>;
389 vqmmc-supply = <&v3v3>;
395 pinctrl-names = "default";
396 pinctrl-0 = <&uart4_pins_a>;