From ecc4e687db156205001b04d2c17fa123d6edc773 Mon Sep 17 00:00:00 2001 From: samin Date: Mon, 22 Nov 2021 14:34:59 +0800 Subject: [PATCH] dt-bingings: Add dt-bingings support for StarFive JH7110 DMA. Signed-off-by: samin --- arch/riscv/boot/dts/starfive/starfive_jh7110.dts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/starfive/starfive_jh7110.dts b/arch/riscv/boot/dts/starfive/starfive_jh7110.dts index f631bbd..ed60a99 100644 --- a/arch/riscv/boot/dts/starfive/starfive_jh7110.dts +++ b/arch/riscv/boot/dts/starfive/starfive_jh7110.dts @@ -302,6 +302,23 @@ clock-names = "baudclk", "apb_pclk"; status = "okay"; }; + dma: dma-controller@16050000 { + compatible = "starfive,axi-dma"; + reg = <0x0 0x16050000 0x0 0x10000>; + clocks = <&stg_axiahb_clk>, <&stg_apbclk>; + clock-names = "core-clk", "cfgr-clk"; + interrupt-parent = <&plic>; + interrupts = <73>; + #dma-cells = <2>; + dma-channels = <4>; + snps,dma-masters = <1>; + snps,data-width = <3>; + snps,num-hs-if = <56>; + snps,block-size = <65536 65536 65536 65536>; + snps,priority = <0 1 2 3>; + snps,axi-max-burst-len = <16>; + status = "okay"; + }; gpio: gpio@13040000 { compatible = "starfive,gpio7110"; interrupt-parent = <&plic>; @@ -313,7 +330,7 @@ ngpios = <64>; status = "okay"; }; - + /*emmc*/ sdio0:sdio0@16010000{ compatible = "snps,dw-mshc"; -- 2.7.4