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;
|
2019-05-01 03:33:18 +08:00
|
|
|
zephyr,sram = &dtim;
|
2019-05-01 03:33:43 +08:00
|
|
|
zephyr,flash = &flash0;
|
2018-05-15 20:18:57 +08:00
|
|
|
};
|
2018-10-14 22:37:38 +08:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-05-15 20:18:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2018-05-15 20:18:57 +08:00
|
|
|
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 {
|
2019-06-15 01:31:16 +08:00
|
|
|
status = "okay";
|
2019-05-01 03:33:43 +08:00
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x10014000 0x1000 0x20400000 0xc00000>;
|
|
|
|
flash0: flash@0 {
|
|
|
|
compatible = "issi,is25lp128", "jedec,spi-nor";
|
2019-07-19 23:19:02 +08:00
|
|
|
label = "FLASH0";
|
2019-07-22 18:42:00 +08:00
|
|
|
jedec-id = [96 60 18];
|
2019-05-01 03:33:43 +08:00
|
|
|
reg = <0>;
|
2019-07-17 02:09:19 +08:00
|
|
|
// Dummy entry
|
|
|
|
spi-max-frequency = <0>;
|
2019-05-01 03:33:43 +08:00
|
|
|
};
|
2018-10-14 22:37:38 +08:00
|
|
|
};
|