aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2013-01-23 10:26:30 -0500
committerArnd Bergmann <arnd@arndb.de>2013-02-28 12:57:13 -0500
commitb2bb806f553f57459b8052fc5b8e2489e21ddf24 (patch)
treec4d2b06e63939d06b493f4ba3689c0e5ee4b93a5
parent4ca73962a15caccd310093266783be89a81d571f (diff)
arm: mvebu: Add support for USB host controllers in Armada 370/XP
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>
-rw-r--r--arch/arm/boot/dts/armada-370-xp.dtsi15
-rw-r--r--arch/arm/boot/dts/armada-370.dtsi9
-rw-r--r--arch/arm/boot/dts/armada-xp.dtsi17
3 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 28276fe79d28..fa025c44abda 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -145,6 +145,21 @@
145 clocks = <&gateclk 17>; 145 clocks = <&gateclk 17>;
146 status = "disabled"; 146 status = "disabled";
147 }; 147 };
148
149 usb@d0050000 {
150 compatible = "marvell,orion-ehci";
151 reg = <0xd0050000 0x500>;
152 interrupts = <45>;
153 status = "disabled";
154 };
155
156 usb@d0051000 {
157 compatible = "marvell,orion-ehci";
158 reg = <0xd0051000 0x500>;
159 interrupts = <46>;
160 status = "disabled";
161 };
162
148 }; 163 };
149}; 164};
150 165
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 88f9bab44d52..8188d138020e 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -144,5 +144,14 @@
144 dmacap,memset; 144 dmacap,memset;
145 }; 145 };
146 }; 146 };
147
148 usb@d0050000 {
149 clocks = <&coreclk 0>;
150 };
151
152 usb@d0051000 {
153 clocks = <&coreclk 0>;
154 };
155
147 }; 156 };
148}; 157};
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
index 390ba9888f36..1443949c165e 100644
--- a/arch/arm/boot/dts/armada-xp.dtsi
+++ b/arch/arm/boot/dts/armada-xp.dtsi
@@ -134,5 +134,22 @@
134 dmacap,memset; 134 dmacap,memset;
135 }; 135 };
136 }; 136 };
137
138 usb@d0050000 {
139 clocks = <&gateclk 18>;
140 };
141
142 usb@d0051000 {
143 clocks = <&gateclk 19>;
144 };
145
146 usb@d0052000 {
147 compatible = "marvell,orion-ehci";
148 reg = <0xd0052000 0x500>;
149 interrupts = <47>;
150 clocks = <&gateclk 20>;
151 status = "disabled";
152 };
153
137 }; 154 };
138}; 155};