ARM: mvebu: add Device Tree description of the xHCI controller on Armada 375
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 15 May 2014 10:17:41 +0000 (12:17 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 May 2014 05:51:26 +0000 (05:51 +0000)
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>
arch/arm/boot/dts/armada-375-db.dts
arch/arm/boot/dts/armada-375.dtsi

index 2f26b96..796becf 100644 (file)
                                };
                        };
 
+                       usb3@58000 {
+                               status = "okay";
+                       };
+
                        mvsdio@d4000 {
                                pinctrl-0 = <&sdio_pins &sdio_st_pins>;
                                pinctrl-names = "default";
index 3b6de4c..1c6c3a7 100644 (file)
                                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