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;
18 device_type = "memory";
19 reg = <0xC0000000 0x40000000>;
27 mcuram2: mcuram2@10000000 {
28 compatible = "shared-dma-pool";
29 reg = <0x10000000 0x40000>;
33 vdev0vring0: vdev0vring0@10040000 {
34 compatible = "shared-dma-pool";
35 reg = <0x10040000 0x1000>;
39 vdev0vring1: vdev0vring1@10041000 {
40 compatible = "shared-dma-pool";
41 reg = <0x10041000 0x1000>;
45 vdev0buffer: vdev0buffer@10042000 {
46 compatible = "shared-dma-pool";
47 reg = <0x10042000 0x4000>;
51 mcuram: mcuram@30000000 {
52 compatible = "shared-dma-pool";
53 reg = <0x30000000 0x40000>;
57 retram: retram@38000000 {
58 compatible = "shared-dma-pool";
59 reg = <0x38000000 0x10000>;
64 ethernet_vio: vioregulator {
65 compatible = "regulator-fixed";
66 regulator-name = "vio";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
69 gpio = <&gpiog 3 GPIO_ACTIVE_LOW>;
78 vdda-supply = <&vdda>;
79 vref-supply = <&vdda>;
83 st,min-sample-time-nsecs = <5000>;
84 st,adc-channels = <0>;
89 st,adc-channels = <1>;
90 st,min-sample-time-nsecs = <5000>;
100 pinctrl-names = "default";
101 pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
102 vref-supply = <&vdda>;
119 pinctrl-0 = <ðernet0_rmii_pins_a>;
120 pinctrl-1 = <ðernet0_rmii_sleep_pins_a>;
121 pinctrl-names = "default", "sleep";
124 phy-handle = <&phy0>;
126 phy-reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
129 #address-cells = <1>;
131 compatible = "snps,dwmac-mdio";
133 phy0: ethernet-phy@1 {
135 interrupt-parent = <&gpioi>;
136 interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
142 pinctrl-names = "default", "sleep";
143 pinctrl-0 = <&fmc_pins_b>;
144 pinctrl-1 = <&fmc_sleep_pins_b>;
147 ksz8851: ks8851mll@1,0 {
148 compatible = "micrel,ks8851-mll";
149 reg = <1 0x0 0x2>, <1 0x2 0x20000>;
150 interrupt-parent = <&gpioc>;
151 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
154 /* Timing values are in nS */
155 st,fmc2-ebi-cs-mux-enable;
156 st,fmc2-ebi-cs-transaction-type = <4>;
157 st,fmc2-ebi-cs-buswidth = <16>;
158 st,fmc2-ebi-cs-address-setup-ns = <5>;
159 st,fmc2-ebi-cs-address-hold-ns = <5>;
160 st,fmc2-ebi-cs-bus-turnaround-ns = <5>;
161 st,fmc2-ebi-cs-data-setup-ns = <45>;
162 st,fmc2-ebi-cs-data-hold-ns = <1>;
163 st,fmc2-ebi-cs-write-address-setup-ns = <5>;
164 st,fmc2-ebi-cs-write-address-hold-ns = <5>;
165 st,fmc2-ebi-cs-write-bus-turnaround-ns = <5>;
166 st,fmc2-ebi-cs-write-data-setup-ns = <45>;
167 st,fmc2-ebi-cs-write-data-hold-ns = <1>;
172 gpio-line-names = "", "", "", "",
173 "", "", "DHCOM-K", "",
179 gpio-line-names = "", "", "", "",
181 "DHCOM-Q", "", "", "",
186 gpio-line-names = "", "", "", "",
187 "", "", "DHCOM-E", "",
194 gpio-line-names = "", "", "", "",
195 "", "", "DHCOM-B", "",
196 "", "", "", "DHCOM-F",
197 "DHCOM-D", "", "", "";
201 gpio-line-names = "", "", "", "",
202 "", "", "DHCOM-P", "",
208 gpio-line-names = "", "", "", "DHCOM-A",
215 gpio-line-names = "DHCOM-C", "", "", "",
217 "DHCOM-L", "", "", "",
222 gpio-line-names = "", "", "", "",
223 "", "", "", "DHCOM-N",
224 "DHCOM-J", "DHCOM-W", "DHCOM-V", "DHCOM-U",
225 "DHCOM-T", "", "DHCOM-S", "";
229 gpio-line-names = "DHCOM-G", "DHCOM-O", "DHCOM-H", "DHCOM-I",
230 "DHCOM-R", "DHCOM-M", "", "",
236 pinctrl-names = "default";
237 pinctrl-0 = <&i2c4_pins_a>;
238 i2c-scl-rising-time-ns = <185>;
239 i2c-scl-falling-time-ns = <20>;
241 /* spare dmas for other usage */
242 /delete-property/dmas;
243 /delete-property/dma-names;
246 compatible = "microcrystal,rv8803";
251 compatible = "st,stpmic1";
253 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
254 interrupt-controller;
255 #interrupt-cells = <2>;
259 compatible = "st,stpmic1-regulators";
260 ldo1-supply = <&v3v3>;
261 ldo2-supply = <&v3v3>;
262 ldo3-supply = <&vdd_ddr>;
263 ldo5-supply = <&v3v3>;
264 ldo6-supply = <&v3v3>;
265 pwr_sw1-supply = <&bst_out>;
266 pwr_sw2-supply = <&bst_out>;
269 regulator-name = "vddcore";
270 regulator-min-microvolt = <800000>;
271 regulator-max-microvolt = <1350000>;
273 regulator-initial-mode = <0>;
274 regulator-over-current-protection;
278 regulator-name = "vdd_ddr";
279 regulator-min-microvolt = <1350000>;
280 regulator-max-microvolt = <1350000>;
282 regulator-initial-mode = <0>;
283 regulator-over-current-protection;
287 regulator-name = "vdd";
288 regulator-min-microvolt = <3300000>;
289 regulator-max-microvolt = <3300000>;
292 regulator-initial-mode = <0>;
293 regulator-over-current-protection;
297 regulator-name = "v3v3";
298 regulator-min-microvolt = <3300000>;
299 regulator-max-microvolt = <3300000>;
301 regulator-over-current-protection;
302 regulator-initial-mode = <0>;
306 regulator-name = "vdda";
308 regulator-min-microvolt = <2900000>;
309 regulator-max-microvolt = <2900000>;
310 interrupts = <IT_CURLIM_LDO1 0>;
314 regulator-name = "v2v8";
315 regulator-min-microvolt = <2800000>;
316 regulator-max-microvolt = <2800000>;
317 interrupts = <IT_CURLIM_LDO2 0>;
321 regulator-name = "vtt_ddr";
322 regulator-min-microvolt = <500000>;
323 regulator-max-microvolt = <750000>;
325 regulator-over-current-protection;
329 regulator-name = "vdd_usb";
330 regulator-min-microvolt = <3300000>;
331 regulator-max-microvolt = <3300000>;
332 interrupts = <IT_CURLIM_LDO4 0>;
336 regulator-name = "vdd_sd";
337 regulator-min-microvolt = <2900000>;
338 regulator-max-microvolt = <2900000>;
339 interrupts = <IT_CURLIM_LDO5 0>;
344 regulator-name = "v1v8";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <1800000>;
347 interrupts = <IT_CURLIM_LDO6 0>;
351 regulator-name = "vref_ddr";
353 regulator-over-current-protection;
357 regulator-name = "bst_out";
358 interrupts = <IT_OCP_BOOST 0>;
362 regulator-name = "vbus_otg";
363 interrupts = <IT_OCP_OTG 0>;
367 regulator-name = "vbus_sw";
368 interrupts = <IT_OCP_SWOUT 0>;
369 regulator-active-discharge;
374 compatible = "st,stpmic1-onkey";
375 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
376 interrupt-names = "onkey-falling", "onkey-rising";
377 power-off-time-sec = <10>;
382 compatible = "st,stpmic1-wdt";
388 compatible = "ti,tsc2004";
390 vio-supply = <&v3v3>;
391 interrupts-extended = <&gpioh 15 IRQ_TYPE_EDGE_FALLING>;
395 compatible = "atmel,24c02";
411 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
412 <&vdev0vring1>, <&vdev0buffer>;
413 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
414 mbox-names = "vq0", "vq1", "shutdown";
415 interrupt-parent = <&exti>;
422 vdd_3v3_usbfs-supply = <&vdd_usb>;
426 pinctrl-names = "default", "sleep";
427 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a>;
428 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a>;
429 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
430 #address-cells = <1>;
434 flash0: mx66l51235l@0 {
435 compatible = "jedec,spi-nor";
437 spi-rx-bus-width = <4>;
438 spi-max-frequency = <108000000>;
439 #address-cells = <1>;
453 pinctrl-names = "default", "opendrain", "sleep", "init";
454 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
455 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
456 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
457 pinctrl-3 = <&sdmmc1_b4_init_pins_a &sdmmc1_dir_init_pins_a>;
458 cd-gpios = <&gpiog 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
463 st,cmd-gpios = <&gpiod 2 0>;
464 st,ck-gpios = <&gpioc 12 0>;
465 st,ckin-gpios = <&gpioe 4 0>;
467 vmmc-supply = <&vdd_sd>;
473 * SD bus pull-up resistors:
474 * - optional on SoMs with SD voltage translator
475 * - mandatory on SoMs without SD voltage translator
486 pinctrl-names = "default", "opendrain", "sleep";
487 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
488 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
489 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
495 vmmc-supply = <&v3v3>;
496 vqmmc-supply = <&v3v3>;
502 pinctrl-names = "default", "opendrain", "sleep";
503 pinctrl-0 = <&sdmmc3_b4_pins_a>;
504 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
505 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
509 vmmc-supply = <&v3v3>;
510 vqmmc-supply = <&v3v3>;
516 pinctrl-names = "default";
517 pinctrl-0 = <&uart4_pins_a>;