dt-bindings: document the MPS2 UART bindings
authorVladimir Murzin <vladimir.murzin@arm.com>
Mon, 25 Apr 2016 08:47:46 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 16:26:55 +0000 (09:26 -0700)
This adds documentation of device tree bindings for the
UART found on ARM MPS2 platform

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/arm,mps2-uart.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt b/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
new file mode 100644 (file)
index 0000000..128cc6a
--- /dev/null
@@ -0,0 +1,19 @@
+ARM MPS2 UART
+
+Required properties:
+- compatible   : Should be "arm,mps2-uart"
+- reg          : Address and length of the register set
+- interrupts   : Reference to the UART RX, TX and overrun interrupts
+
+Required clocking property:
+- clocks         : The input clock of the UART
+
+
+Examples:
+
+uart0: serial@40004000 {
+       compatible = "arm,mps2-uart";
+       reg = <0x40004000 0x1000>;
+       interrupts = <0 1 12>;
+       clocks = <&sysclk>;
+};