1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/serial/cdns,uart.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: Cadence UART Controller 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10f126890aSEmmanuel Vadot - Michal Simek <michal.simek@amd.com> 11354d7675SEmmanuel Vadot 12354d7675SEmmanuel Vadotproperties: 13354d7675SEmmanuel Vadot compatible: 14354d7675SEmmanuel Vadot oneOf: 15354d7675SEmmanuel Vadot - description: UART controller for Zynq-7xxx SoC 16354d7675SEmmanuel Vadot items: 17354d7675SEmmanuel Vadot - const: xlnx,xuartps 18354d7675SEmmanuel Vadot - const: cdns,uart-r1p8 19354d7675SEmmanuel Vadot - description: UART controller for Zynq Ultrascale+ MPSoC 20354d7675SEmmanuel Vadot items: 21354d7675SEmmanuel Vadot - const: xlnx,zynqmp-uart 22354d7675SEmmanuel Vadot - const: cdns,uart-r1p12 23354d7675SEmmanuel Vadot 24354d7675SEmmanuel Vadot reg: 25354d7675SEmmanuel Vadot maxItems: 1 26354d7675SEmmanuel Vadot 27354d7675SEmmanuel Vadot interrupts: 28354d7675SEmmanuel Vadot maxItems: 1 29354d7675SEmmanuel Vadot 30354d7675SEmmanuel Vadot clocks: 31354d7675SEmmanuel Vadot maxItems: 2 32354d7675SEmmanuel Vadot 33354d7675SEmmanuel Vadot clock-names: 34354d7675SEmmanuel Vadot items: 35354d7675SEmmanuel Vadot - const: uart_clk 36354d7675SEmmanuel Vadot - const: pclk 37354d7675SEmmanuel Vadot 38354d7675SEmmanuel Vadot cts-override: 39354d7675SEmmanuel Vadot description: | 40354d7675SEmmanuel Vadot Override the CTS modem status signal. This signal will 41354d7675SEmmanuel Vadot always be reported as active instead of being obtained 42354d7675SEmmanuel Vadot from the modem status register. Define this if your serial 43354d7675SEmmanuel Vadot port does not use this pin. 44354d7675SEmmanuel Vadot type: boolean 45354d7675SEmmanuel Vadot 46cb7aa33aSEmmanuel Vadot power-domains: 47cb7aa33aSEmmanuel Vadot maxItems: 1 48cb7aa33aSEmmanuel Vadot 49*7d0873ebSEmmanuel Vadot resets: 50*7d0873ebSEmmanuel Vadot maxItems: 1 51*7d0873ebSEmmanuel Vadot 52354d7675SEmmanuel Vadotrequired: 53354d7675SEmmanuel Vadot - compatible 54354d7675SEmmanuel Vadot - reg 55354d7675SEmmanuel Vadot - interrupts 56354d7675SEmmanuel Vadot - clocks 57354d7675SEmmanuel Vadot - clock-names 58354d7675SEmmanuel Vadot 59cb7aa33aSEmmanuel VadotallOf: 60cb7aa33aSEmmanuel Vadot - $ref: serial.yaml# 6101950c46SEmmanuel Vadot - $ref: rs485.yaml# 62cb7aa33aSEmmanuel Vadot - if: 63cb7aa33aSEmmanuel Vadot properties: 64cb7aa33aSEmmanuel Vadot compatible: 65cb7aa33aSEmmanuel Vadot contains: 66cb7aa33aSEmmanuel Vadot const: cdns,uart-r1p8 67cb7aa33aSEmmanuel Vadot then: 68cb7aa33aSEmmanuel Vadot properties: 69cb7aa33aSEmmanuel Vadot power-domains: false 70cb7aa33aSEmmanuel Vadot 71354d7675SEmmanuel VadotunevaluatedProperties: false 72354d7675SEmmanuel Vadot 73354d7675SEmmanuel Vadotexamples: 74354d7675SEmmanuel Vadot - | 75354d7675SEmmanuel Vadot uart0: serial@e0000000 { 76354d7675SEmmanuel Vadot compatible = "xlnx,xuartps", "cdns,uart-r1p8"; 77354d7675SEmmanuel Vadot clocks = <&clkc 23>, <&clkc 40>; 78354d7675SEmmanuel Vadot clock-names = "uart_clk", "pclk"; 79cb7aa33aSEmmanuel Vadot reg = <0xe0000000 0x1000>; 80354d7675SEmmanuel Vadot interrupts = <0 27 4>; 81354d7675SEmmanuel Vadot }; 82