Skip to content

Add Amlogic T7 (A311D2) and Khadas VIM4 support

Lucas Tanure u-boot u-boot-amlogic 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4serial: meson: add Amlogic S4 UART supportdrivers/serial/serial_meson.c+38 -130 replies
2/4arm: meson: add Amlogic T7 SoC family supportarch/arm/include/asm/arch-meson/boot0.h arch/arm/include/asm/arch-meson/t7.h arch/arm/mach-meson/Kconfig +2 more+135 -00 replies
3/4board: amlogic: add Khadas VIM4 supportarch/arm/dts/amlogic-t7-a311d2-khadas-vim4-u-boot.dtsi arch/arm/dts/amlogic-t7-u-boot.dtsi board/amlogic/vim4/MAINTAINERS +3 more+81 -00 replies
4/4doc: board: amlogic: add Khadas VIM4 documentationboard/amlogic/vim4/MAINTAINERS doc/board/amlogic/index.rst doc/board/amlogic/khadas-vim4.rst+183 -590 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Add Amlogic T7 (A311D2) and Khadas VIM4 support

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
Signature · 1 line
2.55.0