ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 15 May 2014 10:17:39 +0000 (12:17 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 May 2014 05:49:26 +0000 (05:49 +0000)
The Marvell Armada 38x SoCs contains two xHCI controllers. This commit
adds the Device Tree description of those interfaces at the SoC level,
and also enables the two USB3 ports on the Armada 385 DB platform and
one USB3 port on the Armada 385 RD platform.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1400149062-32661-15-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-385-db.dts
arch/arm/boot/dts/armada-385-rd.dts
arch/arm/boot/dts/armada-38x.dtsi

index 7fcbc0d..451600c 100644 (file)
                                bus-width = <8>;
                                status = "okay";
                        };
+
+                       usb3@f0000 {
+                               status = "okay";
+                       };
+
+                       usb3@f8000 {
+                               status = "okay";
+                       };
                };
 
                pcie-controller {
index 4b39bed..4089325 100644 (file)
                                        reg = <1>;
                                };
                        };
+
+                       usb3@f0000 {
+                               status = "okay";
+                       };
                };
 
                pcie-controller {
index cd60738..476831c 100644 (file)
                                mrvl,clk-delay-cycles = <0x1F>;
                                status = "disabled";
                        };
+
+                       usb3@f0000 {
+                               compatible = "marvell,armada-380-xhci";
+                               reg = <0xf0000 0x4000>,<0xf4000 0x4000>;
+                               interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 9>;
+                               status = "disabled";
+                       };
+
+                       usb3@f8000 {
+                               compatible = "marvell,armada-380-xhci";
+                               reg = <0xf8000 0x4000>,<0xfc000 0x4000>;
+                               interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 10>;
+                               status = "disabled";
+                       };
                };
        };