About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / serial / of-serial.txt




Custom Search

Based on kernel version 3.19. Page generated on 2015-02-13 21:19 EST.

1	* UART (Universal Asynchronous Receiver/Transmitter)
2	
3	Required properties:
4	- compatible : one of:
5		- "ns8250"
6		- "ns16450"
7		- "ns16550a"
8		- "ns16550"
9		- "ns16750"
10		- "ns16850"
11		- "nvidia,tegra20-uart"
12		- "nxp,lpc3220-uart"
13		- "ralink,rt2880-uart"
14		- "ibm,qpace-nwp-serial"
15		- "altr,16550-FIFO32"
16		- "altr,16550-FIFO64"
17		- "altr,16550-FIFO128"
18		- "fsl,16550-FIFO64"
19		- "serial" if the port type is unknown.
20	- reg : offset and length of the register set for the device.
21	- interrupts : should contain uart interrupt.
22	- clock-frequency : the input clock frequency for the UART
23		 or
24	  clocks phandle to refer to the clk used as per Documentation/devicetree
25	  /bindings/clock/clock-bindings.txt
26	
27	Optional properties:
28	- current-speed : the current active speed of the UART.
29	- reg-offset : offset to apply to the mapbase from the start of the registers.
30	- reg-shift : quantity to shift the register offsets by.
31	- reg-io-width : the size (in bytes) of the IO accesses that should be
32	  performed on the device.  There are some systems that require 32-bit
33	  accesses to the UART (e.g. TI davinci).
34	- used-by-rtas : set to indicate that the port is in use by the OpenFirmware
35	  RTAS and should not be registered.
36	- no-loopback-test: set to indicate that the port does not implements loopback
37	  test mode
38	- fifo-size: the fifo size of the UART.
39	- auto-flow-control: one way to enable automatic flow control support. The
40	  driver is allowed to detect support for the capability even without this
41	  property.
42	
43	Example:
44	
45		uart@80230000 {
46			compatible = "ns8250";
47			reg = <0x80230000 0x100>;
48			clock-frequency = <3686400>;
49			interrupts = <10>;
50			reg-shift = <2>;
51		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.