riscv: dts: change sysdma driver to native snps driver

Signed-off-by: zhencheng.zhang <zhencheng.zhang@sophgo.com>
This commit is contained in:
zhencheng.zhang 2024-10-16 15:41:05 +08:00 committed by Xiaoguang Xing
parent d845ac7f25
commit e2fbc03025
7 changed files with 19 additions and 20 deletions

View File

@ -255,23 +255,22 @@
};
dmac0: dma@7020000000 {
compatible = "snps,sg-dmac";
compatible = "snps,axi-dma-1.01a";
reg = <0x70 0x20000000 0x0 0x10000>;
clock-names = "clk_sdma_axi";
clocks = <&div_clk GATE_CLK_SYSDMA_AXI>;
clock-names = "core-clk", "cfgr-clk";
clocks = <&div_clk GATE_CLK_SYSDMA_AXI>,
<&div_clk GATE_CLK_SYSDMA_AXI>;
interrupt-parent = <&intc>;
interrupts = <36 IRQ_TYPE_LEVEL_HIGH>;
dma-channels = /bits/ 8 <8>;
#dma-cells = <3>;
dma-requests = /bits/ 8 <16>;
chan_allocation_order = /bits/ 8 <0>;
chan_priority = /bits/ 8 <1>;
block_size = <1024>;
dma-masters = /bits/ 8 <2>;
data-width = <4 4>; /* bytes */
axi_tr_width = <4>; /* bytes */
block-ts = <15>;
dma-channels = <8>;
#dma-cells = <1>;
snps,priority = <0 1 2 3 4 5 6 7>;
snps,block-size = <0x1000 0x1000 0x1000 0x1000
0x1000 0x1000 0x1000 0x1000>;
snps,dma-masters = <2>;
snps,data-width = <2>;
snps,axi-max-burst-len = <4>;
status = "disable";
};
spifmc0: flash-controller@7001000000 {

View File

@ -120,7 +120,7 @@ CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_SOPHGO=y
CONFIG_RTC_CLASS=y
CONFIG_DMADEVICES=y
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=y
# CONFIG_VIRTIO_MENU is not set
# CONFIG_VHOST_MENU is not set
# CONFIG_IOMMU_SUPPORT is not set

View File

@ -143,7 +143,7 @@ CONFIG_MMC_SDHCI_SOPHGO=y
CONFIG_MMC_SDHCI_SOPHGO_NO_1_8_V=y
CONFIG_RTC_CLASS=y
CONFIG_DMADEVICES=y
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=y
# CONFIG_VIRTIO_MENU is not set
# CONFIG_VHOST_MENU is not set
# CONFIG_IOMMU_SUPPORT is not set

View File

@ -2898,7 +2898,7 @@ CONFIG_ALTERA_MSGDMA=m
CONFIG_DW_DMAC=m
CONFIG_DW_DMAC_PCI=m
CONFIG_SF_PDMA=y
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=m
CONFIG_ASYNC_TX_DMA=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y

View File

@ -142,7 +142,7 @@ CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_SDHCI_SOPHGO=y
CONFIG_RTC_CLASS=y
CONFIG_DMADEVICES=y
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=m
# CONFIG_VIRTIO_MENU is not set
# CONFIG_VHOST_MENU is not set
# CONFIG_IOMMU_SUPPORT is not set

View File

@ -2907,7 +2907,7 @@ CONFIG_DW_DMAC_PCI=m
CONFIG_DW_EDMA=m
CONFIG_DW_EDMA_PCIE=m
CONFIG_SF_PDMA=y
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=m
CONFIG_ASYNC_TX_DMA=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y

View File

@ -4621,7 +4621,7 @@ CONFIG_DW_DMAC_PCI=m
CONFIG_DW_EDMA=m
CONFIG_DW_EDMA_PCIE=m
CONFIG_SF_PDMA=m
CONFIG_DW_DMAC_SOPHGO=y
CONFIG_DW_AXI_DMAC=m
CONFIG_ASYNC_TX_DMA=y
CONFIG_SW_SYNC=y
CONFIG_UDMABUF=y