]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx8mm: Replace deprecated fsl,usbphy DT props with phys
authorMarek Vasut <marex@denx.de>
Wed, 31 Mar 2021 09:47:25 +0000 (11:47 +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/imx8mm.dtsi

index c824f2615fe8fdd819afbab6c6cbb4740797b34d..fa2d73f1803118e48e596783fd71603975fe3777 100644 (file)
        };
 
        usbphynop1: usbphynop1 {
+               #phy-cells = <0>;
                compatible = "usb-nop-xceiv";
                clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
                assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
        };
 
        usbphynop2: usbphynop2 {
+               #phy-cells = <0>;
                compatible = "usb-nop-xceiv";
                clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
                assigned-clocks = <&clk IMX8MM_CLK_USB_PHY_REF>;
                                clock-names = "usb1_ctrl_root_clk";
                                assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
                                assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
-                               fsl,usbphy = <&usbphynop1>;
+                               phys = <&usbphynop1>;
                                fsl,usbmisc = <&usbmisc1 0>;
                                status = "disabled";
                        };
                                clock-names = "usb1_ctrl_root_clk";
                                assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>;
                                assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>;
-                               fsl,usbphy = <&usbphynop2>;
+                               phys = <&usbphynop2>;
                                fsl,usbmisc = <&usbmisc2 0>;
                                status = "disabled";
                        };