Skip to content

Commit f3cdf58

Browse files
committed
boards/arm: add support for colibri_imx7d_m4 board
The Colibri iMX7D Computer on Module with Colibri Evaluation Board configuration supports the following hardware features on the Cortex M4 Core: +-----------+------------+-------------------------------------+ | Interface | Controller | Driver/Component | +===========+============+=====================================+ | NVIC | on-chip | nested vector interrupt controller | +-----------+------------+-------------------------------------+ | SYSTICK | on-chip | systick | +-----------+------------+-------------------------------------+ | UART | on-chip | serial port-polling; | | | | serial port-interrupt | +-----------+------------+-------------------------------------+ The default configuration can be found in the defconfig file: boards/arm/colibri_imx7d_m4/colibri_imx7d_m4_defconfig Other hardware features are not currently supported by the port. Connections and IOs: The Colibri iMX7D Computer on Module with Colibri Evaluation Board was tested with the following pinmux controller configuration. +---------------+-----------------+---------------------------+ | Board Name | SoC Name | Usage | +===============+=================+===========================+ | UART_B RXD | UART2_TXD | UART Console | +---------------+-----------------+---------------------------+ | UART_B TXD | UART2_RXD | UART Console | +---------------+-----------------+---------------------------+ Signed-off-by: Diego Sueiro <[email protected]>
1 parent f0596ec commit f3cdf58

10 files changed

+469
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# Copyright (c) 2017, NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
zephyr_library()
8+
zephyr_library_include_directories(${PROJECT_SOURCE_DIR}/drivers)
9+
zephyr_library_sources(pinmux.c)
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Kconfig - Colibri iMX7D M4 board
2+
#
3+
# Copyright (c) 2017, NXP
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
8+
config BOARD_COLIBRI_IMX7D_M4
9+
bool "Toradex Colibri iMX7 Dual"
10+
depends on SOC_SERIES_IMX7_M4
11+
select SOC_PART_NUMBER_MCIMX7D5EVM10SC
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Kconfig - Colibri iMX7D M4 board
2+
#
3+
# Copyright (c) 2017, NXP
4+
#
5+
# SPDX-License-Identifier: Apache-2.0
6+
#
7+
8+
if BOARD_COLIBRI_IMX7D_M4
9+
10+
config BOARD
11+
default colibri_imx7d_m4
12+
13+
if UART_IMX
14+
15+
config UART_IMX_UART_2
16+
def_bool y
17+
18+
endif # UART_IMX
19+
20+
endif # BOARD_COLIBRI_IMX7D_M4

boards/arm/colibri_imx7d_m4/board.h

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*
2+
* Copyright (c) 2018, Diego Sueiro <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#ifndef __INC_BOARD_H
8+
#define __INC_BOARD_H
9+
10+
#include <soc.h>
11+
12+
#endif /* __INC_BOARD_H */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (c) 2017, NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include <nxp/nxp_imx7d_m4.dtsi>
10+
11+
/ {
12+
model = "TORADEX Colibri IMX7D board";
13+
compatible = "nxp,mcimx7d_m4";
14+
15+
aliases {
16+
gpio_1= &gpio1;
17+
uart_2 = &uart2;
18+
};
19+
20+
chosen {
21+
#if defined(CONFIG_XIP)
22+
zephyr,flash = &tcml_code;
23+
#endif
24+
zephyr,sram = &tcmu_sys;
25+
zephyr,console = &uart2;
26+
};
27+
};
28+
29+
&uart2 {
30+
status = "ok";
31+
current-speed = <115200>;
32+
modem-mode = <1>;
33+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#
2+
# Copyright (c) 2017, NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
identifier: colibri_imx7d_m4
8+
name: TORADEX Colibri IMX7D
9+
type: mcu
10+
arch: arm
11+
ram: 32
12+
flash: 32
13+
toolchain:
14+
- zephyr
15+
- gccarmemb
16+
testing:
17+
ignore_tags:
18+
- net
19+
- bluetooth
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Copyright (c) 2017, NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_ARM=y
8+
CONFIG_SOC_FAMILY_IMX=y
9+
CONFIG_SOC_SERIES_IMX7_M4=y
10+
CONFIG_SOC_MCIMX7_M4=y
11+
CONFIG_BOARD_COLIBRI_IMX7D_M4=y
12+
CONFIG_CORTEX_M_SYSTICK=y
13+
CONFIG_SERIAL_HAS_DRIVER=y
14+
CONFIG_UART_CONSOLE=y
15+
CONFIG_SERIAL=y
16+
CONFIG_CONSOLE=y
17+
CONFIG_CONSOLE_HAS_DRIVER=y
18+
CONFIG_XIP=y
Loading

0 commit comments

Comments
 (0)