adrv9361z7035/ccfmc: Replace VDMA with ADI DMAC

main
AndreiGrozav 2018-08-06 16:13:51 +01:00 committed by AndreiGrozav
parent 4f1c748d8a
commit ec400e5865
1 changed files with 21 additions and 12 deletions

View File

@ -46,10 +46,15 @@ ad_ip_instance axi_hdmi_tx axi_hdmi_core
ad_ip_parameter axi_hdmi_core CONFIG.OUT_CLK_POLARITY 1
ad_ip_parameter axi_hdmi_core CONFIG.INTERFACE 16_BIT
ad_ip_instance axi_vdma axi_hdmi_dma
ad_ip_parameter axi_hdmi_dma CONFIG.c_m_axis_mm2s_tdata_width 64
ad_ip_parameter axi_hdmi_dma CONFIG.c_use_mm2s_fsync 1
ad_ip_parameter axi_hdmi_dma CONFIG.c_include_s2mm 0
ad_ip_instance axi_dmac axi_hdmi_dma
ad_ip_parameter axi_hdmi_dma CONFIG.DMA_TYPE_SRC 0
ad_ip_parameter axi_hdmi_dma CONFIG.DMA_TYPE_DEST 1
ad_ip_parameter axi_hdmi_dma CONFIG.CYCLIC true
ad_ip_parameter axi_hdmi_dma CONFIG.SYNC_TRANSFER_START 0
ad_ip_parameter axi_hdmi_dma CONFIG.AXI_SLICE_SRC 0
ad_ip_parameter axi_hdmi_dma CONFIG.AXI_SLICE_DEST 0
ad_ip_parameter axi_hdmi_dma CONFIG.DMA_2D_TRANSFER true
ad_ip_parameter axi_hdmi_dma CONFIG.DMA_DATA_WIDTH_SRC 64
# audio peripherals
@ -86,18 +91,22 @@ ad_connect sys_rgmii_rstgen/peripheral_reset sys_rgmii/rx_reset
# hdmi
ad_connect sys_cpu_clk axi_hdmi_core/vdma_clk
ad_connect sys_cpu_clk axi_hdmi_dma/m_axis_mm2s_aclk
ad_connect axi_hdmi_core/hdmi_clk axi_hdmi_clkgen/clk_0
ad_connect axi_hdmi_core/hdmi_out_clk hdmi_out_clk
ad_connect axi_hdmi_core/hdmi_16_hsync hdmi_hsync
ad_connect axi_hdmi_core/hdmi_16_vsync hdmi_vsync
ad_connect axi_hdmi_core/hdmi_16_data_e hdmi_data_e
ad_connect axi_hdmi_core/hdmi_16_data hdmi_data
ad_connect axi_hdmi_core/vdma_valid axi_hdmi_dma/m_axis_mm2s_tvalid
ad_connect axi_hdmi_core/vdma_data axi_hdmi_dma/m_axis_mm2s_tdata
ad_connect axi_hdmi_core/vdma_ready axi_hdmi_dma/m_axis_mm2s_tready
ad_connect axi_hdmi_core/vdma_fs axi_hdmi_dma/mm2s_fsync
ad_connect axi_hdmi_core/vdma_fs axi_hdmi_core/vdma_fs_ret
ad_connect axi_hdmi_core/vdma_valid axi_hdmi_dma/m_axis_valid
ad_connect axi_hdmi_core/vdma_data axi_hdmi_dma/m_axis_data
ad_connect axi_hdmi_core/vdma_ready axi_hdmi_dma/m_axis_ready
ad_connect axi_hdmi_core/vdma_end_of_frame axi_hdmi_dma/m_axis_last
ad_connect sys_cpu_resetn axi_hdmi_dma/s_axi_aresetn
ad_connect sys_cpu_resetn axi_hdmi_dma/m_src_axi_aresetn
ad_connect sys_cpu_clk axi_hdmi_dma/s_axi_aclk
ad_connect sys_cpu_clk axi_hdmi_dma/m_src_axi_aclk
ad_connect sys_cpu_clk axi_hdmi_dma/m_axis_aclk
# spdif audio
@ -129,7 +138,7 @@ ad_connect i2s axi_i2s_adi/I2S
# interrupts
ad_cpu_interrupt ps-15 mb-15 axi_hdmi_dma/mm2s_introut
ad_cpu_interrupt ps-15 mb-15 axi_hdmi_dma/irq
# interconnects
@ -139,7 +148,7 @@ ad_cpu_interconnect 0x70e00000 axi_hdmi_core
ad_cpu_interconnect 0x75c00000 axi_spdif_tx_core
ad_cpu_interconnect 0x77600000 axi_i2s_adi
ad_mem_hp0_interconnect sys_cpu_clk sys_ps7/S_AXI_HP0
ad_mem_hp0_interconnect sys_cpu_clk axi_hdmi_dma/M_AXI_MM2S
ad_mem_hp0_interconnect sys_cpu_clk axi_hdmi_dma/m_src_axi
# un-used io (gt)