ARM: dts: aspeed: everest: Enable fan watchdog
authorEddie James <eajames@linux.ibm.com>
Mon, 29 Mar 2021 15:00:18 +0000 (10:00 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 8 Apr 2021 01:43:56 +0000 (11:13 +0930)
Set watchdog 1 to pulse the fan watchdog circuit that drives the FAULT
pin of the MAX31785, resulting in fans running at full speed, if at
any point the BMC stops pulsing it, such as a BMC reboot at runtime.
Enable watchdog 2 for BMC reboots.

Signed-off-by: Matthew Barth <msbarth@linux.ibm.com>
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20210329150020.13632-21-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts

index 52d2abac8b94de7345d49253516d06acb4f68585..5f8dd3cf4a3d9ffadc3851992d6f918c45d2822f 100644 (file)
        use-ncsi;
 };
 
+&wdt1 {
+       aspeed,reset-type = "none";
+       aspeed,external-signal;
+       aspeed,ext-push-pull;
+       aspeed,ext-active-high;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdtrst1_default>;
+};
+
+&wdt2 {
+       status = "okay";
+};
+
 &xdma {
        status = "okay";
        memory-region = <&vga_memory>;