Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / ata / pata-common.yaml
blob4e867dd4d402b2689da486e97eb9729268625ed4
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/ata/pata-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common Properties for Parallel AT attachment (PATA) controllers
9 maintainers:
10   - Linus Walleij <linus.walleij@linaro.org>
12 description: |
13   This document defines device tree properties common to most Parallel
14   ATA (PATA, also known as IDE) AT attachment storage devices.
15   It doesn't constitute a device tree binding specification by itself but is
16   meant to be referenced by device tree bindings.
18   The PATA (IDE) controller-specific device tree bindings are responsible for
19   defining whether each property is required or optional.
21 properties:
22   $nodename:
23     pattern: "^ide(@.*)?$"
24     description:
25       Specifies the host controller node. PATA host controller nodes are named
26       "ide".
28   "#address-cells":
29     const: 1
31   "#size-cells":
32     const: 0
34 patternProperties:
35   "^ide-port@[0-1]$":
36     description: |
37       DT nodes for ports connected on the PATA host. The master drive will have
38       ID number 0 and the slave drive will have ID number 1. The PATA port
39       nodes will be named "ide-port".
40     type: object
41     additionalProperties: false
43     properties:
44       reg:
45         minimum: 0
46         maximum: 1
47         description:
48           The ID number of the drive port, 0 for the master port and 1 for the
49           slave port.
51 additionalProperties: true
53 ...