xref: /freebsd-src/sys/contrib/device-tree/Bindings/serial/cdns,uart.yaml (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*354d7675SEmmanuel Vadot%YAML 1.2
3*354d7675SEmmanuel Vadot---
4*354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/serial/cdns,uart.yaml#
5*354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*354d7675SEmmanuel Vadot
7*354d7675SEmmanuel Vadottitle: Cadence UART Controller Device Tree Bindings
8*354d7675SEmmanuel Vadot
9*354d7675SEmmanuel Vadotmaintainers:
10*354d7675SEmmanuel Vadot  - Michal Simek <michal.simek@xilinx.com>
11*354d7675SEmmanuel Vadot
12*354d7675SEmmanuel VadotallOf:
13*354d7675SEmmanuel Vadot  - $ref: /schemas/serial.yaml#
14*354d7675SEmmanuel Vadot
15*354d7675SEmmanuel Vadotproperties:
16*354d7675SEmmanuel Vadot  compatible:
17*354d7675SEmmanuel Vadot    oneOf:
18*354d7675SEmmanuel Vadot      - description: UART controller for Zynq-7xxx SoC
19*354d7675SEmmanuel Vadot        items:
20*354d7675SEmmanuel Vadot          - const: xlnx,xuartps
21*354d7675SEmmanuel Vadot          - const: cdns,uart-r1p8
22*354d7675SEmmanuel Vadot      - description: UART controller for Zynq Ultrascale+ MPSoC
23*354d7675SEmmanuel Vadot        items:
24*354d7675SEmmanuel Vadot          - const: xlnx,zynqmp-uart
25*354d7675SEmmanuel Vadot          - const: cdns,uart-r1p12
26*354d7675SEmmanuel Vadot
27*354d7675SEmmanuel Vadot  reg:
28*354d7675SEmmanuel Vadot    maxItems: 1
29*354d7675SEmmanuel Vadot
30*354d7675SEmmanuel Vadot  interrupts:
31*354d7675SEmmanuel Vadot    maxItems: 1
32*354d7675SEmmanuel Vadot
33*354d7675SEmmanuel Vadot  clocks:
34*354d7675SEmmanuel Vadot    maxItems: 2
35*354d7675SEmmanuel Vadot
36*354d7675SEmmanuel Vadot  clock-names:
37*354d7675SEmmanuel Vadot    items:
38*354d7675SEmmanuel Vadot      - const: uart_clk
39*354d7675SEmmanuel Vadot      - const: pclk
40*354d7675SEmmanuel Vadot
41*354d7675SEmmanuel Vadot  cts-override:
42*354d7675SEmmanuel Vadot    description: |
43*354d7675SEmmanuel Vadot      Override the CTS modem status signal. This signal will
44*354d7675SEmmanuel Vadot      always be reported as active instead of being obtained
45*354d7675SEmmanuel Vadot      from the modem status register. Define this if your serial
46*354d7675SEmmanuel Vadot      port does not use this pin.
47*354d7675SEmmanuel Vadot    type: boolean
48*354d7675SEmmanuel Vadot
49*354d7675SEmmanuel Vadotrequired:
50*354d7675SEmmanuel Vadot  - compatible
51*354d7675SEmmanuel Vadot  - reg
52*354d7675SEmmanuel Vadot  - interrupts
53*354d7675SEmmanuel Vadot  - clocks
54*354d7675SEmmanuel Vadot  - clock-names
55*354d7675SEmmanuel Vadot
56*354d7675SEmmanuel VadotunevaluatedProperties: false
57*354d7675SEmmanuel Vadot
58*354d7675SEmmanuel Vadotexamples:
59*354d7675SEmmanuel Vadot  - |
60*354d7675SEmmanuel Vadot    uart0: serial@e0000000 {
61*354d7675SEmmanuel Vadot      compatible = "xlnx,xuartps", "cdns,uart-r1p8";
62*354d7675SEmmanuel Vadot      clocks = <&clkc 23>, <&clkc 40>;
63*354d7675SEmmanuel Vadot      clock-names = "uart_clk", "pclk";
64*354d7675SEmmanuel Vadot      reg = <0xE0000000 0x1000>;
65*354d7675SEmmanuel Vadot      interrupts = <0 27 4>;
66*354d7675SEmmanuel Vadot    };
67