All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-5.10 1/3] ARM: dts: aspeed: rainier: Enable fan watchdog
@ 2021-03-10 17:32 Eddie James
  2021-03-10 17:32 ` [PATCH linux dev-5.10 2/3] ARM: dts: aspeed: everest: " Eddie James
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eddie James @ 2021-03-10 17:32 UTC (permalink / raw)
  To: openbmc

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>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 85fb60d16fdf..9f34136ec40f 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -3193,6 +3193,20 @@ flash@0 {
 	};
 };
 
+&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>;
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-12 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10 17:32 [PATCH linux dev-5.10 1/3] ARM: dts: aspeed: rainier: Enable fan watchdog Eddie James
2021-03-10 17:32 ` [PATCH linux dev-5.10 2/3] ARM: dts: aspeed: everest: " Eddie James
2021-04-08  1:13   ` Andrew Jeffery
2021-03-10 17:32 ` [PATCH linux dev-5.10 3/3] ARM: dts: aspeed: Add Rainier 1S4U machine Eddie James
2021-04-12 19:42   ` Andrew Geissler
2021-03-11 23:52 ` [PATCH linux dev-5.10 1/3] ARM: dts: aspeed: rainier: Enable fan watchdog Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.