pwm-bcm2835.yaml 700 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/pwm/pwm-bcm2835.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: BCM2835 PWM controller (Raspberry Pi controller)
  7. maintainers:
  8. - Stefan Wahren <stefan.wahren@i2se.com>
  9. allOf:
  10. - $ref: pwm.yaml#
  11. properties:
  12. compatible:
  13. const: brcm,bcm2835-pwm
  14. reg:
  15. maxItems: 1
  16. clocks:
  17. maxItems: 1
  18. "#pwm-cells":
  19. const: 3
  20. required:
  21. - compatible
  22. - reg
  23. - clocks
  24. additionalProperties: false
  25. examples:
  26. - |
  27. pwm@2020c000 {
  28. compatible = "brcm,bcm2835-pwm";
  29. reg = <0x2020c000 0x28>;
  30. clocks = <&clk_pwm>;
  31. #pwm-cells = <3>;
  32. };