Browse Source

ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

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>
Gregory CLEMENT 10 years ago
parent
commit
623394def7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      arch/arm/boot/dts/armada-375.dtsi

+ 5 - 0
arch/arm/boot/dts/armada-375.dtsi

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