ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 13 Nov 2014 11:47:48 +0000 (12:47 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 26 Nov 2014 03:55:43 +0000 (03:55 +0000)
Now that the USB cluster node has been added, use it as a PHY provider
for the USB controller linked to it: the first EHCI and the xHCI.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1415879269-29711-7-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-375.dtsi

index ff376387a798911f0ca69e5db9a91028c71a0cda..50096d3427eb229dd754bef450fa7cb97c171981 100644 (file)
@@ -14,6 +14,7 @@
 #include "skeleton.dtsi"
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/phy/phy.h>
 
 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
 
                                reg = <0x50000 0x500>;
                                interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&gateclk 18>;
+                               phys = <&usbcluster PHY_TYPE_USB2>;
+                               phy-names = "usb";
                                status = "disabled";
                        };
 
                                reg = <0x58000 0x20000>,<0x5b880 0x80>;
                                interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&gateclk 16>;
+                               phys = <&usbcluster PHY_TYPE_USB3>;
+                               phy-names = "usb";
                                status = "disabled";
                        };