2021-11-30 15:38:27 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 BrainCo Inc.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2024-01-09 16:50:44 +08:00
|
|
|
#include <gd/gd32f3x0/gd32f350rb.dtsi>
|
2021-11-30 15:38:27 +08:00
|
|
|
#include "gd32f350r_eval-pinctrl.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "GigaDevice GD32F350R Evaluation Kit";
|
|
|
|
compatible = "gd,gd32f350r-eval";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,console = &usart0;
|
|
|
|
zephyr,shell-uart = &usart0;
|
2022-09-01 00:48:34 +08:00
|
|
|
zephyr,flash-controller = &fmc;
|
2021-11-30 15:38:27 +08:00
|
|
|
};
|
2022-07-27 18:40:40 +08:00
|
|
|
|
|
|
|
aliases {
|
|
|
|
watchdog0 = &fwdgt;
|
|
|
|
};
|
2021-11-30 15:38:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&usart0 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart0_default>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2022-03-16 13:51:09 +08:00
|
|
|
|
|
|
|
&adc0 {
|
|
|
|
status = "okay";
|
|
|
|
/* Set ADC0 clock source to RCU_ADCCK_APB2_DIV4. */
|
|
|
|
rcu-clock-source = <4>;
|
|
|
|
pinctrl-0 = <&adc0_default>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2022-07-27 18:40:40 +08:00
|
|
|
|
|
|
|
&fwdgt {
|
|
|
|
status = "okay";
|
|
|
|
};
|