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;
132 compatible = "st,stpmic1";
134 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
140 compatible = "st,stpmic1-regulators";
141 ldo1-supply = <&v3v3>;
142 ldo3-supply = <&vdd_ddr>;
143 ldo6-supply = <&v3v3>;
144 pwr_sw1-supply = <&bst_out>;
145 pwr_sw2-supply = <&bst_out>;
148 regulator-name = "vddcore";
149 regulator-min-microvolt = <800000>;
150 regulator-max-microvolt = <1350000>;
152 regulator-initial-mode = <0>;
153 regulator-over-current-protection;
157 regulator-name = "vdd_ddr";
158 regulator-min-microvolt = <1350000>;
159 regulator-max-microvolt = <1350000>;
161 regulator-initial-mode = <0>;
162 regulator-over-current-protection;
166 regulator-name = "vdd";
167 regulator-min-microvolt = <3300000>;
168 regulator-max-microvolt = <3300000>;
171 regulator-initial-mode = <0>;
172 regulator-over-current-protection;
176 regulator-name = "v3v3";
177 regulator-min-microvolt = <3300000>;
178 regulator-max-microvolt = <3300000>;
180 regulator-over-current-protection;
181 regulator-initial-mode = <0>;
185 regulator-name = "v1v8_audio";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <1800000>;
189 interrupts = <IT_CURLIM_LDO1 0>;
193 regulator-name = "v3v3_hdmi";
194 regulator-min-microvolt = <3300000>;
195 regulator-max-microvolt = <3300000>;
197 interrupts = <IT_CURLIM_LDO2 0>;
201 regulator-name = "vtt_ddr";
202 regulator-min-microvolt = <500000>;
203 regulator-max-microvolt = <750000>;
205 regulator-over-current-protection;
209 regulator-name = "vdd_usb";
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
212 interrupts = <IT_CURLIM_LDO4 0>;
216 regulator-name = "vdda";
217 regulator-min-microvolt = <2900000>;
218 regulator-max-microvolt = <2900000>;
219 interrupts = <IT_CURLIM_LDO5 0>;
224 regulator-name = "v1v2_hdmi";
225 regulator-min-microvolt = <1200000>;
226 regulator-max-microvolt = <1200000>;
228 interrupts = <IT_CURLIM_LDO6 0>;
232 regulator-name = "vref_ddr";
234 regulator-over-current-protection;
238 regulator-name = "bst_out";
239 interrupts = <IT_OCP_BOOST 0>;
243 regulator-name = "vbus_otg";
244 interrupts = <IT_OCP_OTG 0>;
248 regulator-name = "vbus_sw";
249 interrupts = <IT_OCP_SWOUT 0>;
250 regulator-active-discharge;
255 compatible = "st,stpmic1-onkey";
256 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
257 interrupt-names = "onkey-falling", "onkey-rising";
258 power-off-time-sec = <10>;
263 compatible = "st,stpmic1-wdt";
282 #address-cells = <1>;
285 ltdc_ep0_out: endpoint@0 {
287 remote-endpoint = <&sii9022_in>;
301 pinctrl-names = "default", "opendrain", "sleep";
302 pinctrl-0 = <&sdmmc1_b4_pins_a>;
303 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
304 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
308 vmmc-supply = <&v3v3>;
313 pinctrl-names = "default";
314 pinctrl-0 = <&uart4_pins_a>;