2011-06-27 16:32:33 +04:00
* UART (Universal Asynchronous Receiver/Transmitter)
Required properties:
- compatible : one of:
- "ns8250"
- "ns16450"
- "ns16550a"
- "ns16550"
- "ns16750"
- "ns16850"
2011-07-06 09:42:36 +04:00
- "nvidia,tegra20-uart"
2012-06-11 23:57:14 +04:00
- "nxp,lpc3220-uart"
2011-06-27 16:32:33 +04:00
- "ibm,qpace-nwp-serial"
2013-03-07 06:28:37 +04:00
- "altr,16550-FIFO32"
- "altr,16550-FIFO64"
- "altr,16550-FIFO128"
2011-06-27 16:32:33 +04:00
- "serial" if the port type is unknown.
- reg : offset and length of the register set for the device.
- interrupts : should contain uart interrupt.
2012-10-22 19:58:02 +04:00
- clock-frequency : the input clock frequency for the UART
or
clocks phandle to refer to the clk used as per Documentation/devicetree
/bindings/clock/clock-bindings.txt
2011-06-27 16:32:33 +04:00
Optional properties:
- current-speed : the current active speed of the UART.
- reg-offset : offset to apply to the mapbase from the start of the registers.
- reg-shift : quantity to shift the register offsets by.
2011-06-27 16:32:34 +04:00
- reg-io-width : the size (in bytes) of the IO accesses that should be
performed on the device. There are some systems that require 32-bit
accesses to the UART (e.g. TI davinci).
2011-06-27 16:32:33 +04:00
- used-by-rtas : set to indicate that the port is in use by the OpenFirmware
RTAS and should not be registered.
2012-07-17 20:08:31 +04:00
- no-loopback-test: set to indicate that the port does not implements loopback
test mode
2013-03-25 15:34:45 +04:00
- fifo-size: the fifo size of the UART.
2013-03-25 17:51:15 +04:00
- auto-flow-control: one way to enable automatic flow control support. The
driver is allowed to detect support for the capability even without this
property.
2014-05-01 23:04:53 +04:00
- has-hw-flow-control: the hardware has flow control capability.
2011-06-27 16:32:33 +04:00
Example:
uart@80230000 {
compatible = "ns8250";
reg = <0x80230000 0x100>;
clock-frequency = <3686400>;
interrupts = <10>;
reg-shift = <2>;
};