Skip to content

Commit e576184

Browse files
artursartamonovsadipamolloy
authored andcommitted
dt-bindings: serial: adi: Add bindings for the ADSP-SC5xx UART
Add bindings for the ADSP-SC5xx UART Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]> Signed-off-by: Philip Molloy <[email protected]>
1 parent db326de commit e576184

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/serial/adi,sc5xx-uart.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Analog Devices UART Driver for SC5XX-family processors
8+
9+
maintainers:
10+
- Arturs Artamonovs <[email protected]>
11+
- Utsav Agarwal <[email protected]>
12+
13+
description: Analog Devices UART Driver for SC59X-family processors
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- adi,sc5xx-uart
19+
20+
reg:
21+
maxItems: 1
22+
23+
clocks:
24+
maxItems: 1
25+
26+
clock-names:
27+
description: Clock name
28+
items:
29+
- const: sclk0
30+
31+
interrupt-names:
32+
items:
33+
- const: tx
34+
- const: rx
35+
- const: status
36+
37+
interrupts:
38+
minItems: 3
39+
maxItems: 3
40+
description: GIC interrupt numbers
41+
42+
adi,use-edbo:
43+
type: boolean
44+
description: Increase by 16 incoming bit sampling rate for better
45+
granularity and accuracy at high speed rates.
46+
47+
required:
48+
- compatible
49+
- reg
50+
- clocks
51+
- clock-names
52+
- interrupt-names
53+
- interrupts
54+
55+
additionalProperties: false
56+
57+
examples:
58+
- |
59+
#include <dt-bindings/interrupt-controller/arm-gic.h>
60+
#include <dt-bindings/interrupt-controller/irq.h>
61+
#include <dt-bindings/clock/adi-sc5xx-clock.h>
62+
63+
uart0: serial@31003000 {
64+
compatible = "adi,sc5xx-uart";
65+
reg = <0x31003000 0x40>;
66+
clocks = <&clk ADSP_CLK_CGU0_SCLK0>;
67+
clock-names = "sclk0";
68+
interrupt-parent = <&gic>;
69+
interrupt-names = "tx", "rx", "status";
70+
interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
71+
<GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
72+
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
73+
adi,use-edbo;
74+
};

0 commit comments

Comments
 (0)