~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/usb/da8xx-usb.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 TI DA8xx MUSB
  2 ~~~~~~~~~~~~~
  3 For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms.
  4 
  5 Required properties:
  6 ~~~~~~~~~~~~~~~~~~~~
  7  - compatible : Should be set to "ti,da830-musb".
  8 
  9  - reg: Offset and length of the USB controller register set.
 10 
 11  - interrupts: The USB interrupt number.
 12 
 13  - interrupt-names: Should be set to "mc".
 14 
 15  - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg".
 16 
 17  - phys: Phandle for the PHY device
 18 
 19  - phy-names: Should be "usb-phy"
 20 
 21  - dmas: specifies the dma channels
 22 
 23  - dma-names: specifies the names of the channels. Use "rxN" for receive
 24    and "txN" for transmit endpoints. N specifies the endpoint number.
 25 
 26 Optional properties:
 27 ~~~~~~~~~~~~~~~~~~~~
 28  - vbus-supply: Phandle to a regulator providing the USB bus power.
 29 
 30 DMA
 31 ~~~
 32 - compatible: ti,da830-cppi41
 33 - reg: offset and length of the following register spaces: CPPI DMA Controller,
 34   CPPI DMA Scheduler, Queue Manager
 35 - reg-names: "controller", "scheduler", "queuemgr"
 36 - #dma-cells: should be set to 2. The first number represents the
 37   channel number (0 … 3 for endpoints 1 … 4).
 38   The second number is 0 for RX and 1 for TX transfers.
 39 - dma-channels: should be set to 4 representing the 4 endpoints.
 40 - #dma-channels: deprecated
 41 
 42 Example:
 43         usb_phy: usb-phy {
 44                 compatible = "ti,da830-usb-phy";
 45                 #phy-cells = <0>;
 46         };
 47         usb0: usb@200000 {
 48                 compatible = "ti,da830-musb";
 49                 reg = <0x00200000 0x1000>;
 50                 ranges;
 51                 #address-cells = <1>;
 52                 #size-cells = <1>;
 53                 interrupts = <58>;
 54                 interrupt-names = "mc";
 55 
 56                 dr_mode = "host";
 57                 vbus-supply = <&usb_vbus>;
 58                 phys = <&usb_phy 0>;
 59                 phy-names = "usb-phy";
 60 
 61                 dmas = <&cppi41dma 0 0 &cppi41dma 1 0
 62                         &cppi41dma 2 0 &cppi41dma 3 0
 63                         &cppi41dma 0 1 &cppi41dma 1 1
 64                         &cppi41dma 2 1 &cppi41dma 3 1>;
 65                 dma-names =
 66                         "rx1", "rx2", "rx3", "rx4",
 67                         "tx1", "tx2", "tx3", "tx4";
 68 
 69 
 70                 cppi41dma: dma-controller@201000 {
 71                         compatible = "ti,da830-cppi41";
 72                         reg =  <0x201000 0x1000
 73                                 0x202000 0x1000
 74                                 0x204000 0x4000>;
 75                         reg-names = "controller", "scheduler", "queuemgr";
 76                         interrupts = <58>;
 77                         #dma-cells = <2>;
 78                         dma-channels = <4>;
 79                 };
 80 
 81         };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php