forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
f84e651
commit 49df0b1
Showing
10 changed files
with
548 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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,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"; | ||
}; |
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,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 |
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 (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 |
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,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) |
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,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 |
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,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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.