twlxxxx-usb.txt 1.5 KB

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