-
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.
powerpc: doc/dts-bindings: document mpc5121 psc uart dts-bindings
Support for MPC5121 PSC UART in the mpc52xx_uart driver added new DTS properties for FSL MPC5121 PSC FIFO Controller. Provide documentation of the new properties and some examples. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
- Loading branch information
Anatolij Gustschin
authored and
Grant Likely
committed
Feb 17, 2010
1 parent
6acc683
commit 4f35e23
Showing
1 changed file
with
70 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,70 @@ | ||
MPC5121 PSC Device Tree Bindings | ||
|
||
PSC in UART mode | ||
---------------- | ||
|
||
For PSC in UART mode the needed PSC serial devices | ||
are specified by fsl,mpc5121-psc-uart nodes in the | ||
fsl,mpc5121-immr SoC node. Additionally the PSC FIFO | ||
Controller node fsl,mpc5121-psc-fifo is requered there: | ||
|
||
fsl,mpc5121-psc-uart nodes | ||
-------------------------- | ||
|
||
Required properties : | ||
- compatible : Should contain "fsl,mpc5121-psc-uart" and "fsl,mpc5121-psc" | ||
- cell-index : Index of the PSC in hardware | ||
- reg : Offset and length of the register set for the PSC device | ||
- interrupts : <a b> where a is the interrupt number of the | ||
PSC FIFO Controller and b is a field that represents an | ||
encoding of the sense and level information for the interrupt. | ||
- interrupt-parent : the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
Recommended properties : | ||
- fsl,rx-fifo-size : the size of the RX fifo slice (a multiple of 4) | ||
- fsl,tx-fifo-size : the size of the TX fifo slice (a multiple of 4) | ||
|
||
|
||
fsl,mpc5121-psc-fifo node | ||
------------------------- | ||
|
||
Required properties : | ||
- compatible : Should be "fsl,mpc5121-psc-fifo" | ||
- reg : Offset and length of the register set for the PSC | ||
FIFO Controller | ||
- interrupts : <a b> where a is the interrupt number of the | ||
PSC FIFO Controller and b is a field that represents an | ||
encoding of the sense and level information for the interrupt. | ||
- interrupt-parent : the phandle for the interrupt controller that | ||
services interrupts for this device. | ||
|
||
|
||
Example for a board using PSC0 and PSC1 devices in serial mode: | ||
|
||
serial@11000 { | ||
compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; | ||
cell-index = <0>; | ||
reg = <0x11000 0x100>; | ||
interrupts = <40 0x8>; | ||
interrupt-parent = < &ipic >; | ||
fsl,rx-fifo-size = <16>; | ||
fsl,tx-fifo-size = <16>; | ||
}; | ||
|
||
serial@11100 { | ||
compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; | ||
cell-index = <1>; | ||
reg = <0x11100 0x100>; | ||
interrupts = <40 0x8>; | ||
interrupt-parent = < &ipic >; | ||
fsl,rx-fifo-size = <16>; | ||
fsl,tx-fifo-size = <16>; | ||
}; | ||
|
||
pscfifo@11f00 { | ||
compatible = "fsl,mpc5121-psc-fifo"; | ||
reg = <0x11f00 0x100>; | ||
interrupts = <40 0x8>; | ||
interrupt-parent = < &ipic >; | ||
}; |