summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/serial/fsl-lpuart.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/serial/fsl-lpuart.txt')
-rw-r--r--dts/Bindings/serial/fsl-lpuart.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/dts/Bindings/serial/fsl-lpuart.txt b/dts/Bindings/serial/fsl-lpuart.txt
new file mode 100644
index 0000000000..a1d1205d81
--- /dev/null
+++ b/dts/Bindings/serial/fsl-lpuart.txt
@@ -0,0 +1,27 @@
+* Freescale low power universal asynchronous receiver/transmitter (lpuart)
+
+Required properties:
+- compatible : Should be "fsl,<soc>-lpuart"
+- reg : Address and length of the register set for the device
+- interrupts : Should contain uart interrupt
+- clocks : phandle + clock specifier pairs, one for each entry in clock-names
+- clock-names : should contain: "ipg" - the uart clock
+
+Optional properties:
+- dmas: A list of two dma specifiers, one for each entry in dma-names.
+- dma-names: should contain "tx" and "rx".
+
+Note: Optional properties for DMA support. Write them both or both not.
+
+Example:
+
+uart0: serial@40027000 {
+ compatible = "fsl,vf610-lpuart";
+ reg = <0x40027000 0x1000>;
+ interrupts = <0 61 0x00>;
+ clocks = <&clks VF610_CLK_UART0>;
+ clock-names = "ipg";
+ dmas = <&edma0 0 2>,
+ <&edma0 0 3>;
+ dma-names = "rx","tx";
+ };