0001 OMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS
0002
0003 OMAP MUSB GLUE
0004 - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb"
0005 - ti,hwmods : must be "usb_otg_hs"
0006 - multipoint : Should be "1" indicating the musb controller supports
0007 multipoint. This is a MUSB configuration-specific setting.
0008 - num-eps : Specifies the number of endpoints. This is also a
0009 MUSB configuration-specific setting. Should be set to "16"
0010 - ram-bits : Specifies the ram address size. Should be set to "12"
0011 - interface-type : This is a board specific setting to describe the type of
0012 interface between the controller and the phy. It should be "0" or "1"
0013 specifying ULPI and UTMI respectively.
0014 - mode : Should be "3" to represent OTG. "1" signifies HOST and "2"
0015 represents PERIPHERAL.
0016 - power : Should be "50". This signifies the controller can supply up to
0017 100mA when operating in host mode.
0018 - usb-phy : the phandle for the PHY device
0019 - phys : the phandle for the PHY device (used by generic PHY framework)
0020 - phy-names : the names of the PHY corresponding to the PHYs present in the
0021 *phy* phandle.
0022
0023 Optional properties:
0024 - ctrl-module : phandle of the control module this glue uses to write to
0025 mailbox
0026
0027 SOC specific device node entry
0028 usb_otg_hs: usb_otg_hs@4a0ab000 {
0029 compatible = "ti,omap4-musb";
0030 ti,hwmods = "usb_otg_hs";
0031 multipoint = <1>;
0032 num-eps = <16>;
0033 ram-bits = <12>;
0034 ctrl-module = <&omap_control_usb>;
0035 phys = <&usb2_phy>;
0036 phy-names = "usb2-phy";
0037 };
0038
0039 Board specific device node entry
0040 &usb_otg_hs {
0041 interface-type = <1>;
0042 mode = <3>;
0043 power = <50>;
0044 };
0045
0046 OMAP DWC3 GLUE
0047 - compatible : Should be
0048 * "ti,dwc3" for OMAP5 and DRA7
0049 * "ti,am437x-dwc3" for AM437x
0050 - ti,hwmods : Should be "usb_otg_ss"
0051 - reg : Address and length of the register set for the device.
0052 - interrupts : The irq number of this device that is used to interrupt the
0053 MPU
0054 - #address-cells, #size-cells : Must be present if the device has sub-nodes
0055 - utmi-mode : controls the source of UTMI/PIPE status for VBUS and OTG ID.
0056 It should be set to "1" for HW mode and "2" for SW mode.
0057 - ranges: the child address space are mapped 1:1 onto the parent address space
0058
0059 Optional Properties:
0060 - extcon : phandle for the extcon device omap dwc3 uses to detect
0061 connect/disconnect events.
0062 - vbus-supply : phandle to the regulator device tree node if needed.
0063
0064 Sub-nodes:
0065 The dwc3 core should be added as subnode to omap dwc3 glue.
0066 - dwc3 :
0067 The binding details of dwc3 can be found in:
0068 Documentation/devicetree/bindings/usb/snps,dwc3.yaml
0069
0070 omap_dwc3 {
0071 compatible = "ti,dwc3";
0072 ti,hwmods = "usb_otg_ss";
0073 reg = <0x4a020000 0x1ff>;
0074 interrupts = <0 93 4>;
0075 #address-cells = <1>;
0076 #size-cells = <1>;
0077 utmi-mode = <2>;
0078 ranges;
0079 };
0080