2021-08-22 14:57:35 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Katsuhiro Suzuki
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
2022-04-30 05:08:24 +08:00
|
|
|
#include <sifive/riscv64-fu740.dtsi>
|
2021-08-22 14:57:35 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart0;
|
|
|
|
zephyr,shell-uart = &uart0;
|
|
|
|
zephyr,sram = &l2lim;
|
|
|
|
};
|
|
|
|
|
|
|
|
ram0: ram0@80000000 {
|
|
|
|
compatible = "memory";
|
|
|
|
reg = <0x80000000 0xf0000000>;
|
|
|
|
reg-names = "mem";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
|
|
|
current-speed = <115200>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
reg = <0x10040000 0x1000 0x20000000 0x2000000>;
|
|
|
|
flash0: flash@0 {
|
|
|
|
compatible = "issi,is25wp256d", "jedec,spi-nor";
|
|
|
|
size = <33554432>;
|
|
|
|
label = "FLASH0";
|
|
|
|
jedec-id = [96 60 18];
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <133000000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&spi2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|