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 D8E81C433FE for ; Mon, 3 Oct 2022 14:02:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D2C9D84E00; Mon, 3 Oct 2022 16:02:21 +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=1664805742; bh=w50ELYFkEnpNSVQWvpGpX6C5ddl0ApK6jDiv4fFBNqw=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=rptvLA8JBcHF0GpWea9417efGtr6LkDqkvsm82I8UI4FLZlHDX3CjCvf8RUf3poTC yk99sPHnxf3sr2SUH1MP6Gbx04j9H9ruaUhGYg/G0vwDN0i2zaFeZPAqZsmS1Izumc 7CHs15/HbbLi3j5bVTiFTkgRdKgml0vDmxmy284Homr6EisYT2wjZ4lV+rLnGVEIxq ijogsAhDC/Lo+rGRGJR7hcyUElg6OeQPH9LsyhnDlIb6rOahXA/etcR1JBOTeTqcyj 83RaisYwmxr7nsA9AGomj8KE+7oo85xKYrww/0I58qzIewfF+Lany0Mqb2Ai1LvoXX 1FyuvEAWtwcKQ== 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 79EF684DF8; Mon, 3 Oct 2022 16:02:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664805739; bh=w50ELYFkEnpNSVQWvpGpX6C5ddl0ApK6jDiv4fFBNqw=; h=From:To:Cc:Subject:Date:From; b=Eq13WYrdRGSnPq3pbkUWZlGW7N7mwPGUV+3mVUOX0AFfzN2HSqSSBUPLLmYmzUaQE Pdl80OLpLQCCUN8KpANjkGrrqbHTRDaiMlLAFBw6ccmVEJA1X0qD7Tbp0igEKdHzC4 t6Pq8nEUpbq2sM7Zbj1fr4OvDSl3CIsMV+eLlbuZkSpwB0z06sP95XUh1NHSVwtNRV tZtTkkE/Sc1b9K8wgZRhhdgeT8o08Ihkto+UAmx0wBdFzNdPdTIHmDisuIwlBCSzVw 7sHIzB3OVyIi2deObytyJicUJ8GJEpPsuK7HUX2P5LU2gU/HnkfNJ+9TGXlVcQFLLP ntrZ6ugtiQxMw== 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-ddr4-evk-u-boot: Fix broken boot Date: Mon, 3 Oct 2022 11:02:03 -0300 Message-Id: <20221003140203.386230-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 Tom and Stefano, I know today is release day. Could this one be applied directly? It fixes a boot regression. Thanks arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi index 78773c198e..3a9ba8b8c9 100644 --- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi @@ -26,6 +26,10 @@ u-boot,dm-spl; }; +&spba1 { + u-boot,dm-spl; +}; + &clk { u-boot,dm-spl; u-boot,dm-pre-reloc; -- 2.25.1