Path: blob/main/sys/contrib/device-tree/Bindings/dma/mtk-hsdma.txt
48375 views
MediaTek High-Speed DMA Controller1==================================23This device follows the generic DMA bindings defined in dma/dma.txt.45Required properties:67- compatible: Must be one of8"mediatek,mt7622-hsdma": for MT7622 SoC9"mediatek,mt7623-hsdma": for MT7623 SoC10- reg: Should contain the register's base address and length.11- interrupts: Should contain a reference to the interrupt used by this12device.13- clocks: Should be the clock specifiers corresponding to the entry in14clock-names property.15- clock-names: Should contain "hsdma" entries.16- power-domains: Phandle to the power domain that the device is part of17- #dma-cells: The length of the DMA specifier, must be <1>. This one cell18in dmas property of a client device represents the channel19number.20Example:2122hsdma: dma-controller@1b007000 {23compatible = "mediatek,mt7623-hsdma";24reg = <0 0x1b007000 0 0x1000>;25interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_LOW>;26clocks = <ðsys CLK_ETHSYS_HSDMA>;27clock-names = "hsdma";28power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>;29#dma-cells = <1>;30};3132DMA clients must use the format described in dma/dma.txt file.333435