xref: /linux/Documentation/devicetree/bindings/usb/twlxxxx-usb.txt (revision c4ee0af3fa0dc65f690fc908f02b8355f9576ea0)
1USB COMPARATOR OF TWL CHIPS
2
3TWL6030 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 twl6032 subclass.
12
13twl6030-usb {
14	compatible = "ti,twl6030-usb";
15	interrupts = < 4 10 >;
16};
17
18Board specific device node entry
19&twl6030-usb {
20	usb-supply = <&vusb>;
21};
22
23TWL4030 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
33twl4030-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};
41