ARM: dts: imx25: consolidate properties of usbhost1 in dtsi file
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Wed, 20 Nov 2019 21:13:33 +0000 (22:13 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 00:28:07 +0000 (08:28 +0800)
The usb port represented by &usbhost1 uses an USB phy internal to the
SoC. We add the phy_type to the base dtsi so the board dts only have to
overwrite it if they use a different configuration. While at it we also
pin the usbhost port to host mode.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts
arch/arm/boot/dts/imx25-pdk.dts
arch/arm/boot/dts/imx25.dtsi

index 0fde90d..3f38c2e 100644 (file)
 };
 
 &usbhost1 {
-       phy_type = "serial";
-       dr_mode = "host";
        status = "okay";
 };
 
index 05cccd1..fb66884 100644 (file)
 };
 
 &usbhost1 {
-       phy_type = "serial";
-       dr_mode = "host";
        status = "okay";
 };
 
index 9a097ef..7c7795b 100644 (file)
                                clock-names = "ipg", "ahb", "per";
                                fsl,usbmisc = <&usbmisc 1>;
                                fsl,usbphy = <&usbphy1>;
+                               phy_type = "serial";
+                               dr_mode = "host";
                                status = "disabled";
                        };