linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: fsl: imx8mq: add watchdog devices
@ 2018-02-07 15:12 Baruch Siach
  2018-02-07 15:12 ` [PATCH v2 2/2] arm64: dts: fsl: imx8mq-evk: enable watchdog Baruch Siach
  2018-02-07 15:41 ` [PATCH v2 1/2] arm64: dts: fsl: imx8mq: add watchdog devices Fabio Estevam
  0 siblings, 2 replies; 5+ messages in thread
From: Baruch Siach @ 2018-02-07 15:12 UTC (permalink / raw)
  To: linux-arm-kernel

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2:
  * Rename nodes name prefix to 'watchdog@'
  * Add fsl,imx8mq-wdt to compatible list
---
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 50ed302d299a..8a83218a31e5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -250,6 +250,30 @@
 				              "clk_ext1", "clk_ext2",
 				              "clk_ext3", "clk_ext4";
 			};
+
+			wdog1: watchdog at 30280000 {
+				compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt";
+				reg = <0x30280000 0x10000>;
+				interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clk IMX8MQ_CLK_WDOG1_ROOT>;
+				status = "disabled";
+			};
+
+			wdog2: watchdog at 30290000 {
+				compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt";
+				reg = <0x30290000 0x10000>;
+				interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clk IMX8MQ_CLK_WDOG2_ROOT>;
+				status = "disabled";
+			};
+
+			wdog3: watchdog at 302a0000 {
+				compatible = "fsl,imx8mq-wdt", "fsl,imx21-wdt";
+				reg = <0x302a0000 0x10000>;
+				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clk IMX8MQ_CLK_WDOG3_ROOT>;
+				status = "disabled";
+			};
 		};
 
 		bus at 30400000 { /* AIPS2 */
-- 
2.15.1

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

end of thread, other threads:[~2018-02-07 15:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-07 15:12 [PATCH v2 1/2] arm64: dts: fsl: imx8mq: add watchdog devices Baruch Siach
2018-02-07 15:12 ` [PATCH v2 2/2] arm64: dts: fsl: imx8mq-evk: enable watchdog Baruch Siach
2018-02-07 15:43   ` Fabio Estevam
2018-02-07 15:49     ` Lucas Stach
2018-02-07 15:41 ` [PATCH v2 1/2] arm64: dts: fsl: imx8mq: add watchdog devices Fabio Estevam

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).