Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm: v2m musca: Add support for v2m musca SoC and board
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
Showing
25 changed files
with
1,247 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.