44 lines · plain
1USB COMPARATOR OF TWL CHIPS2 3TWL6030 USB COMPARATOR4 - compatible : Should be "ti,twl6030-usb"5 - interrupts : Two interrupt numbers to the cpu should be specified. First6 interrupt number is the otg interrupt number that raises ID interrupts when7 the controller has to act as host and the second interrupt number is the8 usb interrupt number that raises VBUS interrupts when the controller has to9 act as device10 - usb-supply : phandle to the regulator device tree node. It should be vusb11 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 entry19&twl6030-usb {20 usb-supply = <&vusb>;21};22 23TWL4030 USB PHY AND COMPARATOR24 - compatible : Should be "ti,twl4030-usb"25 - interrupts : The interrupt numbers to the cpu should be specified. First26 interrupt number is the otg interrupt number that raises ID interrupts27 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 vusb3v130 - 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 find34this 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