2011-06-27 12:32:33 +00:00
|
|
|
* UART (Universal Asynchronous Receiver/Transmitter)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : one of:
|
|
|
|
- "ns8250"
|
|
|
|
- "ns16450"
|
|
|
|
- "ns16550a"
|
|
|
|
- "ns16550"
|
|
|
|
- "ns16750"
|
|
|
|
- "ns16850"
|
2011-07-06 05:42:36 +00:00
|
|
|
- "nvidia,tegra20-uart"
|
2012-06-11 19:57:14 +00:00
|
|
|
- "nxp,lpc3220-uart"
|
2011-06-27 12:32:33 +00:00
|
|
|
- "ibm,qpace-nwp-serial"
|
|
|
|
- "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 15:58:02 +00: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 12:32:33 +00: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 12:32:34 +00: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 12:32:33 +00: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 16:08:31 +00:00
|
|
|
- no-loopback-test: set to indicate that the port does not implements loopback
|
|
|
|
test mode
|
2011-06-27 12:32:33 +00:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
uart@80230000 {
|
|
|
|
compatible = "ns8250";
|
|
|
|
reg = <0x80230000 0x100>;
|
|
|
|
clock-frequency = <3686400>;
|
|
|
|
interrupts = <10>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
};
|