[PATCH v2 0/4] Add Amlogic T7 (A311D2) and Khadas VIM4 support
Lucas Tanure <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <20260821084603.25974-1-tanure__40823.6467557558$1787318270$gmane$org@linux.com> |
This series adds initial mainline support for the Amlogic T7 SoC family and the Khadas VIM4 board (A311D2): - S4-generation UART support - the T7 platform code - VIM4 board and defconfig - VIM4 documentation Tested on a Khadas VIM4 board, both chainloaded from the vendor U-Boot (tftpboot) and cold-booted from an SD card. Changes in v2: - move the T7 register and reserved memory defines to a new asm/arch-meson/t7.h header - shorten the MESON_T7 Kconfig help text to match the other SoCs - drop __maybe_unused from meson_init_reserved_memory(), the parameter is used - move the SoC-level bootph-all properties to a common amlogic-t7-u-boot.dtsi - drop CONFIG_SYS_PROMPT from the defconfig Lucas Tanure (4): serial: meson: add Amlogic S4 UART support arm: meson: add Amlogic T7 SoC family support board: amlogic: add Khadas VIM4 support doc: board: amlogic: add Khadas VIM4 documentation .../amlogic-t7-a311d2-khadas-vim4-u-boot.dtsi | 16 +++ arch/arm/dts/amlogic-t7-u-boot.dtsi | 14 ++ arch/arm/include/asm/arch-meson/boot0.h | 18 +++ arch/arm/include/asm/arch-meson/t7.h | 25 ++++ arch/arm/mach-meson/Kconfig | 9 ++ arch/arm/mach-meson/Makefile | 1 + arch/arm/mach-meson/board-t7.c | 82 ++++++++++++ board/amlogic/vim4/MAINTAINERS | 8 ++ board/amlogic/vim4/Makefile | 4 + board/amlogic/vim4/vim4.c | 14 ++ configs/khadas-vim4_defconfig | 26 ++++ doc/board/amlogic/index.rst | 119 ++++++++--------- doc/board/amlogic/khadas-vim4.rst | 122 ++++++++++++++++++ drivers/serial/serial_meson.c | 51 ++++++-- 14 files changed, 437 insertions(+), 72 deletions(-) create mode 100644 arch/arm/dts/amlogic-t7-a311d2-khadas-vim4-u-boot.dtsi create mode 100644 arch/arm/dts/amlogic-t7-u-boot.dtsi create mode 100644 arch/arm/include/asm/arch-meson/boot0.h create mode 100644 arch/arm/include/asm/arch-meson/t7.h create mode 100644 arch/arm/mach-meson/board-t7.c create mode 100644 board/amlogic/vim4/MAINTAINERS create mode 100644 board/amlogic/vim4/Makefile create mode 100644 board/amlogic/vim4/vim4.c create mode 100644 configs/khadas-vim4_defconfig create mode 100644 doc/board/amlogic/khadas-vim4.rst -- 2.55.0