ARM: meson: Add support for Libretech-AC
Subsystems (2)
cover ARM: meson: Add support for Libretech-AC
LibreTech AC is a single board computer manufactured by Libre Technology with the following specifications:
- Amlogic S805X ARM Cortex-A53 quad-core SoC @ 1.2GHz
- ARM Mali 450 GPU
- 512MiB DDR4 SDRAM
- 10/100 Ethernet
- HDMI 2.0 4K/60Hz display
- 40-pin GPIO header
- 4 x USB 2.0 Host
- eMMC, SPI NOR Flash
- Infrared receiver
The u-boot specific code is the same as the P212 support, so use the P212 board support code with a distinct defconfig and config include files.
The patchset inports the DT from Linux 5.0 and add the corresponding configs and update the MAINTAINERS files.
Neil Armstrong (2):
ARM: dts: Import libretech-ac DT from Linux 5.0
boards: Amlogic: Add support for Libretech-AC
arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 248 ++++++++++++++++++ arch/arm/dts/meson-gxl.dtsi | 70 ++++- board/amlogic/p212/MAINTAINERS | 1 + board/amlogic/p212/README.libretech-ac | 103 ++++++++ configs/libretech-ac_defconfig | 74 ++++++ include/configs/libretech-ac.h | 24 ++ 7 files changed, 512 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/meson-gxl-s805x-libretech-ac.dts create mode 100644 board/amlogic/p212/README.libretech-ac create mode 100644 configs/libretech-ac_defconfig create mode 100644 include/configs/libretech-ac.h
Signature · 1 line
2.21.0
PATCH 1/2 ARM: dts: Import libretech-ac DT from Linux 5.0
Import Linux 5.0 DT from 1c163f4c7b3f ("Linux 5.0") for the meson-gxl-s805x-libretech-ac board and the corresponding changes in meson-gxl.dtsi.
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 248 ++++++++++++++++++ arch/arm/dts/meson-gxl.dtsi | 70 ++++- 3 files changed, 310 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/meson-gxl-s805x-libretech-ac.dts
arch/arm/dts/Makefile +1 -0
@@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_MESON) += \ meson-gxbb-p200.dtb \ meson-gxbb-p201.dtb \ meson-gxl-s905x-p212.dtb \ + meson-gxl-s805x-libretech-ac.dtb \ meson-gxl-s905x-libretech-cc.dtb \ meson-gxl-s905x-khadas-vim.dtb \ meson-gxm-khadas-vim2.dtb \
arch/arm/dts/meson-gxl-s805x-libretech-ac.dts new file +248 -0
248 lines not on this page · raw message
arch/arm/dts/meson-gxl.dtsi +61 -9
424 lines not on this page · raw message
Signature · 1 line
2.21.0
PATCH 2/2 boards: Amlogic: Add support for Libretech-AC
In reply to Neil ArmstrongLibreTech AC is a single board computer manufactured by Libre Technology with the following specifications:
- Amlogic S805X ARM Cortex-A53 quad-core SoC @ 1.2GHz
- ARM Mali 450 GPU
- 512MiB DDR4 SDRAM
- 10/100 Ethernet
- HDMI 2.0 4K/60Hz display
- 40-pin GPIO header
- 4 x USB 2.0 Host
- eMMC, SPI NOR Flash
- Infrared receiver
The u-boot specific code is the same as the P212 support, so use the P212 board support code with a distinct defconfig and config include files.
--- board/amlogic/p212/MAINTAINERS | 1 + board/amlogic/p212/README.libretech-ac | 103 +++++++++++++++++++++++++ configs/libretech-ac_defconfig | 74 ++++++++++++++++++ include/configs/libretech-ac.h | 24 ++++++ 4 files changed, 202 insertions(+) create mode 100644 board/amlogic/p212/README.libretech-ac create mode 100644 configs/libretech-ac_defconfig create mode 100644 include/configs/libretech-ac.h
board/amlogic/p212/MAINTAINERS +1 -0
@@ -4,5 +4,6 @@ S: Maintained F: board/amlogic/p212/ F: include/configs/p212.h F: configs/khadas-vim_defconfig +F: configs/libretech-ac_defconfig F: configs/libretech-cc_defconfig F: configs/p212_defconfig
board/amlogic/p212/README.libretech-ac new file +103 -0
103 lines not on this page · raw message
configs/libretech-ac_defconfig new file +74 -0
74 lines not on this page · raw message
include/configs/libretech-ac.h new file +24 -0
@@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Configuration for LibreTech AC +* +* Copyright (C) 2017 Baylibre, SAS +* Author: Neil Armstrong <[email protected]> +*/ + +#ifndef __CONFIG_H +#define __CONFIG_H + +#define CONFIG_ENV_SECT_SIZE 0x10000 +#define CONFIG_ENV_OFFSET (-0x10000) + +#define BOOT_TARGET_DEVICES (func) \ + func(ROMUSB, romusb, na) \ + func(MMC, mmc, 0) \ + BOOT_TARGET_DEVICES_USB(func) \ + func(PXE, pxe, na) \ + func(DHCP, dhcp, na) + +#include <configs/meson64.h> + +#endif /* __CONFIG_H */
Signature · 1 line
2.21.0
cover ARM: meson: Add support for Libretech-AC
In reply to Neil ArmstrongQuoted 24 lines · Neil Armstrong
LibreTech AC is a single board computer manufactured by Libre Technology with the following specifications:
- Amlogic S805X ARM Cortex-A53 quad-core SoC @ 1.2GHz
- ARM Mali 450 GPU
- 512MiB DDR4 SDRAM
- 10/100 Ethernet
- HDMI 2.0 4K/60Hz display
- 40-pin GPIO header
- 4 x USB 2.0 Host
- eMMC, SPI NOR Flash
- Infrared receiverThe u-boot specific code is the same as the P212 support, so use the P212 board support code with a distinct defconfig and config include files.
The patchset inports the DT from Linux 5.0 and add the corresponding configs and update the
MAINTAINERSfiles.Neil Armstrong (2):
ARM: dts: Import libretech-ac DT from Linux 5.0
boards: Amlogic: Add support for Libretech-AC
Quoted 13 lines
arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 248 ++++++++++++++++++ arch/arm/dts/meson-gxl.dtsi | 70 ++++- board/amlogic/p212/MAINTAINERS | 1 + board/amlogic/p212/README.libretech-ac | 103 ++++++++ configs/libretech-ac_defconfig | 74 ++++++ include/configs/libretech-ac.h | 24 ++ 7 files changed, 512 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/meson-gxl-s805x-libretech-ac.dts create mode 100644 board/amlogic/p212/README.libretech-ac create mode 100644 configs/libretech-ac_defconfig create mode 100644 include/configs/libretech-ac.h
Applied both to u-boot-amlogic
Neil