diff options
Diffstat (limited to 'Documentation/devicetree/bindings/usb/twlxxxx-usb.txt')
-rw-r--r-- | Documentation/devicetree/bindings/usb/twlxxxx-usb.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt b/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt new file mode 100644 index 000000000000..36b9aede3f40 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | USB COMPARATOR OF TWL CHIPS | ||
2 | |||
3 | TWL6030 USB COMPARATOR | ||
4 | - compatible : Should be "ti,twl6030-usb" | ||
5 | - interrupts : Two interrupt numbers to the cpu should be specified. First | ||
6 | interrupt number is the otg interrupt number that raises ID interrupts when | ||
7 | the controller has to act as host and the second interrupt number is the | ||
8 | usb interrupt number that raises VBUS interrupts when the controller has to | ||
9 | act as device | ||
10 | - usb-supply : phandle to the regulator device tree node. It should be vusb | ||
11 | if it is twl6030 or ldousb if it is twl6025 subclass. | ||
12 | |||
13 | twl6030-usb { | ||
14 | compatible = "ti,twl6030-usb"; | ||
15 | interrupts = < 4 10 >; | ||
16 | }; | ||
17 | |||
18 | Board specific device node entry | ||
19 | &twl6030-usb { | ||
20 | usb-supply = <&vusb>; | ||
21 | }; | ||
22 | |||
23 | TWL4030 USB PHY AND COMPARATOR | ||
24 | - compatible : Should be "ti,twl4030-usb" | ||
25 | - interrupts : The interrupt numbers to the cpu should be specified. First | ||
26 | interrupt number is the otg interrupt number that raises ID interrupts | ||
27 | and VBUS interrupts. The second interrupt number is optional. | ||
28 | - <supply-name>-supply : phandle to the regulator device tree node. | ||
29 | <supply-name> should be vusb1v5, vusb1v8 and vusb3v1 | ||
30 | - usb_mode : The mode used by the phy to connect to the controller. "1" | ||
31 | specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode. | ||
32 | |||
33 | twl4030-usb { | ||
34 | compatible = "ti,twl4030-usb"; | ||
35 | interrupts = < 10 4 >; | ||
36 | usb1v5-supply = <&vusb1v5>; | ||
37 | usb1v8-supply = <&vusb1v8>; | ||
38 | usb3v1-supply = <&vusb3v1>; | ||
39 | usb_mode = <1>; | ||
40 | }; | ||