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>;
56 pinctrl-names = "default", "sleep";
57 pinctrl-0 = <&i2c4_pins_a>;
58 pinctrl-1 = <&i2c4_sleep_pins_a>;
59 clock-frequency = <400000>;
60 i2c-scl-rising-time-ns = <185>;
61 i2c-scl-falling-time-ns = <20>;
65 compatible = "st,stpmic1";
67 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
69 #interrupt-cells = <2>;
72 compatible = "st,stpmic1-regulators";
74 ldo1-supply = <&v3v3>;
75 ldo3-supply = <&vdd_ddr>;
76 ldo6-supply = <&v3v3>;
77 pwr_sw1-supply = <&bst_out>;
80 regulator-name = "vddcore";
81 regulator-min-microvolt = <1200000>;
82 regulator-max-microvolt = <1350000>;
84 regulator-initial-mode = <0>;
85 regulator-over-current-protection;
89 regulator-name = "vdd_ddr";
90 regulator-min-microvolt = <1350000>;
91 regulator-max-microvolt = <1350000>;
93 regulator-initial-mode = <0>;
94 regulator-over-current-protection;
98 regulator-name = "vdd";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
103 regulator-initial-mode = <0>;
104 regulator-over-current-protection;
108 regulator-name = "v3v3";
109 regulator-min-microvolt = <3300000>;
110 regulator-max-microvolt = <3300000>;
112 regulator-over-current-protection;
113 regulator-initial-mode = <0>;
117 regulator-name = "v1v8_audio";
118 regulator-min-microvolt = <1800000>;
119 regulator-max-microvolt = <1800000>;
121 interrupts = <IT_CURLIM_LDO1 0>;
126 regulator-name = "v3v3_hdmi";
127 regulator-min-microvolt = <3300000>;
128 regulator-max-microvolt = <3300000>;
130 interrupts = <IT_CURLIM_LDO2 0>;
135 regulator-name = "vtt_ddr";
136 regulator-min-microvolt = <500000>;
137 regulator-max-microvolt = <750000>;
139 regulator-over-current-protection;
143 regulator-name = "vdd_usb";
144 interrupts = <IT_CURLIM_LDO4 0>;
148 regulator-name = "vdda";
149 regulator-min-microvolt = <2900000>;
150 regulator-max-microvolt = <2900000>;
151 interrupts = <IT_CURLIM_LDO5 0>;
156 regulator-name = "v1v2_hdmi";
157 regulator-min-microvolt = <1200000>;
158 regulator-max-microvolt = <1200000>;
160 interrupts = <IT_CURLIM_LDO6 0>;
165 regulator-name = "vref_ddr";
170 regulator-name = "bst_out";
171 interrupts = <IT_OCP_BOOST 0>;
175 regulator-name = "vbus_otg";
176 interrupts = <IT_OCP_OTG 0>;
177 regulator-active-discharge = <1>;
181 regulator-name = "vbus_sw";
182 interrupts = <IT_OCP_SWOUT 0>;
183 regulator-active-discharge = <1>;
188 compatible = "st,stpmic1-onkey";
189 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
190 interrupt-names = "onkey-falling", "onkey-rising";
193 pmic_watchdog: watchdog {
194 compatible = "st,stpmic1-wdt";
199 sip_eeprom: eeprom@50 {
200 compatible = "atmel,24c32";
211 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
212 <&vdev0vring1>, <&vdev0buffer>;
213 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
214 mbox-names = "vq0", "vq1", "shutdown";
215 interrupt-parent = <&exti>;