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 40BC7C4332F for ; Mon, 3 Oct 2022 14:01:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C044884DF9; Mon, 3 Oct 2022 16:01:29 +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=1664805690; bh=7z9V/qm87fjc67BLoO7O+l0LbaAE0HM6+Zj6OXeP5rE=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=yBeRVHW0zYet4gR0FbWbwvvcvCMY7h9ypR7XrzdUMBYeQe54cBFDvJTQSK3MMe1oZ Qcxtho1g/n+PL7MnsNI/NY/0lbyEAtrKjxjVSCVJtd9t+GvuDzr0hYHwQ6gJDyN4Gt mHJ6NteU7QUgZCGuzQ4rSH0SeouMh+b5ile4uz5W/VxGP20w9P9Ok1QOVtN62Vgled RPbw6rAn+plgWpcVNCX0gTmWd8Q2sbTCOsvT5X2Aa8iRfCIflbINe9WB9VBPfHLu1F f570UUOGpF6xzj9aBaDqDJoq79q3gZpmPdz0KgNZ6NBCB69E69S/7VleRdRnsUtUio MY1ydi2mM1v0A== 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 3CDF284DF9; Mon, 3 Oct 2022 16:01:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664805688; bh=7z9V/qm87fjc67BLoO7O+l0LbaAE0HM6+Zj6OXeP5rE=; h=From:To:Cc:Subject:Date:From; b=I/j5d1TjCaN44I/OeBsPiO78/tPyMZsRxjCEZquwKuYK4N2Lwz2iRXeyqr+hq6eWS L7Z2ycuNLvLZGQRIfj6oxzt9ApX7SiEIQ3hVjoIMYUN45RxPRRaXg9pxiWPBf3FJhp rOe8pqsmvTl4VZdOYd9jqOLvmvUFce46DUiZwrDeytvhpaYG+pCW6jWDSte5wEuHPW BffJaYS+f+0CKJfza4ipK575xBp9j8nDlfFiCBUpPnuVZELqp8AxfhREMUDXu6a1yD 8rArH7evJ74A5HeqYndM1tASouUfhIZf3LTlEg4MOka4lVp0dADYCjzw9rbqTbiXBi rQ1lnO410wpsQ== From: Fabio Estevam To: trini@konsulko.com Cc: sbabic@denx.de, tharvey@gateworks.com, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v2] imx8mn-venice-u-boot: Fix broken boot Date: Mon, 3 Oct 2022 11:01:15 -0300 Message-Id: <20221003140115.386074-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 imx8mn.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 --- Changes since v1: - Fix typo in commit log: imx8mm.dtsi--> imx8mn.dtsi 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