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

Jonathan Neuschäfer posted 8 patches 3 years, 5 months ago
There is a newer version of this series
[PATCH 6/8] ARM: dts: wpcm450-supermicro-x9sci-ln4f: Add SPI flash
Posted by Jonathan Neuschäfer 3 years, 5 months ago
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(+)

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", "", "", "", "", "", "",
--
2.35.1