xref: /freebsd/sys/contrib/device-tree/Bindings/serial/lantiq,asc.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/serial/lantiq,asc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Lantiq SoC ASC serial controller
8
9maintainers:
10  - John Crispin <john@phrozen.org>
11  - Songjun Wu <songjun.wu@linux.intel.com>
12
13allOf:
14  - $ref: /schemas/serial/serial.yaml#
15
16properties:
17  compatible:
18    const: lantiq,asc
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    items:
25      - description: TX interrupt
26      - description: RX interrupt
27      - description: Error interrupt
28
29  clocks:
30    items:
31      - description: Frequency clock
32      - description: Gate clock
33
34  clock-names:
35    items:
36      - const: freq
37      - const: asc
38
39required:
40  - compatible
41  - reg
42  - interrupts
43
44unevaluatedProperties: false
45
46examples:
47  - |
48    #include <dt-bindings/interrupt-controller/mips-gic.h>
49
50    serial@16600000 {
51        compatible = "lantiq,asc";
52        reg = <0x16600000 0x100000>;
53        interrupts = <GIC_SHARED 103 IRQ_TYPE_LEVEL_HIGH>,
54                     <GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
55                     <GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
56    };
57