Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp483503ybm; Thu, 28 May 2020 07:46:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwvY+Zt+aoQJa/wTRhq2yzQaPRqJJ8t0Ty2I4SOnSJLCuwYe84aneriTHyUlv4hcxfhjM/ X-Received: by 2002:a17:906:2a84:: with SMTP id l4mr3313810eje.6.1590677200685; Thu, 28 May 2020 07:46:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590677200; cv=none; d=google.com; s=arc-20160816; b=IFESBUujwWVdk8mJRAJbshRpcXA5c+3LIgkOd2d6ltRofnyqlPagGu05d81zsiPS8r mDSp6CYjYCzqe68rrKuyd8kg3HyqO8vJ+l5jKX8+PVraQ5nPhvUnAuLu37GztLD++QrF HpWoLbQIMJAewSgaICk3lQnk8TQsIKL2BM8x7ngfDxxryHWstYEzjwdS2rVZL+qA5SvW ZTP84VXnptPM+SGB04Ik0YfY3OA9zATHVi/Wg0xFKIBJYP0OUIeAhY8krxyurLWIsk+w xO1RKj9IoFwpF4CDMD6FAizQSrV+4zRL56E77BgfJAhvj+ZNiuPdEZumfA9cS6uDEj3z 6TsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=9arZpcwTQUs7owUyDoLl64ktZ2KQUAt/5GwnqjQmXes=; b=JxRyVt4lCY/NYlbXOchiSSVxWEvaDUv38K+33oXF6l9apVE2ehOAuPloXG84csVpg7 mhLCzuC3yvruPZ3xuH7RRwnLa6taOo5kiGGARNObdvf6GMpAiNLawQWD6lBuTSca5SjM fBT+96/cavHsfAUQ1fAPnUETDS59/3YtFPRKSTnidqkRToRNWMF1YwMrGZhHWD29aJe9 LwZN/iHO9qbmL9j75dh/sgtJcQZMgcZM0mS2dkIdTX5Bkb9PqM+lAViSvmX7OkDIfOoi atKMmmoIGPCL9Vqnv+vuZjGq4ccEPbKML9oLcjGIK5+GlqEfib8XupCOEpTkoaW2k6f1 isdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s10si3957051ejq.400.2020.05.28.07.46.16; Thu, 28 May 2020 07:46:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728552AbgE1Onx convert rfc822-to-8bit (ORCPT + 99 others); Thu, 28 May 2020 10:43:53 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:44092 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbgE1Onr (ORCPT ); Thu, 28 May 2020 10:43:47 -0400 Received: from sntmail14r.snt-is.com (unknown [10.203.32.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id 19DD067A7D5; Thu, 28 May 2020 16:43:43 +0200 (CEST) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail14r.snt-is.com (10.203.32.184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Thu, 28 May 2020 16:43:42 +0200 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1913.007; Thu, 28 May 2020 16:43:42 +0200 From: Schrempf Frieder To: Fabio Estevam , Schrempf Frieder , Krzysztof Kozlowski , "NXP Linux Team" , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo CC: "stable@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Rob Herring Subject: [PATCH 1/2] ARM: dts: Move watchdog from Kontron i.MX6UL/ULL board to SoM Thread-Topic: [PATCH 1/2] ARM: dts: Move watchdog from Kontron i.MX6UL/ULL board to SoM Thread-Index: AQHWNP5irO3mzmVdf0KZsIQGwMz0Bw== Date: Thu, 28 May 2020 14:43:42 +0000 Message-ID: <20200528144312.25980-1-frieder.schrempf@kontron.de> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.17.1 x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: 19DD067A7D5.AF5E3 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, krzk@kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, stable@vger.kernel.org X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frieder Schrempf The watchdog's WDOG_ANY signal is used to trigger a POR of the SoC, if a soft reset is issued. As the SoM hardware connects the WDOG_ANY and the POR signals, the watchdog node itself and the pin configuration should be part of the common SoM devicetree. Let's move it from the baseboard's devicetree to its proper place. Fixes: 1ea4b76cdfde ("ARM: dts: imx6ul-kontron-n6310: Add Kontron i.MX6UL N6310 SoM and boards") Cc: stable@vger.kernel.org Signed-off-by: Frieder Schrempf --- arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi | 13 ------------- .../boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi index f05e91841202..53a25fba34f6 100644 --- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi +++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-s.dtsi @@ -232,13 +232,6 @@ status = "okay"; }; -&wdog1 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_wdog>; - fsl,ext-reset-output; - status = "okay"; -}; - &iomuxc { pinctrl-0 = <&pinctrl_reset_out &pinctrl_gpio>; @@ -409,10 +402,4 @@ MX6UL_PAD_NAND_DATA03__USDHC2_DATA3 0x170f9 >; }; - - pinctrl_wdog: wdoggrp { - fsl,pins = < - MX6UL_PAD_GPIO1_IO09__WDOG1_WDOG_ANY 0x30b0 - >; - }; }; diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi index a17af4d9bfdf..fc316408721d 100644 --- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi +++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi @@ -57,6 +57,13 @@ status = "okay"; }; +&wdog1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdog>; + fsl,ext-reset-output; + status = "okay"; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_reset_out>; @@ -106,4 +113,10 @@ MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x1b0b0 >; }; + + pinctrl_wdog: wdoggrp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO09__WDOG1_WDOG_ANY 0x30b0 + >; + }; }; -- 2.17.1