diff mbox

[1/2] ARM: dts: imx7d-pico: Add watchdog support

Message ID 1495552569-18567-1-git-send-email-fabio.estevam@nxp.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam May 23, 2017, 3:16 p.m. UTC
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>
---
 arch/arm/boot/dts/imx7d-pico.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Shawn Guo May 25, 2017, 7:51 a.m. UTC | #1
On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
> 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>

Applied both, thanks.
Fabio Estevam June 1, 2017, 1 p.m. UTC | #2
Hi Shawn,

On Thu, May 25, 2017 at 4:51 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
>> 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>
>
> Applied both, thanks.

Maybe you forgot to push them to your tree?
Shawn Guo June 4, 2017, 2:32 a.m. UTC | #3
On Thu, Jun 01, 2017 at 10:00:25AM -0300, Fabio Estevam wrote:
> Hi Shawn,
> 
> On Thu, May 25, 2017 at 4:51 AM, Shawn Guo <shawnguo@kernel.org> wrote:
> > On Tue, May 23, 2017 at 12:16:08PM -0300, Fabio Estevam wrote:
> >> 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>
> >
> > Applied both, thanks.
> 
> Maybe you forgot to push them to your tree?

Hmm, it's been on imx/dt for quite a few days, and for-next needs to be
updated though.

Shawn
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx7d-pico.dts b/arch/arm/boot/dts/imx7d-pico.dts
index ebda3df..f874352 100644
--- a/arch/arm/boot/dts/imx7d-pico.dts
+++ b/arch/arm/boot/dts/imx7d-pico.dts
@@ -284,6 +284,13 @@ 
 	status = "okay";
 };
 
+&wdog1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_wdog>;
+	fsl,ext-reset-output;
+	status = "okay";
+};
+
 &iomuxc {
 	pinctrl_enet1: enet1grp {
 		fsl,pins = <
@@ -385,3 +392,11 @@ 
 		>;
 	};
 };
+
+&iomuxc_lpsr {
+	pinctrl_wdog: wdoggrp {
+		fsl,pins = <
+			MX7D_PAD_LPSR_GPIO1_IO00__WDOD1_WDOG_B	0x74
+		>;
+	};
+};