From patchwork Fri Sep 29 13:46:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841310 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=KkkRe6gV; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs8x50S0z1ypT for ; Fri, 29 Sep 2023 23:47:12 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D0EAE86EE5; Fri, 29 Sep 2023 15:47:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="KkkRe6gV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1840B86EEE; Fri, 29 Sep 2023 15:47:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D33DD86EEB for ; Fri, 29 Sep 2023 15:47:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 47EFDCE2437; Fri, 29 Sep 2023 13:46:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7BE7C433C8; Fri, 29 Sep 2023 13:46:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995217; bh=LA/2huYaA28ScN8knlFExrCUa+ErInfUW08PAsDONQg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KkkRe6gVgcTxjptfWdF1iSm1YQdkyShlVY9MRpXo8ixlUBTxyHDiAnEJtcTFQlxsn QjiDURDrjCkZDADCi09/YT0FMdMFbLhRZubvSFQc0kl6V07QoSZscTYjRFk1nn2cE4 Cqp8I4A2bIWqjWP4c9DkcTaQqanx4JwLq7DJRVS4CTl9zwVEhrIfQ+FivPbvtRlbE6 hatkrCZhOTUmsEK2AC05z7eZMQ+o/AYTGm5vFbeblGKZPFRc/i0+Z30geEfR20dlbY u/Q+iMhnslYhnO6tk+AYjbWNk8TAZDIJoHaaF1/dzDAfJA2ZW1BU0KO+v+VEYiPP3n /4fMan3W78nlg== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 1/6] arm: dts: k3-am64-evm: Fix boot Date: Fri, 29 Sep 2023 16:46:41 +0300 Message-Id: <20230929134646.214781-2-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in sk-u-boot.dtsi as 'bootph-all'. Move vtt_supply and cbass_mcu node to -r5-evm.dts as it is only required for R5 SPL. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 56 ++++++++++++--------------- arch/arm/dts/k3-am642-r5-evm.dts | 8 ++++ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index c85f57d40f..d06955dfbc 100644 --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi @@ -11,109 +11,101 @@ }; memory@80000000 { - bootph-pre-ram; + bootph-all; }; }; -&vtt_supply { - bootph-pre-ram; -}; - &cbass_main { - bootph-pre-ram; -}; - -&cbass_mcu { - bootph-pre-ram; + bootph-all; }; &main_timer0 { - bootph-pre-ram; + bootph-all; clock-frequency = <200000000>; }; &main_conf { - bootph-pre-ram; + bootph-all; chipid@14 { - bootph-pre-ram; + bootph-all; }; }; &main_pmx0 { - bootph-pre-ram; + bootph-all; }; &main_i2c0_pins_default { - bootph-pre-ram; + bootph-all; }; &main_i2c0 { - bootph-pre-ram; + bootph-all; }; &main_uart0_pins_default { - bootph-pre-ram; + bootph-all; }; &main_uart0 { - bootph-pre-ram; + bootph-all; }; &usb0 { dr_mode="peripheral"; - bootph-pre-ram; + bootph-all; }; &usbss0 { - bootph-pre-ram; + bootph-all; }; &main_mmc1_pins_default { - bootph-pre-ram; + bootph-all; }; &main_usb0_pins_default { - bootph-pre-ram; + bootph-all; }; &dmss { - bootph-pre-ram; + bootph-all; }; &secure_proxy_main { - bootph-pre-ram; + bootph-all; }; &dmsc { - bootph-pre-ram; + bootph-all; k3_sysreset: sysreset-controller { compatible = "ti,sci-sysreset"; - bootph-pre-ram; + bootph-all; }; }; &k3_pds { - bootph-pre-ram; + bootph-all; }; &k3_clks { - bootph-pre-ram; + bootph-all; }; &k3_reset { - bootph-pre-ram; + bootph-all; }; &sdhci0 { - bootph-pre-ram; + bootph-all; }; &sdhci1 { - bootph-pre-ram; + bootph-all; }; &cpsw3g { - bootph-pre-ram; + bootph-all; }; &cpsw_port2 { diff --git a/arch/arm/dts/k3-am642-r5-evm.dts b/arch/arm/dts/k3-am642-r5-evm.dts index 73461f8f6c..696735d8e2 100644 --- a/arch/arm/dts/k3-am642-r5-evm.dts +++ b/arch/arm/dts/k3-am642-r5-evm.dts @@ -40,6 +40,10 @@ }; }; +&vtt_supply { + bootph-pre-ram; +}; + &cbass_main { sysctrler: sysctrler { compatible = "ti,am654-system-controller"; @@ -53,6 +57,10 @@ bootph-pre-ram; }; +&cbass_mcu { + bootph-pre-ram; +}; + &mcu_esm { bootph-pre-ram; }; From patchwork Fri Sep 29 13:46:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841311 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Au+hnima; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs945my0z1yp0 for ; Fri, 29 Sep 2023 23:47:20 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4165D86EE1; Fri, 29 Sep 2023 15:47:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Au+hnima"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AA10286EAA; Fri, 29 Sep 2023 15:47:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9580186EF1 for ; Fri, 29 Sep 2023 15:47:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 94A05CE2398; Fri, 29 Sep 2023 13:47:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10BB3C433CA; Fri, 29 Sep 2023 13:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995220; bh=x+UcJrS7jDvCCTz7n4bL/O3Hzn+BlWmzHSk9UF+7nQk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Au+hnimaShEj9E7A6giJklJF06tgYn48/RnaAgFhOiL0FodxfdohBHofX57MLDxkD KRScjJn2wUBC68c2oGYHcAmu4hIosYEil3yCag/ZJCzmDQxPBIE60QKj0/5CwmQgtG kBjbFFsnU8vG+oQULj1AqaYiD9MtGlltqj89NbVuZyoadqfg+6Vap/EVLLfhddbNg8 agnI6QUrkULPCHYSAV9InoPsroS6wFIAfP/oZ7MZy22bpxhcYa66oWnCFljTT8UJUw tUFj1BgDk9rYOaV/65/bh0khqtbbeAG17+BgFuPCWMqOzTKSNjxUENRGOUvpHsgN2I 59e/6BXjENI6g== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 2/6] arm: dts: k3-am64-evm: Mark dependent nodes for pre-relocation phase Date: Fri, 29 Sep 2023 16:46:42 +0300 Message-Id: <20230929134646.214781-3-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean CPSW node needs PHY, MDIO, pinmux, DMA and INTC nodes. USB and MMC nodes need pinmux. Mark them as 'bootph-all' so they are available in all pre-relocation phases. Fixes below dts warning: : Warning (dmas_property): /bus@f4000/ethernet@8000000:dmas: Could not get phandle node for (cell 0) Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 48 +++++++++++++++++++++++++++ arch/arm/dts/k3-am642-r5-evm.dts | 8 +++++ 2 files changed, 56 insertions(+) diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi index d06955dfbc..953bbe9aaf 100644 --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi @@ -51,6 +51,10 @@ bootph-all; }; +&main_usb0_pins_default { + bootph-all; +}; + &usb0 { dr_mode="peripheral"; bootph-all; @@ -100,12 +104,56 @@ bootph-all; }; +&main_mmc1_pins_default { + bootph-all; +}; + &sdhci1 { bootph-all; }; +&inta_main_dmss { + bootph-all; +}; + +&main_pktdma { + bootph-all; +}; + +&mdio1_pins_default { + bootph-all; +}; + +&cpsw3g_mdio { + bootph-all; +}; + +&cpsw3g_phy0 { + bootph-all; +}; + +&rgmii1_pins_default { + bootph-all; +}; + +&rgmii2_pins_default { + bootph-all; +}; + &cpsw3g { bootph-all; + + ethernet-ports { + bootph-all; + }; +}; + +&phy_gmii_sel { + bootph-all; +}; + +&cpsw_port1 { + bootph-all; }; &cpsw_port2 { diff --git a/arch/arm/dts/k3-am642-r5-evm.dts b/arch/arm/dts/k3-am642-r5-evm.dts index 696735d8e2..64b3c3af63 100644 --- a/arch/arm/dts/k3-am642-r5-evm.dts +++ b/arch/arm/dts/k3-am642-r5-evm.dts @@ -74,6 +74,14 @@ ti,secure-host; }; +&vtt_supply { + bootph-pre-ram; +}; + +&memorycontroller { + vtt-supply = <&vtt_supply>; +}; + &sdhci0 { clocks = <&clk_200mhz>; clock-names = "clk_xin"; From patchwork Fri Sep 29 13:46:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841312 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Fm0oM74t; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs9H1dQLz1yp0 for ; Fri, 29 Sep 2023 23:47:31 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A3A9D86EF0; Fri, 29 Sep 2023 15:47:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Fm0oM74t"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 234F686EF8; Fri, 29 Sep 2023 15:47:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D579C86EF0 for ; Fri, 29 Sep 2023 15:47:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id BDFA7CE2398; Fri, 29 Sep 2023 13:47:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DE11C433C8; Fri, 29 Sep 2023 13:47:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995224; bh=WLpGeqb65OLkqIq4YyOTyJ64mHLi3LNQE6KQzzj1EeY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fm0oM74tk+2P4oNXCnBRUE9ukgVPbnvHNs/wvzsz9kKaPmMurjz8IGKdEbN1U3atj vI4chGu/QTXMbm3KfkeS93uZzDbW8cWYYd4LT5q8/nkNHBEY+DsAeuwJxrQzHWku7n JtKTHuyalrq8PBEqzhybmgJ+l5q+9Q6u/dnfVF6Z9iLE7Msrlmvqigw73+bStV4q2F qYeKyPz0TmC7UAMgKW6OIS/Lg4bcraeKxDZuvnVYG+ZYnfg2TcbkcI71CLZhpR4Lpe Q+W9YVe+6ARrdczNUIJTCELx5JL4X1L66XtYvFXVg6IhawgeuCzFMgOCInTpJb9rvO LlbCuUIrUeXZA== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 3/6] arm: dts: k3-am642-sk: Fix boot Date: Fri, 29 Sep 2023 16:46:43 +0300 Message-Id: <20230929134646.214781-4-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in sk-u-boot.dtsi as 'bootph-all'. Move cbass_mcu node to -r5-sk.dts as it is only required for R5 SPL. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am642-r5-sk.dts | 4 ++ arch/arm/dts/k3-am642-sk-u-boot.dtsi | 76 +++++++++++++--------------- 2 files changed, 40 insertions(+), 40 deletions(-) diff --git a/arch/arm/dts/k3-am642-r5-sk.dts b/arch/arm/dts/k3-am642-r5-sk.dts index def4622ff1..daa483a781 100644 --- a/arch/arm/dts/k3-am642-r5-sk.dts +++ b/arch/arm/dts/k3-am642-r5-sk.dts @@ -53,6 +53,10 @@ bootph-pre-ram; }; +&cbass_mcu { + bootph-pre-ram; +}; + &mcu_esm { bootph-pre-ram; }; diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index c277ef8aba..5599977f6c 100644 --- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi @@ -11,129 +11,125 @@ }; memory@80000000 { - bootph-pre-ram; + bootph-all; }; }; &cbass_main{ - bootph-pre-ram; -}; - -&cbass_mcu { - bootph-pre-ram; + bootph-all; }; &main_timer0 { - bootph-pre-ram; + bootph-all; clock-frequency = <200000000>; }; &main_conf { - bootph-pre-ram; + bootph-all; chipid@14 { - bootph-pre-ram; + bootph-all; }; }; &main_pmx0 { - bootph-pre-ram; + bootph-all; }; &main_i2c0_pins_default { - bootph-pre-ram; + bootph-all; }; &main_i2c0 { - bootph-pre-ram; + bootph-all; }; &main_uart0_pins_default { - bootph-pre-ram; + bootph-all; }; &main_uart0 { - bootph-pre-ram; + bootph-all; }; &dmss { - bootph-pre-ram; + bootph-all; }; &secure_proxy_main { - bootph-pre-ram; + bootph-all; }; &dmsc { - bootph-pre-ram; + bootph-all; k3_sysreset: sysreset-controller { compatible = "ti,sci-sysreset"; - bootph-pre-ram; + bootph-all; }; }; &k3_pds { - bootph-pre-ram; + bootph-all; }; &k3_clks { - bootph-pre-ram; + bootph-all; }; &k3_reset { - bootph-pre-ram; + bootph-all; }; &sdhci0 { status = "disabled"; - bootph-pre-ram; + bootph-all; }; &sdhci1 { - bootph-pre-ram; + bootph-all; }; &main_mmc1_pins_default { - bootph-pre-ram; + bootph-all; }; &cpsw3g { - bootph-pre-ram; + bootph-all; ethernet-ports { - bootph-pre-ram; + bootph-all; }; }; &cpsw_port2 { - bootph-pre-ram; + bootph-all; }; &main_bcdma { - bootph-pre-ram; + bootph-all; }; &main_pktdma { - bootph-pre-ram; + bootph-all; }; &rgmii1_pins_default { - bootph-pre-ram; + bootph-all; }; &rgmii2_pins_default { - bootph-pre-ram; + bootph-all; }; &mdio1_pins_default { - bootph-pre-ram; + bootph-all; }; &cpsw3g_phy1 { - bootph-pre-ram; + bootph-all; }; &main_usb0_pins_default { - bootph-pre-ram; + bootph-all; }; &serdes_ln_ctrl { @@ -141,25 +137,25 @@ }; &usbss0 { - bootph-pre-ram; + bootph-all; }; &usb0 { - bootph-pre-ram; + bootph-all; }; &serdes_wiz0 { - bootph-pre-ram; + bootph-all; }; &serdes0_usb_link { - bootph-pre-ram; + bootph-all; }; &serdes0 { - bootph-pre-ram; + bootph-all; }; &serdes_refclk { - bootph-pre-ram; + bootph-all; }; From patchwork Fri Sep 29 13:46:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841313 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=m63EsLIa; dkim-atps=neutral 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=patchwork.ozlabs.org) 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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs9T6PSQz1yp0 for ; Fri, 29 Sep 2023 23:47:41 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0801186EFC; Fri, 29 Sep 2023 15:47:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="m63EsLIa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8A1AE86EE4; Fri, 29 Sep 2023 15:47:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9B95086EAA for ; Fri, 29 Sep 2023 15:47:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 290EFB81F4D; Fri, 29 Sep 2023 13:47:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC5ACC433C9; Fri, 29 Sep 2023 13:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995227; bh=IANGHrRCDp4bAoRs2uNm+XvOeahqiM2ZvI/ZgLrmipU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=m63EsLIav73SMertLEqWPl8MjnzS+utrukWZEVVbhOLw03q6oLERsqhSJGS6IOmnc QVFjt3cF9kcRdVc04uEmn2LCEl8DJg6glqhzXI9PXWuckrBx4BbxxhpPBX0fAs6Qhg 1hdgx8uao38JQjvv6x7RVefTXyheiXuCVkVUFpqfZ87Umcb+hII7EvIQoawF4r11YA 7xluoEb0HMMjnEhnOjY4IL6eqMMzC9IRythR5meov3I7mQpDlawYIoW7uDi9wgSH7k 2OZg24/v3ZvVQX4X4tN785qNE6VOz2U6HUyjU3vgCq9hMZTIADPkTqvIkVENHyeNmP dBsAGfrHLx1iQ== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 4/6] arm: dts: k3-am642-sk: Mark dependent nodes for pre-relocation phase Date: Fri, 29 Sep 2023 16:46:44 +0300 Message-Id: <20230929134646.214781-5-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean CPSW node needs PHY, MDIO, pinmux, DMA and INTC nodes. Mark them as 'bootph-all' so they are available in all pre-relocation phases. Fixes below dts warnings: : Warning (reg_format): /bus@f4000/ethernet@8000000/mdio@f00/ethernet-phy@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) : Warning (unit_address_vs_reg): /bus@f4000/ethernet@8000000/mdio@f00: node has a unit name, but no reg or ranges property : Warning (pci_device_reg): Failed prerequisite 'reg_format' : Warning (pci_device_bus_num): Failed prerequisite 'reg_format' : Warning (simple_bus_reg): Failed prerequisite 'reg_format' : Warning (i2c_bus_reg): Failed prerequisite 'reg_format' : Warning (spi_bus_reg): Failed prerequisite 'reg_format' : Warning (avoid_default_addr_size): /bus@f4000/ethernet@8000000/mdio@f00/ethernet-phy@1: Relying on default #address-cells value : Warning (avoid_default_addr_size): /bus@f4000/ethernet@8000000/mdio@f00/ethernet-phy@1: Relying on default #size-cells value : Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size' : Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size' : Warning (msi_parent_property): /bus@f4000/bus@48000000/dma-controller@485c0100:msi-parent: Could not get phandle node for (cell 0) : Warning (msi_parent_property): /bus@f4000/bus@48000000/dma-controller@485c0000:msi-parent: Could not get phandle node for (cell 0) : Warning (phys_property): /bus@f4000/ethernet@8000000/ethernet-ports/port@2:phys: Could not get phandle node for (cell 0) Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi index 5599977f6c..40a53df0b0 100644 --- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi @@ -92,6 +92,38 @@ bootph-all; }; +&inta_main_dmss { + bootph-all; +}; + +&main_pktdma { + bootph-all; +}; + +&mdio1_pins_default { + bootph-all; +}; + +&cpsw3g_mdio { + bootph-all; +}; + +&cpsw3g_phy0 { + bootph-all; +}; + +&cpsw3g_phy1 { + bootph-all; +}; + +&rgmii1_pins_default { + bootph-all; +}; + +&rgmii2_pins_default { + bootph-all; +}; + &cpsw3g { bootph-all; @@ -100,6 +132,10 @@ }; }; +&phy_gmii_sel { + bootph-all; +}; + &cpsw_port2 { bootph-all; }; From patchwork Fri Sep 29 13:46:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841314 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Dp58cYz7; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs9g5RY6z1yp0 for ; Fri, 29 Sep 2023 23:47:51 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6349186EF2; Fri, 29 Sep 2023 15:47:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Dp58cYz7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 94CEC86EF2; Fri, 29 Sep 2023 15:47:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C3BEE86EF2 for ; Fri, 29 Sep 2023 15:47:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 75CF6B81F4D; Fri, 29 Sep 2023 13:47:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04AB3C433CB; Fri, 29 Sep 2023 13:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995230; bh=M/cVzD9aqMSSrvfYNhTxqYUz5smOIKB5t6q94aSKemA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dp58cYz7O79XXBO383GrVfEmXg6SqU/c7oC9TY8Ub/Bk1JwmOpGorZ1UMoc8KE7K/ FiMyg0dMPigxiOevijQqYXjiNADrz1I+dkRcOCcFJPsg/o4NlKkpdLaYuBlFtpNU6T 2kXNzQlDh0zq9hRepmrxcpa4gGqzylD8V1QjwVmw5NHZD5ibJuBF8izqnKm4F0u6EN S8r+tXwKhixgVci8rlOwbvy42v1rEWz6pIN6xn3JoMz7lIGb7sA+rKgSLxGzkzktRx A+n4sxWReZ5Uwg1oDvliHMbNk06QfFUl2/QB5bKvp/vYKuoanmYKl8/dYDjSV3bWEQ OlDxJcBfwh5ZQ== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 5/6] arm: dts: k3-am625-sk: Fix boot Date: Fri, 29 Sep 2023 16:46:45 +0300 Message-Id: <20230929134646.214781-6-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Since commit [1] A53 u-boot proper is broken. This is because nodes marked as 'bootph-pre-ram' are not available at u-boot proper before relocation. To fix this we mark all nodes in sk-u-boot.dtsi as 'bootph-all'. [1] 9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation") Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 54 ++++++++++++++-------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index c1685bc9ca..c658506256 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -17,113 +17,113 @@ }; memory@80000000 { - bootph-pre-ram; + bootph-all; }; }; &cbass_main { - bootph-pre-ram; + bootph-all; }; &main_timer0 { clock-frequency = <25000000>; - bootph-pre-ram; + bootph-all; }; &dmss { - bootph-pre-ram; + bootph-all; }; &secure_proxy_main { - bootph-pre-ram; + bootph-all; }; &dmsc { - bootph-pre-ram; + bootph-all; }; &k3_pds { - bootph-pre-ram; + bootph-all; }; &k3_clks { - bootph-pre-ram; + bootph-all; }; &k3_reset { - bootph-pre-ram; + bootph-all; }; &wkup_conf { - bootph-pre-ram; + bootph-all; }; &chipid { - bootph-pre-ram; + bootph-all; }; &main_pmx0 { - bootph-pre-ram; + bootph-all; }; &main_uart0 { - bootph-pre-ram; + bootph-all; }; &main_uart0_pins_default { - bootph-pre-ram; + bootph-all; }; &cbass_mcu { - bootph-pre-ram; + bootph-all; }; &cbass_wakeup { - bootph-pre-ram; + bootph-all; }; &mcu_pmx0 { - bootph-pre-ram; + bootph-all; }; &sdhci1 { - bootph-pre-ram; + bootph-all; }; &main_mmc1_pins_default { - bootph-pre-ram; + bootph-all; }; &fss { - bootph-pre-ram; + bootph-all; }; &ospi0_pins_default { - bootph-pre-ram; + bootph-all; }; &ospi0 { - bootph-pre-ram; + bootph-all; flash@0 { - bootph-pre-ram; + bootph-all; partitions { - bootph-pre-ram; + bootph-all; partition@3fc0000 { - bootph-pre-ram; + bootph-all; }; }; }; }; &cpsw3g { - bootph-pre-ram; + bootph-all; }; &cpsw_port1 { - bootph-pre-ram; + bootph-all; }; &cpsw_port2 { From patchwork Fri Sep 29 13:46:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 1841315 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=AGDEwlow; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Rxs9t1Hdlz1yp0 for ; Fri, 29 Sep 2023 23:48:02 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C87F386EFA; Fri, 29 Sep 2023 15:47:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="AGDEwlow"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0F05E86F02; Fri, 29 Sep 2023 15:47:17 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2F12586EFA for ; Fri, 29 Sep 2023 15:47:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id C358DB81E9D; Fri, 29 Sep 2023 13:47:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 532CDC433C9; Fri, 29 Sep 2023 13:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695995234; bh=LeVOgDGH4KSM7JfgS5+fYlJSi6TsrOQVGXaspM8nd4k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AGDEwlowz5WX4Hiv0HXI6YZGN1kBTnqN4/RGUpYTFdM2m7jBf4cowYOdTYtfixqkP rlov8cfYbIFrlYMFa5CEHgJsXtuyCF0WSw2mrqs0mlHV7zO+xOJWjhH3XdAQxviNHC tM9mPFMo+CYYQZ5RZbWSsGEPLfUysSnkV4bjVUAyRTvHSpoMAbFuDQk78/rCWMQ9UV ml24qP058xJ9iQ7xFMUs/k2407SWK2zgsHE4JOjavMRyEDUUdVTjdYndnjTai5al0W Ua9NzYRogfOyNKfQO0v5kawYJJqCteS6Xrr8rmjcR7mX9RzIugKovk8o+dlIYE+psN k4HKdey0n3P2Q== From: Roger Quadros To: trini@konsulko.com, nm@ti.com Cc: vigneshr@ti.com, m-chawdhry@ti.com, sjg@chromium.org, jonas@kwiboo.se, srk@ti.com, afd@ti.com, bb@ti.com, praneeth@ti.com, u-boot@lists.denx.de, Roger Quadros Subject: [PATCH 6/6] arm: dts: k3-am625-sk: Mark dependent nodes for pre-relocation phase Date: Fri, 29 Sep 2023 16:46:46 +0300 Message-Id: <20230929134646.214781-7-rogerq@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929134646.214781-1-rogerq@kernel.org> References: <20230929134646.214781-1-rogerq@kernel.org> 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.8 at phobos.denx.de X-Virus-Status: Clean CPSW node needs PHY, MDIO, pinmux, DMA and INTC nodes. main_conf is required for phy_gmii_sel. Mark them as 'bootph-all' so they are available in all pre-relocation phases. Fixes the below dts warnings: : Warning (reg_format): /bus@f0000/syscon@100000/phy@4044:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) : Warning (reg_format): /bus@f0000/ethernet@8000000/ethernet-ports/port@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) : Warning (unit_address_vs_reg): /bus@f0000/syscon@100000: node has a unit name, but no reg or ranges property : Warning (pci_device_reg): Failed prerequisite 'reg_format' : Warning (pci_device_bus_num): Failed prerequisite 'reg_format' : Warning (simple_bus_reg): Failed prerequisite 'reg_format' : Warning (i2c_bus_reg): Failed prerequisite 'reg_format' : Warning (spi_bus_reg): Failed prerequisite 'reg_format' : Warning (avoid_default_addr_size): /bus@f0000/syscon@100000/phy@4044: Relying on default #address-cells value : Warning (avoid_default_addr_size): /bus@f0000/syscon@100000/phy@4044: Relying on default #size-cells value : Warning (avoid_default_addr_size): /bus@f0000/ethernet@8000000/ethernet-ports/port@1: Relying on default #address-cells value : Warning (avoid_default_addr_size): /bus@f0000/ethernet@8000000/ethernet-ports/port@1: Relying on default #size-cells value : Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size' : Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size' Signed-off-by: Roger Quadros Reviewed-by: Nishanth Menon --- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index c658506256..b78d34b459 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -21,6 +21,10 @@ }; }; +&main_conf { + bootph-all; +}; + &cbass_main { bootph-all; }; @@ -118,8 +122,43 @@ }; }; +&inta_main_dmss { + bootph-all; +}; + +&main_pktdma { + bootph-all; +}; + +&cpsw3g_mdio { + bootph-all; +}; + +&cpsw3g_phy0 { + bootph-all; +}; + +&cpsw3g_phy1 { + bootph-all; +}; + +&main_rgmii1_pins_default { + bootph-all; +}; + +&main_rgmii2_pins_default { + bootph-all; +}; + +&phy_gmii_sel { + bootph-all; +}; + &cpsw3g { bootph-all; + ethernet-ports { + bootph-all; + }; }; &cpsw_port1 {