From: Vaishnav Achath <vaishna...@ti.com>

OSPI Boot requires overrides specific to R5 and also
to use DMA in R5 SPL stage the DM_TIFS needs to be used.
Add the corresponding overrides for R5 SPL stage.

Signed-off-by: Vaishnav Achath <vaishna...@ti.com>
Signed-off-by: Prasanth Babu Mantena <p-mant...@ti.com>
---
 arch/arm/dts/k3-j722s-evm-u-boot.dtsi |  4 ++++
 arch/arm/dts/k3-j722s-r5-evm.dts      | 13 +++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/arch/arm/dts/k3-j722s-evm-u-boot.dtsi 
b/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
index 88c4a72db61..6ae76beea3e 100644
--- a/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-j722s-evm-u-boot.dtsi
@@ -16,3 +16,7 @@
 &dmsc {
        bootph-pre-ram;
 };
+
+&main_bcdma {
+       bootph-pre-ram;
+};
diff --git a/arch/arm/dts/k3-j722s-r5-evm.dts b/arch/arm/dts/k3-j722s-r5-evm.dts
index 1bec997c93c..d797e954f97 100644
--- a/arch/arm/dts/k3-j722s-r5-evm.dts
+++ b/arch/arm/dts/k3-j722s-r5-evm.dts
@@ -81,3 +81,16 @@
 &wkup_uart0 {
        status = "okay";
 };
+
+&ospi0 {
+       reg = <0x00 0x0fc40000 0x00 0x100>,
+             <0x00 0x60000000 0x00 0x08000000>;
+};
+
+&main_bcdma {
+       ti,sci = <&dm_tifs>;
+};
+
+&main_pktdma {
+       ti,sci = <&dm_tifs>;
+};
-- 
2.34.1

Reply via email to