ARM: dts: imx7d-pico: Add watchdog support
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 23 May 2017 15:16:08 +0000 (12:16 -0300)
committerShawn Guo <shawnguo@kernel.org>
Thu, 25 May 2017 07:50:24 +0000 (15:50 +0800)
imx7d-pico has the WDOG1_B pin connected to the PMIC, so add the
wdog1 node and use the 'fsl,ext-reset-output' property to
properly describe it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d-pico.dts

index ebda3dffc27040bd3dffd0f27a8a41d3722becd0..f874352bb496aa8b3707d127d89edb673d714b8d 100644 (file)
        status = "okay";
 };
 
+&wdog1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_wdog>;
+       fsl,ext-reset-output;
+       status = "okay";
+};
+
 &iomuxc {
        pinctrl_enet1: enet1grp {
                fsl,pins = <
                >;
        };
 };
+
+&iomuxc_lpsr {
+       pinctrl_wdog: wdoggrp {
+               fsl,pins = <
+                       MX7D_PAD_LPSR_GPIO1_IO00__WDOD1_WDOG_B  0x74
+               >;
+       };
+};