Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / serial / renesas,em-uart.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,em-uart.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7 title: Renesas EMMA Mobile UART Interface
8
9 maintainers:
10   - Magnus Damm <magnus.damm@gmail.com>
11
12 allOf:
13   - $ref: serial.yaml#
14
15 properties:
16   compatible:
17     const: renesas,em-uart
18
19   reg:
20     maxItems: 1
21
22   interrupts:
23     maxItems: 1
24
25   clocks:
26     maxItems: 1
27
28   clock-names:
29     const: sclk
30
31 required:
32   - compatible
33   - reg
34   - interrupts
35   - clocks
36   - clock-names
37
38 unevaluatedProperties: false
39
40 examples:
41   - |
42     #include <dt-bindings/interrupt-controller/arm-gic.h>
43     uart0: serial@e1020000 {
44             compatible = "renesas,em-uart";
45             reg = <0xe1020000 0x38>;
46             interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
47             clocks = <&usia_u0_sclk>;
48             clock-names = "sclk";
49     };