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-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";
|
|
|
|
};
|
|
|
|
|