microchip,pic32mzda-uart.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/microchip,pic32mzda-uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip PIC32 UART
  7. maintainers:
  8. - Andrei Pistirica <andrei.pistirica@microchip.com>
  9. - Purna Chandra Mandal <purna.mandal@microchip.com>
  10. allOf:
  11. - $ref: /schemas/serial/serial.yaml#
  12. properties:
  13. compatible:
  14. const: microchip,pic32mzda-uart
  15. reg:
  16. maxItems: 1
  17. interrupts:
  18. items:
  19. - description: Fault
  20. - description: RX
  21. - description: TX
  22. clocks:
  23. maxItems: 1
  24. required:
  25. - compatible
  26. - reg
  27. - interrupts
  28. - clocks
  29. unevaluatedProperties: false
  30. examples:
  31. - |
  32. #include <dt-bindings/interrupt-controller/irq.h>
  33. #include <dt-bindings/clock/microchip,pic32-clock.h>
  34. serial@1f822000 {
  35. compatible = "microchip,pic32mzda-uart";
  36. reg = <0x1f822000 0x50>;
  37. interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
  38. <113 IRQ_TYPE_LEVEL_HIGH>,
  39. <114 IRQ_TYPE_LEVEL_HIGH>;
  40. clocks = <&rootclk PB2CLK>;
  41. cts-gpios = <&gpio1 15 0>;
  42. };