1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics.
8 #include "stm32mp157c.dtsi"
9 #include "stm32mp157xaa-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmic1.h>
14 model = "STMicroelectronics STM32MP157C eval daughter";
15 compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
18 stdout-path = "serial0:115200n8";
22 device_type = "memory";
23 reg = <0xC0000000 0x40000000>;
31 gpu_reserved: gpu@e8000000 {
32 reg = <0xe8000000 0x8000000>;
42 compatible = "regulator-fixed";
43 regulator-name = "reg11";
44 regulator-min-microvolt = <1100000>;
45 regulator-max-microvolt = <1100000>;
50 compatible = "regulator-fixed";
51 regulator-name = "reg18";
52 regulator-min-microvolt = <1800000>;
53 regulator-max-microvolt = <1800000>;
57 sd_switch: regulator-sd_switch {
58 compatible = "regulator-gpio";
59 regulator-name = "sd_switch";
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <2900000>;
62 regulator-type = "voltage";
65 gpios = <&gpiof 14 GPIO_ACTIVE_HIGH>;
67 states = <1800000 0x1 2900000 0x0>;
76 contiguous-area = <&gpu_reserved>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&i2c4_pins_a>;
83 i2c-scl-rising-time-ns = <185>;
84 i2c-scl-falling-time-ns = <20>;
86 /* spare dmas for other usage */
87 /delete-property/dmas;
88 /delete-property/dma-names;
91 compatible = "st,stpmic1";
93 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
95 #interrupt-cells = <2>;
99 compatible = "st,stpmic1-regulators";
100 ldo1-supply = <&v3v3>;
101 ldo2-supply = <&v3v3>;
102 ldo3-supply = <&vdd_ddr>;
103 ldo5-supply = <&v3v3>;
104 ldo6-supply = <&v3v3>;
105 pwr_sw1-supply = <&bst_out>;
106 pwr_sw2-supply = <&bst_out>;
109 regulator-name = "vddcore";
110 regulator-min-microvolt = <800000>;
111 regulator-max-microvolt = <1350000>;
113 regulator-initial-mode = <0>;
114 regulator-over-current-protection;
118 regulator-name = "vdd_ddr";
119 regulator-min-microvolt = <1350000>;
120 regulator-max-microvolt = <1350000>;
122 regulator-initial-mode = <0>;
123 regulator-over-current-protection;
127 regulator-name = "vdd";
128 regulator-min-microvolt = <3300000>;
129 regulator-max-microvolt = <3300000>;
132 regulator-initial-mode = <0>;
133 regulator-over-current-protection;
137 regulator-name = "v3v3";
138 regulator-min-microvolt = <3300000>;
139 regulator-max-microvolt = <3300000>;
141 regulator-over-current-protection;
142 regulator-initial-mode = <0>;
146 regulator-name = "vdda";
147 regulator-min-microvolt = <2900000>;
148 regulator-max-microvolt = <2900000>;
149 interrupts = <IT_CURLIM_LDO1 0>;
153 regulator-name = "v2v8";
154 regulator-min-microvolt = <2800000>;
155 regulator-max-microvolt = <2800000>;
156 interrupts = <IT_CURLIM_LDO2 0>;
160 regulator-name = "vtt_ddr";
161 regulator-min-microvolt = <500000>;
162 regulator-max-microvolt = <750000>;
164 regulator-over-current-protection;
168 regulator-name = "vdd_usb";
169 regulator-min-microvolt = <3300000>;
170 regulator-max-microvolt = <3300000>;
171 interrupts = <IT_CURLIM_LDO4 0>;
175 regulator-name = "vdd_sd";
176 regulator-min-microvolt = <2900000>;
177 regulator-max-microvolt = <2900000>;
178 interrupts = <IT_CURLIM_LDO5 0>;
183 regulator-name = "v1v8";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
186 interrupts = <IT_CURLIM_LDO6 0>;
190 regulator-name = "vref_ddr";
192 regulator-over-current-protection;
196 regulator-name = "bst_out";
197 interrupts = <IT_OCP_BOOST 0>;
201 regulator-name = "vbus_otg";
202 interrupts = <IT_OCP_OTG 0>;
206 regulator-name = "vbus_sw";
207 interrupts = <IT_OCP_SWOUT 0>;
208 regulator-active-discharge;
213 compatible = "st,stpmic1-onkey";
214 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
215 interrupt-names = "onkey-falling", "onkey-rising";
216 power-off-time-sec = <10>;
221 compatible = "st,stpmic1-wdt";
245 pinctrl-names = "default", "opendrain", "sleep";
246 pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_a>;
247 pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_dir_pins_a>;
248 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a &sdmmc1_dir_sleep_pins_a>;
254 vmmc-supply = <&vdd_sd>;
255 vqmmc-supply = <&sd_switch>;
261 /* spare dmas for other usage */
262 /delete-property/dmas;
263 /delete-property/dma-names;
270 pinctrl-names = "default";
271 pinctrl-0 = <&uart4_pins_a>;
276 phy-supply = <&vdd_usb>;
277 vdda1v1-supply = <®11>;
278 vdda1v8-supply = <®18>;
282 phy-supply = <&vdd_usb>;
283 vdda1v1-supply = <®11>;
284 vdda1v8-supply = <®18>;