Commit ad871c10 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Benoit Cousson
Browse files

ARM: dts: OMAP: Add usb_otg and glue data to OMAP3+ boards



Add usb otg data node in omap4/omap3 device tree file. Also update
the node with board specific setting in omapx-<board>.dts file.
The dt data specifies among others the interface type (ULPI or UTMI),
mode which is mostly OTG, power that specifies the amount of power
this can supply when in host mode.

The information about usb otg node is available @
Documentation/devicetree/bindings/usb/omap-usb.txt

Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent cf0d869e
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -18,6 +18,7 @@ OMAP MUSB GLUE
   represents PERIPHERAL.
   represents PERIPHERAL.
 - power : Should be "50". This signifies the controller can supply upto
 - power : Should be "50". This signifies the controller can supply upto
   100mA when operating in host mode.
   100mA when operating in host mode.
 - usb-phy : the phandle for the PHY device


Optional properties:
Optional properties:
 - ctrl-module : phandle of the control module this glue uses to write to
 - ctrl-module : phandle of the control module this glue uses to write to
+6 −0
Original line number Original line Diff line number Diff line
@@ -113,3 +113,9 @@
	 */
	 */
	ti,pulldowns = <0x03a1c4>;
	ti,pulldowns = <0x03a1c4>;
};
};

&usb_otg_hs {
	interface-type = <0>;
	mode = <3>;
	power = <50>;
};
+6 −0
Original line number Original line Diff line number Diff line
@@ -59,3 +59,9 @@
&twl_gpio {
&twl_gpio {
	ti,use-leds;
	ti,use-leds;
};
};

&usb_otg_hs {
	interface-type = <0>;
	mode = <3>;
	power = <50>;
};
+6 −0
Original line number Original line Diff line number Diff line
@@ -70,3 +70,9 @@
&twl_gpio {
&twl_gpio {
	ti,use-leds;
	ti,use-leds;
};
};

&usb_otg_hs {
	interface-type = <0>;
	mode = <3>;
	power = <50>;
};
+12 −0
Original line number Original line Diff line number Diff line
@@ -438,5 +438,17 @@
			#address-cells = <2>;
			#address-cells = <2>;
			#size-cells = <1>;
			#size-cells = <1>;
		};
		};

		usb_otg_hs: usb_otg_hs@480ab000 {
			compatible = "ti,omap3-musb";
			reg = <0x480ab000 0x1000>;
			interrupts = <0 92 0x4>, <0 93 0x4>;
			interrupt-names = "mc", "dma";
			ti,hwmods = "usb_otg_hs";
			usb-phy = <&usb2_phy>;
			multipoint = <1>;
			num-eps = <16>;
			ram-bits = <12>;
		};
	};
	};
};
};
Loading