Skip to content
Permalink
Browse files

boards: arm: Add support for 96Boards Meerkat96 board

Add board suppor for 96Boards Meerkat96 board from Novtech based on
NXP i.MX7 multi core processor. Zephyr is ported to run on the single
core Cortex-M co-processor on this board.

More information about this board can be found in 96Boards website:
https://www.96boards.org/product/imx7-96/

By default Zephyr console output is available via UART1 available at
the 40pin LS connector.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  • Loading branch information...
Mani-Sadhasivam authored and MaureenHelm committed Jun 13, 2019
1 parent f84e651 commit 49df0b10af815bc5915539b3d58d53caee61181a
@@ -58,6 +58,7 @@
/boards/arm/ @MaureenHelm @galak
/boards/arm/96b_argonkey/ @avisconti
/boards/arm/96b_carbon/ @rsalveti @idlethread
/boards/arm/96b_meerkat96/ @Mani-Sadhasivam
/boards/arm/96b_nitrogen/ @idlethread
/boards/arm/96b_neonkey/ @Mani-Sadhasivam
/boards/arm/96b_stm32_sensor_mez/ @Mani-Sadhasivam
@@ -0,0 +1,64 @@
/*
* Copyright (c) 2019, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*/

/dts-v1/;
#include <nxp/nxp_imx7d_m4.dtsi>

/ {
model = "Meerkat96 Board";
compatible = "novtech,imx7d-meerkat96";

chosen {
zephyr,flash = &tcml_code;
zephyr,sram = &tcmu_sys;
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
};

leds {
compatible = "gpio-leds";
green_led_0: led_0 {
gpios = <&gpio1 4 GPIO_INT_ACTIVE_LOW>;
label = "User LED1";
};
green_led_1: led_1 {
gpios = <&gpio1 5 GPIO_INT_ACTIVE_LOW>;
label = "User LED2";
};
green_led_2: led_2 {
gpios = <&gpio1 6 GPIO_INT_ACTIVE_LOW>;
label = "User LED3";
};
green_led_3: led_3 {
gpios = <&gpio1 7 GPIO_INT_ACTIVE_LOW>;
label = "User LED4";
};
};

aliases {
gpio-1 = &gpio1;
led0 = &green_led_0;
led1 = &green_led_1;
led2 = &green_led_2;
led3 = &green_led_3;
uart-1 = &uart1;
mu-b = &mub;
};
};

&uart1 {
status = "ok";
current-speed = <115200>;
modem-mode = <0>;
};

&gpio1 {
status = "ok";
};

&mub {
status = "ok";
};
@@ -0,0 +1,23 @@
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

identifier: 96b_meerkat96
name: 96Boards Meerkat96
type: mcu
arch: arm
ram: 32
flash: 32
toolchain:
- zephyr
- gnuarmemb
- xtools
supported:
- gpio
- shell
testing:
ignore_tags:
- net
- bluetooth
@@ -0,0 +1,24 @@
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

CONFIG_ARM=y
CONFIG_SOC_FAMILY_IMX=y
CONFIG_SOC_SERIES_IMX7_M4=y
CONFIG_SOC_MCIMX7_M4=y
CONFIG_BOARD_96B_MEERKAT96=y
CONFIG_CORTEX_M_SYSTICK=y

# enable uart driver
CONFIG_SERIAL=y
CONFIG_SERIAL_HAS_DRIVER=y
CONFIG_UART_INTERRUPT_DRIVEN=y

# console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_CONSOLE_HAS_DRIVER=y

CONFIG_XIP=y
@@ -0,0 +1,9 @@
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

zephyr_library()
zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
zephyr_library_sources(pinmux.c)
@@ -0,0 +1,11 @@
# Kconfig - 96Boards Meerkat96 board
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

config BOARD_96B_MEERKAT96
bool "96Boards Meerkat96 board"
depends on SOC_SERIES_IMX7_M4
select SOC_PART_NUMBER_MCIMX7D5EVM10SC
@@ -0,0 +1,34 @@
# Kconfig - 96Boards Meerkat96 board
#
# Copyright (c) 2019, Linaro Ltd.
#
# SPDX-License-Identifier: Apache-2.0
#

if BOARD_96B_MEERKAT96

config BOARD
default "96b_meerkat96"

if GPIO_IMX

config GPIO_IMX_PORT_1
default y

endif # GPIO_IMX

if UART_IMX

config UART_IMX_UART_1
default y

endif # UART_IMX

if !XIP
config FLASH_SIZE
default 0
config FLASH_BASE_ADDRESS
default 0
endif

endif # BOARD_96B_MEERKAT96
Binary file not shown.

0 comments on commit 49df0b1

Please sign in to comment.
You can’t perform that action at this time.