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
7title: Renesas EMMA Mobile UART Interface
8
9maintainers:
10  - Magnus Damm <magnus.damm@gmail.com>
11
12allOf:
13  - $ref: serial.yaml#
14
15properties:
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
31required:
32  - compatible
33  - reg
34  - interrupts
35  - clocks
36  - clock-names
37
38unevaluatedProperties: false
39
40examples:
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    };
50