xref: /linux/Documentation/devicetree/bindings/serial/snps,arc-uart.yaml (revision 378ec25aec5a8444879f8696d580c94950a1f1df)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/serial/snps,arc-uart.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Synopsys ARC UART
8
9maintainers:
10  - Vineet Gupta <vgupta@kernel.org>
11
12description:
13  Synopsys ARC UART is a non-standard UART used in some of the ARC FPGA boards.
14
15allOf:
16  - $ref: /schemas/serial/serial.yaml#
17
18properties:
19  compatible:
20    const: snps,arc-uart
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 1
27
28  clock-frequency:
29    description: the input clock frequency for the UART
30
31  current-speed:
32    description: baud rate for UART
33
34required:
35  - compatible
36  - reg
37  - interrupts
38  - clock-frequency
39  - current-speed
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    serial@c0fc1000 {
46        compatible = "snps,arc-uart";
47        reg = <0xc0fc1000 0x100>;
48        interrupts = <5>;
49        clock-frequency = <80000000>;
50        current-speed = <115200>;
51    };
52