| 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 |
|
| 7 |
title: Arm MPS2 UART |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Vladimir Murzin <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: /schemas/serial/serial.yaml# |
| 14 |
|
| 15 |
properties: |
| 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 |
|
| 31 |
required: |
| 32 |
- compatible |
| 33 |
- reg |
| 34 |
- interrupts |
| 35 |
- clocks |
| 36 |
|
| 37 |
unevaluatedProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
serial@40004000 { |
| 42 |
compatible = "arm,mps2-uart"; |
| 43 |
reg = <0x40004000 0x1000>; |
| 44 |
interrupts = <0>, <1>, <12>; |
| 45 |
clocks = <&sysclk>; |
| 46 |
}; |