Commit 2a5010e7 authored by Filip Kokosinski's avatar Filip Kokosinski Committed by Maureen Helm
Browse files

dts: riscv32: hifive1: add flash



Add flash to the SiFive HiFive1 device tree.

Signed-off-by: default avatarFilip Kokosinski <fkokosinski@internships.antmicro.com>
Signed-off-by: default avatarMateusz Holenko <mholenko@antmicro.com>
parent 6299890b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 {