forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a USB gadget driver for the LPC32xx ARM SoC. Signed-off-by: Roland Stigge <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information
Showing
5 changed files
with
3,581 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.