OSDN Git Service

usb: doc: udc-xilinx: Add devicetree bindings
authorSubbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>
Wed, 10 Sep 2014 13:54:03 +0000 (19:24 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 12 Sep 2014 14:12:40 +0000 (09:12 -0500)
Add devicetree bindings for Xilinx udc driver.

Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/udc-xilinx.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/usb/udc-xilinx.txt b/Documentation/devicetree/bindings/usb/udc-xilinx.txt
new file mode 100644 (file)
index 0000000..47b4e39
--- /dev/null
@@ -0,0 +1,18 @@
+Xilinx USB2 device controller
+
+Required properties:
+- compatible           : Should be "xlnx,usb2-device-4.00.a"
+- reg                  : Physical base address and size of the USB2
+                         device registers map.
+- interrupts           : Should contain single irq line of USB2 device
+                         controller
+- xlnx,has-builtin-dma : if DMA is included
+
+Example:
+               axi-usb2-device@42e00000 {
+                        compatible = "xlnx,usb2-device-4.00.a";
+                        interrupts = <0x0 0x39 0x1>;
+                        reg = <0x42e00000 0x10000>;
+                        xlnx,has-builtin-dma;
+                };
+