ARM: dts: imx28-tx28: Move phy_type to USB node
authorFabio Estevam <festevam@denx.de>
Sat, 23 Sep 2023 18:29:06 +0000 (15:29 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 25 Sep 2023 03:56:33 +0000 (11:56 +0800)
phy_type is a property for the USB controller, not for the USB PHY.

Move it to the USB controller nodes to fix the following schema
warning:

imx28-tx28.dtb: usbphy@8007c000: 'phy_type' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/phy/fsl,mxs-usbphy.yaml

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/mxs/imx28-tx28.dts

index 0391ffd15866c297740cb397295841dd7efedf14..153e4017951d886e48a67d5a5443b6352fe491fb 100644 (file)
        vbus-supply = <&reg_usb0_vbus>;
        disable-over-current;
        dr_mode = "peripheral";
+       phy_type = "utmi";
        status = "okay";
 };
 
        vbus-supply = <&reg_usb1_vbus>;
        disable-over-current;
        dr_mode = "host";
+       phy_type = "utmi";
        status = "okay";
 };
 
 &usbphy0 {
        pinctrl-names = "default";
        pinctrl-0 = <&tx28_usbphy0_pins>;
-       phy_type = "utmi";
        status = "okay";
 };
 
 &usbphy1 {
        pinctrl-names = "default";
        pinctrl-0 = <&tx28_usbphy1_pins>;
-       phy_type = "utmi";
        status = "okay";
 };