Our SoMs are available in multiple configurations, managed via device tree overlays. To determine the specific variant in use, we read the EEPROM and apply the appropriate overlays during boot to the device tree used by the OS.
Apply overlays for phyCORE-AM62x and phyCORE-AM64x SoMs. Future K3 SoMs will be able to reuse this logic and overlays. Wadim Egorov (6): configs: phycore_am62x_a53_defconfig: Add SoM overlays to OF_OVERLAY_LIST configs: phycore_am64x_a53_defconfig: Add SoM overlays to OF_OVERLAY_LIST configs: phycore_am64x_a53_defconfig: Enable PHYTEC_SOM_DETECTION arm: dts: k3-am625-phycore-som-binman: Add SoM overlays arm: dts: k3-am642-phycore-som-binman: Add SoM overlays board: phytec: common: k3: Apply SoM-specific overlays to OS device tree arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 54 +++++++++++++- arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 54 +++++++++++++- board/phytec/common/k3/board.c | 73 +++++++++++++++++++ configs/phycore_am62x_a53_defconfig | 1 + configs/phycore_am64x_a53_defconfig | 4 +- 5 files changed, 183 insertions(+), 3 deletions(-) -- 2.34.1