fsi-master-gpio.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/fsi/fsi-master-gpio.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: fsi-master-gpio
  7. maintainers:
  8. - Eddie James <eajames@linux.ibm.com>
  9. allOf:
  10. - $ref: /schemas/fsi/fsi-controller.yaml
  11. properties:
  12. compatible:
  13. items:
  14. - const: fsi-master-gpio
  15. clock-gpios:
  16. description: GPIO for FSI clock
  17. maxItems: 1
  18. data-gpios:
  19. description: GPIO for FSI data signal
  20. maxItems: 1
  21. enable-gpios:
  22. description: GPIO for enable signal
  23. maxItems: 1
  24. trans-gpios:
  25. description: GPIO for voltage translator enable
  26. maxItems: 1
  27. mux-gpios:
  28. description: GPIO for pin multiplexing with other functions (eg, external
  29. FSI masters)
  30. maxItems: 1
  31. no-gpio-delays:
  32. description:
  33. Don't add extra delays between GPIO accesses. This is useful when the HW
  34. GPIO block is running at a low enough frequency.
  35. type: boolean
  36. required:
  37. - compatible
  38. - clock-gpios
  39. - data-gpios
  40. unevaluatedProperties: false
  41. examples:
  42. - |
  43. fsi-master {
  44. compatible = "fsi-master-gpio";
  45. clock-gpios = <&gpio 0>;
  46. data-gpios = <&gpio 1>;
  47. enable-gpios = <&gpio 2>;
  48. trans-gpios = <&gpio 3>;
  49. mux-gpios = <&gpio 4>;
  50. };