summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml
blob: 324e2413bba84ca67e3f3891faeefc25e350f82a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/ata/fsl,imx-pata.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX PATA Controller

maintainers:
  - Animesh Agarwal <animeshagarwal28@gmail.com>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - fsl,imx31-pata
              - fsl,imx51-pata
          - const: fsl,imx27-pata
      - const: fsl,imx27-pata

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: PATA Controller interrupts

  clocks:
    items:
      - description: PATA Controller clocks

additionalProperties: false

examples:
  - |
    pata: pata@83fe0000 {
        compatible = "fsl,imx51-pata", "fsl,imx27-pata";
        reg = <0x83fe0000 0x4000>;
        interrupts = <70>;
        clocks = <&clks 161>;
    };