From patchwork Mon Oct 3 13:39:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1685555 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Jpvh7wbQ; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=xmZaMXqD; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Mh24v37BSz1ypH for ; Tue, 4 Oct 2022 00:39:43 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6E0ED84AEB; Mon, 3 Oct 2022 15:39:36 +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=1664804376; bh=V40+AHnEN5VnyookUrzi/DFWgyiF2peZze+gNvg0Y3I=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Jpvh7wbQPCVWrOE9xhmo/WPMuTxrW1kxmG9nnkNEzRf2X8tCDR67khduURSUdAtIq Qq0J8pdKzvcLkbZDCgTr1d3+7UzORWDSfSx2GfiyebRoS4Sck87Zu4koSaI8GWU1qG Bs2KjClHLFPkIiOi1xpzdurfvfk75p/MJcgEEVrNYZFYhSxIGl5h8/VYMQSypZli9m vZr0OpnhW44Pvvvr9kZen3SuPvccSOiSjAk0XPBNyk3bS1Wt6WbCQ25t4JUYqRtpD4 5ohVBO4ja4NbvUEeBeQN4Ehg5L89Kv8v9B8SUsM2AnlfKbWZnBrEIGmkIAwY4TjNP6 rVJMHsYiISoRQ== 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 A324284AD5; Mon, 3 Oct 2022 15:39:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1664804375; bh=V40+AHnEN5VnyookUrzi/DFWgyiF2peZze+gNvg0Y3I=; h=From:To:Cc:Subject:Date:From; b=xmZaMXqDUxjvvoQISiisLKvlK5KNHDdv1lHfyAhno98Q78dkIBB0lTmk8chQ6ce5c CRxEryaUcy3vXum5z8a3mIGZF2b+SMFZKNSFa52v9HtwL2r9tmVYFoZHApakoXxtGA lnP9ls0Eu8+JteFOcTFhuUA/BXvryx9TfS/VqbTM7CUa/Xn5HU8o8kjM4knkqzAEun nX1/0SLaybgqixiklWkMGagICoPwY/b9NYS28dkJPwZQhf8zgQPNOJol1gQ52Gr5qr QjN+T4qQqHYHLNSoDygIdE8p0jwWKHacaw/zeYDpI0RJ4/QD++v1JGbddzNlV6ErPO X9YN+IE56xWgg== From: Fabio Estevam To: trini@konsulko.com Cc: sbabic@denx.de, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH] imx8mn-ddr4-evk-u-boot: Fix broken boot Date: Mon, 3 Oct 2022 10:39:21 -0300 Message-Id: <20221003133921.372072-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 Reviewed-by: Michael Trimarchi --- 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;