xref: /freebsd/sys/contrib/device-tree/Bindings/serial/cirrus,clps711x-uart.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: Should be "cirrus,ep7209-uart".
5*c66ec88fSEmmanuel Vadot- reg: Address and length of the register set for the device.
6*c66ec88fSEmmanuel Vadot- interrupts: Should contain UART TX and RX interrupt.
7*c66ec88fSEmmanuel Vadot- clocks: Should contain UART core clock number.
8*c66ec88fSEmmanuel Vadot- syscon: Phandle to SYSCON node, which contain UART control bits.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotOptional properties:
11*c66ec88fSEmmanuel Vadot- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
12*c66ec88fSEmmanuel Vadot  line respectively.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotNote: Each UART port should have an alias correctly numbered
15*c66ec88fSEmmanuel Vadotin "aliases" node.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot	aliases {
19*c66ec88fSEmmanuel Vadot		serial0 = &uart1;
20*c66ec88fSEmmanuel Vadot	};
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadot	uart1: uart@80000480 {
23*c66ec88fSEmmanuel Vadot		compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart";
24*c66ec88fSEmmanuel Vadot		reg = <0x80000480 0x80>;
25*c66ec88fSEmmanuel Vadot		interrupts = <12 13>;
26*c66ec88fSEmmanuel Vadot		clocks = <&clks 11>;
27*c66ec88fSEmmanuel Vadot		syscon = <&syscon1>;
28*c66ec88fSEmmanuel Vadot		cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
29*c66ec88fSEmmanuel Vadot		dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
30*c66ec88fSEmmanuel Vadot		dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
31*c66ec88fSEmmanuel Vadot	};
32