1 /* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
4 * Copyright (C) 2020 Ahmad Fatoum, Pengutronix
7 #include "stm32mp15-pinctrl.dtsi"
9 #include <dt-bindings/mfd/st,stpmic1.h>
17 mcuram2: mcuram2@10000000 {
18 compatible = "shared-dma-pool";
19 reg = <0x10000000 0x40000>;
23 vdev0vring0: vdev0vring0@10040000 {
24 compatible = "shared-dma-pool";
25 reg = <0x10040000 0x1000>;
29 vdev0vring1: vdev0vring1@10041000 {
30 compatible = "shared-dma-pool";
31 reg = <0x10041000 0x1000>;
35 vdev0buffer: vdev0buffer@10042000 {
36 compatible = "shared-dma-pool";
37 reg = <0x10042000 0x4000>;
41 mcuram: mcuram@30000000 {
42 compatible = "shared-dma-pool";
43 reg = <0x30000000 0x40000>;
47 retram: retram@38000000 {
48 compatible = "shared-dma-pool";
49 reg = <0x38000000 0x10000>;
54 reg_sip_eeprom: regulator_eeprom {
55 compatible = "regulator-fixed";
56 regulator-name = "sip_eeprom";
62 pinctrl-names = "default", "sleep";
63 pinctrl-0 = <&i2c4_pins_a>;
64 pinctrl-1 = <&i2c4_sleep_pins_a>;
65 clock-frequency = <400000>;
66 i2c-scl-rising-time-ns = <185>;
67 i2c-scl-falling-time-ns = <20>;
71 compatible = "st,stpmic1";
73 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
75 #interrupt-cells = <2>;
78 compatible = "st,stpmic1-regulators";
80 ldo1-supply = <&v3v3>;
81 ldo6-supply = <&v3v3>;
82 pwr_sw1-supply = <&bst_out>;
85 regulator-name = "vddcore";
86 regulator-min-microvolt = <1200000>;
87 regulator-max-microvolt = <1350000>;
89 regulator-initial-mode = <0>;
90 regulator-over-current-protection;
94 regulator-name = "vdd_ddr";
95 regulator-min-microvolt = <1350000>;
96 regulator-max-microvolt = <1350000>;
98 regulator-initial-mode = <0>;
99 regulator-over-current-protection;
103 regulator-name = "vdd";
104 regulator-min-microvolt = <3300000>;
105 regulator-max-microvolt = <3300000>;
108 regulator-initial-mode = <0>;
109 regulator-over-current-protection;
113 regulator-name = "v3v3";
114 regulator-min-microvolt = <3300000>;
115 regulator-max-microvolt = <3300000>;
117 regulator-over-current-protection;
118 regulator-initial-mode = <0>;
122 regulator-name = "v1v8_audio";
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
126 interrupts = <IT_CURLIM_LDO1 0>;
131 regulator-name = "v3v3_hdmi";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
135 interrupts = <IT_CURLIM_LDO2 0>;
140 regulator-name = "vtt_ddr";
141 regulator-min-microvolt = <500000>;
142 regulator-max-microvolt = <750000>;
144 regulator-over-current-protection;
148 regulator-name = "vdd_usb";
149 regulator-min-microvolt = <3300000>;
150 regulator-max-microvolt = <3300000>;
151 interrupts = <IT_CURLIM_LDO4 0>;
155 regulator-name = "vdda";
156 regulator-min-microvolt = <2900000>;
157 regulator-max-microvolt = <2900000>;
158 interrupts = <IT_CURLIM_LDO5 0>;
163 regulator-name = "v1v2_hdmi";
164 regulator-min-microvolt = <1200000>;
165 regulator-max-microvolt = <1200000>;
167 interrupts = <IT_CURLIM_LDO6 0>;
172 regulator-name = "vref_ddr";
174 regulator-over-current-protection;
178 regulator-name = "bst_out";
179 interrupts = <IT_OCP_BOOST 0>;
183 regulator-name = "vbus_otg";
184 interrupts = <IT_OCP_OTG 0>;
185 regulator-active-discharge;
189 regulator-name = "vbus_sw";
190 interrupts = <IT_OCP_SWOUT 0>;
191 regulator-active-discharge;
196 compatible = "st,stpmic1-onkey";
197 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
198 interrupt-names = "onkey-falling", "onkey-rising";
201 pmic_watchdog: watchdog {
202 compatible = "st,stpmic1-wdt";
207 sip_eeprom: eeprom@50 {
208 compatible = "atmel,24c32";
209 vcc-supply = <®_sip_eeprom>;
219 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
220 <&vdev0vring1>, <&vdev0buffer>;
221 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
222 mbox-names = "vq0", "vq1", "shutdown";
223 interrupt-parent = <&exti>;