Skip to content

Commit 6f5ff13

Browse files
robherringgregkh
authored andcommitted
dt-bindings: serial: Convert lantiq,asc to DT schema
Convert the Lantiq SoC ASC UART binding to DT schema. There are no such clock identifier defines nor a user with clocks, so drop the example with clocks. Signed-off-by: "Rob Herring (Arm)" <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a34fc88 commit 6f5ff13

File tree

2 files changed

+56
-31
lines changed

2 files changed

+56
-31
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
};

Documentation/devicetree/bindings/serial/lantiq_asc.txt

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)