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