blob: 07013fa60a4849e795ebcd9dce5e0f119b2c11b0 [file] [log] [blame]
Alexander Shiyan3c0f0f92013-12-11 19:52:35 +04001* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
2
3Required properties:
Alexander Shiyand3053452016-06-04 10:09:57 +03004- compatible: Should be "cirrus,ep7209-uart".
Alexander Shiyan3c0f0f92013-12-11 19:52:35 +04005- 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:
Alexander Shiyan62b0a1b2014-09-06 07:20:15 +040011- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
12 line respectively.
Alexander Shiyan3c0f0f92013-12-11 19:52:35 +040013
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 {
Alexander Shiyand3053452016-06-04 10:09:57 +030023 compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart";
Alexander Shiyan3c0f0f92013-12-11 19:52:35 +040024 reg = <0x80000480 0x80>;
25 interrupts = <12 13>;
26 clocks = <&clks 11>;
27 syscon = <&syscon1>;
Alexander Shiyan62b0a1b2014-09-06 07:20:15 +040028 cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
29 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
30 dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
Alexander Shiyan3c0f0f92013-12-11 19:52:35 +040031 };