Debian Codegraph @

Documentation/devicetree/bindings/serial/lantiq,asc.yaml

raw
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
7 title: Lantiq SoC ASC serial controller
8
9 maintainers:
10 - John Crispin <[email protected]>
11 - Songjun Wu <[email protected]>
12
13 allOf:
14 - $ref: /schemas/serial/serial.yaml#
15
16 properties:
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
39 required:
40 - compatible
41 - reg
42 - interrupts
43
44 unevaluatedProperties: false
45
46 examples:
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 };