
* Sync the AM62x DTS files with the linux kernel. * Also add configs necessary to enable ospi in uboot * Add support for booting from OSPI Flash.
All changes have been tested on the AM62x SK EVM and the board successfully reached u-boot prompt using OSPI Flash:
``` U-Boot SPL 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:24:55 +0530) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi') Trying to boot from SPI Starting ATF on ARM64 core...
NOTICE: BL31: v2.7(release):v2.7.0-dirty NOTICE: BL31: Built : 00:19:16, Sep 24 2022
U-Boot SPL 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:25:21 +0530) SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi') Trying to boot from SPI
U-Boot 2022.10-00677-g160b1b2cd007-dirty (Oct 27 2022 - 14:25:21 +0530)
SoC: AM62X SR1.0 GP Model: Texas Instruments AM625 SK DRAM: 2 GiB Core: 47 devices, 18 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2 Loading Environment from nowhere... OK In: serial@2800000 Out: serial@2800000 Err: serial@2800000 Net: No ethernet found. Hit any key to stop autoboot: 0 ```
Also the board was tested to boot till linux kernel after the DT sync changes. Hence verifying that the changes are valid.
Dhruva Gole (3): arm: dts: k3-am62x: sync dt with linux kernel arm: dts: Add OSPI support for AM62-SK configs: enable OSPI related configs in AM62x
arch/arm/dts/k3-am62-main.dtsi | 54 ++++ arch/arm/dts/k3-am62-mcu.dtsi | 28 +++ arch/arm/dts/k3-am62.dtsi | 1 + arch/arm/dts/k3-am625-r5-sk.dts | 5 + arch/arm/dts/k3-am625-sk-u-boot.dtsi | 24 ++ arch/arm/dts/k3-am625-sk.dts | 354 +++++++++++++++++++++++++++ configs/am62x_evm_a53_defconfig | 19 ++ configs/am62x_evm_r5_defconfig | 22 ++ 8 files changed, 507 insertions(+)