aboutsummaryrefslogtreecommitdiff
path: root/dts/upstream/Bindings/serial/actions,owl-uart.yaml
blob: ab1c4514ae935a2027493d4a08eef325c044abae (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
47
48
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/actions,owl-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Actions Semi Owl UART

maintainers:
  - Kanak Shilledar <kanakshilledar111@protonmail.com>

allOf:
  - $ref: serial.yaml

properties:
  compatible:
    items:
      - enum:
          - actions,s500-uart
          - actions,s900-uart
      - const: actions,owl-uart

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/actions,s500-cmu.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    uart0: serial@b0126000 {
        compatible = "actions,s500-uart", "actions,owl-uart";
        reg = <0xb0126000 0x1000>;
        clocks = <&cmu CLK_UART0>;
        interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
    };