Documentation / devicetree / bindings / ata / cirrus,ep9312-pata.yaml


Based on kernel version 6.12.4. Page generated on 2024-12-12 21:01 EST.

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/cirrus,ep9312-pata.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Cirrus Logic EP9312 PATA controller

maintainers:
  - Damien Le Moal <dlemoal@kernel.org>

properties:
  compatible:
    oneOf:
      - const: cirrus,ep9312-pata
      - items:
          - const: cirrus,ep9315-pata
          - const: cirrus,ep9312-pata

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    ide@800a0000 {
        compatible = "cirrus,ep9312-pata";
        reg = <0x800a0000 0x38>;
        interrupt-parent = <&vic1>;
        interrupts = <8>;
        pinctrl-names = "default";
        pinctrl-0 = <&ide_default_pins>;
    };