summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/arm,mps2-uart.yaml
blob: 4a8df078e6f3286564ee38ffdc146ab5284f8a5e (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/arm,mps2-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Arm MPS2 UART

maintainers:
  - Vladimir Murzin <vladimir.murzin@arm.com>

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

properties:
  compatible:
    const: arm,mps2-uart

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: RX interrupt
      - description: TX interrupt
      - description: Overrun interrupt

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    serial@40004000 {
        compatible = "arm,mps2-uart";
        reg = <0x40004000 0x1000>;
        interrupts = <0>, <1>, <12>;
        clocks = <&sysclk>;
    };