162306a36Sopenharmony_ciUSB COMPARATOR OF TWL CHIPS
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciTWL6030 USB COMPARATOR
462306a36Sopenharmony_ci - compatible : Should be "ti,twl6030-usb"
562306a36Sopenharmony_ci - interrupts : Two interrupt numbers to the cpu should be specified. First
662306a36Sopenharmony_ci   interrupt number is the otg interrupt number that raises ID interrupts when
762306a36Sopenharmony_ci   the controller has to act as host and the second interrupt number is the
862306a36Sopenharmony_ci   usb interrupt number that raises VBUS interrupts when the controller has to
962306a36Sopenharmony_ci   act as device
1062306a36Sopenharmony_ci - usb-supply : phandle to the regulator device tree node. It should be vusb
1162306a36Sopenharmony_ci   if it is twl6030 or ldousb if it is twl6032 subclass.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_citwl6030-usb {
1462306a36Sopenharmony_ci	compatible = "ti,twl6030-usb";
1562306a36Sopenharmony_ci	interrupts = < 4 10 >;
1662306a36Sopenharmony_ci};
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciBoard specific device node entry
1962306a36Sopenharmony_ci&twl6030-usb {
2062306a36Sopenharmony_ci	usb-supply = <&vusb>;
2162306a36Sopenharmony_ci};
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciTWL4030 USB PHY AND COMPARATOR
2462306a36Sopenharmony_ci - compatible : Should be "ti,twl4030-usb"
2562306a36Sopenharmony_ci - interrupts : The interrupt numbers to the cpu should be specified. First
2662306a36Sopenharmony_ci   interrupt number is the otg interrupt number that raises ID interrupts
2762306a36Sopenharmony_ci   and VBUS interrupts. The second interrupt number is optional.
2862306a36Sopenharmony_ci - <supply-name>-supply : phandle to the regulator device tree node.
2962306a36Sopenharmony_ci   <supply-name> should be vusb1v5, vusb1v8 and vusb3v1
3062306a36Sopenharmony_ci - usb_mode : The mode used by the phy to connect to the controller. "1"
3162306a36Sopenharmony_ci   specifies "ULPI" mode and "2" specifies "CEA2011_3PIN" mode.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciIf a sibling node is compatible "ti,twl4030-bci", then it will find
3462306a36Sopenharmony_cithis device and query it for USB power status.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_citwl4030-usb {
3762306a36Sopenharmony_ci	compatible = "ti,twl4030-usb";
3862306a36Sopenharmony_ci	interrupts = < 10 4 >;
3962306a36Sopenharmony_ci	usb1v5-supply = <&vusb1v5>;
4062306a36Sopenharmony_ci	usb1v8-supply = <&vusb1v8>;
4162306a36Sopenharmony_ci	usb3v1-supply = <&vusb3v1>;
4262306a36Sopenharmony_ci	usb_mode = <1>;
4362306a36Sopenharmony_ci};
44