| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/serial/socionext,milbeaut-usio-uart.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Socionext Milbeaut UART controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Sugaya Taichi <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: /schemas/serial/serial.yaml# |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
const: socionext,milbeaut-usio-uart |
| 18 |
|
| 19 |
reg: |
| 20 |
maxItems: 1 |
| 21 |
|
| 22 |
interrupts: |
| 23 |
items: |
| 24 |
- description: RX interrupt specifier |
| 25 |
- description: TX interrupt specifier |
| 26 |
|
| 27 |
interrupt-names: |
| 28 |
items: |
| 29 |
- const: rx |
| 30 |
- const: tx |
| 31 |
|
| 32 |
clocks: |
| 33 |
maxItems: 1 |
| 34 |
|
| 35 |
auto-flow-control: |
| 36 |
description: Enable automatic flow control. |
| 37 |
type: boolean |
| 38 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- reg |
| 42 |
- interrupts |
| 43 |
- interrupt-names |
| 44 |
|
| 45 |
unevaluatedProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
serial@1e700010 { |
| 50 |
compatible = "socionext,milbeaut-usio-uart"; |
| 51 |
reg = <0x1e700010 0x10>; |
| 52 |
interrupts = <0 141 0x4>, <0 149 0x4>; |
| 53 |
interrupt-names = "rx", "tx"; |
| 54 |
clocks = <&clk 2>; |
| 55 |
auto-flow-control; |
| 56 |
}; |