2021-10-18 22:44:47 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Tokita, Hiroshi <tokita.hiroshi@gmail.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
#include <gigadevice/gd32vf103Xb.dtsi>
|
2021-12-05 07:56:48 +08:00
|
|
|
#include "longan_nano-pinctrl.dtsi"
|
2021-10-18 22:44:47 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Sipeed Longan Nano";
|
|
|
|
compatible = "sipeed,longan_nano";
|
|
|
|
|
|
|
|
chosen {
|
2021-12-05 07:56:48 +08:00
|
|
|
zephyr,console = &usart0;
|
|
|
|
zephyr,shell-uart = &usart0;
|
2021-10-18 22:44:47 +08:00
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
};
|
|
|
|
};
|
2021-12-05 07:56:48 +08:00
|
|
|
|
|
|
|
&usart0 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
pinctrl-0 = <&usart0_default>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|
2022-01-04 07:20:33 +08:00
|
|
|
|
|
|
|
&dac {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-0 = <&dac_default>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
};
|