From patchwork Fri Sep 18 11:29:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 11784729 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 388BD6CA for ; Fri, 18 Sep 2020 11:33:28 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E793621D92 for ; Fri, 18 Sep 2020 11:33:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="a0jnRFUs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="GQ9hyg4r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E793621D92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=fF4xckplGiDH0rG8vhAc/50LN/LOlGx/N8McIShjS1k=; b=a0jnRFUsgAGsDbXBy48yJE7FYr 7txbi2C1JFkfU+PMV8Bj5a0VPDYiwT9c7GqO2v1/RXi+WdwhuWGMXi4GkkWNVkrhYC9jIkvpp0zdc w4f0w7XZSTJgbfV2FKYELb2546IfxZz2I3BVgx0x92SIwxUBZnqeY6DOuXwTD63ivDNRtPnjm4PO/ FxnxwHNC7oJuCYViLwbRlXH6evrjaXplLtMy1senwnYbPmRO5JqkV5glXhrMThBaNuGvTPEwDwfOJ q4is+QaYRCPsP87C0jJE2ldrRvxGKOiS5A0WT5bJKvVYdP+BCsEn+WVtc+trGqWzeCIaU4jWxCiLt cQYMSU/A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEcG-0002Y1-Af; Fri, 18 Sep 2020 11:31:48 +0000 Received: from mx1.tq-group.com ([62.157.118.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEbu-0002Pm-O5 for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 11:31:28 +0000 IronPort-SDR: hH7aTsrUf+zwXkTcUYAH3qH8hN8InvdmqPLEddH5RpGyUmWTTlQx4+smv539F5iAL1Kc6LOT5l stTCB80tuzswU3ZCbpCJRXoAAISmnSU5gBdk+s2niaPSCPpakSoAtAsfKoDhaJ9ORS2lUstjeQ hM3y1/+tmPSEszPKqfp6GER4zULEhF8NxCbQjk1O6cmzGzQNbMtCv38SPyl9r6nuA6Pd/hiK15 2d77DvIH0MVOKgqsmR83EP3pL6zxk9La0P1sUPtNUMSU3B3M76XNoxS/q10zwx0Bz5LKVqd/l/ 83E= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924486" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 18 Sep 2020 13:31:13 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 18 Sep 2020 13:31:13 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 18 Sep 2020 13:31:13 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1600428673; x=1631964673; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=RhJw7qVs1U+Nud40Q7EXtizW37E1QKriVVP83cxxSj8=; b=GQ9hyg4rDz+aYmt3BuycS10m4pGdiONPfpk7JirooyRuCoSUYWw6mbi0 8oNtqcZOudh6euojwrZ6lQ/8ZfE7gOzQargV6x8OT/a2qNXeYpxVhTkgU atxCS9Udpi8Zr8kzEjc5K9tfMvmdrfyMOSzivASJDGHlYO+kRP1D43Fs9 fgwg0vDBXwVYFWKS4nf0oCz/WJtrD3wzWycyEuBEj98wW8NtVPA3vr1iy X+fRIwoCqVNwaro1n9PMyEA6jXSOTCpgNzeQ0z6bWMqeAeOG/oML1EKel vIYErjSnBAcHHEJ6B/5qKPnVLgspdIeooh7UJZANo6Pzu9ukmsMXocQ1p w==; IronPort-SDR: C4I4UKC8x5hz4y9YcaJgmzxM2zAky5mpBu3LKpRNZV2V5gr9kCVA2XqddPg9MDFMEnZ404Daer Je42DLHemJAW4eY9W7AF1+YDlxRmQPll+bCEZD6QZrRxhm52zhnTW0XpKSieXk0cpBkkUi6ubL 2IeIZqrRuM2Lwc8YKCjKIIAKTIgnYp3wHeJZujnqaFlN7FC9X5EBb8iypMk187woxrYxgKDP1V MV/UfYpuAALy41TcpJA+52WUVsFkS/srllYctszL5fbyS8mMMx5wjfp6kSm/zKNeWdBu1U8QWF 7PE= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924485" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Sep 2020 13:31:13 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 3B74C280070; Fri, 18 Sep 2020 13:31:13 +0200 (CEST) From: Matthias Schiffer To: Rob Herring , Shawn Guo , Sascha Hauer Subject: [PATCH 07/13] ARM: dts: imx7-mba7: configure watchdog Date: Fri, 18 Sep 2020 13:29:36 +0200 Message-Id: <20200918112942.1367-7-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> References: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_073127_014318_DDE6BA42 X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Schiffer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The external watchdog reset is necessary, as the internal reset is unreliable on i.MX7. Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/imx7-mba7.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index 9be225bb135a..84b5809f384c 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -467,6 +467,12 @@ MX7D_PAD_LPSR_GPIO1_IO05__GPIO1_IO5 0x59 >; }; + + pinctrl_wdog1: wdog1grp { + fsl,pins = < + MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x30 + >; + }; }; &pwm1 { @@ -543,3 +549,9 @@ no-1-8-v; status = "okay"; }; + +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog1>; + fsl,ext-reset-output; +};