cdns,uart.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. - description: UART controller for Zynq Ultrascale+ MPSoC
  17. items:
  18. - const: xlnx,zynqmp-uart
  19. - const: cdns,uart-r1p12
  20. reg:
  21. maxItems: 1
  22. interrupts:
  23. maxItems: 1
  24. clocks:
  25. maxItems: 2
  26. clock-names:
  27. items:
  28. - const: uart_clk
  29. - const: pclk
  30. cts-override:
  31. description: |
  32. Override the CTS modem status signal. This signal will
  33. always be reported as active instead of being obtained
  34. from the modem status register. Define this if your serial
  35. port does not use this pin.
  36. type: boolean
  37. power-domains:
  38. maxItems: 1
  39. resets:
  40. maxItems: 1
  41. required:
  42. - compatible
  43. - reg
  44. - interrupts
  45. - clocks
  46. - clock-names
  47. allOf:
  48. - $ref: serial.yaml#
  49. - $ref: rs485.yaml#
  50. - if:
  51. properties:
  52. compatible:
  53. contains:
  54. const: cdns,uart-r1p8
  55. then:
  56. properties:
  57. power-domains: false
  58. unevaluatedProperties: false
  59. examples:
  60. - |
  61. uart0: serial@e0000000 {
  62. compatible = "xlnx,xuartps", "cdns,uart-r1p8";
  63. clocks = <&clkc 23>, <&clkc 40>;
  64. clock-names = "uart_clk", "pclk";
  65. reg = <0xe0000000 0x1000>;
  66. interrupts = <0 27 4>;
  67. };