openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Barth <msbarth@linux.ibm.com>
To: openbmc@lists.ozlabs.org, joel@jms.id.au
Cc: mspinler@linux.ibm.com, eajames@linux.ibm.com
Subject: [PATCH linux dev-5.8] ARM: dts: aspeed: rainier: Enable fan watchdog
Date: Wed,  3 Feb 2021 16:24:36 -0600	[thread overview]
Message-ID: <20210203222436.2469871-1-msbarth@linux.ibm.com> (raw)

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
time the BMC stops pulsing the circuit, such as during a BMC reboot at
runtime.

Signed-off-by: Matthew Barth <msbarth@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index bcc4568d8521..e78a2d673dd4 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -1188,6 +1188,16 @@ eeprom@50 {
 	};
 };
 
+&wdt1 {
+	aspeed,reset-type = "none";
+	aspeed,external-signal;
+	aspeed,ext-push-pull;
+	aspeed,ext-active-high;
+
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdtrst1_default>;
+};
+
 &vuart1 {
 	status = "okay";
 };
-- 
2.29.2


                 reply	other threads:[~2021-02-03 22:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210203222436.2469871-1-msbarth@linux.ibm.com \
    --to=msbarth@linux.ibm.com \
    --cc=eajames@linux.ibm.com \
    --cc=joel@jms.id.au \
    --cc=mspinler@linux.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).