2013-12-11 15:52:35 +00:00
|
|
|
* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible: Should be "cirrus,clps711x-uart".
|
|
|
|
- reg: Address and length of the register set for the device.
|
|
|
|
- interrupts: Should contain UART TX and RX interrupt.
|
|
|
|
- clocks: Should contain UART core clock number.
|
|
|
|
- syscon: Phandle to SYSCON node, which contain UART control bits.
|
|
|
|
|
|
|
|
Optional properties:
|
2014-09-06 03:20:15 +00:00
|
|
|
- {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
|
|
|
|
line respectively.
|
2013-12-11 15:52:35 +00:00
|
|
|
|
|
|
|
Note: Each UART port should have an alias correctly numbered
|
|
|
|
in "aliases" node.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
aliases {
|
|
|
|
serial0 = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: uart@80000480 {
|
|
|
|
compatible = "cirrus,clps711x-uart";
|
|
|
|
reg = <0x80000480 0x80>;
|
|
|
|
interrupts = <12 13>;
|
|
|
|
clocks = <&clks 11>;
|
|
|
|
syscon = <&syscon1>;
|
2014-09-06 03:20:15 +00:00
|
|
|
cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
|
|
|
|
dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
|
|
|
|
dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
|
2013-12-11 15:52:35 +00:00
|
|
|
};
|