xref: /linux/Documentation/devicetree/bindings/ata/cirrus,ep9312-pata.yaml (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/ata/cirrus,ep9312-pata.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus Logic EP9312 PATA controller
8
9maintainers:
10  - Damien Le Moal <dlemoal@kernel.org>
11
12properties:
13  compatible:
14    oneOf:
15      - const: cirrus,ep9312-pata
16      - items:
17          - const: cirrus,ep9315-pata
18          - const: cirrus,ep9312-pata
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26required:
27  - compatible
28  - reg
29  - interrupts
30
31additionalProperties: false
32
33examples:
34  - |
35    ide@800a0000 {
36        compatible = "cirrus,ep9312-pata";
37        reg = <0x800a0000 0x38>;
38        interrupt-parent = <&vic1>;
39        interrupts = <8>;
40        pinctrl-names = "default";
41        pinctrl-0 = <&ide_default_pins>;
42    };
43