sata-common.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/ata/sata-common.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Common Properties for Serial AT attachment (SATA) controllers
  7. maintainers:
  8. - Linus Walleij <linusw@kernel.org>
  9. description: |
  10. This document defines device tree properties common to most Serial
  11. AT attachment (SATA) storage devices. It doesn't constitute a device tree
  12. binding specification by itself but is meant to be referenced by device
  13. tree bindings.
  14. The SATA controller-specific device tree bindings are responsible for
  15. defining whether each property is required or optional.
  16. properties:
  17. $nodename:
  18. pattern: "^sata(@.*)?$"
  19. description:
  20. Specifies the host controller node. SATA host controller nodes are named
  21. "sata"
  22. "#address-cells":
  23. const: 1
  24. "#size-cells":
  25. const: 0
  26. dma-coherent: true
  27. patternProperties:
  28. "^sata-port@[0-9a-e]$":
  29. $ref: '#/$defs/sata-port'
  30. description: |
  31. DT nodes for ports connected on the SATA host. The SATA port
  32. nodes will be named "sata-port".
  33. additionalProperties: true
  34. $defs:
  35. sata-port:
  36. type: object
  37. properties:
  38. reg:
  39. minimum: 0
  40. description:
  41. The ID number of the SATA port. Aside with being directly used,
  42. each port can have a Port Multiplier attached thus allowing to
  43. access more than one drive by means of a single SATA port.
  44. port:
  45. $ref: /schemas/graph.yaml#/properties/port
  46. ...