diff mbox series

[6/8] ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash

Message ID 20221105185911.1547847-7-j.neuschaefer@gmx.net
State Accepted
Commit 4b90b148e0e2cc3b5df1e0dd7bb8008463c7eeac
Headers show
Series Nuvoton WPCM450 FIU SPI flash controller | expand

Commit Message

J. Neuschäfer Nov. 5, 2022, 6:59 p.m. UTC
Add the BMC firmware flash to the devicetree, so that it can be accessed
from Linux.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 .../boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts   | 9 +++++++++
 1 file changed, 9 insertions(+)

--
2.35.1
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
index d4472ffdac928..b78c116cbc18e 100644
--- a/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
+++ b/arch/arm/boot/dts/nuvoton-wpcm450-supermicro-x9sci-ln4f.dts
@@ -58,6 +58,15 @@  heartbeat {
 	};
 };

+&fiu {
+	status = "okay";
+
+	flash@0 {
+		reg = <0>;
+		compatible = "jedec,spi-nor";
+	};
+};
+
 &gpio0 {
 	gpio-line-names =
 		/* 0 */ "", "host-reset-control-n", "", "", "", "", "", "",