1/*
2 * Copyright 2018,2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <mem.h>
10
11/*
12 * Determines the address and size for code memory which will be applied
13 * when "zephyr,flash = &flash". Use this to select a custom region,
14 * usually within DDR.
15 */
16#define DT_FLASH_SIZE	DT_SIZE_K(512)
17#define DT_FLASH_ADDR	84000000 /* DT_ADDR will add leading 0x where needed */
18
19/*
20 * Determines the address and size for data memory which will be applied
21 * when "zephyr,sram = &sram". Use this to select a custom region,
22 * usually within DDR.
23 */
24#define DT_SRAM_SIZE	DT_SIZE_K(128)
25#define DT_SRAM_ADDR	84080000 /* DT_ADDR will add leading 0x where needed */
26
27#include <nxp/nxp_imx6sx_m4.dtsi>
28#include "udoo_neo_full-pinctrl.dtsi"
29
30/ {
31	model = "UDOO Neo Full board";
32	compatible = "nxp,mcmcimx6x_m4";
33
34	aliases {
35		led0 = &red_led;
36	};
37
38	chosen {
39		zephyr,flash = &flash;
40		zephyr,sram = &tcmu;
41		zephyr,console = &uart5;
42		zephyr,shell-uart = &uart5;
43	};
44
45	leds {
46		compatible = "gpio-leds";
47		red_led: led_0 {
48			gpios = <&gpio4 6 0>;
49			label = "User LD1";
50		};
51	};
52};
53
54&uart5 {
55	status = "okay";
56	current-speed = <115200>;
57	modem-mode = <0>;
58	pinctrl-0 = <&uart5_default>;
59	pinctrl-names = "default";
60};
61
62&gpio4 {
63	status = "okay";
64};
65
66&gpio5 {
67	status = "okay";
68};
69
70&gpio6 {
71	status = "okay";
72};
73
74&mub {
75	status = "okay";
76};
77
78&epit1 {
79	status = "okay";
80};
81
82&epit2 {
83	status = "okay";
84};
85