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 "stm32mp157-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>;
32 compatible = "gpio-leds";
35 gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "heartbeat";
37 default-state = "off";
44 pinctrl-0 = <ðernet0_rgmii_pins_a>;
45 pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>;
46 pinctrl-names = "default", "sleep";
54 compatible = "snps,dwmac-mdio";
55 phy0: ethernet-phy@0 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&i2c4_pins_a>;
64 i2c-scl-rising-time-ns = <185>;
65 i2c-scl-falling-time-ns = <20>;
67 /delete-property/dmas;
68 /delete-property/dma-names;
71 compatible = "st,stusb1600";
73 interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
74 interrupt-parent = <&gpioi>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&stusb1600_pins_a>;
80 typec_con: connector {
81 compatible = "usb-c-connector";
84 power-opmode = "default";
89 compatible = "st,stpmic1";
92 #interrupt-cells = <2>;
95 st,main-control-register = <0x04>;
96 st,vin-control-register = <0xc0>;
97 st,usb-control-register = <0x20>;
100 compatible = "st,stpmic1-regulators";
102 ldo1-supply = <&v3v3>;
103 ldo3-supply = <&vdd_ddr>;
104 ldo6-supply = <&v3v3>;
105 pwr_sw1-supply = <&bst_out>;
106 pwr_sw2-supply = <&bst_out>;
109 regulator-name = "vddcore";
110 regulator-min-microvolt = <1200000>;
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 = "v1v8_audio";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <1800000>;
150 interrupts = <IT_CURLIM_LDO1 0>;
154 regulator-name = "v3v3_hdmi";
155 regulator-min-microvolt = <3300000>;
156 regulator-max-microvolt = <3300000>;
158 interrupts = <IT_CURLIM_LDO2 0>;
162 regulator-name = "vtt_ddr";
163 regulator-min-microvolt = <500000>;
164 regulator-max-microvolt = <750000>;
166 regulator-over-current-protection;
170 regulator-name = "vdd_usb";
171 regulator-min-microvolt = <3300000>;
172 regulator-max-microvolt = <3300000>;
173 interrupts = <IT_CURLIM_LDO4 0>;
177 regulator-name = "vdda";
178 regulator-min-microvolt = <2900000>;
179 regulator-max-microvolt = <2900000>;
180 interrupts = <IT_CURLIM_LDO5 0>;
185 regulator-name = "v1v2_hdmi";
186 regulator-min-microvolt = <1200000>;
187 regulator-max-microvolt = <1200000>;
189 interrupts = <IT_CURLIM_LDO6 0>;
194 regulator-name = "vref_ddr";
196 regulator-over-current-protection;
200 regulator-name = "bst_out";
201 interrupts = <IT_OCP_BOOST 0>;
205 regulator-name = "vbus_otg";
206 interrupts = <IT_OCP_OTG 0>;
207 regulator-active-discharge;
211 regulator-name = "vbus_sw";
212 interrupts = <IT_OCP_SWOUT 0>;
213 regulator-active-discharge;
218 compatible = "st,stpmic1-onkey";
219 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
220 interrupt-names = "onkey-falling", "onkey-rising";
225 compatible = "st,stpmic1-wdt";
249 pinctrl-names = "default";
250 pinctrl-0 = <&sdmmc1_b4_pins_a>;
254 vmmc-supply = <&v3v3>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&uart4_pins_a>;
265 phys = <&usbphyc_port0>;
271 dr_mode = "peripheral";
272 phys = <&usbphyc_port1 0>;
273 phy-names = "usb2-phy";
282 phy-supply = <&vdd_usb>;
286 phy-supply = <&vdd_usb>;
290 regulator-min-microvolt = <2500000>;
291 regulator-max-microvolt = <2500000>;
292 vdda-supply = <&vdd>;