-
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.
devicetree: serial: Add documentation for imx serial
Add documentation for imx serial. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
- Loading branch information
Fabio Estevam
authored and
Rob Herring
committed
Sep 6, 2012
1 parent
7185fcc
commit 239078d
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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,35 @@ | ||
* Freescale i.MX UART controller | ||
|
||
Required properties: | ||
- compatible : should be "fsl,imx21-uart" | ||
- reg : Address and length of the register set for the device | ||
- interrupts : Should contain UART interrupt number | ||
|
||
Optional properties: | ||
- fsl,uart-has-rtscts: indicate that RTS/CTS signals are used | ||
|
||
Note: Each uart controller should have an alias correctly numbered | ||
in "aliases" node. | ||
|
||
Example: | ||
|
||
- From imx51.dtsi: | ||
aliases { | ||
serial0 = &uart1; | ||
serial1 = &uart2; | ||
serial2 = &uart3; | ||
}; | ||
|
||
uart1: serial@73fbc000 { | ||
compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
reg = <0x73fbc000 0x4000>; | ||
interrupts = <31>; | ||
status = "disabled"; | ||
} | ||
|
||
- From imx51-babbage.dts: | ||
uart1: serial@73fbc000 { | ||
fsl,uart-has-rtscts; | ||
status = "okay"; | ||
}; | ||
|