101658f0fSKishon Vijay Abraham IOMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS 200a0b1d5SKishon Vijay Abraham I 300a0b1d5SKishon Vijay Abraham IOMAP MUSB GLUE 400a0b1d5SKishon Vijay Abraham I - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb" 500a0b1d5SKishon Vijay Abraham I - ti,hwmods : must be "usb_otg_hs" 600a0b1d5SKishon Vijay Abraham I - multipoint : Should be "1" indicating the musb controller supports 700a0b1d5SKishon Vijay Abraham I multipoint. This is a MUSB configuration-specific setting. 8eee44da0SKishon Vijay Abraham I - num-eps : Specifies the number of endpoints. This is also a 900a0b1d5SKishon Vijay Abraham I MUSB configuration-specific setting. Should be set to "16" 10eee44da0SKishon Vijay Abraham I - ram-bits : Specifies the ram address size. Should be set to "12" 11eee44da0SKishon Vijay Abraham I - interface-type : This is a board specific setting to describe the type of 1200a0b1d5SKishon Vijay Abraham I interface between the controller and the phy. It should be "0" or "1" 1300a0b1d5SKishon Vijay Abraham I specifying ULPI and UTMI respectively. 1400a0b1d5SKishon Vijay Abraham I - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" 1500a0b1d5SKishon Vijay Abraham I represents PERIPHERAL. 1600a0b1d5SKishon Vijay Abraham I - power : Should be "50". This signifies the controller can supply up to 1700a0b1d5SKishon Vijay Abraham I 100mA when operating in host mode. 18ad871c10SKishon Vijay Abraham I - usb-phy : the phandle for the PHY device 19975d963eSKishon Vijay Abraham I - phys : the phandle for the PHY device (used by generic PHY framework) 20975d963eSKishon Vijay Abraham I - phy-names : the names of the PHY corresponding to the PHYs present in the 21975d963eSKishon Vijay Abraham I *phy* phandle. 2200a0b1d5SKishon Vijay Abraham I 2301658f0fSKishon Vijay Abraham IOptional properties: 2401658f0fSKishon Vijay Abraham I - ctrl-module : phandle of the control module this glue uses to write to 2501658f0fSKishon Vijay Abraham I mailbox 2601658f0fSKishon Vijay Abraham I 2700a0b1d5SKishon Vijay Abraham ISOC specific device node entry 2800a0b1d5SKishon Vijay Abraham Iusb_otg_hs: usb_otg_hs@4a0ab000 { 2900a0b1d5SKishon Vijay Abraham I compatible = "ti,omap4-musb"; 3000a0b1d5SKishon Vijay Abraham I ti,hwmods = "usb_otg_hs"; 3100a0b1d5SKishon Vijay Abraham I multipoint = <1>; 32eee44da0SKishon Vijay Abraham I num-eps = <16>; 33eee44da0SKishon Vijay Abraham I ram-bits = <12>; 3401658f0fSKishon Vijay Abraham I ctrl-module = <&omap_control_usb>; 35975d963eSKishon Vijay Abraham I phys = <&usb2_phy>; 36975d963eSKishon Vijay Abraham I phy-names = "usb2-phy"; 3700a0b1d5SKishon Vijay Abraham I}; 3800a0b1d5SKishon Vijay Abraham I 3900a0b1d5SKishon Vijay Abraham IBoard specific device node entry 4000a0b1d5SKishon Vijay Abraham I&usb_otg_hs { 41eee44da0SKishon Vijay Abraham I interface-type = <1>; 4200a0b1d5SKishon Vijay Abraham I mode = <3>; 4300a0b1d5SKishon Vijay Abraham I power = <50>; 4400a0b1d5SKishon Vijay Abraham I}; 4501658f0fSKishon Vijay Abraham I 46e36a0c87SKishon Vijay Abraham IOMAP DWC3 GLUE 4708593fa6SGeorge Cherian - compatible : Should be 4808593fa6SGeorge Cherian * "ti,dwc3" for OMAP5 and DRA7 4908593fa6SGeorge Cherian * "ti,am437x-dwc3" for AM437x 50e36a0c87SKishon Vijay Abraham I - ti,hwmods : Should be "usb_otg_ss" 51e36a0c87SKishon Vijay Abraham I - reg : Address and length of the register set for the device. 52e36a0c87SKishon Vijay Abraham I - interrupts : The irq number of this device that is used to interrupt the 53e36a0c87SKishon Vijay Abraham I MPU 54e36a0c87SKishon Vijay Abraham I - #address-cells, #size-cells : Must be present if the device has sub-nodes 55e36a0c87SKishon Vijay Abraham I - utmi-mode : controls the source of UTMI/PIPE status for VBUS and OTG ID. 56e36a0c87SKishon Vijay Abraham I It should be set to "1" for HW mode and "2" for SW mode. 57e36a0c87SKishon Vijay Abraham I - ranges: the child address space are mapped 1:1 onto the parent address space 58e36a0c87SKishon Vijay Abraham I 598061ad72SKishon Vijay Abraham IOptional Properties: 608061ad72SKishon Vijay Abraham I - extcon : phandle for the extcon device omap dwc3 uses to detect 618061ad72SKishon Vijay Abraham I connect/disconnect events. 628061ad72SKishon Vijay Abraham I - vbus-supply : phandle to the regulator device tree node if needed. 638061ad72SKishon Vijay Abraham I 64e36a0c87SKishon Vijay Abraham ISub-nodes: 65e36a0c87SKishon Vijay Abraham IThe dwc3 core should be added as subnode to omap dwc3 glue. 66e36a0c87SKishon Vijay Abraham I- dwc3 : 67e36a0c87SKishon Vijay Abraham I The binding details of dwc3 can be found in: 68e36a0c87SKishon Vijay Abraham I Documentation/devicetree/bindings/usb/dwc3.txt 69e36a0c87SKishon Vijay Abraham I 70e36a0c87SKishon Vijay Abraham Iomap_dwc3 { 71e36a0c87SKishon Vijay Abraham I compatible = "ti,dwc3"; 72e36a0c87SKishon Vijay Abraham I ti,hwmods = "usb_otg_ss"; 73e36a0c87SKishon Vijay Abraham I reg = <0x4a020000 0x1ff>; 74e36a0c87SKishon Vijay Abraham I interrupts = <0 93 4>; 75e36a0c87SKishon Vijay Abraham I #address-cells = <1>; 76e36a0c87SKishon Vijay Abraham I #size-cells = <1>; 77e36a0c87SKishon Vijay Abraham I utmi-mode = <2>; 78e36a0c87SKishon Vijay Abraham I ranges; 79e36a0c87SKishon Vijay Abraham I}; 80e36a0c87SKishon Vijay Abraham I 81