cirrus,ep7209-uart.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/cirrus,ep7209-uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
  7. maintainers:
  8. - Alexander Shiyan <shc_work@mail.ru>
  9. allOf:
  10. - $ref: /schemas/serial/serial.yaml#
  11. properties:
  12. compatible:
  13. const: cirrus,ep7209-uart
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. items:
  18. - description: UART TX interrupt
  19. - description: UART RX interrupt
  20. clocks:
  21. maxItems: 1
  22. syscon:
  23. description: Phandle to SYSCON node, which contains UART control bits.
  24. $ref: /schemas/types.yaml#/definitions/phandle
  25. required:
  26. - compatible
  27. - reg
  28. - interrupts
  29. - clocks
  30. - syscon
  31. unevaluatedProperties: false
  32. examples:
  33. - |
  34. #include <dt-bindings/gpio/gpio.h>
  35. serial@80000480 {
  36. compatible = "cirrus,ep7209-uart";
  37. reg = <0x80000480 0x80>;
  38. interrupts = <12>, <13>;
  39. clocks = <&clks 11>;
  40. syscon = <&syscon1>;
  41. cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
  42. dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
  43. dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
  44. };