Skip to content

Commit aaa119d

Browse files
dbalutakartben
authored andcommitted
dts: xtensa: nxp_imx8m: Add PDM MICFIL node
This adds micfil node for NPX i.MX8MP SOC. Signed-off-by: Daniel Baluta <[email protected]>
1 parent 715fbd1 commit aaa119d

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

boards/nxp/imx8mp_evk/imx8mp_evk-pinctrl.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
};
2222
};
2323

24+
pdm_default: pdm_default {
25+
group0 {
26+
pinmux = <&iomuxc_sai5_rxc_pdm_clk_pdm_clk>,
27+
<&iomuxc_sai5_rxd0_pdm_bit_stream_pdm_bit_stream0>,
28+
<&iomuxc_sai5_rxd1_pdm_bit_stream_pdm_bit_stream1>,
29+
<&iomuxc_sai5_rxd2_pdm_bit_stream_pdm_bit_stream2>,
30+
<&iomuxc_sai5_rxd3_pdm_bit_stream_pdm_bit_stream3>;
31+
bias-pull-up;
32+
slew-rate = "fast";
33+
drive-strength = "x6";
34+
input-schmitt-enable;
35+
};
36+
};
37+
2438
uart2_default: uart2_default {
2539
group0 {
2640
pinmux = <&iomuxc_uart2_rxd_uart_rx_uart2_rx>,

boards/nxp/imx8mp_evk/imx8mp_evk_mimx8ml8_adsp.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
};
2222
};
2323

24+
&micfil {
25+
pinctrl-0 = <&pdm_default>;
26+
pinctrl-names = "default";
27+
};
28+
2429
&sai3 {
2530
pinctrl-0 = <&sai3_default>;
2631
pinctrl-names = "default";

dts/xtensa/nxp/nxp_imx8m.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@
113113
status = "disabled";
114114
};
115115

116+
micfil: micfil@30ca0000 {
117+
compatible = "nxp,dai-micfil";
118+
reg = <0x30ca0000 DT_SIZE_K(64)>;
119+
dai-index = <2>;
120+
dmas = <&sdma3 24 6>;
121+
fifo-depth = <32>;
122+
status = "disabled";
123+
};
124+
116125
iomuxc: iomuxc@30330000 {
117126
compatible = "nxp,imx-iomuxc";
118127
reg = <0x30330000 DT_SIZE_K(64)>;

0 commit comments

Comments
 (0)