Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 794d15b2 authored by Stanislav Samsonov's avatar Stanislav Samsonov Committed by Lennert Buytenhek
Browse files

[ARM] add Marvell 78xx0 ARM SoC support



The Marvell Discovery Duo (MV78xx0) is a family of ARM SoCs featuring
(depending on the model) one or two Feroceon CPU cores with 512K of L2
cache and VFP coprocessors running at (depending on the model) between
800 MHz and 1.2 GHz, and features a DDR2 controller, two PCIe
interfaces that can each run either in x4 or quad x1 mode, three USB
2.0 interfaces, two 3Gb/s SATA II interfaces, a SPI interface, two
TWSI interfaces, a crypto accelerator, IDMA/XOR engines, a SPI
interface, four UARTs, and depending on the model, two or four gigabit
ethernet interfaces.

This patch adds basic support for the platform, and allows booting
on the MV78x00 development board, with functional UARTs, SATA, PCIe,
GigE and USB ports.

Signed-off-by: default avatarStanislav Samsonov <samsonov@marvell.com>
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
parent a9311cfe
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -388,6 +388,16 @@ config ARCH_LOKI
	help
	  Support for the Marvell Loki (88RC8480) SoC.

config ARCH_MV78XX0
	bool "Marvell MV78xx0"
	select PCI
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
	select PLAT_ORION
	help
	  Support for the following Marvell MV78xx0 series SoCs:
	  MV781x0, MV782x0.

config ARCH_MXC
	bool "Freescale MXC/iMX-based"
	select ARCH_MTD_XIP
@@ -528,6 +538,8 @@ source "arch/arm/mach-ixp23xx/Kconfig"

source "arch/arm/mach-loki/Kconfig"

source "arch/arm/mach-mv78xx0/Kconfig"

source "arch/arm/mach-pxa/Kconfig"

source "arch/arm/mach-sa1100/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ endif
 machine-$(CONFIG_ARCH_ORION5X)	   := orion5x
 machine-$(CONFIG_ARCH_MSM7X00A)   := msm
 machine-$(CONFIG_ARCH_LOKI)       := loki
 machine-$(CONFIG_ARCH_MV78XX0)    := mv78xx0

ifeq ($(CONFIG_ARCH_EBSA110),y)
# This is what happens if you forget the IOCS16 line.
+13 −0
Original line number Diff line number Diff line
if ARCH_MV78XX0

menu "Marvell MV78xx0 Implementations"

config MACH_DB78X00_BP
	bool "Marvell DB-78x00-BP Development Board"
	help
	  Say 'Y' here if you want your kernel to support the
	  Marvell DB-78x00-BP Development Board.

endmenu

endif
+2 −0
Original line number Diff line number Diff line
obj-y				+= common.o addr-map.o irq.o pcie.o
obj-$(CONFIG_MACH_DB78X00_BP)	+= db78x00-bp-setup.o
+3 −0
Original line number Diff line number Diff line
   zreladdr-y	:= 0x00008000
params_phys-y	:= 0x00000100
initrd_phys-y	:= 0x00800000
Loading