Commit f48d14c2 authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Vinod Koul

dt-bindings: arm64: allwinner: h6: Add binding for DMA controller

DMA in H6 is similar to other DMA controller, except it is first which
supports more than 32 request sources and has 16 channels. It also needs
additional clock to be enabled.
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@siol.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent dc161064
...@@ -28,12 +28,17 @@ Example: ...@@ -28,12 +28,17 @@ Example:
}; };
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
For A64 DMA controller: For A64 and H6 DMA controller:
Required properties: Required properties:
- compatible: "allwinner,sun50i-a64-dma" - compatible: Must be one of
"allwinner,sun50i-a64-dma"
"allwinner,sun50i-h6-dma"
- dma-channels: Number of DMA channels supported by the controller. - dma-channels: Number of DMA channels supported by the controller.
Refer to Documentation/devicetree/bindings/dma/dma.txt Refer to Documentation/devicetree/bindings/dma/dma.txt
- clocks: In addition to parent AHB clock, it should also contain mbus
clock (H6 only)
- clock-names: Should contain "bus" and "mbus" (H6 only)
- all properties above, i.e. reg, interrupts, clocks, resets and #dma-cells - all properties above, i.e. reg, interrupts, clocks, resets and #dma-cells
Optional properties: Optional properties:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment