mirror of https://gitee.com/openkylin/linux.git
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:
parent
4105daf4cf
commit
10ad0dda7c
|
@ -179,8 +179,6 @@ &usbhost1 {
|
|||
};
|
||||
|
||||
&usbotg {
|
||||
phy_type = "utmi";
|
||||
dr_mode = "otg";
|
||||
external-vbus-divider;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -309,8 +309,6 @@ &usbhost1 {
|
|||
};
|
||||
|
||||
&usbotg {
|
||||
phy_type = "utmi";
|
||||
dr_mode = "otg";
|
||||
external-vbus-divider;
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue