1/*
2 * Copyright 2025 Variscite Ltd.
3 * Copyright 2022,2024 NXP
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8/dts-v1/;
9
10#include <nxp/nxp_mimx93_a55.dtsi>
11#include "imx93_var_dart-pinctrl.dtsi"
12#include <zephyr/dt-bindings/gpio/gpio.h>
13#include <zephyr/dt-bindings/input/input-event-codes.h>
14
15/ {
16	model = "Variscite DART-MX93 A55";
17	compatible = "fsl,mimx93";
18
19	chosen {
20		zephyr,console = &lpuart7;
21		zephyr,shell-uart = &lpuart7;
22		zephyr,sram = &sram0;
23	};
24
25	cpus {
26		cpu@0 {
27			status = "disabled";
28		};
29	};
30
31	sram0: memory@80400000 {
32		reg = <0x80400000 DT_SIZE_M(1)>;
33	};
34
35	lpuart7: serial@42690000 {
36		compatible = "nxp,imx-lpuart", "nxp,lpuart";
37		reg = <0x42690000 DT_SIZE_K(64)>;
38		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
39		interrupt-names = "irq_0";
40		interrupt-parent = <&gic>;
41		clocks = <&ccm IMX_CCM_LPUART7_CLK 0x6c 24>;
42		status = "okay";
43		current-speed = <115200>;
44		pinctrl-0 = <&uart7_default>;
45		pinctrl-names = "default";
46	};
47
48	aliases {
49		led0 = &blinky0;
50		sw0 = &button0;
51	};
52
53	leds {
54		compatible = "gpio-leds";
55
56		blinky0: blinky_0 {
57			gpios = <&gpio4 1 GPIO_ACTIVE_HIGH>;
58		};
59	};
60
61	keys {
62		compatible = "gpio-keys";
63
64		button0: btn_0 {
65			label = "BTN0";
66			gpios = <&gpio2 27 (GPIO_PULL_UP|GPIO_ACTIVE_LOW)>;
67			zephyr,code = <INPUT_KEY_0>;
68		};
69	};
70};
71
72&gpio2 {
73	status = "okay";
74};
75
76&gpio4 {
77	status = "okay";
78};
79