Skip to content

Commit 13dfeba

Browse files
Karl Zhanggalak
authored andcommitted
arm: V2M Musca B1: Add Musca B1 SoC and board support
Musca B1 is a Cortex-M33 based SoC. Signed-off-by: Karl Zhang <[email protected]>
1 parent 6e7f99a commit 13dfeba

24 files changed

+1125
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2019 Linaro Limited
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
zephyr_library()
8+
zephyr_library_sources(pinmux.c)
9+
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2019 Linaro Limited
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
config BOARD_MUSCA_B1
8+
bool "ARM Cortex-M33 SMM on V2M-MUSCA"
9+
depends on SOC_SERIES_MUSCA_B1
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#
2+
# Copyright (c) 2019 Linaro Limited
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
if BOARD_MUSCA_B1
8+
9+
if TRUSTED_EXECUTION_SECURE || !TRUSTED_EXECUTION_NONSECURE
10+
11+
config BOARD
12+
default "musca_b1"
13+
14+
endif
15+
16+
if TRUSTED_EXECUTION_NONSECURE
17+
18+
config BOARD
19+
default "musca_b1_nonsecure"
20+
21+
endif
22+
23+
24+
if SERIAL
25+
26+
config UART_PL011
27+
def_bool y
28+
29+
config UART_INTERRUPT_DRIVEN
30+
def_bool y
31+
32+
config UART_PL011_PORT0
33+
def_bool y
34+
35+
config UART_PL011_PORT1
36+
def_bool y
37+
38+
endif # SERIAL
39+
40+
endif
229 KB
Loading

0 commit comments

Comments
 (0)