xref: /openbmc/linux/Documentation/devicetree/bindings/usb/ux500-usb.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1313bdb11SLee JonesUx500 MUSB
2313bdb11SLee Jones
3313bdb11SLee JonesRequired properties:
4313bdb11SLee Jones - compatible : Should be "stericsson,db8500-musb"
5313bdb11SLee Jones - reg        : Offset and length of registers
6313bdb11SLee Jones - interrupts : Interrupt; mode, number and trigger
7313bdb11SLee Jones - dr_mode    : Dual-role; either host mode "host", peripheral mode "peripheral"
8313bdb11SLee Jones                or both "otg"
9313bdb11SLee Jones
10313bdb11SLee JonesOptional properties:
11313bdb11SLee Jones - dmas       : A list of dma channels;
12313bdb11SLee Jones                dma-controller, event-line, fixed-channel, flags
13313bdb11SLee Jones - dma-names  : An ordered list of channel names affiliated to the above
14313bdb11SLee Jones
15313bdb11SLee JonesExample:
16313bdb11SLee Jones
17313bdb11SLee Jonesusb_per5@a03e0000 {
18*4a6cd43fSSebastian Andrzej Siewior	compatible = "stericsson,db8500-musb";
19313bdb11SLee Jones	reg = <0xa03e0000 0x10000>;
20313bdb11SLee Jones	interrupts = <0 23 0x4>;
21313bdb11SLee Jones	interrupt-names = "mc";
22313bdb11SLee Jones
23313bdb11SLee Jones	dr_mode = "otg";
24313bdb11SLee Jones
25313bdb11SLee Jones	dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */
26313bdb11SLee Jones	       <&dma 38 0 0x0>, /* Logical - MemToDev */
27313bdb11SLee Jones	       <&dma 37 0 0x2>, /* Logical - DevToMem */
28313bdb11SLee Jones	       <&dma 37 0 0x0>, /* Logical - MemToDev */
29313bdb11SLee Jones	       <&dma 36 0 0x2>, /* Logical - DevToMem */
30313bdb11SLee Jones	       <&dma 36 0 0x0>, /* Logical - MemToDev */
31313bdb11SLee Jones	       <&dma 19 0 0x2>, /* Logical - DevToMem */
32313bdb11SLee Jones	       <&dma 19 0 0x0>, /* Logical - MemToDev */
33313bdb11SLee Jones	       <&dma 18 0 0x2>, /* Logical - DevToMem */
34313bdb11SLee Jones	       <&dma 18 0 0x0>, /* Logical - MemToDev */
35313bdb11SLee Jones	       <&dma 17 0 0x2>, /* Logical - DevToMem */
36313bdb11SLee Jones	       <&dma 17 0 0x0>, /* Logical - MemToDev */
37313bdb11SLee Jones	       <&dma 16 0 0x2>, /* Logical - DevToMem */
38313bdb11SLee Jones	       <&dma 16 0 0x0>, /* Logical - MemToDev */
39313bdb11SLee Jones	       <&dma 39 0 0x2>, /* Logical - DevToMem */
40313bdb11SLee Jones	       <&dma 39 0 0x0>; /* Logical - MemToDev */
41313bdb11SLee Jones
42313bdb11SLee Jones	dma-names = "iep_1_9",  "oep_1_9",
43313bdb11SLee Jones		    "iep_2_10", "oep_2_10",
44313bdb11SLee Jones		    "iep_3_11", "oep_3_11",
45313bdb11SLee Jones		    "iep_4_12", "oep_4_12",
46313bdb11SLee Jones		    "iep_5_13", "oep_5_13",
47313bdb11SLee Jones		    "iep_6_14", "oep_6_14",
48313bdb11SLee Jones		    "iep_7_15", "oep_7_15",
49313bdb11SLee Jones		    "iep_8",    "oep_8";
50313bdb11SLee Jones};
51