snps,arc-uart.yaml 977 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/snps,arc-uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Synopsys ARC UART
  7. maintainers:
  8. - Vineet Gupta <vgupta@kernel.org>
  9. description:
  10. Synopsys ARC UART is a non-standard UART used in some of the ARC FPGA boards.
  11. allOf:
  12. - $ref: /schemas/serial/serial.yaml#
  13. properties:
  14. compatible:
  15. const: snps,arc-uart
  16. reg:
  17. maxItems: 1
  18. interrupts:
  19. maxItems: 1
  20. clock-frequency:
  21. description: the input clock frequency for the UART
  22. current-speed:
  23. description: baud rate for UART
  24. required:
  25. - compatible
  26. - reg
  27. - interrupts
  28. - clock-frequency
  29. - current-speed
  30. unevaluatedProperties: false
  31. examples:
  32. - |
  33. serial@c0fc1000 {
  34. compatible = "snps,arc-uart";
  35. reg = <0xc0fc1000 0x100>;
  36. interrupts = <5>;
  37. clock-frequency = <80000000>;
  38. current-speed = <115200>;
  39. };