]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: aspeed: ethanolx: Add BIOS flash chip
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Wed, 11 Jan 2023 11:39:34 +0000 (14:39 +0300)
committerJoel Stanley <joel@jms.id.au>
Mon, 23 Jan 2023 03:46:49 +0000 (14:16 +1030)
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@gmail.com>
Link: https://lore.kernel.org/r/20230111113934.1176-1-aladyshev22@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts

index 90feac5ec62815ded9ef065c5fc119728cb91eec..6bded774c45752dd84bf17b8ad8b495e6f1ab4aa 100644 (file)
        };
 };
 
+&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";