xref: /linux/Documentation/devicetree/bindings/ata/fsl,imx-pata.yaml (revision 75079df919efcc30eb5bf0427c83fb578f4fe4fc)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ata/fsl,imx-pata.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX PATA Controller
8
9maintainers:
10  - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12properties:
13  compatible:
14    oneOf:
15      - items:
16          - enum:
17              - fsl,imx31-pata
18              - fsl,imx51-pata
19          - const: fsl,imx27-pata
20      - const: fsl,imx27-pata
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    items:
27      - description: PATA Controller interrupts
28
29  clocks:
30    items:
31      - description: PATA Controller clocks
32
33additionalProperties: false
34
35examples:
36  - |
37    pata: pata@83fe0000 {
38        compatible = "fsl,imx51-pata", "fsl,imx27-pata";
39        reg = <0x83fe0000 0x4000>;
40        interrupts = <70>;
41        clocks = <&clks 161>;
42    };
43