boards: arm: Add bcm958402m2_a72 board

Add support for bcm958402m2_a72 board for booting zephyr
on Cortex-A72 core.

Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com>
This commit is contained in:
Abhishek Shah 2020-04-23 15:02:29 +05:30 committed by Carles Cufí
commit 012472f7d5
9 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1 @@
# SPDX-License-Identifier: Apache-2.0

View file

@ -0,0 +1,6 @@
# Copyright 2020 Broadcom
# SPDX-License-Identifier: Apache-2.0
config BOARD_BCM958402M2_A72
bool "Broadcom Viper BCM958402M2_A72"
depends on SOC_BCM58402_A72

View file

@ -0,0 +1,6 @@
# Copyright 2020 Broadcom
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "bcm958402m2_a72"
depends on BOARD_BCM958402M2_A72

View file

@ -0,0 +1,26 @@
/*
* Copyright 2020 Broadcom
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <broadcom/viper-a72.dtsi>
/ {
model = "Broadcom BCM958402M2_A72";
compatible = "brcm,viper";
#address-cells = <1>;
#size-cells = <1>;
chosen {
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
zephyr,sram = &sram0;
};
};
&uart1 {
status = "okay";
current-speed = <57600>;
};

View file

@ -0,0 +1,7 @@
identifier: bcm958402m2_a72
name: Broadcom BCM958402M2_A72
type: mcu
arch: arm
toolchain:
- zephyr
- cross-compile

View file

@ -0,0 +1,20 @@
# SPDX-License-Identifier: Apache-2.0
# Platform Configuration
CONFIG_SOC_SERIES_VIPER=y
CONFIG_SOC_BCM58402_A72=y
CONFIG_BOARD_BCM958402M2_A72=y
# Zephyr Kernel Configuration
CONFIG_XIP=n
CONFIG_FLASH_SIZE=0
CONFIG_FLASH_BASE_ADDRESS=0x0
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_UART_NS16550=y
# Enable Console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

View file

@ -0,0 +1 @@
# SPDX-License-Identifier: Apache-2.0

View file

@ -0,0 +1,51 @@
.. _bcm958402m2_a72:
Broadcom BCM958402M2 (Cortex-A72)
#################################
Overview
********
The Broadcom bcm958402m2_a72 board utilizes the Viper BCM58402_A72 SoC
to provide support for PCIe offload engine functionality.
Hardware
********
The bcm958402m2_a72 is a PCIe card with the following physical features:
* PCIe Gen4 interface
* RS232 UART (optionally populated)
* JTAG (optionally populated)
Supported Features
==================
The Broadcom bcm958402m2_a72 board configuration supports the following
hardware features:
+-----------+------------+--------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+======================================+
| GIC-500 | on-chip | GICv3 interrupt controller |
+-----------+------------+--------------------------------------+
| UART | on-chip | NS16550 compatible serial port |
+-----------+------------+--------------------------------------+
Other hardware features are not supported by the Zephyr kernel.
The default configuration can be found in the defconfig file:
``boards/arm/bcm958402m2_a72/bcm958402m2_a72_defconfig``
Programming and Debugging
*************************
Flashing
========
The flash on board is not supported by Zephyr at this time.
Board is booted over PCIe interface.
Debugging
=========
The bcm958402m2_a72 board includes pads for soldering a JTAG connector.
Zephyr applications running on the Cortex-A72 core can also be tested
by observing UART console output.

View file

@ -3,3 +3,5 @@ tests:
# nios2 excluded, see #22956
arch_exclude: nios2
tags: interrupt
# testcase is not supporting GICv3 yet, disable for bcm958402m2_a72 for now
platform_exclude: bcm958402m2_a72