The Marvell Armada 375 SoC contains one EHCI host. This commit adds
the Device Tree description of this interface at the SoC level.

Signed-off-by: Gregory CLEMENT <gregory.clem...@free-electrons.com>
---
 arch/arm/boot/dts/armada-375.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/armada-375.dtsi 
b/arch/arm/boot/dts/armada-375.dtsi
index cbe64ba9eb65..349b9635bf3a 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -320,6 +320,24 @@
                                clocks = <&coreclk 0>;
                        };
 
+                       /*
+                        * On Armada 375, USB2 host controller and
+                        * USB3 host controller are incompatible. That
+                        * means that in the dts of your board, you
+                        * can either select the USB2 controller:
+                        * marvell,orion-ehci or the USB3 controller:
+                        * marvell,armada-375-xhci, but not both. If
+                        * both controllers are selected, then the
+                        * kernel will select the USB3 by default.
+                        */
+                       usb@50000 {
+                               compatible = "marvell,orion-ehci";
+                               reg = <0x50000 0x500>;
+                               interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 18>;
+                               status = "disabled";
+                       };
+
                        usb-cluster@18400 {
                                compatible = "marvell,armada-375-usb-cluster";
                                reg = <0x18400 0x4>;
-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to