pzsdr2: ccbox: Use DMA interface 0+1 for audio

There is a bug in the ps7 component specification that causes critical
warnings to appear in the build log if DMA interface 0 is disabled, but any
other DMA interface is enabled.

Work around this issue by using DMA interface 0 and 1 instead of 1 and 2
for the I2S DMA.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2016-11-18 14:02:26 +01:00
parent b62f60b0da
commit 0d75bcb606
1 changed files with 6 additions and 6 deletions

View File

@ -8,8 +8,8 @@ ad_connect sys_ps7/ENET1_GMII_TX_CLK GND
set_property CONFIG.PCW_UART0_PERIPHERAL_ENABLE {1} [get_bd_cells sys_ps7] set_property CONFIG.PCW_UART0_PERIPHERAL_ENABLE {1} [get_bd_cells sys_ps7]
set_property CONFIG.PCW_UART0_UART0_IO {MIO 14 .. 15} [get_bd_cells sys_ps7] set_property CONFIG.PCW_UART0_UART0_IO {MIO 14 .. 15} [get_bd_cells sys_ps7]
set_property CONFIG.PCW_USE_DMA0 1 [get_bd_cells sys_ps7]
set_property CONFIG.PCW_USE_DMA1 1 [get_bd_cells sys_ps7] set_property CONFIG.PCW_USE_DMA1 1 [get_bd_cells sys_ps7]
set_property CONFIG.PCW_USE_DMA2 1 [get_bd_cells sys_ps7]
# i2s # i2s
@ -30,14 +30,14 @@ ad_connect sys_200m_clk sys_audio_clkgen/clk_in1
ad_connect sys_cpu_resetn sys_audio_clkgen/resetn ad_connect sys_cpu_resetn sys_audio_clkgen/resetn
ad_connect sys_cpu_clk axi_i2s_adi/DMA_REQ_RX_ACLK ad_connect sys_cpu_clk axi_i2s_adi/DMA_REQ_RX_ACLK
ad_connect sys_cpu_clk axi_i2s_adi/DMA_REQ_TX_ACLK ad_connect sys_cpu_clk axi_i2s_adi/DMA_REQ_TX_ACLK
ad_connect sys_cpu_clk sys_ps7/DMA0_ACLK
ad_connect sys_cpu_clk sys_ps7/DMA1_ACLK ad_connect sys_cpu_clk sys_ps7/DMA1_ACLK
ad_connect sys_cpu_clk sys_ps7/DMA2_ACLK
ad_connect sys_cpu_resetn axi_i2s_adi/DMA_REQ_RX_RSTN ad_connect sys_cpu_resetn axi_i2s_adi/DMA_REQ_RX_RSTN
ad_connect sys_cpu_resetn axi_i2s_adi/DMA_REQ_TX_RSTN ad_connect sys_cpu_resetn axi_i2s_adi/DMA_REQ_TX_RSTN
ad_connect sys_ps7/DMA1_REQ axi_i2s_adi/DMA_REQ_TX ad_connect sys_ps7/DMA0_REQ axi_i2s_adi/DMA_REQ_TX
ad_connect sys_ps7/DMA1_ACK axi_i2s_adi/DMA_ACK_TX ad_connect sys_ps7/DMA0_ACK axi_i2s_adi/DMA_ACK_TX
ad_connect sys_ps7/DMA2_REQ axi_i2s_adi/DMA_REQ_RX ad_connect sys_ps7/DMA1_REQ axi_i2s_adi/DMA_REQ_RX
ad_connect sys_ps7/DMA2_ACK axi_i2s_adi/DMA_ACK_RX ad_connect sys_ps7/DMA1_ACK axi_i2s_adi/DMA_ACK_RX
ad_connect sys_audio_clkgen/clk_out1 i2s_mclk ad_connect sys_audio_clkgen/clk_out1 i2s_mclk
ad_connect sys_audio_clkgen/clk_out1 axi_i2s_adi/DATA_CLK_I ad_connect sys_audio_clkgen/clk_out1 axi_i2s_adi/DATA_CLK_I
ad_connect i2s axi_i2s_adi/I2S ad_connect i2s axi_i2s_adi/I2S