1/*
2 * Copyright (c) 2021 Linaro Limited
3 * Copyright (c) 2023 Thomas Stranger
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8/dts-v1/;
9#include "nucleo_h563zi-common.dtsi"
10
11
12/ {
13	model = "STMicroelectronics STM32H563ZI-NUCLEO board";
14	compatible = "st,stm32h563zi-nucleo";
15
16	#address-cells = <1>;
17	#size-cells = <1>;
18
19	chosen {
20		zephyr,console = &usart3;
21		zephyr,shell-uart = &usart3;
22		zephyr,sram = &sram1;
23		zephyr,flash = &flash0;
24		zephyr,code-partition = &slot0_partition;
25		zephyr,canbus = &fdcan1;
26	};
27
28	aliases {
29		led0 = &green_led_1;
30		sw0 = &user_button;
31		watchdog0 = &iwdg;
32		pwm-led0 = &pwm_led_1;
33		volt-sensor0 = &vref;
34		volt-sensor1 = &vbat;
35	};
36};
37
38&rng {
39	status = "okay";
40};
41
42&mac {
43	status = "okay";
44	pinctrl-0 = <&eth_rxd0_pc4
45		     &eth_rxd1_pc5
46		     &eth_ref_clk_pa1
47		     &eth_crs_dv_pa7
48		     &eth_tx_en_pg11
49		     &eth_txd0_pg13
50		     &eth_txd1_pb15>;
51	pinctrl-names = "default";
52	phy-connection-type = "rmii";
53};
54
55&mdio {
56	status = "okay";
57	pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
58	pinctrl-names = "default";
59
60	ethernet-phy@0 {
61		compatible = "ethernet-phy";
62		reg = <0x00>;
63		status = "okay";
64	};
65};
66