1/*
2 * Copyright 2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <nxp/nxp_mcxn23x.dtsi>
10#include "frdm_mcxn236.dtsi"
11
12/ {
13	model = "NXP FRDM_N236 board";
14	compatible = "nxp,mcxn236", "nxp,mcx";
15
16	chosen {
17		zephyr,sram = &sram0;
18		zephyr,flash = &flash;
19		zephyr,flash-controller = &fmu;
20		zephyr,code-partition = &slot0_partition;
21		zephyr,uart-mcumgr = &flexcomm4_lpuart4;
22		zephyr,console = &flexcomm4_lpuart4;
23		zephyr,shell-uart = &flexcomm4_lpuart4;
24		zephyr,canbus = &flexcan1;
25	};
26
27	aliases{
28		watchdog0 = &wwdt0;
29		pwm-0 = &flexpwm1_pwm0;
30		rtc = &rtc;
31	};
32};
33
34&sram0 {
35	compatible = "mmio-sram";
36	reg = <0x20000000 DT_SIZE_K(192)>;
37};
38
39&gpio4 {
40	status = "okay";
41};
42
43&gpio1 {
44	status = "okay";
45};
46
47&gpio0 {
48	status = "okay";
49};
50
51&green_led {
52	status = "okay";
53};
54
55&red_led {
56	status = "okay";
57};
58
59&user_button_2 {
60	status = "okay";
61};
62
63&edma0 {
64	status = "okay";
65};
66
67&flexcomm2 {
68	status = "okay";
69};
70
71/*
72 * LPFLEXCOMM supports UART and I2C on the same instance, enable this for
73 * LFLEXCOMM2
74 */
75&flexcomm2_lpuart2 {
76	status = "okay";
77};
78
79&flexcomm2_lpi2c2 {
80	status = "okay";
81};
82
83&flexcomm3 {
84	status = "okay";
85};
86
87&flexcomm3_lpspi3 {
88	status = "okay";
89};
90
91&flexcomm4 {
92	status = "okay";
93};
94
95&flexcomm4_lpuart4 {
96	status = "okay";
97};
98
99&flexcomm5 {
100	status = "okay";
101};
102
103&flexcomm5_lpi2c5 {
104	status = "okay";
105};
106
107&wwdt0 {
108	status = "okay";
109};
110
111&flexpwm1_pwm0 {
112	status = "okay";
113};
114
115&flexcan1 {
116	status = "okay";
117};
118
119&ctimer0 {
120	status = "okay";
121};
122
123&vref {
124	status = "okay";
125};
126
127&lpadc0 {
128	status = "okay";
129};
130
131zephyr_udc0: &usb1 {
132	status = "okay";
133};
134
135&lpcmp0 {
136	status = "okay";
137};
138
139&flexio0 {
140	status = "okay";
141};
142
143&lptmr0 {
144	status = "okay";
145};
146
147&mrt0_channel0 {
148	status = "okay";
149};
150
151&rtc {
152	status = "okay";
153};
154