[PATCH] ARM: dts: ethanolx: Add BIOS flash chip
From: Konstantin Aladyshev
Date: Wed Jan 11 2023 - 06:41:16 EST
Add a BIOS flash chip to the DTS to open a possibility to reflash the
main CPU BIOS from the BMC.
Signed-off-by: Konstantin Aladyshev <aladyshev22@xxxxxxxxx>
---
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
index 8d84dcc06221..5f9093c58e8c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
@@ -63,6 +63,17 @@ flash@0 {
};
};
+&spi1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_spi1_default>;
+ flash@0 {
+ status = "okay";
+ m25p,fast-read;
+ label = "bios";
+ spi-max-frequency = <100000000>;
+ };
+};
&mac0 {
status = "okay";
--
2.25.1