2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-05-15 20:18:57 +08:00
|
|
|
/dts-v1/;
|
|
|
|
|
2018-10-14 22:37:38 +08:00
|
|
|
#include <riscv32-fe310.dtsi>
|
2018-05-15 20:18:57 +08:00
|
|
|
|
|
|
|
/ {
|
2018-10-14 22:37:38 +08:00
|
|
|
model = "SiFive HiFive 1";
|
|
|
|
compatible = "sifive,hifive1";
|
2018-05-15 20:18:57 +08:00
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
2018-11-27 19:11:04 +08:00
|
|
|
zephyr,shell-uart = &uart0;
|
2018-05-15 20:18:57 +08:00
|
|
|
};
|
2018-10-14 22:37:38 +08:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
|
|
|
status = "ok";
|
2018-05-15 20:18:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "ok";
|
|
|
|
current-speed = <115200>;
|
2018-10-14 22:37:38 +08:00
|
|
|
clock-frequency = <16000000>;
|
2018-05-15 20:18:57 +08:00
|
|
|
};
|
2018-10-14 22:37:38 +08:00
|
|
|
|
|
|
|
&uart1 {
|
|
|
|
clock-frequency = <16000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
|