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 mcuram2: mcuram2@10000000 {
37 compatible = "shared-dma-pool";
38 reg = <0x10000000 0x40000>;
42 vdev0vring0: vdev0vring0@10040000 {
43 compatible = "shared-dma-pool";
44 reg = <0x10040000 0x1000>;
48 vdev0vring1: vdev0vring1@10041000 {
49 compatible = "shared-dma-pool";
50 reg = <0x10041000 0x1000>;
54 vdev0buffer: vdev0buffer@10042000 {
55 compatible = "shared-dma-pool";
56 reg = <0x10042000 0x4000>;
60 mcuram: mcuram@30000000 {
61 compatible = "shared-dma-pool";
62 reg = <0x30000000 0x40000>;
66 retram: retram@38000000 {
67 compatible = "shared-dma-pool";
68 reg = <0x38000000 0x10000>;
72 gpu_reserved: gpu@d4000000 {
73 reg = <0xd4000000 0x4000000>;
79 compatible = "gpio-leds";
82 gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
83 linux,default-trigger = "heartbeat";
84 default-state = "off";
90 pinctrl-names = "default", "sleep";
91 pinctrl-0 = <&cec_pins_b>;
92 pinctrl-1 = <&cec_pins_sleep_b>;
98 pinctrl-0 = <ðernet0_rgmii_pins_a>;
99 pinctrl-1 = <ðernet0_rgmii_pins_sleep_a>;
100 pinctrl-names = "default", "sleep";
101 phy-mode = "rgmii-id";
103 phy-handle = <&phy0>;
106 #address-cells = <1>;
108 compatible = "snps,dwmac-mdio";
109 phy0: ethernet-phy@0 {
116 contiguous-area = <&gpu_reserved>;
121 pinctrl-names = "default", "sleep";
122 pinctrl-0 = <&i2c1_pins_a>;
123 pinctrl-1 = <&i2c1_pins_sleep_a>;
124 i2c-scl-rising-time-ns = <100>;
125 i2c-scl-falling-time-ns = <7>;
127 /delete-property/dmas;
128 /delete-property/dma-names;
130 hdmi-transmitter@39 {
131 compatible = "sil,sii9022";
133 iovcc-supply = <&v3v3_hdmi>;
134 cvcc12-supply = <&v1v2_hdmi>;
135 reset-gpios = <&gpioa 10 GPIO_ACTIVE_LOW>;
136 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
137 interrupt-parent = <&gpiog>;
138 pinctrl-names = "default", "sleep";
139 pinctrl-0 = <<dc_pins_a>;
140 pinctrl-1 = <<dc_pins_sleep_a>;
144 #address-cells = <1>;
149 sii9022_in: endpoint {
150 remote-endpoint = <<dc_ep0_out>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&i2c4_pins_a>;
160 i2c-scl-rising-time-ns = <185>;
161 i2c-scl-falling-time-ns = <20>;
163 /* spare dmas for other usage */
164 /delete-property/dmas;
165 /delete-property/dma-names;
168 compatible = "st,stpmic1";
170 interrupts-extended = <&gpioa 0 IRQ_TYPE_EDGE_FALLING>;
171 interrupt-controller;
172 #interrupt-cells = <2>;
176 compatible = "st,stpmic1-regulators";
177 ldo1-supply = <&v3v3>;
178 ldo3-supply = <&vdd_ddr>;
179 ldo6-supply = <&v3v3>;
180 pwr_sw1-supply = <&bst_out>;
181 pwr_sw2-supply = <&bst_out>;
184 regulator-name = "vddcore";
185 regulator-min-microvolt = <800000>;
186 regulator-max-microvolt = <1350000>;
188 regulator-initial-mode = <0>;
189 regulator-over-current-protection;
193 regulator-name = "vdd_ddr";
194 regulator-min-microvolt = <1350000>;
195 regulator-max-microvolt = <1350000>;
197 regulator-initial-mode = <0>;
198 regulator-over-current-protection;
202 regulator-name = "vdd";
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3300000>;
207 regulator-initial-mode = <0>;
208 regulator-over-current-protection;
212 regulator-name = "v3v3";
213 regulator-min-microvolt = <3300000>;
214 regulator-max-microvolt = <3300000>;
216 regulator-over-current-protection;
217 regulator-initial-mode = <0>;
221 regulator-name = "v1v8_audio";
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
225 interrupts = <IT_CURLIM_LDO1 0>;
229 regulator-name = "v3v3_hdmi";
230 regulator-min-microvolt = <3300000>;
231 regulator-max-microvolt = <3300000>;
233 interrupts = <IT_CURLIM_LDO2 0>;
237 regulator-name = "vtt_ddr";
238 regulator-min-microvolt = <500000>;
239 regulator-max-microvolt = <750000>;
241 regulator-over-current-protection;
245 regulator-name = "vdd_usb";
246 regulator-min-microvolt = <3300000>;
247 regulator-max-microvolt = <3300000>;
248 interrupts = <IT_CURLIM_LDO4 0>;
252 regulator-name = "vdda";
253 regulator-min-microvolt = <2900000>;
254 regulator-max-microvolt = <2900000>;
255 interrupts = <IT_CURLIM_LDO5 0>;
260 regulator-name = "v1v2_hdmi";
261 regulator-min-microvolt = <1200000>;
262 regulator-max-microvolt = <1200000>;
264 interrupts = <IT_CURLIM_LDO6 0>;
268 regulator-name = "vref_ddr";
270 regulator-over-current-protection;
274 regulator-name = "bst_out";
275 interrupts = <IT_OCP_BOOST 0>;
279 regulator-name = "vbus_otg";
280 interrupts = <IT_OCP_OTG 0>;
284 regulator-name = "vbus_sw";
285 interrupts = <IT_OCP_SWOUT 0>;
286 regulator-active-discharge;
291 compatible = "st,stpmic1-onkey";
292 interrupts = <IT_PONKEY_F 0>, <IT_PONKEY_R 0>;
293 interrupt-names = "onkey-falling", "onkey-rising";
294 power-off-time-sec = <10>;
299 compatible = "st,stpmic1-wdt";
318 #address-cells = <1>;
321 ltdc_ep0_out: endpoint@0 {
323 remote-endpoint = <&sii9022_in>;
329 memory-region = <&retram>, <&mcuram>, <&mcuram2>, <&vdev0vring0>,
330 <&vdev0vring1>, <&vdev0buffer>;
331 mboxes = <&ipcc 0>, <&ipcc 1>, <&ipcc 2>;
332 mbox-names = "vq0", "vq1", "shutdown";
333 interrupt-parent = <&exti>;
347 pinctrl-names = "default", "opendrain", "sleep";
348 pinctrl-0 = <&sdmmc1_b4_pins_a>;
349 pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
350 pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
354 vmmc-supply = <&v3v3>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&uart4_pins_a>;