xref: /linux/Documentation/devicetree/bindings/serial/arm,mps2-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/arm,mps2-uart.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Arm MPS2 UART
8
9maintainers:
10  - Vladimir Murzin <vladimir.murzin@arm.com>
11
12allOf:
13  - $ref: /schemas/serial/serial.yaml#
14
15properties:
16  compatible:
17    const: arm,mps2-uart
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    items:
24      - description: RX interrupt
25      - description: TX interrupt
26      - description: Overrun interrupt
27
28  clocks:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - interrupts
35  - clocks
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    serial@40004000 {
42        compatible = "arm,mps2-uart";
43        reg = <0x40004000 0x1000>;
44        interrupts = <0>, <1>, <12>;
45        clocks = <&sysclk>;
46    };
47