162306a36Sopenharmony_ciOMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciOMAP MUSB GLUE 462306a36Sopenharmony_ci - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb" 562306a36Sopenharmony_ci - ti,hwmods : must be "usb_otg_hs" 662306a36Sopenharmony_ci - multipoint : Should be "1" indicating the musb controller supports 762306a36Sopenharmony_ci multipoint. This is a MUSB configuration-specific setting. 862306a36Sopenharmony_ci - num-eps : Specifies the number of endpoints. This is also a 962306a36Sopenharmony_ci MUSB configuration-specific setting. Should be set to "16" 1062306a36Sopenharmony_ci - ram-bits : Specifies the ram address size. Should be set to "12" 1162306a36Sopenharmony_ci - interface-type : This is a board specific setting to describe the type of 1262306a36Sopenharmony_ci interface between the controller and the phy. It should be "0" or "1" 1362306a36Sopenharmony_ci specifying ULPI and UTMI respectively. 1462306a36Sopenharmony_ci - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" 1562306a36Sopenharmony_ci represents PERIPHERAL. 1662306a36Sopenharmony_ci - power : Should be "50". This signifies the controller can supply up to 1762306a36Sopenharmony_ci 100mA when operating in host mode. 1862306a36Sopenharmony_ci - usb-phy : the phandle for the PHY device 1962306a36Sopenharmony_ci - phys : the phandle for the PHY device (used by generic PHY framework) 2062306a36Sopenharmony_ci - phy-names : the names of the PHY corresponding to the PHYs present in the 2162306a36Sopenharmony_ci *phy* phandle. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciOptional properties: 2462306a36Sopenharmony_ci - ctrl-module : phandle of the control module this glue uses to write to 2562306a36Sopenharmony_ci mailbox 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ciSOC specific device node entry 2862306a36Sopenharmony_ciusb_otg_hs: usb_otg_hs@4a0ab000 { 2962306a36Sopenharmony_ci compatible = "ti,omap4-musb"; 3062306a36Sopenharmony_ci ti,hwmods = "usb_otg_hs"; 3162306a36Sopenharmony_ci multipoint = <1>; 3262306a36Sopenharmony_ci num-eps = <16>; 3362306a36Sopenharmony_ci ram-bits = <12>; 3462306a36Sopenharmony_ci ctrl-module = <&omap_control_usb>; 3562306a36Sopenharmony_ci phys = <&usb2_phy>; 3662306a36Sopenharmony_ci phy-names = "usb2-phy"; 3762306a36Sopenharmony_ci}; 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ciBoard specific device node entry 4062306a36Sopenharmony_ci&usb_otg_hs { 4162306a36Sopenharmony_ci interface-type = <1>; 4262306a36Sopenharmony_ci mode = <3>; 4362306a36Sopenharmony_ci power = <50>; 4462306a36Sopenharmony_ci}; 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ciOMAP DWC3 GLUE 4762306a36Sopenharmony_ci - compatible : Should be 4862306a36Sopenharmony_ci * "ti,dwc3" for OMAP5 and DRA7 4962306a36Sopenharmony_ci * "ti,am437x-dwc3" for AM437x 5062306a36Sopenharmony_ci - ti,hwmods : Should be "usb_otg_ss" 5162306a36Sopenharmony_ci - reg : Address and length of the register set for the device. 5262306a36Sopenharmony_ci - interrupts : The irq number of this device that is used to interrupt the 5362306a36Sopenharmony_ci MPU 5462306a36Sopenharmony_ci - #address-cells, #size-cells : Must be present if the device has sub-nodes 5562306a36Sopenharmony_ci - utmi-mode : controls the source of UTMI/PIPE status for VBUS and OTG ID. 5662306a36Sopenharmony_ci It should be set to "1" for HW mode and "2" for SW mode. 5762306a36Sopenharmony_ci - ranges: the child address space are mapped 1:1 onto the parent address space 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ciOptional Properties: 6062306a36Sopenharmony_ci - extcon : phandle for the extcon device omap dwc3 uses to detect 6162306a36Sopenharmony_ci connect/disconnect events. 6262306a36Sopenharmony_ci - vbus-supply : phandle to the regulator device tree node if needed. 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ciSub-nodes: 6562306a36Sopenharmony_ciThe dwc3 core should be added as subnode to omap dwc3 glue. 6662306a36Sopenharmony_ci- dwc3 : 6762306a36Sopenharmony_ci The binding details of dwc3 can be found in: 6862306a36Sopenharmony_ci Documentation/devicetree/bindings/usb/snps,dwc3.yaml 6962306a36Sopenharmony_ci 7062306a36Sopenharmony_ciomap_dwc3 { 7162306a36Sopenharmony_ci compatible = "ti,dwc3"; 7262306a36Sopenharmony_ci ti,hwmods = "usb_otg_ss"; 7362306a36Sopenharmony_ci reg = <0x4a020000 0x1ff>; 7462306a36Sopenharmony_ci interrupts = <0 93 4>; 7562306a36Sopenharmony_ci #address-cells = <1>; 7662306a36Sopenharmony_ci #size-cells = <1>; 7762306a36Sopenharmony_ci utmi-mode = <2>; 7862306a36Sopenharmony_ci ranges; 7962306a36Sopenharmony_ci}; 8062306a36Sopenharmony_ci 81