arm: dts: k3-j721s2*: Enable OSPI1 with 32-bit address mappings for R5 SPL
PATCH 1/1 arm: dts: k3-j721s2*: Enable OSPI1 with 32-bit address mappings for R5 SPL
The R5 SPL requires 32-bit address mappings for OSPI1(QSPI) access. Override the OSPI1 node with appropriate 32-bit register ranges to enable proper address translation on the 32-bit R5 core, while preserving 64-bit mappings for A72 cores. While at it, remove the disabled status override for ospi1 node to support booting from qspi.
---
Hi
This patch seems to be missing from lore, but discussions happened about it. Please follow this thread [1].
[1] https://lore.kernel.org/all/[email protected]/
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi | 4 ---- arch/arm/dts/k3-j721s2-r5.dtsi | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-)
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +0 -4
@@ -107,10 +107,6 @@ }; }; -&ospi1 { - status = "disabled"; -}; - &usbss0 { bootph-all; };
arch/arm/dts/k3-j721s2-r5.dtsi +5 -0
@@ -90,6 +90,11 @@ <0x0 0x50000000 0x0 0x8000000>; }; +&ospi1 { + reg = <0x0 0x47050000 0x0 0x100>, + <0x0 0x58000000 0x0 0x8000000>; +}; + &fss { /* fss node has 64 bit address regions mapped to it and since the ospi * nodes is being override, override the fss node ranges as well
Signature · 1 line
2.34.1
Quoted 8 lines · Anurag Dutta
The R5 SPL requires 32-bit address mappings for OSPI1(QSPI) access. Override the OSPI1 node with appropriate 32-bit register ranges to enable proper address translation on the 32-bit R5 core, while preserving 64-bit mappings for A72 cores. While at it, remove the disabled status override for ospi1 node to support booting from qspi.
[...]
Applied to u-boot/next, thanks!
[1/1] arm: dts: k3-j721s2*: Enable OSPI1 with 32-bit address mappings for R5 SPL
commit: 6a23c079b877820195ebca0b98f78abb66f47497
Signature · 1 line
Tom