xref: /freebsd/sys/contrib/device-tree/Bindings/usb/twlxxxx-usb.txt (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
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
33If a sibling node is compatible "ti,twl4030-bci", then it will find
34this device and query it for USB power status.
35
36twl4030-usb {
37	compatible = "ti,twl4030-usb";
38	interrupts = < 10 4 >;
39	usb1v5-supply = <&vusb1v5>;
40	usb1v8-supply = <&vusb1v8>;
41	usb3v1-supply = <&vusb3v1>;
42	usb_mode = <1>;
43};
44