Skip to content

Commit 7b01a21

Browse files
LaurentiuM1234kv2019i
authored andcommitted
app: boards: imx95: switch to using nxp,edma driver
Zephyr commit 774370a1d712 ("boards: nxp: imx95_evk_mimx9596_m7: add uart dma support") replaces the configuration of the "edma2" node with that mandated by the programming model associated with the "nxp,mcux-edma" compatible. This change was done because the EDMA driver associated with said compatible is compatible with multiple peripheral drivers as opposed to the previous "nxp,edma" driver. However, SOF currently requires using the previous EDMA driver (i.e. the one associated with the "nxp,edma" driver). Therefore, switch back to the previous programming model. Furthermore, the DMA channels used by the SAI IP were also changed. Since these were not tested, switch back to the previous DMA channels. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
1 parent 037f4d4 commit 7b01a21

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

app/boards/imx95_evk_mimx9596_m7_ddr.overlay

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,19 @@
1717
rx-fifo-watermark = <96>;
1818
fifo-depth = <96>;
1919
rx-sync-mode = <1>;
20+
dmas = <&edma2 30 60>, <&edma2 31 61>;
2021
status = "okay";
2122
};
2223

2324
&edma2 {
25+
compatible = "nxp,edma";
26+
reg = <0x42000000 (DT_SIZE_K(64) * 33)>;
27+
valid-channels = <30>, <31>;
28+
interrupts = <143 0>, <143 0>;
29+
/delete-property/ nxp,version;
30+
/delete-property/ dma-channels;
31+
/delete-property/ dma-requests;
32+
/delete-property/ no-error-irq;
33+
/delete-property/ channels-shared-irq-mask;
2434
status = "okay";
2535
};

0 commit comments

Comments
 (0)