1ff0a1f39SKishon Vijay Abraham IUSB COMPARATOR OF TWL CHIPS
2ff0a1f39SKishon Vijay Abraham I
3ff0a1f39SKishon Vijay Abraham ITWL6030 USB COMPARATOR
4ff0a1f39SKishon Vijay Abraham I - compatible : Should be "ti,twl6030-usb"
5ff0a1f39SKishon Vijay Abraham I - interrupts : Two interrupt numbers to the cpu should be specified. First
6ff0a1f39SKishon Vijay Abraham I   interrupt number is the otg interrupt number that raises ID interrupts when
7ff0a1f39SKishon Vijay Abraham I   the controller has to act as host and the second interrupt number is the
8ff0a1f39SKishon Vijay Abraham I   usb interrupt number that raises VBUS interrupts when the controller has to
9ff0a1f39SKishon Vijay Abraham I   act as device
10ff0a1f39SKishon Vijay Abraham I - usb-supply : phandle to the regulator device tree node. It should be vusb
1189ce43fbSGraeme Gregory   if it is twl6030 or ldousb if it is twl6032 subclass.
12ff0a1f39SKishon Vijay Abraham I
13ff0a1f39SKishon Vijay Abraham Itwl6030-usb {
14ff0a1f39SKishon Vijay Abraham I	compatible = "ti,twl6030-usb";
15ff0a1f39SKishon Vijay Abraham I	interrupts = < 4 10 >;
16ff0a1f39SKishon Vijay Abraham I};
17ff0a1f39SKishon Vijay Abraham I
18ff0a1f39SKishon Vijay Abraham IBoard specific device node entry
19ff0a1f39SKishon Vijay Abraham I&twl6030-usb {
20ff0a1f39SKishon Vijay Abraham I	usb-supply = <&vusb>;
21ff0a1f39SKishon Vijay Abraham I};
22f8515f06SKishon Vijay Abraham I
23f8515f06SKishon Vijay Abraham ITWL4030 USB PHY AND COMPARATOR
24f8515f06SKishon Vijay Abraham I - compatible : Should be "ti,twl4030-usb"
25f8515f06SKishon Vijay Abraham I - interrupts : The interrupt numbers to the cpu should be specified. First
26f8515f06SKishon Vijay Abraham I   interrupt number is the otg interrupt number that raises ID interrupts
27f8515f06SKishon Vijay Abraham I   and VBUS interrupts. The second interrupt number is optional.
28f8515f06SKishon Vijay Abraham I - <supply-name>-supply : phandle to the regulator device tree node.
29f8515f06SKishon Vijay Abraham I   <supply-name> should be vusb1v5, vusb1v8 and vusb3v1
30f8515f06SKishon Vijay Abraham I - usb_mode : The mode used by the phy to connect to the controller. "1"
31f8515f06SKishon Vijay Abraham I   specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode.
32f8515f06SKishon Vijay Abraham I
33f5e4edb8SNeilBrownIf a sibling node is compatible "ti,twl4030-bci", then it will find
34f5e4edb8SNeilBrownthis device and query it for USB power status.
35f5e4edb8SNeilBrown
36f8515f06SKishon Vijay Abraham Itwl4030-usb {
37f8515f06SKishon Vijay Abraham I	compatible = "ti,twl4030-usb";
38f8515f06SKishon Vijay Abraham I	interrupts = < 10 4 >;
39f8515f06SKishon Vijay Abraham I	usb1v5-supply = <&vusb1v5>;
40f8515f06SKishon Vijay Abraham I	usb1v8-supply = <&vusb1v8>;
41f8515f06SKishon Vijay Abraham I	usb3v1-supply = <&vusb3v1>;
42f8515f06SKishon Vijay Abraham I	usb_mode = <1>;
43f8515f06SKishon Vijay Abraham I};
44