Skip to contentSkip to conversation

arm: dts: k3-j784s4-r5: Fix FSS range for OSPI1

PATCH In review Moteen Shah 2 participants 2 messages Nov 24 – Nov 25 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: k3-j784s4-r5: Fix FSS range for OSPI1

The R5 FSS ranges override covers only 128 MiB of the FSS data region, ending at 0x57ffffff. The OSPI1 data window starts at 0x58000000, so translating its address fails and the Cadence QSPI probe returns -EINVAL. SPL then cannot boot from QSPI and reports "Invalid bus 1".

Widen the range to 256 MiB so that it covers both OSPI0 and OSPI1.

Fixes 9151844547c8 ("arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range")

---
Bootlogs: https://gist.github.com/Jamm02/96d884c47b0a589d168aac8fa7b90a10

 arch/arm/dts/k3-j784s4-r5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/k3-j784s4-r5.dtsi +1 -1
index afbb8faca44..8bad08bd423 100644
@@ -103,7 +103,7 @@
 &fss {
 	/* enable ranges missing from the FSS node */
 	ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>,
-		 <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>;
+		 <0x0 0x50000000 0x0 0x50000000 0x0 0x10000000>;
 };
 
 &mcu_ringacc {
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Hey Moteen,

Quoted 5 lines · Moteen Shah

The R5 FSS ranges override covers only 128 MiB of the FSS data region, ending at 0x57ffffff. The OSPI1 data window starts at 0x58000000, so translating its address fails and the Cadence QSPI probe returns -EINVAL. SPL then cannot boot from QSPI and reports "Invalid bus 1".

Quoted 7 lines

Widen the range to 256 MiB so that it covers both OSPI0 and OSPI1.

Fixes 9151844547c8 ("arch: arm: dts: k3-j784s4-r5-evm: Add missing fss range")

---
Bootlogs: https://gist.github.com/Jamm02/96d884c47b0a589d168aac8fa7b90a10

Thanks for addressing this.

Regards,
Hari

Quoted 16 lines
  arch/arm/dts/k3-j784s4-r5.dtsi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/dts/k3-j784s4-r5.dtsi +1 -1
index afbb8faca44..8bad08bd423 100644
@@ -103,7 +103,7 @@
  &fss {
  	/* enable ranges missing from the FSS node */
  	ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>,
-		 <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>;
+		 <0x0 0x50000000 0x0 0x50000000 0x0 0x10000000>;
  };
 
  &mcu_ringacc {