aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/tty/serial
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-06-18 10:06:09 -0300
committerShawn Guo <shawn.guo@linaro.org>2012-07-03 13:22:35 +0800
commit1ea6607d4cdc917987e7e6cfaafc4a630d97a297 (patch)
treebbb1bc41125fc8dfe071ee7e5fbd44204f33baec /Documentation/devicetree/bindings/tty/serial
parentARM: dts: imx23: Fix the gpmi/gpmi-nand DT name (diff)
downloadlinux-dev-1ea6607d4cdc917987e7e6cfaafc4a630d97a297.tar.xz
linux-dev-1ea6607d4cdc917987e7e6cfaafc4a630d97a297.zip
serial: mxs-auart: Allow device tree probing
Allow device tree probing. Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Alan Cox <alan@linux.intel.com> Cc: <linux-serial@vger.kernel.org> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Subodh Nijsure <snijsure@grid-net.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/tty/serial')
-rw-r--r--Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt
new file mode 100644
index 000000000000..2ee903fad25c
--- /dev/null
+++ b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt
@@ -0,0 +1,27 @@
+* Freescale MXS Application UART (AUART)
+
+Required properties:
+- compatible : Should be "fsl,<soc>-auart". The supported SoCs include
+ imx23 and imx28.
+- reg : Address and length of the register set for the device
+- interrupts : Should contain the auart interrupt numbers
+
+Example:
+auart0: serial@8006a000 {
+ compatible = "fsl,imx28-auart", "fsl,imx23-auart";
+ reg = <0x8006a000 0x2000>;
+ interrupts = <112 70 71>;
+};
+
+Note: Each auart port should have an alias correctly numbered in "aliases"
+node.
+
+Example:
+
+aliases {
+ serial0 = &auart0;
+ serial1 = &auart1;
+ serial2 = &auart2;
+ serial3 = &auart3;
+ serial4 = &auart4;
+};