]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: xillybus: Added documentation on device tree bindings
authorEli Billauer <eli.billauer@gmail.com>
Mon, 30 Dec 2013 21:16:23 +0000 (23:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:42:35 +0000 (10:42 -0800)
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/staging/xillybus.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/staging/xillybus.txt b/Documentation/devicetree/bindings/staging/xillybus.txt
new file mode 100644 (file)
index 0000000..9e316dc
--- /dev/null
@@ -0,0 +1,20 @@
+* Xillybus driver for generic FPGA interface
+
+Required properties:
+- compatible: Should be "xillybus,xillybus-1.00.a"
+- reg: Address and length of the register set for the device
+- interrupts: Contains one interrupt node, typically consisting of three cells.
+- interrupt-parent: the phandle for the interrupt controller that
+                    services interrupts for this device.
+
+Optional properties:
+- dma-coherent: Present if DMA operations are coherent
+
+Example:
+
+       xillybus@ff200400 {
+               compatible = "xillybus,xillybus-1.00.a";
+               reg = < 0xff200400 0x00000080 >;
+               interrupts = < 0 40 1 >;
+               interrupt-parent = <&intc>;
+       } ;