public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RESEND PATCH 0/6] arm: dts: k3-am64 / k3-am62: Fix boot
@ 2023-09-29 13:46 Roger Quadros
  2023-09-29 13:46 ` [PATCH 1/6] arm: dts: k3-am64-evm: " Roger Quadros
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Roger Quadros @ 2023-09-29 13:46 UTC (permalink / raw)
  To: trini, nm
  Cc: vigneshr, m-chawdhry, sjg, jonas, srk, afd, bb, praneeth, u-boot,
	Roger Quadros

Hi,

(Apologies for resend as I missed the u-boot list the last time.
Thanks Vignesh for catching this :) )
    
Since commit [1] A53 u-boot proper is broken.
This is because nodes marked as 'bootph-pre-ram' are
not availble 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")

In addition to this we also fix some dts warnings related
to CPSW nodes in R5 SPL DTBs.

cheers,
-roger

Roger Quadros (6):
  arm: dts: k3-am64-evm: Fix boot
  arm: dts: k3-am64-evm: Mark dependent nodes for pre-relocation phase
  arm: dts: k3-am642-sk: Fix boot
  arm: dts: k3-am642-sk: Mark dependent nodes for pre-relocation phase
  arm: dts: k3-am625-sk: Fix boot
  arm: dts: k3-am625-sk: Mark dependent nodes for pre-relocation phase

 arch/arm/dts/k3-am625-sk-u-boot.dtsi  |  93 ++++++++++++++-------
 arch/arm/dts/k3-am642-evm-u-boot.dtsi | 104 ++++++++++++++++--------
 arch/arm/dts/k3-am642-r5-evm.dts      |  16 ++++
 arch/arm/dts/k3-am642-r5-sk.dts       |   4 +
 arch/arm/dts/k3-am642-sk-u-boot.dtsi  | 112 +++++++++++++++++---------
 5 files changed, 230 insertions(+), 99 deletions(-)


base-commit: 90c81f407dd4a7747385b10f9b8f732202c45cde
-- 
2.34.1


^ permalink raw reply	[flat|nested] 26+ messages in thread
* [PATCH] arm: dts: k3-am625-beagleplay: Fix Boot
@ 2023-10-02 15:00 Nishanth Menon
  2023-10-03  9:07 ` Roger Quadros
  2023-10-05 14:49 ` Tom Rini
  0 siblings, 2 replies; 26+ messages in thread
From: Nishanth Menon @ 2023-10-02 15:00 UTC (permalink / raw)
  To: trini
  Cc: vigneshr, m-chawdhry, sjg, jonas, afd, bb, praneeth, u-boot,
	Roger Quadros, Robert Nelson, Nishanth Menon

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 u-boot.dtsi as 'bootph-all'.

[1]
9e644284ab812 ("dm: core: Report bootph-pre-ram/sram node as pre-reloc after relocation")

Reported-by: Roger Quadros <rogerq@kernel.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
---

Based on Roger's series:
https://lore.kernel.org/all/20230929134646.214781-1-rogerq@kernel.org/

Based on:
  next                       e29b932aa07f Merge branch '2023-09-30-Kconfig-updates' into next

See discussion thread:
https://lore.kernel.org/all/CAPnjgZ3MgWX8T0A0SofphEr_Xd77pE3hte9DNye1RuBVeB9N8Q@mail.gmail.com/

 arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi | 70 ++++++++++----------
 1 file changed, 35 insertions(+), 35 deletions(-)

diff --git a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
index f8c04e8a300a..d6c6baa5518b 100644
--- a/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-beagleplay-u-boot.dtsi
@@ -14,143 +14,143 @@
 	};
 
 	memory@80000000 {
-		bootph-pre-ram;
+		bootph-all;
 	};
 
 	/* Keep the LEDs on by default to indicate life */
 	leds {
-		bootph-pre-ram;
+		bootph-all;
 		led-0 {
 			default-state = "on";
-			bootph-pre-ram;
+			bootph-all;
 		};
 
 		led-1 {
 			default-state = "on";
-			bootph-pre-ram;
+			bootph-all;
 		};
 
 		led-2 {
 			default-state = "on";
-			bootph-pre-ram;
+			bootph-all;
 		};
 
 		led-3 {
 			default-state = "on";
-			bootph-pre-ram;
+			bootph-all;
 		};
 
 		led-4 {
 			default-state = "on";
-			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;
 };
 
 &dmsc {
-	bootph-pre-ram;
+	bootph-all;
 	k3_sysreset: sysreset-controller {
 		compatible = "ti,sci-sysreset";
-		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;
 };
 
 &console_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;
 };
 
 &main_i2c0 {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &local_i2c_pins_default {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &gpio0_pins_default {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &main_gpio0 {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &main_gpio1 {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &sdhci0 {
 	/* EMMC */
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &emmc_pins_default {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &sd_pins_default {
-	bootph-pre-ram;
+	bootph-all;
 	/* Force to use SDCD card detect pin */
 	pinctrl-single,pins = <
 		AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */
@@ -164,11 +164,11 @@
 };
 
 &tps65219 {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 &sdhci1 {
-	bootph-pre-ram;
+	bootph-all;
 };
 
 #ifdef CONFIG_TARGET_AM625_A53_EVM
-- 
2.40.0


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2023-10-05 14:52 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 13:46 [RESEND PATCH 0/6] arm: dts: k3-am64 / k3-am62: Fix boot Roger Quadros
2023-09-29 13:46 ` [PATCH 1/6] arm: dts: k3-am64-evm: " Roger Quadros
2023-10-02 15:19   ` Nishanth Menon
2023-10-02 16:14     ` Roger Quadros
2023-10-02 16:19       ` Nishanth Menon
2023-10-05 14:49   ` Tom Rini
2023-09-29 13:46 ` [PATCH 2/6] arm: dts: k3-am64-evm: Mark dependent nodes for pre-relocation phase Roger Quadros
2023-10-02 15:20   ` Nishanth Menon
2023-09-29 13:46 ` [PATCH 3/6] arm: dts: k3-am642-sk: Fix boot Roger Quadros
2023-10-02 15:20   ` Nishanth Menon
2023-09-29 13:46 ` [PATCH 4/6] arm: dts: k3-am642-sk: Mark dependent nodes for pre-relocation phase Roger Quadros
2023-10-02 15:20   ` Nishanth Menon
2023-09-29 13:46 ` [PATCH 5/6] arm: dts: k3-am625-sk: Fix boot Roger Quadros
2023-10-02 15:20   ` Nishanth Menon
2023-09-29 13:46 ` [PATCH 6/6] arm: dts: k3-am625-sk: Mark dependent nodes for pre-relocation phase Roger Quadros
2023-10-02 15:20   ` Nishanth Menon
2023-10-03 20:26 ` [PATCH] arm: dts: k3-am625-beagleplay: Fix boot Jan Kiszka
2023-10-04 10:01   ` Roger Quadros
2023-10-04 12:15   ` Nishanth Menon
2023-10-05  4:18     ` Jan Kiszka
2023-10-05 11:27       ` Nishanth Menon
2023-10-05 14:49       ` Tom Rini
2023-10-05 14:52         ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2023-10-02 15:00 [PATCH] arm: dts: k3-am625-beagleplay: Fix Boot Nishanth Menon
2023-10-03  9:07 ` Roger Quadros
2023-10-05 14:49 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox