Back to home page

OSCL-LXR

 
 

    


0001 * Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
0002 
0003 Required properties:
0004 - compatible: Should be "cirrus,ep7209-uart".
0005 - reg: Address and length of the register set for the device.
0006 - interrupts: Should contain UART TX and RX interrupt.
0007 - clocks: Should contain UART core clock number.
0008 - syscon: Phandle to SYSCON node, which contain UART control bits.
0009 
0010 Optional properties:
0011 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
0012   line respectively.
0013 
0014 Note: Each UART port should have an alias correctly numbered
0015 in "aliases" node.
0016 
0017 Example:
0018         aliases {
0019                 serial0 = &uart1;
0020         };
0021 
0022         uart1: uart@80000480 {
0023                 compatible = "cirrus,ep7312-uart","cirrus,ep7209-uart";
0024                 reg = <0x80000480 0x80>;
0025                 interrupts = <12 13>;
0026                 clocks = <&clks 11>;
0027                 syscon = <&syscon1>;
0028                 cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
0029                 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
0030                 dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
0031         };