0001 TI DA8xx MUSB
0002 ~~~~~~~~~~~~~
0003 For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms.
0004
0005 Required properties:
0006 ~~~~~~~~~~~~~~~~~~~~
0007 - compatible : Should be set to "ti,da830-musb".
0008
0009 - reg: Offset and length of the USB controller register set.
0010
0011 - interrupts: The USB interrupt number.
0012
0013 - interrupt-names: Should be set to "mc".
0014
0015 - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg".
0016
0017 - phys: Phandle for the PHY device
0018
0019 - phy-names: Should be "usb-phy"
0020
0021 - dmas: specifies the dma channels
0022
0023 - dma-names: specifies the names of the channels. Use "rxN" for receive
0024 and "txN" for transmit endpoints. N specifies the endpoint number.
0025
0026 Optional properties:
0027 ~~~~~~~~~~~~~~~~~~~~
0028 - vbus-supply: Phandle to a regulator providing the USB bus power.
0029
0030 DMA
0031 ~~~
0032 - compatible: ti,da830-cppi41
0033 - reg: offset and length of the following register spaces: CPPI DMA Controller,
0034 CPPI DMA Scheduler, Queue Manager
0035 - reg-names: "controller", "scheduler", "queuemgr"
0036 - #dma-cells: should be set to 2. The first number represents the
0037 channel number (0 … 3 for endpoints 1 … 4).
0038 The second number is 0 for RX and 1 for TX transfers.
0039 - dma-channels: should be set to 4 representing the 4 endpoints.
0040 - #dma-channels: deprecated
0041
0042 Example:
0043 usb_phy: usb-phy {
0044 compatible = "ti,da830-usb-phy";
0045 #phy-cells = <0>;
0046 };
0047 usb0: usb@200000 {
0048 compatible = "ti,da830-musb";
0049 reg = <0x00200000 0x1000>;
0050 ranges;
0051 #address-cells = <1>;
0052 #size-cells = <1>;
0053 interrupts = <58>;
0054 interrupt-names = "mc";
0055
0056 dr_mode = "host";
0057 vbus-supply = <&usb_vbus>;
0058 phys = <&usb_phy 0>;
0059 phy-names = "usb-phy";
0060
0061 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
0062 &cppi41dma 2 0 &cppi41dma 3 0
0063 &cppi41dma 0 1 &cppi41dma 1 1
0064 &cppi41dma 2 1 &cppi41dma 3 1>;
0065 dma-names =
0066 "rx1", "rx2", "rx3", "rx4",
0067 "tx1", "tx2", "tx3", "tx4";
0068
0069
0070 cppi41dma: dma-controller@201000 {
0071 compatible = "ti,da830-cppi41";
0072 reg = <0x201000 0x1000
0073 0x202000 0x1000
0074 0x204000 0x4000>;
0075 reg-names = "controller", "scheduler", "queuemgr";
0076 interrupts = <58>;
0077 #dma-cells = <2>;
0078 dma-channels = <4>;
0079 };
0080
0081 };