boards: arm: lpcxpresso55s28: Remove NS board config

There is no known TFM/secure side solution for the lpcxpresso55s28.
The '_ns' board config variant was added as a copy/pasted based on
how some other boards did things.  If/when TFM supports the board
we can revert this to support it.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-05-19 08:04:52 -05:00 committed by Kumar Gala
commit 58d3760533
5 changed files with 3 additions and 155 deletions

View file

@ -86,7 +86,6 @@ The default configuration file
Currently available targets for this board are:
- *lpcxpresso55s28* secure (S) address space
- *lpcxpresso55s28_ns* non-secure (NS) address space
Connections and IOs
===================
@ -164,7 +163,7 @@ Here is an example for the :ref:`hello_world` application.
.. zephyr-app-commands::
:zephyr-app: samples/hello_world
:board: lpcxpresso55s28_ns
:board: lpcxpresso55s28
:goals: flash
Open a serial terminal, reset the board (press the RESET button), and you should

View file

@ -1,100 +0,0 @@
/*
* Copyright (c) 2020 Lemonbeat GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
/dts-v1/;
#include <nxp/nxp_lpc55S2x_ns.dtsi>
#include "lpcxpresso55s28_common.dtsi"
/ {
model = "NXP LPCXpresso55S28 board (non-secure)";
compatible = "nxp,lpc55xxx", "nxp,lpc";
aliases {
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
};
chosen {
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,console = &flexcomm0;
zephyr,shell-uart = &flexcomm0;
zephyr,entropy = &rng;
};
gpio_keys {
compatible = "gpio-keys";
user_button_1: button_0 {
label = "User SW1";
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
};
user_button_2: button_1 {
label = "User SW2";
gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
};
user_button_3: button_2 {
label = "User SW3";
gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
};
};
};
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
&green_led {
status = "okay";
};
&red_led {
status = "okay";
};
&blue_led {
status = "okay";
};
&flexcomm0 {
status = "okay";
};
&flexcomm4 {
status = "okay";
};
&hs_lspi {
status = "okay";
dmas = <&dma0 2>, <&dma0 3>;
dma-names = "rx", "tx";
};
&wwdt0 {
status = "okay";
};
&adc0 {
status = "okay";
};
&dma0 {
/*
* The total number of dma channels available is defined by
* FSL_FEATURE_DMA_NUMBER_OF_CHANNELS in the SoC features file.
* Since memory from the heap pool is allocated based on the number
* of DMA channels, set this property to as many channels is needed
* for the platform. Adjust HEAP_MEM_POOL_SIZE in case you need more
* memory.
*/
dma-channels = <20>;
status = "okay";
};

View file

@ -1,24 +0,0 @@
#
# Copyright (c) 2020 Lemonbeat GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
identifier: lpcxpresso55s28_ns
name: NXP LPCXpresso55S28
type: mcu
arch: arm
ram: 64
flash: 256
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- adc
- arduino_i2c
- arduino_spi
- dma
- gpio
- spi
- watchdog

View file

@ -1,29 +0,0 @@
#
# Copyright (c) 2020 Lemonbeat GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_SOC_SERIES_LPC55XXX=y
CONFIG_SOC_LPC55S28=y
CONFIG_BOARD_LPCXPRESSO55S28=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CORTEX_M_SYSTICK=y
CONFIG_GPIO=y
CONFIG_PINMUX=y
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=96000000
# TFM sets up MPU_NS, can't correctly change this configuration yet
CONFIG_ARM_MPU=n
# Enable TrustZone-M
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_RUNTIME_NMI=y
CONFIG_ARM_TRUSTZONE_M=y
# TFM will run without MCUboot
CONFIG_TFM_BL2=n
CONFIG_BUILD_OUTPUT_HEX=y

View file

@ -263,6 +263,8 @@ Boards & SoC Support
* lpcxpresso55s16: Board renamed from lpcxpresso55s16_ns to
lpcxpresso55s16 since the board does not have Trusted Firmware M
(TF-M) support.
* lpcxpresso55s28: Removed lpcxpresso55s28_ns config since the board
does not have Trusted Firmware M (TF-M) support.
* Added support for these following shields: