提交 10ad0dda 编写于 作者: U Uwe Kleine-König 提交者: 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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 4105daf4
...@@ -179,8 +179,6 @@ ...@@ -179,8 +179,6 @@
}; };
&usbotg { &usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider; external-vbus-divider;
status = "okay"; status = "okay";
}; };
...@@ -309,8 +309,6 @@ ...@@ -309,8 +309,6 @@
}; };
&usbotg { &usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider; external-vbus-divider;
status = "okay"; status = "okay";
}; };
...@@ -544,6 +544,8 @@ ...@@ -544,6 +544,8 @@
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册