-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: mps3: Support for mps3_corstone310/an555
Added a new mps3 board an555 for the soc corstone310 to enable testing with ARM FVP (FVP_Corstone_SSE-310). The qualifier to build/run application with board mps3/an555 is `mps3/corstone310/an555` for secure and `mps3/corstone310/an555/ns` for non-secure. Signed-off-by: Sudan Landge <[email protected]>
- Loading branch information
Showing
16 changed files
with
371 additions
and
5 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Copyright 2024 Arm Limited and/or its affiliates <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
if BOARD_MPS3_CORSTONE300_AN547 || BOARD_MPS3_CORSTONE300_AN552 | ||
if BOARD_MPS3_CORSTONE300_AN547 || BOARD_MPS3_CORSTONE300_AN552 || BOARD_MPS3_CORSTONE310_AN555 | ||
|
||
# MPU-based null-pointer dereferencing detection cannot | ||
# be applied as the (0x0 - 0x400) is unmapped but QEMU | ||
|
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
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
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
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
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,96 @@ | ||
/* | ||
* Copyright 2024 Arm Limited and/or its affiliates <[email protected]> | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <arm/armv8.1-m.dtsi> | ||
#include <zephyr/dt-bindings/i2c/i2c.h> | ||
#include <zephyr/dt-bindings/input/input-event-codes.h> | ||
#include <mem.h> | ||
#include "mps3_corstone300_common.dtsi" | ||
|
||
/ { | ||
compatible = "arm,mps3-an555"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
chosen { | ||
zephyr,console = &uart0; | ||
zephyr,shell-uart = &uart0; | ||
zephyr,sram = &dtcm; | ||
zephyr,flash = &itcm; | ||
}; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
compatible = "arm,cortex-m85"; | ||
reg = <0>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
mpu: mpu@e000ed90 { | ||
compatible = "arm,armv8.1m-mpu"; | ||
reg = <0xe000ed90 0x40>; | ||
}; | ||
}; | ||
}; | ||
|
||
ethosu { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
interrupt-parent = <&nvic>; | ||
|
||
ethosu0: ethosu@50004000 { | ||
compatible = "arm,ethos-u"; | ||
reg = <0x50004000>; | ||
interrupts = <16 3>; | ||
secure-enable; | ||
privilege-enable; | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
/* We utilize the secure addresses, if you subtract 0x10000000 | ||
* you'll get the non-secure alias | ||
*/ | ||
itcm: itcm@10000000 { /* alias @ 0x0 */ | ||
compatible = "zephyr,memory-region"; | ||
reg = <0x10000000 DT_SIZE_K(32)>; | ||
zephyr,memory-region = "ITCM"; | ||
}; | ||
|
||
sram: sram@11000000 { /* alias @ 0x01000000 */ | ||
compatible = "zephyr,memory-region", "mmio-sram"; | ||
reg = <0x11000000 DT_SIZE_M(2)>; | ||
zephyr,memory-region = "SRAM"; | ||
}; | ||
|
||
dtcm: dtcm@30000000 { /* alias @ 0x20000000 */ | ||
compatible = "zephyr,memory-region"; | ||
reg = <0x30000000 DT_SIZE_K(32)>; | ||
zephyr,memory-region = "DTCM"; | ||
}; | ||
|
||
isram: sram@31000000 {/* alias @ 0x21000000 */ | ||
compatible = "zephyr,memory-region", "mmio-sram"; | ||
reg = <0x31000000 DT_SIZE_M(4)>; | ||
zephyr,memory-region = "ISRAM"; | ||
}; | ||
|
||
soc { | ||
peripheral@50000000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ranges = <0x0 0x50000000 0x10000000>; | ||
|
||
#include "mps3_corstone300_common_soc_peripheral.dtsi" | ||
}; | ||
}; | ||
}; |
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,24 @@ | ||
# Copyright 2024 Arm Limited and/or its affiliates <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: mps3/corstone310/an555 | ||
name: Arm MPS3-AN555 | ||
type: mcu | ||
arch: arm | ||
ram: 32 | ||
flash: 32 | ||
simulation: armfvp | ||
simulation_exec: FVP_Corstone_SSE-310 | ||
toolchain: | ||
- gnuarmemb | ||
- zephyr | ||
- xtools | ||
supported: | ||
- gpio | ||
testing: | ||
ignore_tags: | ||
- drivers | ||
- bluetooth | ||
- net | ||
- timer | ||
vendor: arm |
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,17 @@ | ||
# Copyright 2024 Arm Limited and/or its affiliates <[email protected]> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_RUNTIME_NMI=y | ||
CONFIG_ARM_TRUSTZONE_M=y | ||
CONFIG_ARM_MPU=y | ||
|
||
# GPIOs | ||
CONFIG_GPIO=y | ||
|
||
# Serial | ||
CONFIG_CONSOLE=y | ||
CONFIG_UART_CONSOLE=y | ||
CONFIG_SERIAL=y | ||
|
||
# Build a Secure firmware image | ||
CONFIG_TRUSTED_EXECUTION_SECURE=y |
Oops, something went wrong.