From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D49D9C433EF for ; Sat, 9 Oct 2021 20:42:59 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33BD460E0B for ; Sat, 9 Oct 2021 20:42:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 33BD460E0B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 201F783699; Sat, 9 Oct 2021 22:42:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 9BAFE83695; Sat, 9 Oct 2021 22:41:54 +0200 (CEST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 74F8983681 for ; Sat, 9 Oct 2021 22:41:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=ziswiler.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=marcel@ziswiler.com Received: from localhost.localdomain ([198.134.98.50]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1MC3TF-1mTUHV1B8P-00CQsc; Sat, 09 Oct 2021 22:41:36 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Cc: Heiko Thiery , Frieder Schrempf , Fabio Estevam , Stefano Babic , Marcel Ziswiler , "NXP i.MX U-Boot Team" Subject: [PATCH v6 11/11] verdin-imx8mm: fix watchdog pinctrl issue Date: Sat, 9 Oct 2021 22:41:13 +0200 Message-Id: <20211009204113.1208641-12-marcel@ziswiler.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211009204113.1208641-1-marcel@ziswiler.com> References: <20211009204113.1208641-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:G3pCoynaJQc8IMvk+BHRCbD4NP/8/rB3ZpJaPqNIT/50D230kEJ C/R3PLNMwrbQfqxDorIZBrS+TR58K39suP3y/W9GI/Lu0S3ezjhJgeH3b9jWc8nXSAFzQk7 hOFgpbsUE+EYVklE7N3iHgEl6R1ILgtwV8JFer/C4sNYSkGQxqy73jKsjhH0q1ejtUgvz8P rwgqoR8cMdQDdH9pEokxg== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ij5ST3IWesM=:jMpPnWnWMUcwyCOYtN3yMw PMxkGnYzILAQaJjIUjtSo2AQVvWx6PIwUE9z/7W77CiwkIbmjimzTfEGR/D3JlZN+vCvMTuKY ngbq2gARW1Y33XYLFBTEzBgRzPEtLuVSC9VZqwU4QeIVezCHZu357y38v7AzahTcc/62WTL5X MJCad5VL6t0DweLZJPmFqMbFwRsLOWiT3oz+R5XX6EkhJpWRqtGX5VMzdRrvNfL8c2iucFwOy eN9zGkPfiCv1xGGHByDXRfHwVESsN0W8qMf12n+e2DLr2tQGQiimozYgTvAi6a21EhCqSyqmy dgncxWmjwEONaKBzJP0794yqopVo5TN+iuer2uU9aNPmjKjaowU+0sz9+LPEI0Vtu1ZR7xLmB kGrRNCwGQQYC3jRSg2i+Cx6lKfyTF9U958Ba/nOFWBtCiANJ7xWQcy83Rpq9XfNYrzp1mNzjE m/7AxlvmjrRF7XwbbrzgfLMeLgTi/t/rlCSYb3WDzJ2+VBRrnrClBXTGnM2D8pupaV3NMoy7p ZlyDFoXXGgSUdpDdX7daAkP0RAJA3QncbKNtZGAlWtKbK9fo0/HgRkRCJS3aSzbmn9gy5tukT Ex+eC9btrCxHJ7uRzaiocyEhutX9u3SOwacZhpI4XVsP6LV+2TCwUwyzJ6R27FQHj6DNVJhgW Z9btxZ+BqsEmG3Vxnbcb79ekFTE4T766DqStvfoXuWpgOZUdMS1LxmBE2onpZx/he/IMYEJUg Qubrx4DTAwr1zt2Ysad4Ca1Uk0cDxUFGMyVP4A== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Marcel Ziswiler Finally, found the root cause of the issue already once mentioned back here [2] which caused the following error message during boot: imx_wdt watchdog@30280000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19 Turns out while the watchdog node itself was already u-boot,dm-spl its pinctrl node was not which caused it to be unavailable at that early stage. Note that any and all other boards I checked also seem to be missing this. However, I can't judge whether or not they might indeed need a similar fix or not. [2] https://marc.info/?l=u-boot&m=161786572422973 Fixes: commit d304e7ace3a6 ("ARM: imx8m: Fix reset in SPL on Toradex iMX8MM Verdin") Signed-off-by: Marcel Ziswiler Reviewed-by: Fabio Estevam --- (no changes since v2) Changes in v2: - New patch fixing watchdog pinctrl issue. arch/arm/dts/imx8mm-verdin-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi index 6a7e9d776c8..9fb4d8aa8c2 100644 --- a/arch/arm/dts/imx8mm-verdin-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-verdin-u-boot.dtsi @@ -76,6 +76,10 @@ u-boot,dm-spl; }; +&pinctrl_wdog { + u-boot,dm-spl; +}; + &uart1 { u-boot,dm-spl; }; -- 2.26.2