
With SPI framework moving to DM only mode, am437x QSPI XIP boot needs to move to runtime DTB selection to chose proper DT for IDK vs SK. This series adds generic DT file for board detection which is replaced with actual DT once after board discovery via EEPROM. Approach is similar to what is done with K2G EVM.
Tested on AM437x SK and IDK boards. Sanity tested on AM437x GP EVM.
Vignesh R (3): board: ti: am43xx: Define embedded_dtb_select for runtime DTB selection in U-boot ARM: dts: Add new "generic" am4372 device tree file. configs: am43xx_evm_qspiboot_defconfig: Move to DM
arch/arm/dts/Makefile | 3 ++- arch/arm/dts/am4372-generic-u-boot.dtsi | 15 +++++++++++++++ arch/arm/dts/am4372-generic.dts | 24 ++++++++++++++++++++++++ arch/arm/dts/am437x-idk-evm-u-boot.dtsi | 23 +++++++++++++++++++++++ arch/arm/dts/am437x-sk-evm-u-boot.dtsi | 23 +++++++++++++++++++++++ board/ti/am43xx/board.c | 18 ++++++++++++++++-- configs/am43xx_evm_qspiboot_defconfig | 10 +++++++++- 7 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 arch/arm/dts/am4372-generic-u-boot.dtsi create mode 100644 arch/arm/dts/am4372-generic.dts create mode 100644 arch/arm/dts/am437x-idk-evm-u-boot.dtsi create mode 100644 arch/arm/dts/am437x-sk-evm-u-boot.dtsi