1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
4 * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics.
9 #include "stm32mp157c.dtsi"
10 #include "stm32mp157xac-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
15 model = "STMicroelectronics STM32MP157A-DK1 Discovery Board";
16 compatible = "st,stm32mp157a-dk1", "st,stm32mp157";
19 ethernet0 = ðernet0;
24 stdout-path = "serial0:115200n8";
28 reg = <0xc0000000 0x20000000>;
36 gpu_reserved: gpu@d4000000 {
37 reg = <0xd4000000 0x4000000>;
43 compatible = "gpio-leds";
46 gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
47 linux,default-trigger = "heartbeat";
48 default-state = "off";
54 pinctrl-names = "default", "sleep";
55 pinctrl-0 = <&cec_pins_b>;
56 pinctrl-1 = <&cec_pins_sleep_b>;
62 pinctrl-0 = <ðernet0_rgmii_pins_a>;
63 pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>;
64 pinctrl-names = "default", "sleep";
65 phy-mode = "rgmii-id";
72 compatible = "snps,dwmac-mdio";
73 phy0: ethernet-phy@0 {
80 contiguous-area = <&gpu_reserved>;
85 pinctrl-names = "default", "sleep";
86 pinctrl-0 = <&i2c1_pins_a>;
87 pinctrl-1 = <&i2c1_pins_sleep_a>;
88 i2c-scl-rising-time-ns = <100>;
89 i2c-scl-falling-time-ns = <7>;
91 /delete-property/dmas;
92 /delete-property/dma-names;
95 compatible = "sil,sii9022";
97 iovcc-supply = <&v3v3_hdmi>;
98 cvcc12-supply = <&v1v2_hdmi>;
99 reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;
100 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
101 interrupt-parent = <&gpiog>;
102 pinctrl-names = "default", "sleep";
103 pinctrl-0 = <<dc_pins_a>;
104 pinctrl-1 = <<dc_pins_sleep_a>;
108 #address-cells = <1>;
113 sii9022_in: endpoint {
114 remote-endpoint = <<dc_ep0_out>;
122 pinctrl-names = "default";
123 pinctrl-0 = <&i2c4_pins_a>;
124 i2c-scl-rising-time-ns = <185>;
125 i2c-scl-falling-time-ns = <20>;
127 /* spare dmas for other usage */
128 /delete-property/dmas;
129 /delete-property/dma-names;
131 typec: stusb1600@28 {
132 compatible = "st,stusb1600";
134 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
135 interrupt-parent = <&gpioi>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&stusb1600_pins_a>;
141 typec_con: connector {
142 compatible = "usb-c-connector";
145 power-opmode = "default";
150 compatible = "st,stpmic1";
152 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
153 interrupt-controller;
154 #interrupt-cells = <2>;
158 compatible = "st,stpmic1-regulators";
159 ldo1-supply = <&v3v3>;
160 ldo3-supply = <&vdd_ddr>;
161 ldo6-supply = <&v3v3>;
162 pwr_sw1-supply = <&bst_out>;
163 pwr_sw2-supply = <&bst_out>;
166 regulator-name = "vddcore";
167 regulator-min-microvolt = <800000>;
168 regulator-max-microvolt = <1350000>;
170 regulator-initial-mode = <0>;
171 regulator-over-current-protection;
175 regulator-name = "vdd_ddr";
176 regulator-min-microvolt = <1350000>;
177 regulator-max-microvolt = <1350000>;
179 regulator-initial-mode = <0>;
180 regulator-over-current-protection;
184 regulator-name = "vdd";
185 regulator-min-microvolt = <3300000>;
186 regulator-max-microvolt = <3300000>;
189 regulator-initial-mode = <0>;
190 regulator-over-current-protection;
194 regulator-name = "v3v3";
195 regulator-min-microvolt = <3300000>;
196 regulator-max-microvolt = <3300000>;
198 regulator-over-current-protection;
199 regulator-initial-mode = <0>;
203 regulator-name = "v1v8_audio";
204 regulator-min-microvolt = <1800000>;
205 regulator-max-microvolt = <1800000>;
207 interrupts = <IT_CURLIM_LDO1 0>;
211 regulator-name = "v3v3_hdmi";
212 regulator-min-microvolt = <3300000>;
213 regulator-max-microvolt = <3300000>;
215 interrupts = <IT_CURLIM_LDO2 0>;
219 regulator-name = "vtt_ddr";
220 regulator-min-microvolt = <500000>;
221 regulator-max-microvolt = <750000>;
223 regulator-over-current-protection;
227 regulator-name = "vdd_usb";
228 regulator-min-microvolt = <3300000>;
229 regulator-max-microvolt = <3300000>;
230 interrupts = <IT_CURLIM_LDO4 0>;
234 regulator-name = "vdda";
235 regulator-min-microvolt = <2900000>;
236 regulator-max-microvolt = <2900000>;
237 interrupts = <IT_CURLIM_LDO5 0>;
242 regulator-name = "v1v2_hdmi";
243 regulator-min-microvolt = <1200000>;
244 regulator-max-microvolt = <1200000>;
246 interrupts = <IT_CURLIM_LDO6 0>;
250 regulator-name = "vref_ddr";
252 regulator-over-current-protection;
256 regulator-name = "bst_out";
257 interrupts = <IT_OCP_BOOST 0>;
261 regulator-name = "vbus_otg";
262 interrupts = <IT_OCP_OTG 0>;
266 regulator-name = "vbus_sw";
267 interrupts = <IT_OCP_SWOUT 0>;
268 regulator-active-discharge;
273 compatible = "st,stpmic1-onkey";
274 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
275 interrupt-names = "onkey-falling", "onkey-rising";
276 power-off-time-sec = <10>;
281 compatible = "st,stpmic1-wdt";
300 #address-cells = <1>;
303 ltdc_ep0_out: endpoint@0 {
305 remote-endpoint = <&sii9022_in>;
311 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
312 mbox-names = "vq0", "vq1", "shutdown";
319 vdd_3v3_usbfs-supply = <&vdd_usb>;
332 pinctrl-names = "default", "opendrain", "sleep";
333 pinctrl-0 = <&sdmmc1_b4_pins_a>;
334 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
335 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
339 vmmc-supply = <&v3v3>;
344 pinctrl-names = "default";
345 pinctrl-0 = <&uart4_pins_a>;
350 phys = <&usbphyc_port0>;
356 dr_mode = "peripheral";
357 phys = <&usbphyc_port1 0>;
358 phy-names = "usb2-phy";
367 phy-supply = <&vdd_usb>;
371 phy-supply = <&vdd_usb>;
375 regulator-min-microvolt = <2500000>;
376 regulator-max-microvolt = <2500000>;
377 vdda-supply = <&vdd>;