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 7title: Cadence UART Controller 8 9maintainers: 10 - Michal Simek <michal.simek@amd.com> 11 12properties: 13 compatible: 14 oneOf: 15 - description: UART controller for Zynq-7xxx SoC 16 items: 17 - const: xlnx,xuartps 18 - const: cdns,uart-r1p8 19 - items: 20 - enum: 21 - axiado,ax3000-uart 22 - axiado,ax3005-uart 23 - xlnx,zynqmp-uart 24 - const: cdns,uart-r1p12 25 26 reg: 27 maxItems: 1 28 29 interrupts: 30 maxItems: 1 31 32 clocks: 33 maxItems: 2 34 35 clock-names: 36 items: 37 - const: uart_clk 38 - const: pclk 39 40 cts-override: 41 description: | 42 Override the CTS modem status signal. This signal will 43 always be reported as active instead of being obtained 44 from the modem status register. Define this if your serial 45 port does not use this pin. 46 type: boolean 47 48 power-domains: 49 maxItems: 1 50 51 resets: 52 maxItems: 1 53 54required: 55 - compatible 56 - reg 57 - interrupts 58 - clocks 59 - clock-names 60 61allOf: 62 - $ref: serial.yaml# 63 - $ref: rs485.yaml# 64 - if: 65 properties: 66 compatible: 67 contains: 68 const: cdns,uart-r1p8 69 then: 70 properties: 71 power-domains: false 72 73unevaluatedProperties: false 74 75examples: 76 - | 77 uart0: serial@e0000000 { 78 compatible = "xlnx,xuartps", "cdns,uart-r1p8"; 79 clocks = <&clkc 23>, <&clkc 40>; 80 clock-names = "uart_clk", "pclk"; 81 reg = <0xe0000000 0x1000>; 82 interrupts = <0 27 4>; 83 }; 84