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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 89CF9C433FE for ; Mon, 3 Oct 2022 13:59:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 751F984B42; Mon, 3 Oct 2022 15:59:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664805580; bh=Q8x1FtaR/gEgBmtNjcwEECUDwCzFMXwraO5WvyoBBk0=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=TtMMIgTkXZVW9ZKGIKprgPC8Iqm0Tw6LkRby6Sv6DyXL1aH6VSJfpsdItNtPdFh3d qHihX+YU5NDFbHzTSCgwGZI7Gp4NOgOa57/axDerLa8QHyC6RMxq0tEHR9M9sgLRs9 2vs2TyuvIsbCQZVHFWkYmjp6wCYzAdLsxetPurqpVtWgAGoVjiM4P8+Pntomkdp9/1 hHNWiJ4taDCtVZfDS1iideCVe86YDIvTomaeHif+JtDHDpJt32RqiYg92gt55pfpt3 hsBhoqfEUo8msdDFCxdklyEJYl/LPBWkDrwpVMaxdlHXX1xYZ/Mo10VioQ5R5hvp7N 7p4bHUzh7oN1g== Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:70a2:2264:8903:4779]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7FD0384AEB; Mon, 3 Oct 2022 15:59:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664805578; bh=Q8x1FtaR/gEgBmtNjcwEECUDwCzFMXwraO5WvyoBBk0=; h=From:To:Cc:Subject:Date:From; b=trHEayXydc66Ma6cja1eJJaqhcOgYnLrU6GMG79y9UXMVbZvVPY9HB7LYbzXuFlOX 98Z25TgL0BeXoMWNNcPae6o371S9RdCBYP2JS2bJVVTeUzvQLg2ZwMSgaCpJ/7PhDH yvjR1MW5pEUto4FdjeX/vM36wSzoNuuvtkkvN8L7UIBNgry0AGb0yyFRS8uhZKioOo JLJfnNjqj33xJP6qre/H8+J4vP2rKmy6pUnzcabfgwxjKP2jBZMIqFpay5qF9KoVvk kMQM/oChnBCG2NIV/fxNPNojLecB/nTglJRwXknpLcZVqSAL2eFibu/oIuiEcsgsJt Rm6Ccd4zyCEyQ== From: Fabio Estevam To: trini@konsulko.com Cc: sbabic@denx.de, tharvey@gateworks.com, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH] imx8mn-venice-u-boot: Fix broken boot Date: Mon, 3 Oct 2022 10:59:24 -0300 Message-Id: <20221003135924.385762-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean When the imx8mm.dtsi file was pulled in from Linux, the UARTs were moved into an spba sub-node which wasn't being included in the SPL device tree. This meant the references to the UART weren't being handled properly and when booting the system would constantly reboot. Fix this by adding the spba node to the spl device tree to restore normal booting. Based on the patch from Adam Ford for the imx8mn-beacon-kit-u-boot board. Fixes: 4e5114daf9eb ("imx8mn: synchronise device tree with linux") Signed-off-by: Fabio Estevam --- Hi Tim, Could you please test this patch? It fixes boot regression on imx8mn-evk and imx8mn-beacon. arch/arm/dts/imx8mn-venice-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx8mn-venice-u-boot.dtsi b/arch/arm/dts/imx8mn-venice-u-boot.dtsi index 9fb3871452..9debf9675d 100644 --- a/arch/arm/dts/imx8mn-venice-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-venice-u-boot.dtsi @@ -20,6 +20,10 @@ u-boot,dm-spl; }; +&spba1 { + u-boot,dm-spl; +}; + &clk { u-boot,dm-spl; u-boot,dm-pre-reloc; -- 2.25.1