1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2019 Marek Vasut <marex@denx.de>
7 #include "stm32mp157.dtsi"
8 #include "stm32mp15xc.dtsi"
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxaa-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
20 device_type = "memory";
21 reg = <0xC0000000 0x40000000>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&cec_pins_a>;
33 pinctrl-names = "default", "sleep";
34 pinctrl-0 = <&dcmi_pins_a>;
35 pinctrl-1 = <&dcmi_sleep_pins_a>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&i2c2_pins_a>;
45 i2c-scl-rising-time-ns = <185>;
46 i2c-scl-falling-time-ns = <20>;
51 pinctrl-names = "default";
52 pinctrl-0 = <&i2c4_pins_a>;
53 i2c-scl-rising-time-ns = <185>;
54 i2c-scl-falling-time-ns = <20>;
56 /* spare dmas for other usage */
57 /delete-property/dmas;
58 /delete-property/dma-names;
61 compatible = "st,stpmic1";
63 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
65 #interrupt-cells = <2>;
69 compatible = "st,stpmic1-regulators";
70 ldo1-supply = <&v3v3>;
71 ldo2-supply = <&v3v3>;
72 ldo3-supply = <&vdd_ddr>;
73 ldo5-supply = <&v3v3>;
74 ldo6-supply = <&v3v3>;
75 pwr_sw1-supply = <&bst_out>;
76 pwr_sw2-supply = <&bst_out>;
79 regulator-name = "vddcore";
80 regulator-min-microvolt = <800000>;
81 regulator-max-microvolt = <1350000>;
83 regulator-initial-mode = <0>;
84 regulator-over-current-protection;
88 regulator-name = "vdd_ddr";
89 regulator-min-microvolt = <1350000>;
90 regulator-max-microvolt = <1350000>;
92 regulator-initial-mode = <0>;
93 regulator-over-current-protection;
97 regulator-name = "vdd";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
102 regulator-initial-mode = <0>;
103 regulator-over-current-protection;
107 regulator-name = "v3v3";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
111 regulator-over-current-protection;
112 regulator-initial-mode = <0>;
116 regulator-name = "vdda";
117 regulator-min-microvolt = <2900000>;
118 regulator-max-microvolt = <2900000>;
119 interrupts = <IT_CURLIM_LDO1 0>;
123 regulator-name = "v2v8";
124 regulator-min-microvolt = <2800000>;
125 regulator-max-microvolt = <2800000>;
126 interrupts = <IT_CURLIM_LDO2 0>;
130 regulator-name = "vtt_ddr";
131 regulator-min-microvolt = <500000>;
132 regulator-max-microvolt = <750000>;
134 regulator-over-current-protection;
138 regulator-name = "vdd_usb";
139 regulator-min-microvolt = <3300000>;
140 regulator-max-microvolt = <3300000>;
141 interrupts = <IT_CURLIM_LDO4 0>;
145 regulator-name = "vdd_sd";
146 regulator-min-microvolt = <2900000>;
147 regulator-max-microvolt = <2900000>;
148 interrupts = <IT_CURLIM_LDO5 0>;
153 regulator-name = "v1v8";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 interrupts = <IT_CURLIM_LDO6 0>;
160 regulator-name = "vref_ddr";
162 regulator-over-current-protection;
166 regulator-name = "bst_out";
167 interrupts = <IT_OCP_BOOST 0>;
171 regulator-name = "vbus_otg";
172 interrupts = <IT_OCP_OTG 0>;
176 regulator-name = "vbus_sw";
177 interrupts = <IT_OCP_SWOUT 0>;
178 regulator-active-discharge;
183 compatible = "st,stpmic1-onkey";
184 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
185 interrupt-names = "onkey-falling", "onkey-rising";
186 power-off-time-sec = <10>;
191 compatible = "st,stpmic1-wdt";
197 compatible = "atmel,24c02";
204 pinctrl-names = "default";
205 pinctrl-0 = <&i2c5_pins_a>;
206 i2c-scl-rising-time-ns = <185>;
207 i2c-scl-falling-time-ns = <20>;
221 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
222 mbox-names = "vq0", "vq1", "shutdown";
228 vdd_3v3_usbfs-supply = <&vdd_usb>;
232 pinctrl-names = "default", "sleep";
233 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a &qspi_bk2_pins_a>;
234 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a &qspi_bk2_sleep_pins_a>;
235 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
236 #address-cells = <1>;
240 flash0: mx66l51235l@0 {
241 compatible = "jedec,spi-nor";
243 spi-rx-bus-width = <4>;
244 spi-max-frequency = <108000000>;
245 #address-cells = <1>;
249 flash1: mx66l51235l@1 {
250 compatible = "jedec,spi-nor";
252 spi-rx-bus-width = <4>;
253 spi-max-frequency = <108000000>;
254 #address-cells = <1>;
268 pinctrl-names = "default", "opendrain", "sleep";
269 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
270 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
271 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
277 vmmc-supply = <&vdd_sd>;
282 pinctrl-names = "default";
283 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
290 vmmc-supply = <&v3v3>;
295 pinctrl-names = "default";
296 pinctrl-0 = <&spi1_pins_a>;
301 /* spare dmas for other usage (un-delete to enable pwm capture) */
302 /delete-property/dmas;
303 /delete-property/dma-names;
306 pinctrl-0 = <&pwm2_pins_a>;
307 pinctrl-names = "default";
317 /* spare dmas for other usage */
318 /delete-property/dmas;
319 /delete-property/dma-names;
326 /delete-property/dmas;
327 /delete-property/dma-names;
330 pinctrl-0 = <&pwm8_pins_a>;
331 pinctrl-names = "default";
340 /delete-property/dmas;
341 /delete-property/dma-names;
344 pinctrl-0 = <&pwm12_pins_a>;
345 pinctrl-names = "default";
354 pinctrl-names = "default";
355 pinctrl-0 = <&uart4_pins_a>;
360 phys = <&usbphyc_port0>;
366 dr_mode = "peripheral";
367 phys = <&usbphyc_port1 0>;
368 phy-names = "usb2-phy";
369 vbus-supply = <&vbus_otg>;
378 phy-supply = <&vdd_usb>;
382 phy-supply = <&vdd_usb>;