brintos

brintos / linux-shallow public Read only

0
0
Text · 3.3 KiB · ab25ae6 Raw
141 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/dma/arm-pl08x.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ARM PrimeCells PL080 and PL081 and derivatives DMA controller8 9maintainers:10  - Vinod Koul <vkoul@kernel.org>11 12allOf:13  - $ref: /schemas/arm/primecell.yaml#14  - $ref: dma-controller.yaml#15 16# We need a select here so we don't match all nodes with 'arm,primecell'17select:18  properties:19    compatible:20      contains:21        enum:22          - arm,pl08023          - arm,pl08124  required:25    - compatible26 27properties:28  compatible:29    oneOf:30      - items:31          - enum:32              - arm,pl08033              - arm,pl08134          - const: arm,primecell35      - items:36          - const: faraday,ftdma02037          - const: arm,pl08038          - const: arm,primecell39 40  reg:41    maxItems: 142    description: Address range of the PL08x registers43 44  interrupts:45    minItems: 146    description: The PL08x interrupt number47 48  clocks:49    minItems: 150    description: The clock running the IP core clock51 52  clock-names:53    maxItems: 154 55  lli-bus-interface-ahb1:56    type: boolean57    description: if AHB master 1 is eligible for fetching LLIs58 59  lli-bus-interface-ahb2:60    type: boolean61    description: if AHB master 2 is eligible for fetching LLIs62 63  mem-bus-interface-ahb1:64    type: boolean65    description: if AHB master 1 is eligible for fetching memory contents66 67  mem-bus-interface-ahb2:68    type: boolean69    description: if AHB master 2 is eligible for fetching memory contents70 71  memcpy-burst-size:72    $ref: /schemas/types.yaml#/definitions/uint3273    enum:74      - 175      - 476      - 877      - 1678      - 3279      - 6480      - 12881      - 25682    description: the size of the bursts for memcpy83 84  memcpy-bus-width:85    $ref: /schemas/types.yaml#/definitions/uint3286    enum:87      - 888      - 1689      - 3290      - 6491    description: bus width used for memcpy in bits. FTDMAC020 also accept 64 bits92 93  resets:94    maxItems: 195 96required:97  - reg98  - interrupts99  - clocks100  - clock-names101  - "#dma-cells"102 103unevaluatedProperties: false104 105examples:106  - |107    dmac0: dma-controller@10130000 {108      compatible = "arm,pl080", "arm,primecell";109      reg = <0x10130000 0x1000>;110      interrupt-parent = <&vica>;111      interrupts = <15>;112      clocks = <&hclkdma0>;113      clock-names = "apb_pclk";114      lli-bus-interface-ahb1;115      lli-bus-interface-ahb2;116      mem-bus-interface-ahb2;117      memcpy-burst-size = <256>;118      memcpy-bus-width = <32>;119      #dma-cells = <2>;120    };121  - |122    #include <dt-bindings/interrupt-controller/irq.h>123    #include <dt-bindings/reset/cortina,gemini-reset.h>124    #include <dt-bindings/clock/cortina,gemini-clock.h>125    dma-controller@67000000 {126      compatible = "faraday,ftdma020", "arm,pl080", "arm,primecell";127      /* Faraday Technology FTDMAC020 variant */128      arm,primecell-periphid = <0x0003b080>;129      reg = <0x67000000 0x1000>;130      interrupts = <9 IRQ_TYPE_EDGE_RISING>;131      resets = <&syscon GEMINI_RESET_DMAC>;132      clocks = <&syscon GEMINI_CLK_AHB>;133      clock-names = "apb_pclk";134      /* Bus interface AHB1 (AHB0) is totally tilted */135      lli-bus-interface-ahb2;136      mem-bus-interface-ahb2;137      memcpy-burst-size = <256>;138      memcpy-bus-width = <32>;139      #dma-cells = <2>;140    };141