xref: /freebsd/sys/contrib/device-tree/Bindings/serial/cirrus,clps711x-uart.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
2
3Required properties:
4- compatible: Should be "cirrus,ep7209-uart".
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:
11- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
12  line respectively.
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 {
23		compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart";
24		reg = <0x80000480 0x80>;
25		interrupts = <12 13>;
26		clocks = <&clks 11>;
27		syscon = <&syscon1>;
28		cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
29		dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
30		dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
31	};
32