Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / serial / renesas,sci.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: "http://devicetree.org/schemas/serial/renesas,sci.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7 title: Renesas Serial Communication Interface
8
9 maintainers:
10   - Geert Uytterhoeven <geert+renesas@glider.be>
11
12 allOf:
13   - $ref: serial.yaml#
14
15 properties:
16   compatible:
17     const: renesas,sci
18
19   reg:
20     maxItems: 1
21
22   interrupts:
23     items:
24       - description: Error interrupt
25       - description: Receive buffer full interrupt
26       - description: Transmit buffer empty interrupt
27       - description: Transmit end interrupt
28
29   interrupt-names:
30     items:
31       - const: eri
32       - const: rxi
33       - const: txi
34       - const: tei
35
36   clocks:
37     minItems: 1
38     maxItems: 2
39
40   clock-names:
41     minItems: 1
42     maxItems: 2
43     items:
44       enum:
45         - fck # UART functional clock
46         - sck # optional external clock input
47
48   uart-has-rtscts: false
49
50 required:
51   - compatible
52   - reg
53   - interrupts
54   - clocks
55   - clock-names
56
57 unevaluatedProperties: false
58
59 examples:
60   - |
61     aliases {
62             serial0 = &sci0;
63     };
64
65     sci0: serial@ffff78 {
66             compatible = "renesas,sci";
67             reg = <0xffff78 8>;
68             interrupts = <88 0>, <89 0>, <90 0>, <91 0>;
69             clocks = <&fclk>;
70             clock-names = "fck";
71     };