1/*
2 * Copyright 2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <nxp/nxp_imx93_m33.dtsi>
10#include "imx93_evk-pinctrl.dtsi"
11#include <zephyr/dt-bindings/input/input-event-codes.h>
12
13/ {
14	model = "NXP i.MX93 EVK board";
15	compatible = "nxp,imx93_evk";
16
17	chosen {
18		/* TCM */
19		zephyr,flash = &itcm;
20		zephyr,sram = &dtcm;
21
22		zephyr,console = &lpuart2;
23		zephyr,shell-uart = &lpuart2;
24	};
25
26	aliases {
27		led0 = &led_r;
28		led1 = &led_g;
29		sw0 = &btn_1;
30	};
31
32	leds {
33		compatible = "gpio-leds";
34		led_r: led_r {
35			label = "LED_R";
36			gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
37		};
38		led_g: led_g {
39			label = "LED_G";
40			gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
41		};
42		led_b: led_b {
43			label = "LED_B";
44			gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
45		};
46	};
47
48	keys {
49		compatible = "gpio-keys";
50
51		btn_1: btn_1{
52			label = "BTN1";
53			gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
54			zephyr,code = <INPUT_KEY_0>;
55		};
56
57		btn_2: btn_2{
58			label = "BTN2";
59			gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
60			zephyr,code = <INPUT_KEY_1>;
61		};
62	};
63};
64
65&lpuart2 {
66	status = "okay";
67	current-speed = <115200>;
68	pinctrl-0 = <&uart2_default>;
69	pinctrl-names = "default";
70};
71
72&gpio1 {
73	status = "okay";
74};
75
76&gpio2 {
77	status = "okay";
78};
79
80&gpio3 {
81	status = "okay";
82};
83
84&gpio4 {
85	status = "okay";
86};
87