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>
16 device_type = "memory";
17 reg = <0xC0000000 0x40000000>;
25 mcuram2: mcuram2@10000000 {
26 compatible = "shared-dma-pool";
27 reg = <0x10000000 0x40000>;
31 vdev0vring0: vdev0vring0@10040000 {
32 compatible = "shared-dma-pool";
33 reg = <0x10040000 0x1000>;
37 vdev0vring1: vdev0vring1@10041000 {
38 compatible = "shared-dma-pool";
39 reg = <0x10041000 0x1000>;
43 vdev0buffer: vdev0buffer@10042000 {
44 compatible = "shared-dma-pool";
45 reg = <0x10042000 0x4000>;
49 mcuram: mcuram@30000000 {
50 compatible = "shared-dma-pool";
51 reg = <0x30000000 0x40000>;
55 retram: retram@38000000 {
56 compatible = "shared-dma-pool";
57 reg = <0x38000000 0x10000>;
65 vdda-supply = <&vdda>;
66 vref-supply = <&vdda>;
70 st,min-sample-time-nsecs = <5000>;
71 st,adc-channels = <0>;
76 st,adc-channels = <1>;
77 st,min-sample-time-nsecs = <5000>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
85 vref-supply = <&vdda>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&i2c4_pins_a>;
107 i2c-scl-rising-time-ns = <185>;
108 i2c-scl-falling-time-ns = <20>;
110 /* spare dmas for other usage */
111 /delete-property/dmas;
112 /delete-property/dma-names;
115 compatible = "microcrystal,rv8803";
120 compatible = "st,stpmic1";
122 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
123 interrupt-controller;
124 #interrupt-cells = <2>;
128 compatible = "st,stpmic1-regulators";
129 ldo1-supply = <&v3v3>;
130 ldo2-supply = <&v3v3>;
131 ldo3-supply = <&vdd_ddr>;
132 ldo5-supply = <&v3v3>;
133 ldo6-supply = <&v3v3>;
134 pwr_sw1-supply = <&bst_out>;
135 pwr_sw2-supply = <&bst_out>;
138 regulator-name = "vddcore";
139 regulator-min-microvolt = <800000>;
140 regulator-max-microvolt = <1350000>;
142 regulator-initial-mode = <0>;
143 regulator-over-current-protection;
147 regulator-name = "vdd_ddr";
148 regulator-min-microvolt = <1350000>;
149 regulator-max-microvolt = <1350000>;
151 regulator-initial-mode = <0>;
152 regulator-over-current-protection;
156 regulator-name = "vdd";
157 regulator-min-microvolt = <3300000>;
158 regulator-max-microvolt = <3300000>;
161 regulator-initial-mode = <0>;
162 regulator-over-current-protection;
166 regulator-name = "v3v3";
167 regulator-min-microvolt = <3300000>;
168 regulator-max-microvolt = <3300000>;
170 regulator-over-current-protection;
171 regulator-initial-mode = <0>;
175 regulator-name = "vdda";
176 regulator-min-microvolt = <2900000>;
177 regulator-max-microvolt = <2900000>;
178 interrupts = <IT_CURLIM_LDO1 0>;
182 regulator-name = "v2v8";
183 regulator-min-microvolt = <2800000>;
184 regulator-max-microvolt = <2800000>;
185 interrupts = <IT_CURLIM_LDO2 0>;
189 regulator-name = "vtt_ddr";
190 regulator-min-microvolt = <500000>;
191 regulator-max-microvolt = <750000>;
193 regulator-over-current-protection;
197 regulator-name = "vdd_usb";
198 regulator-min-microvolt = <3300000>;
199 regulator-max-microvolt = <3300000>;
200 interrupts = <IT_CURLIM_LDO4 0>;
204 regulator-name = "vdd_sd";
205 regulator-min-microvolt = <2900000>;
206 regulator-max-microvolt = <2900000>;
207 interrupts = <IT_CURLIM_LDO5 0>;
212 regulator-name = "v1v8";
213 regulator-min-microvolt = <1800000>;
214 regulator-max-microvolt = <1800000>;
215 interrupts = <IT_CURLIM_LDO6 0>;
219 regulator-name = "vref_ddr";
221 regulator-over-current-protection;
225 regulator-name = "bst_out";
226 interrupts = <IT_OCP_BOOST 0>;
230 regulator-name = "vbus_otg";
231 interrupts = <IT_OCP_OTG 0>;
235 regulator-name = "vbus_sw";
236 interrupts = <IT_OCP_SWOUT 0>;
237 regulator-active-discharge;
242 compatible = "st,stpmic1-onkey";
243 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
244 interrupt-names = "onkey-falling", "onkey-rising";
245 power-off-time-sec = <10>;
250 compatible = "st,stpmic1-wdt";
256 compatible = "ti,tsc2004";
258 vio-supply = <&v3v3>;
259 interrupts-extended = <&gpioh 3 IRQ_TYPE_EDGE_FALLING>;
263 compatible = "atmel,24c02";
279 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
280 <&vdev0vring1>, <&vdev0buffer>;
281 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
282 mbox-names = "vq0", "vq1", "shutdown";
283 interrupt-parent = <&exti>;
290 vdd_3v3_usbfs-supply = <&vdd_usb>;
294 pinctrl-names = "default", "sleep";
295 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a &qspi_bk2_pins_a>;
296 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a &qspi_bk2_sleep_pins_a>;
297 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
298 #address-cells = <1>;
302 flash0: mx66l51235l@0 {
303 compatible = "jedec,spi-nor";
305 spi-rx-bus-width = <4>;
306 spi-max-frequency = <108000000>;
307 #address-cells = <1>;
321 pinctrl-names = "default", "opendrain", "sleep";
322 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
323 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
324 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
330 vmmc-supply = <&vdd_sd>;
335 pinctrl-names = "default", "opendrain", "sleep";
336 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
337 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
338 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
344 vmmc-supply = <&v3v3>;
345 vqmmc-supply = <&v3v3>;
351 pinctrl-names = "default", "opendrain", "sleep";
352 pinctrl-0 = <&sdmmc3_b4_pins_a>;
353 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
354 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
358 vmmc-supply = <&v3v3>;
359 vqmmc-supply = <&v3v3>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&uart4_pins_a>;