ARM: dts: aspeed: g220a: Enable secondary flash
authorLei YU <yulei.sh@bytedance.com>
Fri, 10 Dec 2021 09:36:23 +0000 (17:36 +0800)
committerJoel Stanley <joel@jms.id.au>
Tue, 21 Dec 2021 04:32:27 +0000 (15:02 +1030)
Enable the secondary flash of the g220a's BMC and the wdt2.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Link: https://lore.kernel.org/r/20211210093623.2140640-1-yulei.sh@bytedance.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts

index 01dace8f5e5f7ee7588a2e55310d322d0351dea9..0d1fb5ccfd36b63799c9088502f759d94b91d475 100644 (file)
                spi-max-frequency = <50000000>;
 #include "openbmc-flash-layout-64.dtsi"
        };
+       flash@1 {
+               status = "okay";
+               label = "alt-bmc";
+               m25p,fast-read;
+               spi-max-frequency = <50000000>;
+#include "openbmc-flash-layout-64-alt.dtsi"
+       };
 };
 
 &spi1 {
        status = "okay";
 };
 
+&wdt2 {
+       status = "okay";
+       aspeed,alt-boot;
+};
+
 &gpio {
        status = "okay";
        gpio-line-names =