All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.ibm.com>
To: openbmc@lists.ozlabs.org
Cc: joel@jms.id.au, andrew@aj.id.au, Eddie James <eajames@linux.ibm.com>
Subject: [PATCH linux dev-5.3 2/2] ARM: dts: Aspeed: Tacoma: Add watchdog definitions
Date: Thu,  3 Oct 2019 17:24:15 -0500	[thread overview]
Message-ID: <20191003222415.6938-3-eajames@linux.ibm.com> (raw)
In-Reply-To: <20191003222415.6938-1-eajames@linux.ibm.com>

The first watchdog on Tacoma is wired to the fans. Use the second
watchdog as the kernel/system watchdog.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
index ea6e666d0caa..cdc14773ddda 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
@@ -524,3 +524,17 @@
 	memory-region = <&flash_memory>;
 	flash = <&spi1>;
 };
+
+&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";
+};
-- 
2.23.0

  parent reply	other threads:[~2019-10-03 22:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 22:24 [PATCH linux dev-5.3 0/2] More Tacoma devicetree updates Eddie James
2019-10-03 22:24 ` [PATCH linux dev-5.3 1/2] ARM: dts: Aspeed: Tacoma: Add gpio-key definitions Eddie James
2019-10-08  0:17   ` Andrew Jeffery
2019-10-03 22:24 ` Eddie James [this message]
2019-10-08  0:24   ` [PATCH linux dev-5.3 2/2] ARM: dts: Aspeed: Tacoma: Add watchdog definitions Andrew Jeffery

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=20191003222415.6938-3-eajames@linux.ibm.com \
    --to=eajames@linux.ibm.com \
    --cc=andrew@aj.id.au \
    --cc=joel@jms.id.au \
    --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 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.