devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: linux-arm-kernel@lists.infradead.org, Shawn Guo <shawnguo@kernel.org>
Cc: "A . s . Dong" <aisheng.dong@nxp.com>,
	devicetree@vger.kernel.org, patchwork-lst@pengutronix.de,
	Rob Herring <robh+dt@kernel.org>,
	NXP Linux Team <linux-imx@nxp.com>,
	kernel@pengutronix.de, Fabio Estevam <fabio.estevam@nxp.com>
Subject: [PATCH v4 6/6] arm64: dts: imx8mq-evk: enable watchdog
Date: Wed, 14 Nov 2018 18:52:42 +0100	[thread overview]
Message-ID: <20181114175242.12468-6-l.stach@pengutronix.de> (raw)
In-Reply-To: <20181114175242.12468-1-l.stach@pengutronix.de>

From: Baruch Siach <baruch@tkos.co.il>

The external nWDOG signal connects to the EVK board reset circuit.

Tested on the i.MX8MQ EVK rev B3.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
v4:
 - added patch to series
 - rebased pinctrl to upstream accepted driver binding
---
 arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
index 04ce13f855c2..64acccc4bfcb 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
@@ -160,6 +160,13 @@
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl_fec1: fec1grp {
 		fsl,pins = <
@@ -287,4 +294,10 @@
 			MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT		0xc1
 		>;
 	};
+
+	pinctrl_wdog: wdog1grp {
+		fsl,pins = <
+			MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B		0xc6
+		>;
+	};
 };
-- 
2.19.1

      parent reply	other threads:[~2018-11-14 17:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-14 17:52 [PATCH v4 1/6] arm64: add basic Kconfig symbols for i.MX8 Lucas Stach
2018-11-14 17:52 ` [PATCH v4 2/6] arm64: add basic DTS for i.MX8MQ Lucas Stach
2018-11-16 23:25   ` Rob Herring
2018-12-07 16:17     ` Abel Vesa
2018-12-07 16:36       ` Lucas Stach
2018-12-07 21:07         ` Abel Vesa
2018-12-08 11:52           ` Abel Vesa
2018-11-14 17:52 ` [PATCH v4 3/6] arm64: add support for i.MX8M EVK board Lucas Stach
2018-11-16 22:44   ` Rob Herring
2018-11-14 17:52 ` [PATCH v4 4/6] MAINTAINERS: add i.MX8 DT path to i.MX architecture Lucas Stach
2018-11-14 17:52 ` [PATCH v4 5/6] arm64: dts: imx8mq: add watchdog devices Lucas Stach
2018-11-14 17:52 ` Lucas Stach [this message]

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=20181114175242.12468-6-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=aisheng.dong@nxp.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=patchwork-lst@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@kernel.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).