arm,mps2-uart.yaml 828 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/arm,mps2-uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Arm MPS2 UART
  7. maintainers:
  8. - Vladimir Murzin <vladimir.murzin@arm.com>
  9. allOf:
  10. - $ref: /schemas/serial/serial.yaml#
  11. properties:
  12. compatible:
  13. const: arm,mps2-uart
  14. reg:
  15. maxItems: 1
  16. interrupts:
  17. items:
  18. - description: RX interrupt
  19. - description: TX interrupt
  20. - description: Overrun interrupt
  21. clocks:
  22. maxItems: 1
  23. required:
  24. - compatible
  25. - reg
  26. - interrupts
  27. - clocks
  28. unevaluatedProperties: false
  29. examples:
  30. - |
  31. serial@40004000 {
  32. compatible = "arm,mps2-uart";
  33. reg = <0x40004000 0x1000>;
  34. interrupts = <0>, <1>, <12>;
  35. clocks = <&sysclk>;
  36. };