Petr Kulhavy | c92340a | 2016-11-21 08:59:27 -0600 | [diff] [blame] | 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 | Optional properties: |
| 22 | ~~~~~~~~~~~~~~~~~~~~ |
| 23 | - vbus-supply: Phandle to a regulator providing the USB bus power. |
| 24 | |
| 25 | Example: |
| 26 | usb_phy: usb-phy { |
| 27 | compatible = "ti,da830-usb-phy"; |
| 28 | #phy-cells = <0>; |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | usb0: usb@200000 { |
| 32 | compatible = "ti,da830-musb"; |
| 33 | reg = <0x00200000 0x10000>; |
| 34 | interrupts = <58>; |
| 35 | interrupt-names = "mc"; |
| 36 | |
| 37 | dr_mode = "host"; |
| 38 | vbus-supply = <&usb_vbus>; |
| 39 | phys = <&usb_phy 0>; |
| 40 | phy-names = "usb-phy"; |
| 41 | |
| 42 | status = "okay"; |
| 43 | }; |