1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/dma/mediate 4 $id: http://devicetree.org/schemas/dma/mediatek,mt7622-hsdma.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: MediaTek High-Speed DMA Controller 7 title: MediaTek High-Speed DMA Controller 8 8 9 maintainers: 9 maintainers: 10 - Sean Wang <sean.wang@mediatek.com> 10 - Sean Wang <sean.wang@mediatek.com> 11 11 12 allOf: 12 allOf: 13 - $ref: dma-controller.yaml# 13 - $ref: dma-controller.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - mediatek,mt7622-hsdma 18 - mediatek,mt7622-hsdma 19 - mediatek,mt7623-hsdma 19 - mediatek,mt7623-hsdma 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 clocks: 27 clocks: 28 maxItems: 1 28 maxItems: 1 29 29 30 clock-names: 30 clock-names: 31 const: hsdma 31 const: hsdma 32 32 33 power-domains: 33 power-domains: 34 maxItems: 1 34 maxItems: 1 35 35 36 "#dma-cells": 36 "#dma-cells": 37 description: Channel number 37 description: Channel number 38 const: 1 38 const: 1 39 39 40 required: 40 required: 41 - reg 41 - reg 42 - interrupts 42 - interrupts 43 - clocks 43 - clocks 44 - clock-names 44 - clock-names 45 - power-domains 45 - power-domains 46 46 47 unevaluatedProperties: false 47 unevaluatedProperties: false 48 48 49 examples: 49 examples: 50 - | 50 - | 51 #include <dt-bindings/clock/mt2701-clk.h> 51 #include <dt-bindings/clock/mt2701-clk.h> 52 #include <dt-bindings/interrupt-controller 52 #include <dt-bindings/interrupt-controller/arm-gic.h> 53 #include <dt-bindings/power/mt2701-power.h 53 #include <dt-bindings/power/mt2701-power.h> 54 54 55 dma-controller@1b007000 { 55 dma-controller@1b007000 { 56 compatible = "mediatek,mt7623-hsdma"; 56 compatible = "mediatek,mt7623-hsdma"; 57 reg = <0x1b007000 0x1000>; 57 reg = <0x1b007000 0x1000>; 58 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVE 58 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_LOW>; 59 clocks = <ðsys CLK_ETHSYS_HSDMA>; 59 clocks = <ðsys CLK_ETHSYS_HSDMA>; 60 clock-names = "hsdma"; 60 clock-names = "hsdma"; 61 power-domains = <&scpsys MT2701_POWER_ 61 power-domains = <&scpsys MT2701_POWER_DOMAIN_ETH>; 62 #dma-cells = <1>; 62 #dma-cells = <1>; 63 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.