Message ID | 20221027145311.523528-3-d-gole@ti.com |
---|---|
State | Accepted |
Commit | 8994ac365a107ba443ff238719ffb5497a67b347 |
Delegated to: | Tom Rini |
Headers | show |
Series | AM62x SK EVM DT Sync + OSPI Support | expand |
On Thu, Oct 27, 2022 at 08:23:10PM +0530, Dhruva Gole wrote: > Add OSPI Support such that this device can boot up using OSPI Flash. > Also can use the flash for other purposes if required from uboot. > > Signed-off-by: Dhruva Gole <d-gole@ti.com> Applied to u-boot/next, thanks!
diff --git a/arch/arm/dts/k3-am625-r5-sk.dts b/arch/arm/dts/k3-am625-r5-sk.dts index 6d696e720de6..d39b334ed032 100644 --- a/arch/arm/dts/k3-am625-r5-sk.dts +++ b/arch/arm/dts/k3-am625-r5-sk.dts @@ -155,3 +155,8 @@ status = "okay"; u-boot,dm-spl; }; + +&ospi0 { + reg = <0x00 0x0fc40000 0x00 0x100>, + <0x00 0x60000000 0x00 0x08000000>; +}; diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index 159fa36bbe9f..92788bae3e09 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -102,3 +102,27 @@ &main_mmc1_pins_default { u-boot,dm-spl; }; + +&fss { + u-boot,dm-spl; +}; + +&ospi0_pins_default { + u-boot,dm-spl; +}; + +&ospi0 { + u-boot,dm-spl; + + flash@0 { + u-boot,dm-spl; + + partitions { + u-boot,dm-spl; + + partition@3fc0000 { + u-boot,dm-spl; + }; + }; + }; +};
Add OSPI Support such that this device can boot up using OSPI Flash. Also can use the flash for other purposes if required from uboot. Signed-off-by: Dhruva Gole <d-gole@ti.com> --- arch/arm/dts/k3-am625-r5-sk.dts | 5 +++++ arch/arm/dts/k3-am625-sk-u-boot.dtsi | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+)