ARM: dts: imx8mn: Replace deprecated fsl,usbphy DT props with phys
authorMarek Vasut <marex@denx.de>
Fri, 9 Apr 2021 22:12:03 +0000 (00:12 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 18 Apr 2021 02:29:35 +0000 (04:29 +0200)
The fsl,usbphy DT property is deprecated, replace it with phys DT
property and specify #phy-cells, so that the generic PHY framework
can parse the PHY bindings without any extra hacking.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Ye Li <ye.li@nxp.com>
Cc: uboot-imx <uboot-imx@nxp.com>
arch/arm/dts/imx8mn.dtsi

index 16ea500..63005ce 100644 (file)
                                clock-names = "usb1_ctrl_root_clk";
                                assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>;
                                assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>;
-                               fsl,usbphy = <&usbphynop1>;
+                               phys = <&usbphynop1>;
                                fsl,usbmisc = <&usbmisc1 0>;
                                status = "disabled";
                        };
        };
 
        usbphynop1: usbphynop1 {
+               #phy-cells = <0>;
                compatible = "usb-nop-xceiv";
                clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;
                assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>;