1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
4 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
5 * Copyright (C) 2020 Marek Vasut <marex@denx.de>
8 #include "stm32mp15-pinctrl.dtsi"
9 #include "stm32mp15xxac-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmic1.h>
19 device_type = "memory";
20 reg = <0xc0000000 0x40000000>;
28 mcuram2: mcuram2@10000000 {
29 compatible = "shared-dma-pool";
30 reg = <0x10000000 0x40000>;
34 vdev0vring0: vdev0vring0@10040000 {
35 compatible = "shared-dma-pool";
36 reg = <0x10040000 0x1000>;
40 vdev0vring1: vdev0vring1@10041000 {
41 compatible = "shared-dma-pool";
42 reg = <0x10041000 0x1000>;
46 vdev0buffer: vdev0buffer@10042000 {
47 compatible = "shared-dma-pool";
48 reg = <0x10042000 0x4000>;
52 mcuram: mcuram@30000000 {
53 compatible = "shared-dma-pool";
54 reg = <0x30000000 0x40000>;
58 retram: retram@38000000 {
59 compatible = "shared-dma-pool";
60 reg = <0x38000000 0x10000>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&i2c4_pins_a>;
77 i2c-scl-rising-time-ns = <185>;
78 i2c-scl-falling-time-ns = <20>;
80 /delete-property/dmas;
81 /delete-property/dma-names;
84 compatible = "st,stpmic1";
86 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
88 #interrupt-cells = <2>;
92 compatible = "st,stpmic1-regulators";
94 ldo1-supply = <&v3v3>;
95 ldo2-supply = <&v3v3>;
96 ldo3-supply = <&vdd_ddr>;
97 ldo5-supply = <&v3v3>;
98 ldo6-supply = <&v3v3>;
99 pwr_sw1-supply = <&bst_out>;
100 pwr_sw2-supply = <&bst_out>;
103 regulator-name = "vddcore";
104 regulator-min-microvolt = <1200000>;
105 regulator-max-microvolt = <1350000>;
107 regulator-initial-mode = <0>;
108 regulator-over-current-protection;
112 regulator-name = "vdd_ddr";
113 regulator-min-microvolt = <1350000>;
114 regulator-max-microvolt = <1350000>;
116 regulator-initial-mode = <0>;
117 regulator-over-current-protection;
121 regulator-name = "vdd";
122 regulator-min-microvolt = <3300000>;
123 regulator-max-microvolt = <3300000>;
125 regulator-initial-mode = <0>;
126 regulator-over-current-protection;
130 regulator-name = "v3v3";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
134 regulator-over-current-protection;
135 regulator-initial-mode = <0>;
139 regulator-name = "vdda";
140 regulator-min-microvolt = <2900000>;
141 regulator-max-microvolt = <2900000>;
142 interrupts = <IT_CURLIM_LDO1 0>;
146 regulator-name = "v2v8";
147 regulator-min-microvolt = <2800000>;
148 regulator-max-microvolt = <2800000>;
149 interrupts = <IT_CURLIM_LDO2 0>;
153 regulator-name = "vtt_ddr";
154 regulator-min-microvolt = <500000>;
155 regulator-max-microvolt = <750000>;
157 regulator-over-current-protection;
161 regulator-name = "vdd_usb";
162 interrupts = <IT_CURLIM_LDO4 0>;
166 regulator-name = "vdd_sd";
167 regulator-min-microvolt = <2900000>;
168 regulator-max-microvolt = <2900000>;
169 interrupts = <IT_CURLIM_LDO5 0>;
174 regulator-name = "v1v8";
175 regulator-min-microvolt = <1800000>;
176 regulator-max-microvolt = <1800000>;
177 interrupts = <IT_CURLIM_LDO6 0>;
178 regulator-enable-ramp-delay = <300000>;
182 regulator-name = "vref_ddr";
187 regulator-name = "bst_out";
188 interrupts = <IT_OCP_BOOST 0>;
192 regulator-name = "vbus_otg";
193 interrupts = <IT_OCP_OTG 0>;
194 regulator-active-discharge = <1>;
198 regulator-name = "vbus_sw";
199 interrupts = <IT_OCP_SWOUT 0>;
200 regulator-active-discharge = <1>;
205 compatible = "st,stpmic1-onkey";
206 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
207 interrupt-names = "onkey-falling", "onkey-rising";
212 compatible = "st,stpmic1-wdt";
228 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
229 <&vdev0vring1>, <&vdev0buffer>;
230 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
231 mbox-names = "vq0", "vq1", "shutdown";
232 interrupt-parent = <&exti>;
239 vdd_3v3_usbfs-supply = <&vdd_usb>;
243 pinctrl-names = "default", "sleep";
244 pinctrl-0 = <&qspi_clk_pins_a
247 pinctrl-1 = <&qspi_clk_sleep_pins_a
248 &qspi_bk1_sleep_pins_a
249 &qspi_cs1_sleep_pins_a>;
250 reg = <0x58003000 0x1000>, <0x70000000 0x200000>;
251 #address-cells = <1>;
256 compatible = "jedec,spi-nor";
258 spi-rx-bus-width = <4>;
259 spi-max-frequency = <50000000>;
260 #address-cells = <1>;