Browse Source

ARM: mvebu: add Device Tree description of the xHCI controller on Armada 375

The Marvell Armada 375 SoCs contain a xHCI controller. This commit
adds the Device Tree description of this interfaces at the SoC level,
and also enables the USB3 port on the Armada 375 DB platform.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1400149062-32661-17-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Gregory CLEMENT 11 years ago
parent
commit
e8f99c5b86
2 changed files with 12 additions and 0 deletions
  1. 4 0
      arch/arm/boot/dts/armada-375-db.dts
  2. 8 0
      arch/arm/boot/dts/armada-375.dtsi

+ 4 - 0
arch/arm/boot/dts/armada-375-db.dts

@@ -101,6 +101,10 @@
 				};
 			};
 
+			usb3@58000 {
+				status = "okay";
+			};
+
 			mvsdio@d4000 {
 				pinctrl-0 = <&sdio_pins &sdio_st_pins>;
 				pinctrl-names = "default";

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

@@ -345,6 +345,14 @@
 				reg = <0x21010 0x1c>;
 			};
 
+			usb3@58000 {
+				compatible = "marvell,armada-375-xhci";
+				reg = <0x58000 0x20000>,<0x5b880 0x80>;
+				interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&gateclk 16>;
+				status = "disabled";
+			};
+
 			xor@60800 {
 				compatible = "marvell,orion-xor";
 				reg = <0x60800 0x100