54 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/ata/pata-common.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common Properties for Parallel AT attachment (PATA) controllers8 9maintainers:10 - Linus Walleij <linus.walleij@linaro.org>11 12description: |13 This document defines device tree properties common to most Parallel14 ATA (PATA, also known as IDE) AT attachment storage devices.15 It doesn't constitute a device tree binding specification by itself but is16 meant to be referenced by device tree bindings.17 18 The PATA (IDE) controller-specific device tree bindings are responsible for19 defining whether each property is required or optional.20 21properties:22 $nodename:23 pattern: "^ide(@.*)?$"24 description:25 Specifies the host controller node. PATA host controller nodes are named26 "ide".27 28 "#address-cells":29 const: 130 31 "#size-cells":32 const: 033 34patternProperties:35 "^ide-port@[0-1]$":36 description: |37 DT nodes for ports connected on the PATA host. The master drive will have38 ID number 0 and the slave drive will have ID number 1. The PATA port39 nodes will be named "ide-port".40 type: object41 additionalProperties: false42 43 properties:44 reg:45 minimum: 046 maximum: 147 description:48 The ID number of the drive port, 0 for the master port and 1 for the49 slave port.50 51additionalProperties: true52 53...54