[PATCH 2/4] arm: dts: k3-j7200: Fix support for OSPI flash

Aniket Limaye a-limaye at ti.com
Wed Mar 6 07:37:47 CET 2024


- Add the missing bootph-all property in the flash subnode for ospi
- Add the missing overrides for the ospi node in the r5 devicetree

Signed-off-by: Aniket Limaye <a-limaye at ti.com>
---
 arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi | 4 ++++
 arch/arm/dts/k3-j7200-r5-common-proc-board.dts      | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
index 60ca6d21ab..c9fee0ea99 100644
--- a/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi
@@ -195,6 +195,10 @@
 
 &ospi0 {
 	bootph-all;
+
+	flash at 0 {
+		bootph-all;
+	};
 };
 
 &serdes_ln_ctrl {
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index 018faaa13b..195637a836 100644
--- a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
+++ b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
@@ -83,3 +83,8 @@
 &wkup_vtm0 {
 	bootph-pre-ram;
 };
+
+&ospi0 {
+    reg = <0x0 0x47040000 0x0 0x100>,
+          <0x0 0x50000000 0x0 0x8000000>;
+};
-- 
2.34.1



More information about the U-Boot mailing list