50 lines
787 B
Plaintext
50 lines
787 B
Plaintext
/*
|
|
* Copyright (c) 2021 Katsuhiro Suzuki
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <sifive/riscv64-fu740.dtsi>
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
zephyr,sram = &l2lim;
|
|
};
|
|
|
|
ram0: ram0@80000000 {
|
|
compatible = "memory";
|
|
reg = <0x0 0x80000000 0x4 0x00000000>;
|
|
reg-names = "mem";
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
current-speed = <115200>;
|
|
};
|
|
|
|
/* disabled (used by Flash ROM by default) */
|
|
&spi0 {
|
|
reg = <0x0 0x10040000 0x0 0x1000 0x0 0x20000000 0x0 0x2000000>;
|
|
flash0: flash@0 {
|
|
compatible = "issi,is25wp256d", "jedec,spi-nor";
|
|
status = "disabled";
|
|
size = <33554432>;
|
|
jedec-id = [96 60 18];
|
|
reg = <0>;
|
|
spi-max-frequency = <133000000>;
|
|
};
|
|
};
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&spi2 {
|
|
status = "okay";
|
|
};
|