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