aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Humphreys <j-humphreys@ti.com>2024-02-23 18:17:02 -0600
committerTom Rini <trini@konsulko.com>2024-03-05 08:39:26 -0500
commitb9091c12af21b638fdec99b12fc922292c94c38f (patch)
tree8feb70b9b91da550f51dbcf3d46facca5af5ae49
parent1200a3c6cac584ff4602e74b84dacc2ad3687e5b (diff)
downloadu-boot-b9091c12af21b638fdec99b12fc922292c94c38f.zip
u-boot-b9091c12af21b638fdec99b12fc922292c94c38f.tar.gz
u-boot-b9091c12af21b638fdec99b12fc922292c94c38f.tar.bz2
arm: dts: k3-am642-evm/sk: Enable OSPI support in SPL
Add bootph DT tags to enable OSPI in SPL. Set OSPI regs for R5 SPL to address OSPI's boot region. Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
-rw-r--r--arch/arm/dts/k3-am642-evm-u-boot.dtsi16
-rw-r--r--arch/arm/dts/k3-am642-r5-evm.dts5
-rw-r--r--arch/arm/dts/k3-am642-r5-sk.dts5
-rw-r--r--arch/arm/dts/k3-am642-sk-u-boot.dtsi16
4 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
index b843078..60b219c 100644
--- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi
@@ -182,3 +182,19 @@
&cpsw_port2 {
status = "disabled";
};
+
+&ospi0_pins_default {
+ bootph-all;
+};
+
+&fss {
+ bootph-all;
+};
+
+&ospi0 {
+ bootph-all;
+
+ flash@0 {
+ bootph-all;
+ };
+};
diff --git a/arch/arm/dts/k3-am642-r5-evm.dts b/arch/arm/dts/k3-am642-r5-evm.dts
index 64b3c3a..6825c07 100644
--- a/arch/arm/dts/k3-am642-r5-evm.dts
+++ b/arch/arm/dts/k3-am642-r5-evm.dts
@@ -120,3 +120,8 @@
/delete-property/ assigned-clock-parents;
/delete-property/ power-domains;
};
+
+&ospi0 {
+ reg = <0x00 0x0fc40000 0x00 0x100>,
+ <0x00 0x60000000 0x00 0x8000000>;
+};
diff --git a/arch/arm/dts/k3-am642-r5-sk.dts b/arch/arm/dts/k3-am642-r5-sk.dts
index daa483a..60d747d 100644
--- a/arch/arm/dts/k3-am642-r5-sk.dts
+++ b/arch/arm/dts/k3-am642-r5-sk.dts
@@ -103,3 +103,8 @@
/delete-property/ assigned-clock-parents;
/delete-property/ power-domains;
};
+
+&ospi0 {
+ reg = <0x00 0x0fc40000 0x00 0x100>,
+ <0x00 0x60000000 0x00 0x8000000>;
+};
diff --git a/arch/arm/dts/k3-am642-sk-u-boot.dtsi b/arch/arm/dts/k3-am642-sk-u-boot.dtsi
index 2eb227c..2b42c74 100644
--- a/arch/arm/dts/k3-am642-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am642-sk-u-boot.dtsi
@@ -211,3 +211,19 @@
&serdes_refclk {
bootph-all;
};
+
+&ospi0_pins_default {
+ bootph-all;
+};
+
+&fss {
+ bootph-all;
+};
+
+&ospi0 {
+ bootph-all;
+
+ flash@0 {
+ bootph-all;
+ };
+};