Skip to content

Commit 26b82ca

Browse files
Lyra-Zhanggregkh
authored andcommitted
dt-bindings: serial: add a new compatible string for SC9860
SC9860 use the same serial device which SC9836 uses, so added a new compatible string to support SC9860 as well, also added an example of how to describe this serial device in DT. Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 32680c5 commit 26b82ca

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
* Spreadtrum serial UART
22

33
Required properties:
4-
- compatible: must be "sprd,sc9836-uart"
4+
- compatible: must be one of:
5+
* "sprd,sc9836-uart"
6+
* "sprd,sc9860-uart", "sprd,sc9836-uart"
7+
58
- reg: offset and length of the register set for the device
69
- interrupts: exactly one interrupt specifier
710
- clocks: phandles to input clocks.
11+
12+
Example:
13+
uart0: serial@0 {
14+
compatible = "sprd,sc9860-uart",
15+
"sprd,sc9836-uart";
16+
reg = <0x0 0x100>;
17+
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
18+
clocks = <&ext_26m>;
19+
};

0 commit comments

Comments
 (0)