mirror of https://github.com/thesofproject/sof.git
boards: mimx93_evk_a55: Enable SAI, EDMA and HOST DMA drivers
This commit introduces the necessary changes to the overlay and configuration files required for enabling the Zephyr native SAI, EDMA and HOST DMA drivers on i.MX93. Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
parent
47e9c82c34
commit
0441484940
|
@ -14,3 +14,15 @@ CONFIG_DCACHE_LINE_SIZE=64
|
|||
|
||||
CONFIG_IMX93_A55=y
|
||||
CONFIG_TRACE=n
|
||||
|
||||
# DAI-related configurations
|
||||
CONFIG_SAI_HAS_MCLK_CONFIG_OPTION=y
|
||||
CONFIG_SAI_IMX93_ERRATA_051421=y
|
||||
|
||||
# DMA-related configurations
|
||||
CONFIG_DMA=y
|
||||
CONFIG_DMA_NXP_EDMA_ENABLE_HALFMAJOR_IRQ=y
|
||||
|
||||
# needed because EDMA uses same interrupt for multiple
|
||||
# channels.
|
||||
CONFIG_SHARED_INTERRUPTS=y
|
||||
|
|
|
@ -24,18 +24,6 @@
|
|||
reg = <0x42430000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
sai3: memory@42660000 {
|
||||
reg = <0x42660000 DT_SIZE_K(64)>;
|
||||
};
|
||||
|
||||
edma2_ch0: memory@42010000 {
|
||||
reg = <0x42010000 DT_SIZE_K(32)>;
|
||||
};
|
||||
|
||||
edma2_ch1: memory@42018000 {
|
||||
reg = <0x42018000 DT_SIZE_K(32)>;
|
||||
};
|
||||
|
||||
outbox: memory@ce100000 {
|
||||
reg = <0xce100000 DT_SIZE_K(4)>;
|
||||
};
|
||||
|
@ -58,4 +46,22 @@
|
|||
host_ram: memory@80000000 {
|
||||
reg = <0x80000000 DT_SIZE_M(1024)>;
|
||||
};
|
||||
|
||||
host_dma: dma {
|
||||
compatible = "nxp,sof-host-dma";
|
||||
dma-channels = <32>;
|
||||
#dma-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&sai3 {
|
||||
tx-fifo-watermark = <2>;
|
||||
rx-fifo-watermark = <96>;
|
||||
fifo-depth = <96>;
|
||||
rx-sync-mode = <1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&edma4 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue