Skip to content

Commit

Permalink
arm: v2m musca: Add support for v2m musca SoC and board
Browse files Browse the repository at this point in the history
Support musca board as a variant, it is a Cortex-M33 based SoC.

Signed-off-by: Karl Zhang <karl.zhang@linaro.org>
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
Karl Zhang authored and galak committed Jan 15, 2019
1 parent 0859f34 commit 80a9fc3
Show file tree
Hide file tree
Showing 25 changed files with 1,247 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boards/arm/v2m_musca/CMakeLists.txt
@@ -0,0 +1,9 @@
#
# Copyright (c) 2018 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_library()
zephyr_library_sources(pinmux.c)
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
9 changes: 9 additions & 0 deletions boards/arm/v2m_musca/Kconfig.board
@@ -0,0 +1,9 @@
#
# Copyright (c) 2018 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_MUSCA_A
bool "ARM Cortex-M33 SMM on V2M-MUSCA"
depends on SOC_SERIES_MUSCA
79 changes: 79 additions & 0 deletions boards/arm/v2m_musca/Kconfig.defconfig
@@ -0,0 +1,79 @@
#
# Copyright (c) 2018 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_MUSCA_A

if TRUSTED_EXECUTION_SECURE || !TRUSTED_EXECUTION_NONSECURE

config BOARD
default "musca_a"

endif

if TRUSTED_EXECUTION_NONSECURE

config BOARD
default "musca_a_nonsecure"

endif



if SERIAL

config UART_PL011
def_bool y

config UART_INTERRUPT_DRIVEN
def_bool y

config UART_PL011_PORT0
def_bool y

config UART_PL011_PORT1
def_bool y

endif # SERIAL

if COUNTER

if COUNTER_TMR_CMSDK_APB

config COUNTER_TMR_CMSDK_APB_0
def_bool y

config COUNTER_TMR_CMSDK_APB_1
def_bool y

endif # COUNTER_TMR_CMSDK_APB

if TIMER_TMR_CMSDK_APB

config TIMER_TMR_CMSDK_APB_0
def_bool y

config TIMER_TMR_CMSDK_APB_1
def_bool y

endif # TIMER_TMR_CMSDK_APB

if COUNTER_DTMR_CMSDK_APB

config COUNTER_DTMR_CMSDK_APB_0
def_bool y

endif # COUNTER_DTMR_CMSDK_APB

if TIMER_DTMR_CMSDK_APB

config TIMER_DTMR_CMSDK_APB_0
def_bool y

endif # TIMER_DTMR_CMSDK_APB

endif # COUNTER

endif
Binary file added boards/arm/v2m_musca/doc/img/v2m_musca.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80a9fc3

Please sign in to comment.