arm: mvebu: Add Helios4 Armada 38x initial support
Subsystems (3)
PATCH v3 1/1 arm: mvebu: Add Helios4 Armada 38x initial support
From: Dennis Gilmore <[email protected]>
The helios4 is built on the SolidRun Armada 38x SOM. The port os based on the ClearFog board, using information from
https://github.com/helios-4/u-boot-marvell as well as dtb input from https://github.com/helios-4/linux-marvell
---
changes since RFC
add armada-38x-solidrun-microsom.dtsi minus buffer-memory nodes from linux kernel fix up maintainers file
use correct switch in README file
add SPDX header to kwbimage.cfg and dts file
Port to DM_I2C
Changes since V1
moved to kobol namespace at the request of the board supplier remove gpio resets they are clearfog specific
set maintainer to myself and update copyrights remove unused config options
Changes since V2
fixup issues identifed by checkpatch.pl
--- arch/arm/dts/Makefile | 1 + arch/arm/dts/armada-388-helios4.dts | 314 ++++++++++++++++++ .../arm/dts/armada-38x-solidrun-microsom.dtsi | 101 ++++++ arch/arm/mach-mvebu/Kconfig | 7 + board/kobol/helios4/MAINTAINERS | 6 + board/kobol/helios4/Makefile | 5 + board/kobol/helios4/README | 46 +++ board/kobol/helios4/helios4.c | 162 +++++++++ board/kobol/helios4/kwbimage.cfg | 13 + configs/helios4_defconfig | 58 ++++ include/configs/helios4.h | 172 ++++++++++ 11 files changed, 885 insertions(+) create mode 100644 arch/arm/dts/armada-388-helios4.dts create mode 100644 arch/arm/dts/armada-38x-solidrun-microsom.dtsi create mode 100644 board/kobol/helios4/MAINTAINERS create mode 100644 board/kobol/helios4/Makefile create mode 100644 board/kobol/helios4/README create mode 100644 board/kobol/helios4/helios4.c create mode 100644 board/kobol/helios4/kwbimage.cfg create mode 100644 configs/helios4_defconfig create mode 100644 include/configs/helios4.h
arch/arm/dts/Makefile +1 -0
@@ -91,6 +91,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += \ armada-375-db.dtb \ armada-388-clearfog.dtb \ armada-388-gp.dtb \ + armada-388-helios4.dtb \ armada-385-amc.dtb \ armada-7040-db.dtb \ armada-7040-db-nand.dtb \
arch/arm/dts/armada-388-helios4.dts new file +314 -0
314 lines not on this page · raw message
arch/arm/dts/armada-38x-solidrun-microsom.dtsi new file +101 -0
101 lines not on this page · raw message
arch/arm/mach-mvebu/Kconfig +7 -0
@@ -75,6 +75,10 @@ config TARGET_CLEARFOG bool "Support ClearFog" select 88F6820 +config TARGET_HELIOS4 + bool "Support Helios4" + select 88F6820 + config TARGET_MVEBU_ARMADA_37XX bool "Support Armada 37xx platforms" select ARMADA_3700
@@ -132,6 +136,7 @@ endchoice config SYS_BOARD default "clearfog" if TARGET_CLEARFOG + default "helios4" if TARGET_HELIOS4 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX default "db-88f6720" if TARGET_DB_88F6720 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
@@ -146,6 +151,7 @@ config SYS_BOARD config SYS_CONFIG_NAME default "clearfog" if TARGET_CLEARFOG + default "helios4" if TARGET_HELIOS4 default "mvebu_armada-37xx" if TARGET_MVEBU_ARMADA_37XX default "db-88f6720" if TARGET_DB_88F6720 default "db-88f6820-gp" if TARGET_DB_88F6820_GP
@@ -166,6 +172,7 @@ config SYS_VENDOR default "Marvell" if TARGET_DB_88F6820_AMC default "Marvell" if TARGET_MVEBU_ARMADA_8K default "solidrun" if TARGET_CLEARFOG + default "kobol" if TARGET_HELIOS4 default "Synology" if TARGET_DS414 default "CZ.NIC" if TARGET_TURRIS_OMNIA default "CZ.NIC" if TARGET_TURRIS_MOX
board/kobol/helios4/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +HELIOS4 BOARD +M: Dennis Gilmore <[email protected]> +S: Maintained +F: board/kobol/helios4/ +F: include/configs/helios4.h +F: configs/helios4_defconfig
board/kobol/helios4/Makefile new file +5 -0
@@ -0,0 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2018 Dennis Gilmore <[email protected]> + +obj-y := helios4.o
board/kobol/helios4/README new file +46 -0
46 lines not on this page · raw message
board/kobol/helios4/helios4.c new file +162 -0
162 lines not on this page · raw message
board/kobol/helios4/kwbimage.cfg new file +13 -0
@@ -0,0 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0+ +# +# Copyright (C) 2015 Stefan Roese <[email protected]> +# + +# Armada 38x use version 1 image format +VERSION 1 + +# Boot Media configurations +BOOT_FROM sdio + +# Binary Header (bin_hdr) with DDR3 training code +BINARY spl/u-boot-spl-dtb.bin 0000005b 00000068
configs/helios4_defconfig new file +58 -0
58 lines not on this page · raw message
include/configs/helios4.h new file +172 -0
172 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v3 1/1 arm: mvebu: Add Helios4 Armada 38x initial support
Quoted 23 lines · dgilmore at redhat.com
From: Dennis Gilmore <[email protected]>
The helios4 is built on the SolidRun Armada 38x SOM. The port os based on the ClearFog board, using information from
https://github.com/helios-4/u-boot-marvell as well as dtb input from https://github.com/helios-4/linux-marvellSigned-off-by Dennis Gilmore <[email protected]>Signed-off-by Dennis Gilmore <[email protected]>---
changes since RFC
addarmada-38x-solidrun-microsom.dtsiminus buffer-memory nodes from linux kernel fix up maintainers file
use correct switch in README file
add SPDX header to kwbimage.cfg and dts file
Port toDM_I2CChanges since V1
moved to kobol namespace at the request of the board supplier remove gpio resets they are clearfog specific
set maintainer to myself and update copyrights remove unused config options
Quoted 3 lines
Changes since V2
fixup issues identifed by checkpatch.pl
Applied to u-boot-marvell/master
Thanks,
Stefan