OSDN Git Service

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 451600c..ff9637d 100644 (file)
                                phy-mode = "rgmii-id";
                        };
 
+                       usb@50000 {
+                               status = "ok";
+                       };
+
                        ethernet@70000 {
                                status = "okay";
                                phy = <&phy0>;
index 476831c..28d7c02 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