aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-06-25 02:04:34 +0800
committerShawn Guo <shawn.guo@linaro.org>2011-07-27 09:30:43 +0800
commit22698aa252e5e10f5b6d171bf82669deeab3bee1 (patch)
treeb731eaeb9fac137612a4a4705bafeb5be1e9c6a1 /Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
parentserial/imx: get rid of the uses of cpu_is_mx1() (diff)
downloadlinux-dev-22698aa252e5e10f5b6d171bf82669deeab3bee1.tar.xz
linux-dev-22698aa252e5e10f5b6d171bf82669deeab3bee1.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt')
-rw-r--r--Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
new file mode 100644
index 000000000000..a9c0406280e8
--- /dev/null
+++ b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
@@ -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;
+};