| /* |
| * Copyright (c) 2021 Katsuhiro Suzuki |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /dts-v1/; |
| |
| #include <riscv64-fu740.dtsi> |
| |
| / { |
| 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>; |
| clock-frequency = <125125000>; |
| }; |
| |
| &spi0 { |
| status = "okay"; |
| clock-frequency = <125125000>; |
| |
| 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"; |
| clock-frequency = <125125000>; |
| }; |
| |
| &spi2 { |
| status = "okay"; |
| clock-frequency = <125125000>; |
| }; |