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" 6ca784be3SKishon Vijay Abraham I - ti,has-mailbox : to specify that omap uses an external mailbox 7ca784be3SKishon Vijay Abraham I (in control module) to communicate with the musb core during device connect 8ca784be3SKishon Vijay Abraham I and disconnect. 900a0b1d5SKishon Vijay Abraham I - multipoint : Should be "1" indicating the musb controller supports 1000a0b1d5SKishon Vijay Abraham I multipoint. This is a MUSB configuration-specific setting. 1100a0b1d5SKishon Vijay Abraham I - num_eps : Specifies the number of endpoints. This is also a 1200a0b1d5SKishon Vijay Abraham I MUSB configuration-specific setting. Should be set to "16" 1300a0b1d5SKishon Vijay Abraham I - ram_bits : Specifies the ram address size. Should be set to "12" 1400a0b1d5SKishon Vijay Abraham I - interface_type : This is a board specific setting to describe the type of 1500a0b1d5SKishon Vijay Abraham I interface between the controller and the phy. It should be "0" or "1" 1600a0b1d5SKishon Vijay Abraham I specifying ULPI and UTMI respectively. 1700a0b1d5SKishon Vijay Abraham I - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" 1800a0b1d5SKishon Vijay Abraham I represents PERIPHERAL. 1900a0b1d5SKishon Vijay Abraham I - power : Should be "50". This signifies the controller can supply upto 2000a0b1d5SKishon Vijay Abraham I 100mA when operating in host mode. 2100a0b1d5SKishon Vijay Abraham I 2201658f0fSKishon Vijay Abraham IOptional properties: 2301658f0fSKishon Vijay Abraham I - ctrl-module : phandle of the control module this glue uses to write to 2401658f0fSKishon Vijay Abraham I mailbox 2501658f0fSKishon Vijay Abraham I 2600a0b1d5SKishon Vijay Abraham ISOC specific device node entry 2700a0b1d5SKishon Vijay Abraham Iusb_otg_hs: usb_otg_hs@4a0ab000 { 2800a0b1d5SKishon Vijay Abraham I compatible = "ti,omap4-musb"; 2900a0b1d5SKishon Vijay Abraham I ti,hwmods = "usb_otg_hs"; 30ca784be3SKishon Vijay Abraham I ti,has-mailbox; 3100a0b1d5SKishon Vijay Abraham I multipoint = <1>; 3200a0b1d5SKishon Vijay Abraham I num_eps = <16>; 3300a0b1d5SKishon Vijay Abraham I ram_bits = <12>; 3401658f0fSKishon Vijay Abraham I ctrl-module = <&omap_control_usb>; 3500a0b1d5SKishon Vijay Abraham I}; 3600a0b1d5SKishon Vijay Abraham I 3700a0b1d5SKishon Vijay Abraham IBoard specific device node entry 3800a0b1d5SKishon Vijay Abraham I&usb_otg_hs { 3900a0b1d5SKishon Vijay Abraham I interface_type = <1>; 4000a0b1d5SKishon Vijay Abraham I mode = <3>; 4100a0b1d5SKishon Vijay Abraham I power = <50>; 4200a0b1d5SKishon Vijay Abraham I}; 4301658f0fSKishon Vijay Abraham I 4401658f0fSKishon Vijay Abraham IOMAP CONTROL USB 4501658f0fSKishon Vijay Abraham I 4601658f0fSKishon Vijay Abraham IRequired properties: 4701658f0fSKishon Vijay Abraham I - compatible: Should be "ti,omap-control-usb" 4801658f0fSKishon Vijay Abraham I - reg : Address and length of the register set for the device. It contains 4901658f0fSKishon Vijay Abraham I the address of "control_dev_conf" and "otghs_control" or "phy_power_usb" 5001658f0fSKishon Vijay Abraham I depending upon omap4 or omap5. 5101658f0fSKishon Vijay Abraham I - reg-names: The names of the register addresses corresponding to the registers 5201658f0fSKishon Vijay Abraham I filled in "reg". 5301658f0fSKishon Vijay Abraham I - ti,type: This is used to differentiate whether the control module has 5401658f0fSKishon Vijay Abraham I usb mailbox or usb3 phy power. omap4 has usb mailbox in control module to 5501658f0fSKishon Vijay Abraham I notify events to the musb core and omap5 has usb3 phy power register to 5601658f0fSKishon Vijay Abraham I power on usb3 phy. Should be "1" if it has mailbox and "2" if it has usb3 5701658f0fSKishon Vijay Abraham I phy power. 5801658f0fSKishon Vijay Abraham I 5901658f0fSKishon Vijay Abraham Iomap_control_usb: omap-control-usb@4a002300 { 6001658f0fSKishon Vijay Abraham I compatible = "ti,omap-control-usb"; 6101658f0fSKishon Vijay Abraham I reg = <0x4a002300 0x4>, 6201658f0fSKishon Vijay Abraham I <0x4a00233c 0x4>; 6301658f0fSKishon Vijay Abraham I reg-names = "control_dev_conf", "otghs_control"; 6401658f0fSKishon Vijay Abraham I ti,type = <1>; 6501658f0fSKishon Vijay Abraham I}; 66