1/* 2 * Copyright (c) 2021 Jim Shu 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8 9#include <sifive/riscv32-fe310.dtsi> 10#include "qemu_riscv32_xip-pinctrl.dtsi" 11 12/ { 13 model = "SiFive HiFive 1"; 14 compatible = "sifive,hifive1"; 15 16 chosen { 17 zephyr,console = &uart0; 18 zephyr,shell-uart = &uart0; 19 zephyr,sram = &dtim; 20 zephyr,flash = &flash0; 21 }; 22 23}; 24 25&gpio0 { 26 status = "okay"; 27}; 28 29&uart0 { 30 status = "okay"; 31 current-speed = <115200>; 32 pinctrl-0 = <&uart0_rx_default &uart0_tx_default>; 33 pinctrl-names = "default"; 34}; 35 36&spi0 { 37 status = "okay"; 38 39 #address-cells = <1>; 40 #size-cells = <0>; 41 reg = <0x10014000 0x1000 0x20400000 0xc00000>; 42 flash0: flash@0 { 43 compatible = "issi,is25lp128", "jedec,spi-nor"; 44 size = <134217728>; 45 jedec-id = [96 60 18]; 46 reg = <0>; 47 // Dummy entry 48 spi-max-frequency = <0>; 49 }; 50}; 51