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,stpmic1";
74 #interrupt-cells = <2>;
77 st,main-control-register = <0x04>;
78 st,vin-control-register = <0xc0>;
79 st,usb-control-register = <0x20>;
82 compatible = "st,stpmic1-regulators";
84 ldo1-supply = <&v3v3>;
85 ldo3-supply = <&vdd_ddr>;
86 ldo6-supply = <&v3v3>;
87 pwr_sw1-supply = <&bst_out>;
88 pwr_sw2-supply = <&bst_out>;
91 regulator-name = "vddcore";
92 regulator-min-microvolt = <1200000>;
93 regulator-max-microvolt = <1350000>;
95 regulator-initial-mode = <0>;
96 regulator-over-current-protection;
100 regulator-name = "vdd_ddr";
101 regulator-min-microvolt = <1350000>;
102 regulator-max-microvolt = <1350000>;
104 regulator-initial-mode = <0>;
105 regulator-over-current-protection;
109 regulator-name = "vdd";
110 regulator-min-microvolt = <3300000>;
111 regulator-max-microvolt = <3300000>;
114 regulator-initial-mode = <0>;
115 regulator-over-current-protection;
119 regulator-name = "v3v3";
120 regulator-min-microvolt = <3300000>;
121 regulator-max-microvolt = <3300000>;
123 regulator-over-current-protection;
124 regulator-initial-mode = <0>;
128 regulator-name = "v1v8_audio";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <1800000>;
132 interrupts = <IT_CURLIM_LDO1 0>;
136 regulator-name = "v3v3_hdmi";
137 regulator-min-microvolt = <3300000>;
138 regulator-max-microvolt = <3300000>;
140 interrupts = <IT_CURLIM_LDO2 0>;
144 regulator-name = "vtt_ddr";
145 regulator-min-microvolt = <500000>;
146 regulator-max-microvolt = <750000>;
148 regulator-over-current-protection;
152 regulator-name = "vdd_usb";
153 regulator-min-microvolt = <3300000>;
154 regulator-max-microvolt = <3300000>;
155 interrupts = <IT_CURLIM_LDO4 0>;
159 regulator-name = "vdda";
160 regulator-min-microvolt = <2900000>;
161 regulator-max-microvolt = <2900000>;
162 interrupts = <IT_CURLIM_LDO5 0>;
167 regulator-name = "v1v2_hdmi";
168 regulator-min-microvolt = <1200000>;
169 regulator-max-microvolt = <1200000>;
171 interrupts = <IT_CURLIM_LDO6 0>;
176 regulator-name = "vref_ddr";
178 regulator-over-current-protection;
182 regulator-name = "bst_out";
183 interrupts = <IT_OCP_BOOST 0>;
187 regulator-name = "vbus_otg";
188 interrupts = <IT_OCP_OTG 0>;
189 regulator-active-discharge;
193 regulator-name = "vbus_sw";
194 interrupts = <IT_OCP_SWOUT 0>;
195 regulator-active-discharge;
200 compatible = "st,stpmic1-onkey";
201 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 1>;
202 interrupt-names = "onkey-falling", "onkey-rising";
207 compatible = "st,stpmic1-wdt";
231 pinctrl-names = "default";
232 pinctrl-0 = <&sdmmc1_b4_pins_a>;
236 vmmc-supply = <&v3v3>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&uart4_pins_a>;
247 phys = <&usbphyc_port0>;
253 vdd3v3-supply = <&vdd_usb>;
258 regulator-min-microvolt = <2500000>;
259 regulator-max-microvolt = <2500000>;
260 vdda-supply = <&vdd>;