arm64: dts: marvell: armada-37xx: link USB hosts with their PHYs
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Jan 2019 09:36:35 +0000 (10:36 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 8 Feb 2019 20:58:59 +0000 (21:58 +0100)
Reference the PHY nodes from the USB controller nodes.

The USB3 host controller is wired to:
  * the first PHY of the COMPHY IP
  * the OTG-capable UTMI PHY

The USB2 host controller is wired to:
  * the host-only UTMI PHY

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 1a1dbeb..159c83a 100644 (file)
                                marvell,usb-misc-reg = <&usb32_syscon>;
                                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-utmi-otg-phy";
                                status = "disabled";
                        };
 
                                reg = <0x5e000 0x1000>;
                                marvell,usb-misc-reg = <&usb2_syscon>;
                                interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                               phys = <&usb2_utmi_host_phy>;
+                               phy-names = "usb2-utmi-host-phy";
                                status = "disabled";
                        };