* [PATCH] ARM: dts: imx53: Add USB support for M53EVK
@ 2013-11-17 3:04 Marek Vasut
2013-11-18 2:34 ` Shawn Guo
0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2013-11-17 3:04 UTC (permalink / raw)
To: linux-arm-kernel
Add USB support for M53EVK. The configuration is such that USB Host1
port is used as Host and the USB OTG port is used as Peripheral thus
far. Once OTG is properly fixed, the OTG will be further adjusted.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
arch/arm/boot/dts/imx53-m53evk.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/imx53-m53evk.dts b/arch/arm/boot/dts/imx53-m53evk.dts
index 47b3c89..8658e06 100644
--- a/arch/arm/boot/dts/imx53-m53evk.dts
+++ b/arch/arm/boot/dts/imx53-m53evk.dts
@@ -100,6 +100,15 @@
regulator-always-on;
};
+ reg_usbh1_vbus: regulator at 3 {
+ compatible = "regulator-fixed";
+ reg = <3>;
+ regulator-name = "vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 2 0>;
+ enable-active-low;
+ };
};
sound {
@@ -228,6 +237,8 @@
MX53_PAD_GPIO_0__CCM_SSI_EXT1_CLK 0x80000000
MX53_PAD_EIM_EB3__GPIO2_31 0x80000000
MX53_PAD_PATA_DA_0__GPIO7_6 0x80000000
+ MX53_PAD_GPIO_2__GPIO1_2 0x80000000
+ MX53_PAD_GPIO_3__USBOH3_USBH1_OC 0x80000000
>;
};
@@ -332,3 +343,14 @@
pinctrl-0 = <&pinctrl_uart3>;
status = "okay";
};
+
+&usbotg {
+ dr_mode = "peripheral";
+ status = "okay";
+};
+
+&usbh1 {
+ vbus-supply = <®_usbh1_vbus>;
+ phy_type = "utmi";
+ status = "okay";
+};
--
1.8.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: imx53: Add USB support for M53EVK
2013-11-18 2:34 ` Shawn Guo
@ 2013-11-18 2:33 ` Marek Vasut
0 siblings, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2013-11-18 2:33 UTC (permalink / raw)
To: linux-arm-kernel
Hi Shawn,
> On Sun, Nov 17, 2013 at 04:04:50AM +0100, Marek Vasut wrote:
> > @@ -332,3 +343,14 @@
> >
> > pinctrl-0 = <&pinctrl_uart3>;
> > status = "okay";
> >
> > };
> >
> > +
> > +&usbotg {
> > + dr_mode = "peripheral";
> > + status = "okay";
> > +};
> > +
> > +&usbh1 {
> > + vbus-supply = <®_usbh1_vbus>;
> > + phy_type = "utmi";
> > + status = "okay";
> > +};
>
> To maintain the alphabetical order, 'usbh1' should be put before
> 'usbotg'. I just fixed it up and applied the patch.
Ah, you're right. Thank you and sorry for adding more burden unto you.
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: dts: imx53: Add USB support for M53EVK
2013-11-17 3:04 [PATCH] ARM: dts: imx53: Add USB support for M53EVK Marek Vasut
@ 2013-11-18 2:34 ` Shawn Guo
2013-11-18 2:33 ` Marek Vasut
0 siblings, 1 reply; 3+ messages in thread
From: Shawn Guo @ 2013-11-18 2:34 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Nov 17, 2013 at 04:04:50AM +0100, Marek Vasut wrote:
> @@ -332,3 +343,14 @@
> pinctrl-0 = <&pinctrl_uart3>;
> status = "okay";
> };
> +
> +&usbotg {
> + dr_mode = "peripheral";
> + status = "okay";
> +};
> +
> +&usbh1 {
> + vbus-supply = <®_usbh1_vbus>;
> + phy_type = "utmi";
> + status = "okay";
> +};
To maintain the alphabetical order, 'usbh1' should be put before
'usbotg'. I just fixed it up and applied the patch.
Shawn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-18 2:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-17 3:04 [PATCH] ARM: dts: imx53: Add USB support for M53EVK Marek Vasut
2013-11-18 2:34 ` Shawn Guo
2013-11-18 2:33 ` Marek Vasut
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.