boards: mimxrt685_evk/mimxrt685s/cm33: Enable DMIC

Enable DMIC clock in soc.c - attach to chip's audio PLL. Add pinmux
definitions for the DMIC peripheral. Add nodes to SoC's device tree for
the DMIC peripheral and its audio channels. Configure the DMIC
peripheral in board's device tree to enable audio capture.

Signed-off-by: Vit Stanicek <vit.stanicek@nxp.com>
This commit is contained in:
Vit Stanicek 2024-08-05 10:40:04 +02:00 committed by Carles Cufí
commit b8466e0c95
4 changed files with 114 additions and 1 deletions

View file

@ -82,6 +82,16 @@
};
};
pinmux_dmic0: pinmux_dmic0 {
group0 {
pinmux = <DMIC0_DATA2_3_PIO2_21>, <DMIC0_DATA0_1_PIO2_20>,
<DMIC0_CLK0_1_PIO2_16>;
slew-rate = "normal";
drive-strength = "normal";
input-enable;
};
};
pinmux_flexspi: pinmux_flexspi {
group0 {
pinmux = <FLEXSPI0B_DATA0_PIO1_11>,