arm: mvebu: Add support for USB host controllers in Armada 370/XP
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 23 Jan 2013 15:26:30 +0000 (12:26 -0300)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:13 +0000 (18:57 +0100)
The Armada 370 and Armada XP SoC has an Orion EHCI USB controller.
This patch adds support for this controller in Armada 370
and Armada XP SoC common device tree files.

Cc: Lior Amsalem <alior@marvell.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tested-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-370.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 28276fe79d28a325d7a4f66a2997362be1ce2dfb..fa025c44abdab39c67ecfd5902c287417b73772d 100644 (file)
                        clocks = <&gateclk 17>;
                        status = "disabled";
                };
+
+               usb@d0050000 {
+                       compatible = "marvell,orion-ehci";
+                       reg = <0xd0050000 0x500>;
+                       interrupts = <45>;
+                       status = "disabled";
+               };
+
+               usb@d0051000 {
+                       compatible = "marvell,orion-ehci";
+                       reg = <0xd0051000 0x500>;
+                       interrupts = <46>;
+                       status = "disabled";
+               };
+
        };
 };
 
index 88f9bab44d52c92e560678101b85763f8294d945..8188d138020edc57c88db0cb749b91bdf016a5cf 100644 (file)
                                dmacap,memset;
                        };
                };
+
+               usb@d0050000 {
+                       clocks = <&coreclk 0>;
+               };
+
+               usb@d0051000 {
+                       clocks = <&coreclk 0>;
+               };
+
        };
 };
index 390ba9888f369609791da1f2c5429a83bd29411f..1443949c165ea8fa787fe798f687a63a116f2626 100644 (file)
                                dmacap,memset;
                        };
                };
+
+               usb@d0050000 {
+                       clocks = <&gateclk 18>;
+               };
+
+               usb@d0051000 {
+                       clocks = <&gateclk 19>;
+               };
+
+               usb@d0052000 {
+                       compatible = "marvell,orion-ehci";
+                       reg = <0xd0052000 0x500>;
+                       interrupts = <47>;
+                       clocks = <&gateclk 20>;
+                       status = "disabled";
+               };
+
        };
 };