diff mbox series

[linux,dev-5.3,2/2] ARM: dts: Aspeed: Tacoma: Add watchdog definitions

Message ID 20191003222415.6938-3-eajames@linux.ibm.com
State Accepted, archived
Headers show
Series More Tacoma devicetree updates | expand

Commit Message

Eddie James Oct. 3, 2019, 10:24 p.m. UTC
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(+)

Comments

Andrew Jeffery Oct. 8, 2019, 12:24 a.m. UTC | #1
On Fri, 4 Oct 2019, at 07:54, Eddie James wrote:
> 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>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
diff mbox series

Patch

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";
+};