]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: marvell: armada-37xx: swap PHYs' order in USB3 controller node
authorGabor Juhos <j4g8y7@gmail.com>
Mon, 30 Mar 2026 15:25:17 +0000 (17:25 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Thu, 9 Apr 2026 08:14:40 +0000 (10:14 +0200)
It seems that the Armada 3700 is the only platform where the USB3 specific
PHY is defined before the USB2 specific one in the device tree:

  $ git grep -E 'phy-names[ \t]*=[ \t]*"usb3-phy"[ \t]*,' next-20260327 -- *.dts *.dtsi | tr '\t' ' '
  next-20260327:arch/arm64/boot/dts/marvell/armada-37xx.dtsi:    phy-names = "usb3-phy", "usb2-utmi-otg-phy";

In contrary to this, there are 93 other platforms/boards where 'usb2-phy'
is defined first:

  $ git grep -E 'phy-names[ \t]*=[ \t]*"usb2-phy"[ \t]*,' next-20260327 -- *.dts *.dtsi | wc -l
  93

Swap the order of the USB3 and USB2 PHYs to follow the common pattern
used on other platforms.

No functional changes intended.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 7470d504a41081b32bee45368028189a13ea7087..360fc24fdde2204540ac415852146d3020be87c0 100644 (file)
                                reg = <0x58000 0x4000>;
                                interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&sb_periph_clk 12>;
-                               phys = <&comphy0 0>, <&usb2_utmi_otg_phy>;
-                               phy-names = "usb3-phy", "usb2-phy";
+                               phys = <&usb2_utmi_otg_phy>, <&comphy0 0>;
+                               phy-names = "usb2-phy", "usb3-phy";
                                status = "disabled";
                        };