Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Ux500 MUSB |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "stericsson,db8500-musb" |
| 5 | - reg : Offset and length of registers |
| 6 | - interrupts : Interrupt; mode, number and trigger |
| 7 | - dr_mode : Dual-role; either host mode "host", peripheral mode "peripheral" |
| 8 | or both "otg" |
| 9 | |
| 10 | Optional properties: |
| 11 | - dmas : A list of dma channels; |
| 12 | dma-controller, event-line, fixed-channel, flags |
| 13 | - dma-names : An ordered list of channel names affiliated to the above |
| 14 | |
| 15 | Example: |
| 16 | |
| 17 | usb_per5@a03e0000 { |
| 18 | compatible = "stericsson,db8500-musb"; |
| 19 | reg = <0xa03e0000 0x10000>; |
| 20 | interrupts = <0 23 0x4>; |
| 21 | interrupt-names = "mc"; |
| 22 | |
| 23 | dr_mode = "otg"; |
| 24 | |
| 25 | dmas = <&dma 38 0 0x2>, /* Logical - DevToMem */ |
| 26 | <&dma 38 0 0x0>, /* Logical - MemToDev */ |
| 27 | <&dma 37 0 0x2>, /* Logical - DevToMem */ |
| 28 | <&dma 37 0 0x0>, /* Logical - MemToDev */ |
| 29 | <&dma 36 0 0x2>, /* Logical - DevToMem */ |
| 30 | <&dma 36 0 0x0>, /* Logical - MemToDev */ |
| 31 | <&dma 19 0 0x2>, /* Logical - DevToMem */ |
| 32 | <&dma 19 0 0x0>, /* Logical - MemToDev */ |
| 33 | <&dma 18 0 0x2>, /* Logical - DevToMem */ |
| 34 | <&dma 18 0 0x0>, /* Logical - MemToDev */ |
| 35 | <&dma 17 0 0x2>, /* Logical - DevToMem */ |
| 36 | <&dma 17 0 0x0>, /* Logical - MemToDev */ |
| 37 | <&dma 16 0 0x2>, /* Logical - DevToMem */ |
| 38 | <&dma 16 0 0x0>, /* Logical - MemToDev */ |
| 39 | <&dma 39 0 0x2>, /* Logical - DevToMem */ |
| 40 | <&dma 39 0 0x0>; /* Logical - MemToDev */ |
| 41 | |
| 42 | dma-names = "iep_1_9", "oep_1_9", |
| 43 | "iep_2_10", "oep_2_10", |
| 44 | "iep_3_11", "oep_3_11", |
| 45 | "iep_4_12", "oep_4_12", |
| 46 | "iep_5_13", "oep_5_13", |
| 47 | "iep_6_14", "oep_6_14", |
| 48 | "iep_7_15", "oep_7_15", |
| 49 | "iep_8", "oep_8"; |
| 50 | }; |