Commit 10ad0dda authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Shawn Guo

ARM: imx25: set default phy_type and dr_mode for usbotg port

All currently supported i.MX25-based machines use phy_type = "utmi" and
dr_mode = "otg".  So this seems to be a sensible default.

This also doesn't hurt out-of-tree machines because up to now they had
to specify these two properties in the machine.dts which still takes
precedence by just overwriting the defaults added here.
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 4105daf4
...@@ -179,8 +179,6 @@ &usbhost1 { ...@@ -179,8 +179,6 @@ &usbhost1 {
}; };
&usbotg { &usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider; external-vbus-divider;
status = "okay"; status = "okay";
}; };
...@@ -309,8 +309,6 @@ &usbhost1 { ...@@ -309,8 +309,6 @@ &usbhost1 {
}; };
&usbotg { &usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider; external-vbus-divider;
status = "okay"; status = "okay";
}; };
...@@ -544,6 +544,8 @@ usbotg: usb@53ff4000 { ...@@ -544,6 +544,8 @@ usbotg: usb@53ff4000 {
clock-names = "ipg", "ahb", "per"; clock-names = "ipg", "ahb", "per";
fsl,usbmisc = <&usbmisc 0>; fsl,usbmisc = <&usbmisc 0>;
fsl,usbphy = <&usbphy0>; fsl,usbphy = <&usbphy0>;
phy_type = "utmi";
dr_mode = "otg";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment