Commit fbe0fae6 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Thomas Bogendoerfer
Browse files

MIPS: mobileye: Add EyeQ6H support



EyeQ6H (or “High”) is an other SoC from Mobileye still based on the
MIPS I6500 architecture as the EyeQ5. The 2 clusters of this SoC
contains 4 cores which are capable of running 4 threads. Besides this,
it features multiple controllers such as the classic UART, high speed
I2C, SPI, as well as CAN-FD, PCIe Gen4, Octal/Quad SPI Flash
interface, Gigabit Ethernet, MIPI CSI-2, MIPI DSI, and eMMC 5.1. It
also includes a Hardware Security Module, Functional Safety Hardware,
and video encoders and more.

This commit provides the infrastructure to build a kernel running on
EyeQ6H SoC. For now the support is limited and only one CPU core is
running.

Reviewed-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 12c03bd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ platform-$(CONFIG_BCM47XX) += bcm47xx/
platform-$(CONFIG_BCM63XX)		+= bcm63xx/
platform-$(CONFIG_BMIPS_GENERIC)	+= bmips/
platform-$(CONFIG_CAVIUM_OCTEON_SOC)	+= cavium-octeon/
platform-$(CONFIG_EYEQ)			+= mobileye/
platform-$(CONFIG_MIPS_COBALT)		+= cobalt/
platform-$(CONFIG_MACH_DECSTATION)	+= dec/
platform-$(CONFIG_MIPS_GENERIC)		+= generic/
@@ -17,7 +18,6 @@ platform-$(CONFIG_MACH_LOONGSON2EF) += loongson2ef/
platform-$(CONFIG_MACH_LOONGSON32)	+= loongson32/
platform-$(CONFIG_MACH_LOONGSON64)	+= loongson64/
platform-$(CONFIG_MIPS_MALTA)		+= mti-malta/
platform-$(CONFIG_MACH_EYEQ5)		+= mobileye/
platform-$(CONFIG_MACH_NINTENDO64)	+= n64/
platform-$(CONFIG_PIC32MZDA)		+= pic32/
platform-$(CONFIG_RALINK)		+= ralink/
+4 −3
Original line number Diff line number Diff line
@@ -575,8 +575,8 @@ config MACH_PIC32
	  Microchip PIC32 is a family of general-purpose 32 bit MIPS core
	  microcontrollers.

config MACH_EYEQ5
	bool "Mobileye EyeQ5 SoC"
config EYEQ
	bool "Mobileye EyeQ SoC"
	select MACH_GENERIC_CORE
	select ARM_AMBA
	select PHYSICAL_START_BOOL
@@ -615,7 +615,7 @@ config MACH_EYEQ5
	select USB_UHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
	select USE_OF
	help
	  Select this to build a kernel supporting EyeQ5 SoC from Mobileye.
	  Select this to build a kernel supporting EyeQ SoC from Mobileye.

	bool

@@ -1021,6 +1021,7 @@ source "arch/mips/generic/Kconfig"
source "arch/mips/ingenic/Kconfig"
source "arch/mips/jazz/Kconfig"
source "arch/mips/lantiq/Kconfig"
source "arch/mips/mobileye/Kconfig"
source "arch/mips/pic32/Kconfig"
source "arch/mips/ralink/Kconfig"
source "arch/mips/sgi-ip27/Kconfig"
+1 −1
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
subdir-$(CONFIG_BMIPS_GENERIC)		+= brcm
subdir-$(CONFIG_CAVIUM_OCTEON_SOC)	+= cavium-octeon
subdir-$(CONFIG_EYEQ)			+= mobileye
subdir-$(CONFIG_FIT_IMAGE_FDT_MARDUK)   += img
subdir-$(CONFIG_FIT_IMAGE_FDT_BOSTON)	+= img
subdir-$(CONFIG_MACH_INGENIC)		+= ingenic
@@ -8,7 +9,6 @@ subdir-$(CONFIG_LANTIQ) += lantiq
subdir-$(CONFIG_MACH_LOONGSON64)	+= loongson
subdir-$(CONFIG_SOC_VCOREIII)		+= mscc
subdir-$(CONFIG_MIPS_MALTA)		+= mti
subdir-$(CONFIG_MACH_EYEQ5)		+= mobileye
subdir-$(CONFIG_LEGACY_BOARD_SEAD3)	+= mti
subdir-$(CONFIG_FIT_IMAGE_FDT_NI169445)	+= ni
subdir-$(CONFIG_MACH_PIC32)		+= pic32
+1 −0
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@
# Copyright 2023 Mobileye Vision Technologies Ltd.

dtb-$(CONFIG_MACH_EYEQ5)		+= eyeq5-epm5.dtb
dtb-$(CONFIG_MACH_EYEQ6H)		+= eyeq6h-epm6.dtb
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ CONFIG_USER_NS=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_EXPERT=y
CONFIG_EYEQ=y
CONFIG_MACH_EYEQ5=y
CONFIG_FIT_IMAGE_FDT_EPM5=y
CONFIG_PAGE_SIZE_16KB=y
Loading