1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/dma/allwinn 4 $id: http://devicetree.org/schemas/dma/allwinner,sun50i-a64-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A64 DMA Controller !! 7 title: Allwinner A64 DMA Controller Device Tree Bindings 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 allOf: 13 allOf: 14 - $ref: dma-controller.yaml# !! 14 - $ref: "dma-controller.yaml#" 15 15 16 properties: 16 properties: 17 "#dma-cells": 17 "#dma-cells": 18 const: 1 18 const: 1 19 description: The cell is the request line 19 description: The cell is the request line number. 20 20 21 compatible: 21 compatible: 22 oneOf: 22 oneOf: 23 - enum: 23 - enum: 24 - allwinner,sun20i-d1-dma 24 - allwinner,sun20i-d1-dma 25 - allwinner,sun50i-a64-dma 25 - allwinner,sun50i-a64-dma 26 - allwinner,sun50i-a100-dma 26 - allwinner,sun50i-a100-dma 27 - allwinner,sun50i-h6-dma 27 - allwinner,sun50i-h6-dma 28 - items: 28 - items: 29 - const: allwinner,sun8i-r40-dma 29 - const: allwinner,sun8i-r40-dma 30 - const: allwinner,sun50i-a64-dma 30 - const: allwinner,sun50i-a64-dma 31 - items: << 32 - const: allwinner,sun50i-h616-dma << 33 - const: allwinner,sun50i-a100-dma << 34 31 35 reg: 32 reg: 36 maxItems: 1 33 maxItems: 1 37 34 38 interrupts: 35 interrupts: 39 maxItems: 1 36 maxItems: 1 40 37 41 clocks: 38 clocks: 42 minItems: 1 39 minItems: 1 43 maxItems: 2 40 maxItems: 2 44 41 45 clock-names: 42 clock-names: 46 items: 43 items: 47 - const: bus 44 - const: bus 48 - const: mbus 45 - const: mbus 49 46 50 resets: 47 resets: 51 maxItems: 1 48 maxItems: 1 52 49 53 required: 50 required: 54 - "#dma-cells" 51 - "#dma-cells" 55 - compatible 52 - compatible 56 - reg 53 - reg 57 - interrupts 54 - interrupts 58 - clocks 55 - clocks 59 - resets 56 - resets 60 - dma-channels 57 - dma-channels 61 58 62 if: 59 if: 63 properties: 60 properties: 64 compatible: 61 compatible: 65 contains: !! 62 enum: 66 enum: !! 63 - allwinner,sun20i-d1-dma 67 - allwinner,sun20i-d1-dma !! 64 - allwinner,sun50i-a100-dma 68 - allwinner,sun50i-a100-dma !! 65 - allwinner,sun50i-h6-dma 69 - allwinner,sun50i-h6-dma << 70 66 71 then: 67 then: 72 properties: 68 properties: 73 clocks: 69 clocks: 74 minItems: 2 70 minItems: 2 75 71 76 required: 72 required: 77 - clock-names 73 - clock-names 78 74 79 else: 75 else: 80 properties: 76 properties: 81 clocks: 77 clocks: 82 maxItems: 1 78 maxItems: 1 83 79 84 unevaluatedProperties: false 80 unevaluatedProperties: false 85 81 86 examples: 82 examples: 87 - | 83 - | 88 dma: dma-controller@1c02000 { 84 dma: dma-controller@1c02000 { 89 compatible = "allwinner,sun50i-a64-dma 85 compatible = "allwinner,sun50i-a64-dma"; 90 reg = <0x01c02000 0x1000>; 86 reg = <0x01c02000 0x1000>; 91 interrupts = <0 50 4>; 87 interrupts = <0 50 4>; 92 clocks = <&ccu 30>; 88 clocks = <&ccu 30>; 93 dma-channels = <8>; 89 dma-channels = <8>; 94 dma-requests = <27>; 90 dma-requests = <27>; 95 resets = <&ccu 7>; 91 resets = <&ccu 7>; 96 #dma-cells = <1>; 92 #dma-cells = <1>; 97 }; 93 }; 98 94 99 ... 95 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.