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

Jonathan Neuschäfer j.neuschaefer at gmx.net
Sun Nov 6 05:59:09 AEDT 2022


Add the BMC firmware flash to the devicetree, so that it can be accessed
from Linux.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer at 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 at 0 {
+		reg = <0>;
+		compatible = "jedec,spi-nor";
+	};
+};
+
 &gpio0 {
 	gpio-line-names =
 		/* 0 */ "", "host-reset-control-n", "", "", "", "", "", "",
--
2.35.1



More information about the openbmc mailing list