This series add support for the RK3566 based Radxa ZERO 3W/3E boards. rk_board_late_init() and board_fit_config_name_match() has been implemented to set fdtfile env var and load correct FIT config based on what board is detected at runtime.
Features tested on a ZERO 3W 8GB v1.11: - SD-card boot - eMMC boot - USB gadget - USB host Features tested on a ZERO 3E 4GB v1.2: - SD-card boot - Ethernet - USB gadget - USB host Changes in v2: - Add Signed-off-by tags to cherry-picked dts/upstream commits - Drop depends on ADC and instead use $(SPL_TPL_) for adc-uclass.o - Add depends on DM/SPL_DM to ADC/SPL_ADC - Add override for dr_mode in usb_host0_xhci node https://lore.kernel.org/linux-rockchip/20240802051508.498-1-na...@radxa.com/ - Collect t-b tag This series depends on the following patch for a clean apply: - board: rockchip: add Radxa ROCK 3 Model C [1] [1] https://patchwork.ozlabs.org/patch/1963177/ FUKAUMI Naoki (1): arm64: dts: rockchip: fix mmc aliases for Radxa ZERO 3E/3W Jonas Karlman (3): arm64: dts: rockchip: Add Radxa ZERO 3W/3E dm: adc: Add SPL_ADC Kconfig symbol for use of ADC in SPL board: rockchip: Add Radxa ZERO 3W/3E Trevor Woerner (1): arm64: dts: rockchip: add gpio-line-names to radxa-zero-3 arch/arm/dts/rk3566-radxa-zero-3e-u-boot.dtsi | 15 + arch/arm/dts/rk3566-radxa-zero-3w-u-boot.dtsi | 15 + arch/arm/mach-rockchip/rk3568/Kconfig | 6 + board/radxa/zero3-rk3566/Kconfig | 12 + board/radxa/zero3-rk3566/MAINTAINERS | 6 + board/radxa/zero3-rk3566/Makefile | 3 + board/radxa/zero3-rk3566/zero3-rk3566.c | 59 ++ configs/radxa-zero-3-rk3566_defconfig | 85 +++ doc/board/rockchip/rockchip.rst | 1 + drivers/Makefile | 2 +- drivers/adc/Kconfig | 5 + drivers/adc/Makefile | 2 +- .../arm64/rockchip/rk3566-radxa-zero-3.dtsi | 531 ++++++++++++++++++ .../arm64/rockchip/rk3566-radxa-zero-3e.dts | 52 ++ .../arm64/rockchip/rk3566-radxa-zero-3w.dts | 92 +++ 15 files changed, 884 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/rk3566-radxa-zero-3e-u-boot.dtsi create mode 100644 arch/arm/dts/rk3566-radxa-zero-3w-u-boot.dtsi create mode 100644 board/radxa/zero3-rk3566/Kconfig create mode 100644 board/radxa/zero3-rk3566/MAINTAINERS create mode 100644 board/radxa/zero3-rk3566/Makefile create mode 100644 board/radxa/zero3-rk3566/zero3-rk3566.c create mode 100644 configs/radxa-zero-3-rk3566_defconfig create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3.dtsi create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3e.dts create mode 100644 dts/upstream/src/arm64/rockchip/rk3566-radxa-zero-3w.dts -- 2.45.2