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 D70CCC76188 for ; Mon, 3 Apr 2023 17:03:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6316985B74; Mon, 3 Apr 2023 19:03:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="pe3laDh4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7CE9A85C54; Mon, 3 Apr 2023 19:03:22 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8533C85814 for ; Mon, 3 Apr 2023 19:03:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=gadiyar@ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 333H3Gfh107753; Mon, 3 Apr 2023 12:03:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680541396; bh=qa5hgmRNWS8pJkkI7RWYZXap0c0krR/+5s5SJ9WXSwE=; h=From:To:CC:Subject:Date; b=pe3laDh4a47x6kOPkQ2KGj6T+msHUxqTgJHV9BGFyEisDJeTcx4tYJ3fHUhGN755i UlhFsPnIaxs+X7whua9ksBYV0DkbawKBubI0Fk9kqWqsW3APOEKznxAO51g2iqsq7L 9xzbExmW4W1xTTwcJjx4oKFe6OnynhbEKyupuHFM= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 333H3G14013364 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 3 Apr 2023 12:03:16 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 3 Apr 2023 12:03:15 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 3 Apr 2023 12:03:16 -0500 Received: from uda0393673 (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 333H3FIF037115; Mon, 3 Apr 2023 12:03:15 -0500 Received: from a0393673 by uda0393673 with local (Exim 4.95) (envelope-from ) id 1pjNaN-004m20-SR; Mon, 03 Apr 2023 12:03:15 -0500 From: Anand Gadiyar To: , Tom Rini CC: Sinthu Raja , Anand Gadiyar , Bryan Brattlof Subject: [PATCH] arm: dts: k3-j721e-sk-u-boot: fix boot on j721e SK Date: Mon, 3 Apr 2023 12:03:12 -0500 Message-ID: <20230403170312.1137936-1-gadiyar@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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.8 at phobos.denx.de X-Virus-Status: Clean From: Sinthu Raja J721e SK has been broken since at least March 2022. The main-navss and mcu-navss nodes were renamed and this caused the A72 SPL to fail early in the boot even before the serial port was enabled. Fix this. A later patch series between v2022.07 and v2022.10 additionally broke boot on this board by introducing hbmc nodes which are not present on this board. The right fix is to disable these by default in the SOC dtsi file, but for now we can also disable them in the u-boot dtsi. With both these fixed, we can now boot the j721e SK board fully from mainline u-boot. Fixes: 58d61fb5a77ef ("arm: dts: k3-j721e-sk: Add initial A72 specific dts support") Fixes: 297daac43afb9 ("arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node") Reported-by: Anand Gadiyar Signed-off-by: Sinthu Raja [gadiyar@ti.com: update commit description] Signed-off-by: Anand Gadiyar Cc: Bryan Brattlof --- Hi Tom, we'd really love to see this make it to 2023.04 - Bryan and I spent a whole week narrowing it down, and this gets the board working again. Thanks! - Anand and Bryan and Sinthu arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-j721e-sk-u-boot.dtsi b/arch/arm/dts/k3-j721e-sk-u-boot.dtsi index 2d65e2db42..f529e7032a 100644 --- a/arch/arm/dts/k3-j721e-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-j721e-sk-u-boot.dtsi @@ -33,7 +33,7 @@ &cbass_main{ u-boot,dm-spl; - main_navss { + main_navss: bus@30000000 { u-boot,dm-spl; }; }; @@ -49,7 +49,7 @@ u-boot,dm-spl; }; - mcu-navss { + mcu_navss: bus@28380000 { u-boot,dm-spl; ringacc@2b800000 { @@ -237,6 +237,10 @@ u-boot,dm-spl; }; +&hbmc { + status = "disabled"; +}; + &ospi0 { u-boot,dm-spl; -- 2.34.1