1// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2/*
3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
4 * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5 */
6
7/dts-v1/;
8
9#include "stm32mp135.dtsi"
10#include "stm32mp13xf.dtsi"
11#include "stm32mp13-pinctrl.dtsi"
12
13/ {
14	model = "STMicroelectronics STM32MP135F-DK Discovery Board";
15	compatible = "st,stm32mp135f-dk", "st,stm32mp135";
16
17	aliases {
18		serial0 = &uart4;
19	};
20
21	memory@c0000000 {
22		device_type = "memory";
23		reg = <0xc0000000 0x20000000>;
24	};
25
26	vdd_sd: vdd-sd {
27		compatible = "regulator-fixed";
28		regulator-name = "vdd_sd";
29		regulator-min-microvolt = <2900000>;
30		regulator-max-microvolt = <2900000>;
31		regulator-always-on;
32	};
33};
34
35&iwdg2 {
36	timeout-sec = <32>;
37	status = "okay";
38};
39
40&sdmmc1 {
41	pinctrl-names = "default", "opendrain";
42	pinctrl-0 = <&sdmmc1_b4_pins_a>;
43	pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
44	broken-cd;
45	disable-wp;
46	st,neg-edge;
47	bus-width = <4>;
48	vmmc-supply = <&vdd_sd>;
49	status = "okay";
50};
51
52&uart4 {
53	pinctrl-names = "default";
54	pinctrl-0 = <&uart4_pins_a>;
55	status = "okay";
56};
57