diff mbox series

[v5,6/6] ARM64: dts: marvell: armada-37xx: link USB hosts with their PHYs

Message ID 20190129093635.4321-7-miquel.raynal@bootlin.com (mailing list archive)
State New, archived
Headers show
Series A3700 USB UTMI PHY support | expand

Commit Message

Miquel Raynal Jan. 29, 2019, 9:36 a.m. UTC
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>
---
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Gregory CLEMENT Feb. 6, 2019, 2:30 p.m. UTC | #1
Hi Miquel,
 
 On mar., janv. 29 2019, Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> 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>

Applied to mvebu/dt64

Thanks,

Gregory


> ---
>  arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index d2d8ef00c592..c0b1c9146525 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -347,6 +347,8 @@
>  				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";
>  			};
>  
> @@ -368,6 +370,8 @@
>  				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";
>  			};
>  
> -- 
> 2.19.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
index d2d8ef00c592..c0b1c9146525 100644
--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
@@ -347,6 +347,8 @@ 
 				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";
 			};
 
@@ -368,6 +370,8 @@ 
 				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";
 			};