Skip to content

Commit 757f7f5

Browse files
committed
dts: mimxrt685_evk/mimxrt685s/hifi4: Enable devs for audio
Instantiate, configure and enable Flexcomm #1, Flexcomm #3, DMA, I3C for audio capture and playback on mimxrt685_evk's HiFi 4 DSP domain. Add pinmux definitions for those. Signed-off-by: Vit Stanicek <[email protected]>
1 parent 37ab4be commit 757f7f5

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

boards/nxp/mimxrt685_evk/mimxrt685_evk_mimxrt685s_hifi4.dts

+42
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
status = "okay";
6060
};
6161

62+
&dma1 {
63+
status = "okay";
64+
};
65+
6266
&flexcomm0 {
6367
compatible = "nxp,lpc-usart";
6468
pinctrl-0 = <&pinmux_flexcomm0_usart>;
@@ -70,3 +74,41 @@
7074
&mbox {
7175
status = "okay";
7276
};
77+
/* I2S receive channel */
78+
i2s0: &flexcomm1 {
79+
status = "okay";
80+
compatible = "nxp,lpc-i2s";
81+
#address-cells = <1>;
82+
#size-cells = <0>;
83+
dmas = <&dma1 2>;
84+
dma-names = "rx";
85+
pinctrl-0 = <&pinmux_flexcomm1_i2s>;
86+
pinctrl-names = "default";
87+
};
88+
89+
/* I2S transmit channel */
90+
i2s1: &flexcomm3 {
91+
status = "okay";
92+
compatible = "nxp,lpc-i2s";
93+
#address-cells = <1>;
94+
#size-cells = <0>;
95+
dmas = <&dma1 7>;
96+
dma-names = "tx";
97+
pinctrl-0 = <&pinmux_flexcomm3_i2s>;
98+
pinctrl-names = "default";
99+
};
100+
101+
&i3c0 {
102+
status = "okay";
103+
pinctrl-0 = <&pinmux_i3c>;
104+
pinctrl-names = "default";
105+
106+
audio_codec: wm8904@1a {
107+
compatible = "wolfson,wm8904";
108+
reg = <0x1a 0 0>;
109+
clock-source = "MCLK";
110+
111+
clocks = <&clkctl0 MCUX_AUDIO_MCLK>;
112+
clock-names = "mclk";
113+
};
114+
};

0 commit comments

Comments
 (0)