aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-04-29 16:47:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-01 13:34:55 -0400
commit24a28e4283510dcd58890379a42b8a7d3201d9d3 (patch)
treea73c25e5dc9bcde312084f07f23804c1e8a0ffcf /Documentation/devicetree/bindings/usb/lpc32xx-udc.txt
parentUSB: Add driver for NXP ISP1301 USB transceiver (diff)
downloadlinux-dev-24a28e4283510dcd58890379a42b8a7d3201d9d3.tar.xz
linux-dev-24a28e4283510dcd58890379a42b8a7d3201d9d3.zip
USB: gadget driver for LPC32xx
This patch adds a USB gadget driver for the LPC32xx ARM SoC. Signed-off-by: Roland Stigge <stigge@antcom.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/lpc32xx-udc.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/lpc32xx-udc.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt b/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt
new file mode 100644
index 000000000000..29f12a533f66
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/lpc32xx-udc.txt
@@ -0,0 +1,28 @@
+* NXP LPC32xx SoC USB Device Controller (UDC)
+
+Required properties:
+- compatible: Must be "nxp,lpc3220-udc"
+- reg: Physical base address of the controller and length of memory mapped
+ region.
+- interrupts: The USB interrupts:
+ * USB Device Low Priority Interrupt
+ * USB Device High Priority Interrupt
+ * USB Device DMA Interrupt
+ * External USB Transceiver Interrupt (OTG ATX)
+- transceiver: phandle of the associated ISP1301 device - this is necessary for
+ the UDC controller for connecting to the USB physical layer
+
+Example:
+
+ isp1301: usb-transceiver@2c {
+ compatible = "nxp,isp1301";
+ reg = <0x2c>;
+ };
+
+ usbd@31020000 {
+ compatible = "nxp,lpc3220-udc";
+ reg = <0x31020000 0x300>;
+ interrupt-parent = <&mic>;
+ interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
+ transceiver = <&isp1301>;
+ };