Merge tag 'riscv-for-linus-5.18-mw1' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / Documentation / devicetree / bindings / serial / cirrus,clps711x-uart.txt
CommitLineData
3c0f0f9f
AS
1* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
2
3Required properties:
d305345c 4- compatible: Should be "cirrus,ep7209-uart".
3c0f0f9f
AS
5- reg: Address and length of the register set for the device.
6- interrupts: Should contain UART TX and RX interrupt.
7- clocks: Should contain UART core clock number.
8- syscon: Phandle to SYSCON node, which contain UART control bits.
9
10Optional properties:
62b0a1b3
AS
11- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
12 line respectively.
3c0f0f9f
AS
13
14Note: Each UART port should have an alias correctly numbered
15in "aliases" node.
16
17Example:
18 aliases {
19 serial0 = &uart1;
20 };
21
22 uart1: uart@80000480 {
d305345c 23 compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart";
3c0f0f9f
AS
24 reg = <0x80000480 0x80>;
25 interrupts = <12 13>;
26 clocks = <&clks 11>;
27 syscon = <&syscon1>;
62b0a1b3
AS
28 cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
29 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
30 dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
3c0f0f9f 31 };