intel,keembay-pwm.yaml 803 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. # Copyright (C) 2020 Intel Corporation
  3. %YAML 1.2
  4. ---
  5. $id: http://devicetree.org/schemas/pwm/intel,keembay-pwm.yaml#
  6. $schema: http://devicetree.org/meta-schemas/core.yaml#
  7. title: Intel Keem Bay PWM
  8. maintainers:
  9. - Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>
  10. allOf:
  11. - $ref: pwm.yaml#
  12. properties:
  13. compatible:
  14. enum:
  15. - intel,keembay-pwm
  16. reg:
  17. maxItems: 1
  18. clocks:
  19. maxItems: 1
  20. "#pwm-cells":
  21. const: 2
  22. required:
  23. - compatible
  24. - reg
  25. - clocks
  26. additionalProperties: false
  27. examples:
  28. - |
  29. #define KEEM_BAY_A53_GPIO
  30. pwm@203200a0 {
  31. compatible = "intel,keembay-pwm";
  32. reg = <0x203200a0 0xe8>;
  33. clocks = <&scmi_clk KEEM_BAY_A53_GPIO>;
  34. #pwm-cells = <2>;
  35. };