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 device_type = "memory";
14 reg = <0xC0000000 0x40000000>;
22 mcuram2: mcuram2@10000000 {
23 compatible = "shared-dma-pool";
24 reg = <0x10000000 0x40000>;
28 vdev0vring0: vdev0vring0@10040000 {
29 compatible = "shared-dma-pool";
30 reg = <0x10040000 0x1000>;
34 vdev0vring1: vdev0vring1@10041000 {
35 compatible = "shared-dma-pool";
36 reg = <0x10041000 0x1000>;
40 vdev0buffer: vdev0buffer@10042000 {
41 compatible = "shared-dma-pool";
42 reg = <0x10042000 0x4000>;
46 mcuram: mcuram@30000000 {
47 compatible = "shared-dma-pool";
48 reg = <0x30000000 0x40000>;
52 retram: retram@38000000 {
53 compatible = "shared-dma-pool";
54 reg = <0x38000000 0x10000>;
62 vdda-supply = <&vdda>;
63 vref-supply = <&vdda>;
67 st,min-sample-time-nsecs = <5000>;
68 st,adc-channels = <0>;
73 st,adc-channels = <1>;
74 st,min-sample-time-nsecs = <5000>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
82 vref-supply = <&vdda>;
98 pinctrl-names = "default";
99 pinctrl-0 = <&i2c4_pins_a>;
100 i2c-scl-rising-time-ns = <185>;
101 i2c-scl-falling-time-ns = <20>;
103 /* spare dmas for other usage */
104 /delete-property/dmas;
105 /delete-property/dma-names;
108 compatible = "microcrystal,rv8803";
113 compatible = "st,stpmic1";
115 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
121 compatible = "st,stpmic1-regulators";
122 ldo1-supply = <&v3v3>;
123 ldo2-supply = <&v3v3>;
124 ldo3-supply = <&vdd_ddr>;
125 ldo5-supply = <&v3v3>;
126 ldo6-supply = <&v3v3>;
127 pwr_sw1-supply = <&bst_out>;
128 pwr_sw2-supply = <&bst_out>;
131 regulator-name = "vddcore";
132 regulator-min-microvolt = <800000>;
133 regulator-max-microvolt = <1350000>;
135 regulator-initial-mode = <0>;
136 regulator-over-current-protection;
140 regulator-name = "vdd_ddr";
141 regulator-min-microvolt = <1350000>;
142 regulator-max-microvolt = <1350000>;
144 regulator-initial-mode = <0>;
145 regulator-over-current-protection;
149 regulator-name = "vdd";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
154 regulator-initial-mode = <0>;
155 regulator-over-current-protection;
159 regulator-name = "v3v3";
160 regulator-min-microvolt = <3300000>;
161 regulator-max-microvolt = <3300000>;
163 regulator-over-current-protection;
164 regulator-initial-mode = <0>;
168 regulator-name = "vdda";
169 regulator-min-microvolt = <2900000>;
170 regulator-max-microvolt = <2900000>;
171 interrupts = <IT_CURLIM_LDO1 0>;
175 regulator-name = "v2v8";
176 regulator-min-microvolt = <2800000>;
177 regulator-max-microvolt = <2800000>;
178 interrupts = <IT_CURLIM_LDO2 0>;
182 regulator-name = "vtt_ddr";
183 regulator-min-microvolt = <500000>;
184 regulator-max-microvolt = <750000>;
186 regulator-over-current-protection;
190 regulator-name = "vdd_usb";
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
193 interrupts = <IT_CURLIM_LDO4 0>;
197 regulator-name = "vdd_sd";
198 regulator-min-microvolt = <2900000>;
199 regulator-max-microvolt = <2900000>;
200 interrupts = <IT_CURLIM_LDO5 0>;
205 regulator-name = "v1v8";
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
208 interrupts = <IT_CURLIM_LDO6 0>;
212 regulator-name = "vref_ddr";
214 regulator-over-current-protection;
218 regulator-name = "bst_out";
219 interrupts = <IT_OCP_BOOST 0>;
223 regulator-name = "vbus_otg";
224 interrupts = <IT_OCP_OTG 0>;
228 regulator-name = "vbus_sw";
229 interrupts = <IT_OCP_SWOUT 0>;
230 regulator-active-discharge;
235 compatible = "st,stpmic1-onkey";
236 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
237 interrupt-names = "onkey-falling", "onkey-rising";
238 power-off-time-sec = <10>;
243 compatible = "st,stpmic1-wdt";
249 compatible = "ti,tsc2004";
251 vio-supply = <&v3v3>;
252 interrupts-extended = <&gpioh 3 IRQ_TYPE_EDGE_FALLING>;
256 compatible = "atmel,24c02";
272 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
273 <&vdev0vring1>, <&vdev0buffer>;
274 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
275 mbox-names = "vq0", "vq1", "shutdown";
276 interrupt-parent = <&exti>;
283 vdd_3v3_usbfs-supply = <&vdd_usb>;
287 pinctrl-names = "default", "sleep";
288 pinctrl-0 = <&qspi_clk_pins_a &qspi_bk1_pins_a &qspi_bk2_pins_a>;
289 pinctrl-1 = <&qspi_clk_sleep_pins_a &qspi_bk1_sleep_pins_a &qspi_bk2_sleep_pins_a>;
290 reg = <0x58003000 0x1000>, <0x70000000 0x4000000>;
291 #address-cells = <1>;
295 flash0: mx66l51235l@0 {
296 compatible = "jedec,spi-nor";
298 spi-rx-bus-width = <4>;
299 spi-max-frequency = <108000000>;
300 #address-cells = <1>;
314 pinctrl-names = "default", "opendrain", "sleep";
315 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
316 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
317 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
323 vmmc-supply = <&vdd_sd>;
328 pinctrl-names = "default", "opendrain", "sleep";
329 pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
330 pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
331 pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
337 vmmc-supply = <&v3v3>;
338 vqmmc-supply = <&v3v3>;
344 pinctrl-names = "default", "opendrain", "sleep";
345 pinctrl-0 = <&sdmmc3_b4_pins_a>;
346 pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
347 pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
351 vmmc-supply = <&v3v3>;
352 vqmmc-supply = <&v3v3>;
358 pinctrl-names = "default";
359 pinctrl-0 = <&uart4_pins_a>;