ata-generic.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/ata/ata-generic.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Generic Parallel ATA Controller
  7. maintainers:
  8. - Linus Walleij <linusw@kernel.org>
  9. description:
  10. Generic Parallel ATA controllers supporting PIO modes only.
  11. properties:
  12. compatible:
  13. items:
  14. - enum:
  15. - arm,vexpress-cf
  16. - fsl,mpc8349emitx-pata
  17. - const: ata-generic
  18. reg:
  19. items:
  20. - description: Command interface registers
  21. - description: Control interface registers
  22. reg-shift:
  23. enum: [ 1, 2 ]
  24. interrupts:
  25. maxItems: 1
  26. ata-generic,use16bit:
  27. type: boolean
  28. description: Use 16-bit accesses instead of 32-bit for data transfers
  29. pio-mode:
  30. description: Maximum ATA PIO transfer mode
  31. $ref: /schemas/types.yaml#/definitions/uint32
  32. maximum: 6
  33. default: 0
  34. required:
  35. - compatible
  36. - reg
  37. additionalProperties: false
  38. examples:
  39. - |
  40. compact-flash@1a000 {
  41. compatible = "arm,vexpress-cf", "ata-generic";
  42. reg = <0x1a000 0x100>,
  43. <0x1a100 0xf00>;
  44. reg-shift = <2>;
  45. };
  46. ...