| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/serial/actions,owl-uart.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Actions Semi Owl UART |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Kanak Shilledar <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: serial.yaml |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
items: |
| 18 |
- enum: |
| 19 |
- actions,s500-uart |
| 20 |
- actions,s900-uart |
| 21 |
- const: actions,owl-uart |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
interrupts: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
clocks: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- interrupts |
| 36 |
|
| 37 |
unevaluatedProperties: false |
| 38 |
|
| 39 |
examples: |
| 40 |
- | |
| 41 |
#include <dt-bindings/clock/actions,s500-cmu.h> |
| 42 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 43 |
uart0: serial@b0126000 { |
| 44 |
compatible = "actions,s500-uart", "actions,owl-uart"; |
| 45 |
reg = <0xb0126000 0x1000>; |
| 46 |
clocks = <&cmu CLK_UART0>; |
| 47 |
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 48 |
}; |