summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/snps,arc-uart.yaml
blob: dd3096fbfb6adbaeffdcb55e44b1ce0c2627f197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/snps,arc-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Synopsys ARC UART

maintainers:
  - Vineet Gupta <vgupta@kernel.org>

description:
  Synopsys ARC UART is a non-standard UART used in some of the ARC FPGA boards.

allOf:
  - $ref: /schemas/serial/serial.yaml#

properties:
  compatible:
    const: snps,arc-uart

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clock-frequency:
    description: the input clock frequency for the UART

  current-speed:
    description: baud rate for UART

required:
  - compatible
  - reg
  - interrupts
  - clock-frequency
  - current-speed

unevaluatedProperties: false

examples:
  - |
    serial@c0fc1000 {
        compatible = "snps,arc-uart";
        reg = <0xc0fc1000 0x100>;
        interrupts = <5>;
        clock-frequency = <80000000>;
        current-speed = <115200>;
    };