xref: /linux/Documentation/devicetree/bindings/serial/actions,owl-uart.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
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
7title: Actions Semi Owl UART
8
9maintainers:
10  - Kanak Shilledar <kanakshilledar111@protonmail.com>
11
12allOf:
13  - $ref: serial.yaml
14
15properties:
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
32required:
33  - compatible
34  - reg
35  - interrupts
36
37unevaluatedProperties: false
38
39examples:
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    };
49