-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial/imx: add device tree probe support
It adds device tree probe support for imx tty/serial driver. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Jason Liu <jason.hui@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Alan Cox <alan@linux.intel.com> Cc: Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Grant Likely <grant.likely@secretlab.ca> Acked-by: Grant Likely <grant.likely@secretlab.ca>
- Loading branch information
Shawn Guo
committed
Jul 27, 2011
1 parent
fe6b540
commit 22698aa
Showing
2 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
* Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) | ||
|
||
Required properties: | ||
- compatible : Should be "fsl,<soc>-uart" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain uart interrupt | ||
|
||
Optional properties: | ||
- fsl,uart-has-rtscts : Indicate the uart has rts and cts | ||
- fsl,irda-mode : Indicate the uart supports irda mode | ||
|
||
Example: | ||
|
||
uart@73fbc000 { | ||
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
reg = <0x73fbc000 0x4000>; | ||
interrupts = <31>; | ||
fsl,uart-has-rtscts; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters