From: Konstantin Aladyshev Date: Wed, 11 Jan 2023 11:39:34 +0000 (+0300) Subject: ARM: dts: aspeed: ethanolx: Add BIOS flash chip X-Git-Tag: v6.3-rc1~202^2~16^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03d24e12749281f51545c9011fc953ac844df413;p=thirdparty%2Fkernel%2Flinux.git ARM: dts: aspeed: ethanolx: Add BIOS flash chip 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 Link: https://lore.kernel.org/r/20230111113934.1176-1-aladyshev22@gmail.com Signed-off-by: Joel Stanley --- diff --git a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts index 90feac5ec6281..6bded774c4575 100644 --- a/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts +++ b/arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts @@ -64,6 +64,17 @@ }; }; +&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";