Skip to content
Permalink
Browse files

dts: riscv32: hifive1: add flash

Add flash to the SiFive HiFive1 device tree.

Signed-off-by: Filip Kokosinski <fkokosinski@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
  • Loading branch information...
fkokosinski authored and MaureenHelm committed Apr 30, 2019
1 parent 6299890 commit 2a5010e7c6628b660802eecdfad257b7b02b1ed4
Showing with 10 additions and 0 deletions.
  1. +10 −0 boards/riscv32/hifive1/hifive1.dts
@@ -16,6 +16,7 @@
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,flash = &flash0;
};

leds {
@@ -52,6 +53,15 @@
&spi0 {
status = "ok";
clock-frequency = <16000000>;

#address-cells = <1>;
#size-cells = <0>;
reg = <0x10014000 0x1000 0x20400000 0xc00000>;
flash0: flash@0 {
compatible = "issi,is25lp128", "jedec,spi-nor";
jedec-id = <0x96 0x60 0x18>;
reg = <0>;
};
};

&spi1 {

0 comments on commit 2a5010e

Please sign in to comment.
You can’t perform that action at this time.