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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Uwe Kleine-König 2017-02-16 22:18:58 +01:00 committed by Shawn Guo
parent 4105daf4cf
commit 10ad0dda7c
3 changed files with 2 additions and 4 deletions

View File

@ -179,8 +179,6 @@ &usbhost1 {
};
&usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider;
status = "okay";
};

View File

@ -309,8 +309,6 @@ &usbhost1 {
};
&usbotg {
phy_type = "utmi";
dr_mode = "otg";
external-vbus-divider;
status = "okay";
};

View File

@ -544,6 +544,8 @@ usbotg: usb@53ff4000 {
clock-names = "ipg", "ahb", "per";
fsl,usbmisc = <&usbmisc 0>;
fsl,usbphy = <&usbphy0>;
phy_type = "utmi";
dr_mode = "otg";
status = "disabled";
};