1/*
2 * Copyright (c) 2021 BrainCo Inc.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6/dts-v1/;
7
8#include <gd/gd32f3x0/gd32f350rb.dtsi>
9#include "gd32f350r_eval-pinctrl.dtsi"
10
11/ {
12	model = "GigaDevice GD32F350R Evaluation Kit";
13	compatible = "gd,gd32f350r-eval";
14
15	chosen {
16		zephyr,sram = &sram0;
17		zephyr,flash = &flash0;
18		zephyr,console = &usart0;
19		zephyr,shell-uart = &usart0;
20		zephyr,flash-controller = &fmc;
21	};
22
23	aliases {
24		watchdog0 = &fwdgt;
25	};
26};
27
28&usart0 {
29	status = "okay";
30	current-speed = <115200>;
31	pinctrl-0 = <&usart0_default>;
32	pinctrl-names = "default";
33};
34
35&adc0 {
36	status = "okay";
37	/* Set ADC0 clock source to RCU_ADCCK_APB2_DIV4. */
38	rcu-clock-source = <4>;
39	pinctrl-0 = <&adc0_default>;
40	pinctrl-names = "default";
41};
42
43&fwdgt {
44	status = "okay";
45};
46