pata-common.yaml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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#
  6. title: Common Properties for Parallel AT attachment (PATA) controllers
  7. maintainers:
  8. - Linus Walleij <linus.walleij@linaro.org>
  9. description: |
  10. This document defines device tree properties common to most Parallel
  11. ATA (PATA, also known as IDE) AT attachment storage devices.
  12. It doesn't constitute a device tree binding specification by itself but is
  13. meant to be referenced by device tree bindings.
  14. The PATA (IDE) controller-specific device tree bindings are responsible for
  15. defining whether each property is required or optional.
  16. properties:
  17. $nodename:
  18. pattern: "^ide(@.*)?$"
  19. description:
  20. Specifies the host controller node. PATA host controller nodes are named
  21. "ide".
  22. "#address-cells":
  23. const: 1
  24. "#size-cells":
  25. const: 0
  26. patternProperties:
  27. "^ide-port@[0-1]$":
  28. description: |
  29. DT nodes for ports connected on the PATA host. The master drive will have
  30. ID number 0 and the slave drive will have ID number 1. The PATA port
  31. nodes will be named "ide-port".
  32. type: object
  33. additionalProperties: false
  34. properties:
  35. reg:
  36. minimum: 0
  37. maximum: 1
  38. description:
  39. The ID number of the drive port, 0 for the master port and 1 for the
  40. slave port.
  41. additionalProperties: true
  42. ...