]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mvebu: add Device Tree description of the EHCI controller on Armada 38x
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 15 May 2014 10:17:40 +0000 (12:17 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 May 2014 05:49:38 +0000 (05:49 +0000)
The Marvell Armada 38x SoCs contains one EHCI controller. This commit
adds the Device Tree description of this interface at the SoC level,
and also enables the USB2 port on the Armada 385 DB platform.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1400149062-32661-16-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-385-db.dts
arch/arm/boot/dts/armada-38x.dtsi

index 451600c5855192cebc78711ed6e446a36fee3e0b..ff9637dd8d0fb6d0501d02fe2f94630dcd49f4a0 100644 (file)
                                phy-mode = "rgmii-id";
                        };
 
+                       usb@50000 {
+                               status = "ok";
+                       };
+
                        ethernet@70000 {
                                status = "okay";
                                phy = <&phy0>;
index 476831cfa9032d2d364cb4ee82efd82fd1534578..28d7c02be805472d3df8338abb2728847ce47a66 100644 (file)
                                status = "disabled";
                        };
 
+                       usb@50000 {
+                               compatible = "marvell,orion-ehci";
+                               reg = <0x58000 0x500>;
+                               interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 18>;
+                               status = "disabled";
+                       };
+
                        xor@60800 {
                                compatible = "marvell,orion-xor";
                                reg = <0x60800 0x100