]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: aspeed: witherspoon: Set alternate boot
authorEddie James <eajames@linux.vnet.ibm.com>
Fri, 9 Mar 2018 22:03:00 +0000 (16:03 -0600)
committerJoel Stanley <joel@jms.id.au>
Fri, 25 May 2018 04:27:22 +0000 (13:57 +0930)
Set watchdog 2 to boot from the alternate flash chip when the watchdog
timer expires and the system is reset. This enables "brick protection."

Signed-off-by: Eddie James <eajames@linux.vnet.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts

index fe42a43204bb1df3380f1f1de009d13dbe64abb8..78a511e6e4824c14c02f4f4662c85e219ae7cb32 100644 (file)
@@ -575,6 +575,10 @@ &wdt1 {
        pinctrl-0 = <&pinctrl_wdtrst1_default>;
 };
 
+&wdt2 {
+       aspeed,alt-boot;
+};
+
 &ibt {
        status = "okay";
 };