-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boards: nxp: add imx93_evk M33 support
Added basic board support for imx93_evk M33. (cherry picked from commit 71fa64c) Original-Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> GitOrigin-RevId: 71fa64c Cr-Build-Id: 8738910416953667585 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8738910416953667585 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: If3d67a45900643493a3bd0025f1fd1e6a33376d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5806812 Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com> Reviewed-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com>
- Loading branch information
1 parent
dbf2795
commit 2d6dfb5
Showing
5 changed files
with
175 additions
and
6 deletions.
There are no files selected for viewing
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
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,83 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include <nxp/nxp_imx93_m33.dtsi> | ||
#include "imx93_evk-pinctrl.dtsi" | ||
|
||
/ { | ||
model = "NXP i.MX93 EVK board"; | ||
compatible = "nxp,imx93_evk"; | ||
|
||
chosen { | ||
/* TCM */ | ||
zephyr,flash = &itcm; | ||
zephyr,sram = &dtcm; | ||
|
||
zephyr,console = &lpuart2; | ||
zephyr,shell-uart = &lpuart2; | ||
}; | ||
|
||
aliases { | ||
led0 = &led_r; | ||
led1 = &led_g; | ||
sw0 = &btn_1; | ||
}; | ||
|
||
leds { | ||
compatible = "gpio-leds"; | ||
led_r: led_r { | ||
label = "LED_R"; | ||
gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; | ||
}; | ||
led_g: led_g { | ||
label = "LED_G"; | ||
gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; | ||
}; | ||
led_b: led_b { | ||
label = "LED_B"; | ||
gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; | ||
}; | ||
}; | ||
|
||
keys { | ||
compatible = "gpio-keys"; | ||
|
||
btn_1: btn_1{ | ||
label = "BTN1"; | ||
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
btn_2: btn_2{ | ||
label = "BTN2"; | ||
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; | ||
}; | ||
|
||
&lpuart2 { | ||
status = "okay"; | ||
current-speed = <115200>; | ||
pinctrl-0 = <&uart2_default>; | ||
pinctrl-names = "default"; | ||
}; | ||
|
||
&gpio1 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio2 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio3 { | ||
status = "okay"; | ||
}; | ||
|
||
&gpio4 { | ||
status = "okay"; | ||
}; |
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,16 @@ | ||
# Copyright 2024 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
identifier: imx93_evk/mimx9352/m33 | ||
name: NXP i.MX93 EVK M33 | ||
type: mcu | ||
arch: arm | ||
toolchain: | ||
- zephyr | ||
- cross-compile | ||
ram: 128 | ||
flash: 128 | ||
supported: | ||
- gpio | ||
- uart | ||
vendor: nxp |
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,10 @@ | ||
# Copyright 2024 NXP | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
CONFIG_CLOCK_CONTROL=y | ||
CONFIG_PINCTRL=y | ||
CONFIG_SERIAL=y | ||
CONFIG_UART_CONSOLE=y | ||
CONFIG_UART_INTERRUPT_DRIVEN=y | ||
CONFIG_CONSOLE=y | ||
CONFIG_XIP=y |