arm64: dts: imx8mq-evk: enable watchdog
authorBaruch Siach <baruch@tkos.co.il>
Sun, 9 Dec 2018 14:26:11 +0000 (14:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Sun, 16 Dec 2018 09:28:02 +0000 (17:28 +0800)
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>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-evk.dts

index 04ce13f855c2d305ef6b742accb0e7a7094103c3..64acccc4bfcb4d1c0cf834e42f031b99a4d8316b 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+       status = "okay";
+};
+
 &iomuxc {
        pinctrl_fec1: fec1grp {
                fsl,pins = <
                        MX8MQ_IOMUXC_GPIO1_IO04_USDHC2_VSELECT          0xc1
                >;
        };
+
+       pinctrl_wdog: wdog1grp {
+               fsl,pins = <
+                       MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B            0xc6
+               >;
+       };
 };