1/*
2 * Copyright (c) 2024, Toradex
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <nxp/nxp_imx8mm_m4.dtsi>
10#include "verdin_imx8mm-pinctrl.dtsi"
11
12/ {
13	model = "Toradex Verdin iMX8M Mini";
14	compatible = "nxp,verdin_imx8mm";
15
16	aliases {
17		uart-1 = &uart1;
18		uart-2 = &uart2;
19		uart-3 = &uart3;
20		uart-4 = &uart4;
21		led0 = &led_0;
22	};
23
24	chosen {
25		zephyr,flash = &tcml_code;
26		zephyr,sram = &tcmu_sys;
27		zephyr,console = &uart4;
28		zephyr,shell-uart = &uart4;
29	};
30
31	leds {
32		compatible = "gpio-leds";
33
34		led_0: led_0 {
35			gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
36		};
37	};
38};
39
40&gpio3 {
41	status = "okay";
42};
43
44&mailbox0 {
45	status = "okay";
46};
47
48&uart1 {
49	pinctrl-names = "default";
50	pinctrl-0 = <&uart4_default>;
51	current-speed = <115200>;
52	status = "disabled";
53};
54
55&uart2 {
56	pinctrl-names = "default";
57	pinctrl-0 = <&uart4_default>;
58	current-speed = <115200>;
59	status = "disabled";
60};
61
62&uart3 {
63	pinctrl-names = "default";
64	pinctrl-0 = <&uart4_default>;
65	current-speed = <115200>;
66	status = "disabled";
67};
68
69&uart4 {
70	pinctrl-names = "default";
71	pinctrl-0 = <&uart4_default>;
72	current-speed = <115200>;
73	status = "okay";
74};
75