OSDN Git Service

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 fe42a43..78a511e 100644 (file)
        pinctrl-0 = <&pinctrl_wdtrst1_default>;
 };
 
+&wdt2 {
+       aspeed,alt-boot;
+};
+
 &ibt {
        status = "okay";
 };