From patchwork Wed Feb 7 15:12:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10205375 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F045660247 for ; Wed, 7 Feb 2018 15:19:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE11C287E1 for ; Wed, 7 Feb 2018 15:19:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D19B128EA4; Wed, 7 Feb 2018 15:19:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E4394287E1 for ; Wed, 7 Feb 2018 15:19:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ngLUotlHRs/+ef+fZL2pi45xFkTqihya+uE4zQQxn4c=; b=oBkE+iHIVTUogZNbZiNbgngJCm C0SE7iW0bdubmkBFadJSa6CCDh+RQWdk72MO/RUiNn/TFIDbQBJhK6cz+8Rt3fXCMPxBPHjUj7e1G VsSypdTjmKaK4a6UuC/+/DDrF3B1z0TAKu5+68+l30kxNqrSKrkaS9WkRSU6rR/UPk/DC+h47G+Jl 0T0XzFhUCD61GhlAuay6+VygUSndbVfMYQsEKo/2liaaNa/+TEkS/9Zk2kzA97qpMUlGgML7XGFkl cBxe2+uzsWTUt19I06YF//KguSc2mybQyPbvODgd51Eeu+QP8lYl7TWcRzR4w/T1QdPdYeCyy1GBF t6lZIdWg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ejRVj-0002QX-TY; Wed, 07 Feb 2018 15:19:47 +0000 Received: from guitar.tcltek.co.il ([192.115.133.116] helo=mx.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ejRVe-0002Fk-Dk for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2018 15:19:45 +0000 Received: from sapphire.lan (unknown [10.0.4.3]) by mx.tkos.co.il (Postfix) with ESMTPA id 90DC8440A00; Wed, 7 Feb 2018 17:19:28 +0200 (IST) From: Baruch Siach To: Shawn Guo , Sascha Hauer , Fabio Estevam , NXP Linux Team Subject: [PATCH v2 2/2] arm64: dts: fsl: imx8mq-evk: enable watchdog Date: Wed, 7 Feb 2018 17:12:50 +0200 Message-Id: X-Mailer: git-send-email 2.15.1 In-Reply-To: <57855fb372ae19aad54c39c0e18a54cb12ed6915.1518016370.git.baruch@tkos.co.il> References: <57855fb372ae19aad54c39c0e18a54cb12ed6915.1518016370.git.baruch@tkos.co.il> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Baruch Siach , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Lucas Stach MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The external nWDOG signal connects to the EVK board reset circuit. Tested on the i.MX8MQ EVK rev B3. Signed-off-by: Baruch Siach Reviewed-by: Fabio Estevam Tested-by: Lucas Stach --- v2: * Rename the fsl,pins to pinmux * Drop input-schmitt-enable --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index c0e5ee5d6243..15be7ee9c9e4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -170,6 +170,13 @@ status = "okay"; }; +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; + status = "okay"; +}; + &iomuxc { pinctrl_fec1_mdc: fec1mdcgrp { pinmux = ; @@ -402,4 +409,11 @@ bias-pull-up; input-schmitt-enable; }; + + pinctrl_wdog: wdoggrp { + pinmux = ; + drive-strength = <6>; + slew-rate = <0>; + bias-pull-up; + }; };