Skip to content

Commit eba03e8

Browse files
VitekSTkartben
authored andcommitted
dts: Add DT for brd mimxrt685_evk/mimxrt685s/hifi4
Add DT for mimxrt685_evk/mimxrt685s/hifi4 (i.MX RT685's HiFi 4 DSP core). Signed-off-by: Vit Stanicek <[email protected]>
1 parent cb1a7df commit eba03e8

File tree

1 file changed

+117
-0
lines changed

1 file changed

+117
-0
lines changed
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* Copyright 2025 NXP
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/dts-v1/;
7+
8+
#include <nxp/nxp_rt685_hifi4.dtsi>
9+
#include <zephyr/dt-bindings/gpio/gpio.h>
10+
11+
#include "mimxrt685_evk-pinctrl.dtsi"
12+
13+
/ {
14+
model = "NXP MIMXRT685-EVK board, HiFi 4 DSP domain";
15+
compatible = "nxp,mimxrt685";
16+
17+
chosen {
18+
zephyr,console = &flexcomm0;
19+
zephyr,shell-uart = &flexcomm0;
20+
};
21+
22+
aliases {
23+
led0 = &green_led;
24+
led1 = &blue_led;
25+
led2 = &red_led;
26+
sw0 = &user_button_1;
27+
mbox = &mbox;
28+
};
29+
30+
leds: leds {
31+
compatible = "gpio-leds";
32+
33+
green_led: led_1 {
34+
gpios = <&gpio0 14 0>;
35+
label = "User LED_GREEN";
36+
};
37+
38+
blue_led: led_2 {
39+
gpios = <&gpio0 26 0>;
40+
label = "User LED_BLUE";
41+
};
42+
43+
red_led: led_3 {
44+
gpios = <&gpio0 31 0>;
45+
label = "User LED_RED";
46+
};
47+
};
48+
49+
gpio_keys {
50+
compatible = "gpio-keys";
51+
52+
user_button_1: button_0 {
53+
label = "User SW1";
54+
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
55+
zephyr,code = <INPUT_KEY_0>;
56+
};
57+
};
58+
};
59+
60+
&gpio0 {
61+
status = "okay";
62+
};
63+
64+
&dma1 {
65+
status = "okay";
66+
};
67+
68+
&flexcomm0 {
69+
compatible = "nxp,lpc-usart";
70+
pinctrl-0 = <&pinmux_flexcomm0_usart>;
71+
pinctrl-names = "default";
72+
current-speed = <115200>;
73+
status = "okay";
74+
};
75+
76+
/* I2S receive channel */
77+
i2s0: &flexcomm1 {
78+
status = "okay";
79+
compatible = "nxp,lpc-i2s";
80+
#address-cells = <1>;
81+
#size-cells = <0>;
82+
dmas = <&dma1 2>;
83+
dma-names = "rx";
84+
pinctrl-0 = <&pinmux_flexcomm1_i2s>;
85+
pinctrl-names = "default";
86+
};
87+
88+
/* I2S transmit channel */
89+
i2s1: &flexcomm3 {
90+
status = "okay";
91+
compatible = "nxp,lpc-i2s";
92+
#address-cells = <1>;
93+
#size-cells = <0>;
94+
dmas = <&dma1 7>;
95+
dma-names = "tx";
96+
pinctrl-0 = <&pinmux_flexcomm3_i2s>;
97+
pinctrl-names = "default";
98+
};
99+
100+
&i3c0 {
101+
status = "okay";
102+
pinctrl-0 = <&pinmux_i3c>;
103+
pinctrl-names = "default";
104+
105+
audio_codec: wm8904@1a0000000000000000 {
106+
compatible = "wolfson,wm8904";
107+
reg = <0x1a 0 0>;
108+
clock-source = "MCLK";
109+
110+
clocks = <&clkctl0 MCUX_AUDIO_MCLK>;
111+
clock-names = "mclk";
112+
};
113+
};
114+
115+
&mbox {
116+
status = "okay";
117+
};

0 commit comments

Comments
 (0)