[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211209154540.6391-1-michael.opdenacker@bootlin.com>
Date: Thu, 9 Dec 2021 16:45:40 +0100
From: Michael Opdenacker <michael.opdenacker@...tlin.com>
To: robh+dt@...nel.org, nicolas.ferre@...rochip.com,
alexandre.belloni@...tlin.com, ludovic.desroches@...rochip.com
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Michael Opdenacker <michael.opdenacker@...tlin.com>
Subject: [PATCH] ARM: dts: at91: enable watchdog for SAMA5D3 Xplained
Like on the SAMA5D2 and SAMA5D4 Xplained boards,
enable the watchdog device on the SAMA5D3 Xplained board.
As explained on drivers/watchdog/at91sam9_wdt.c,
for the watchdog driver to work in Linux, you need to make sure
that the bootstrap / bootloader doesn't disable the watchdog,
as the Watchdog Timer Mode Register can be only written to once.
Signed-off-by: Michael Opdenacker <michael.opdenacker@...tlin.com>
---
arch/arm/boot/dts/at91-sama5d3_xplained.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
index d72c042f2850..440eccc9eb38 100644
--- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts
@@ -79,6 +79,10 @@ timer1: timer@1 {
};
};
+ watchdog: watchdog@...ffe40 {
+ status = "okay";
+ };
+
i2c0: i2c@...14000 {
pinctrl-0 = <&pinctrl_i2c0_pu>;
status = "okay";
--
2.25.1
Powered by blists - more mailing lists