1// SPDX-License-Identifier: GPL-2.0+ OR X11
2/*
3 * Copyright 2017 - Patrice Chotard <patrice.chotard@foss.st.com>
4 *
5 */
6
7/dts-v1/;
8#include "stm32h743.dtsi"
9#include "stm32h7-pinctrl.dtsi"
10
11/ {
12	model = "STMicroelectronics STM32H743i-Discovery board";
13	compatible = "st,stm32h743i-disco", "st,stm32h743";
14
15	chosen {
16		bootargs = "root=/dev/ram";
17		stdout-path = "serial0:115200n8";
18	};
19
20	memory@d0000000 {
21		device_type = "memory";
22		reg = <0xd0000000 0x2000000>;
23	};
24
25	aliases {
26		serial0 = &usart2;
27	};
28
29	v3v3: regulator-v3v3 {
30		compatible = "regulator-fixed";
31		regulator-name = "v3v3";
32		regulator-min-microvolt = <3300000>;
33		regulator-max-microvolt = <3300000>;
34		regulator-always-on;
35	};
36};
37
38&clk_hse {
39	clock-frequency = <25000000>;
40};
41
42&mac {
43	status = "disabled";
44	pinctrl-0	= <&ethernet_rmii>;
45	pinctrl-names	= "default";
46	phy-mode	= "rmii";
47	phy-handle	= <&phy0>;
48
49	mdio0 {
50		#address-cells = <1>;
51		#size-cells = <0>;
52		compatible = "snps,dwmac-mdio";
53		phy0: ethernet-phy@0 {
54			reg = <0>;
55		};
56	};
57};
58
59&sdmmc1 {
60	pinctrl-names = "default", "opendrain", "sleep";
61	pinctrl-0 = <&sdmmc1_b4_pins_a>;
62	pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
63	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
64	broken-cd;
65	st,neg-edge;
66	bus-width = <4>;
67	vmmc-supply = <&v3v3>;
68	status = "okay";
69};
70
71&usart2 {
72	pinctrl-0 = <&usart2_pins>;
73	pinctrl-names = "default";
74	status = "okay";
75};
76