cdns,uart.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/serial/cdns,uart.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Cadence UART Controller
  7. maintainers:
  8. - Michal Simek <michal.simek@amd.com>
  9. properties:
  10. compatible:
  11. oneOf:
  12. - description: UART controller for Zynq-7xxx SoC
  13. items:
  14. - const: xlnx,xuartps
  15. - const: cdns,uart-r1p8
  16. - items:
  17. - enum:
  18. - axiado,ax3000-uart
  19. - xlnx,zynqmp-uart
  20. - const: cdns,uart-r1p12
  21. reg:
  22. maxItems: 1
  23. interrupts:
  24. maxItems: 1
  25. clocks:
  26. maxItems: 2
  27. clock-names:
  28. items:
  29. - const: uart_clk
  30. - const: pclk
  31. cts-override:
  32. description: |
  33. Override the CTS modem status signal. This signal will
  34. always be reported as active instead of being obtained
  35. from the modem status register. Define this if your serial
  36. port does not use this pin.
  37. type: boolean
  38. power-domains:
  39. maxItems: 1
  40. resets:
  41. maxItems: 1
  42. required:
  43. - compatible
  44. - reg
  45. - interrupts
  46. - clocks
  47. - clock-names
  48. allOf:
  49. - $ref: serial.yaml#
  50. - $ref: rs485.yaml#
  51. - if:
  52. properties:
  53. compatible:
  54. contains:
  55. const: cdns,uart-r1p8
  56. then:
  57. properties:
  58. power-domains: false
  59. unevaluatedProperties: false
  60. examples:
  61. - |
  62. uart0: serial@e0000000 {
  63. compatible = "xlnx,xuartps", "cdns,uart-r1p8";
  64. clocks = <&clkc 23>, <&clkc 40>;
  65. clock-names = "uart_clk", "pclk";
  66. reg = <0xe0000000 0x1000>;
  67. interrupts = <0 27 4>;
  68. };