diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2012-11-19 03:37:24 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 10:03:35 -0500 |
commit | 49f175b9fed5dbfc370057ae0a2a57d1be750c0a (patch) | |
tree | a4f4348ac9bfb58592c37e8f1759e1cd26d84b77 /arch/arm/boot/dts/dove.dtsi | |
parent | c896ed0fd72505104db3e78fffe3d8c604d25277 (diff) |
arm: dove: Convert Dove to DT XOR DMA engine
With DT support for Marvell XOR DMA engine, make use of it on Dove.
Also remove the now redundant code in DT board init for xor engines.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/dove.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dove.dtsi | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index b524ee377f83..b1cfa52ae223 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi | |||
@@ -174,5 +174,47 @@ | |||
174 | clocks = <&gate_clk 15>; | 174 | clocks = <&gate_clk 15>; |
175 | status = "okay"; | 175 | status = "okay"; |
176 | }; | 176 | }; |
177 | |||
178 | xor0: dma-engine@60800 { | ||
179 | compatible = "marvell,orion-xor"; | ||
180 | reg = <0x60800 0x100 | ||
181 | 0x60a00 0x100>; | ||
182 | clocks = <&gate_clk 23>; | ||
183 | status = "okay"; | ||
184 | |||
185 | channel0 { | ||
186 | interrupts = <39>; | ||
187 | dmacap,memcpy; | ||
188 | dmacap,xor; | ||
189 | }; | ||
190 | |||
191 | channel1 { | ||
192 | interrupts = <40>; | ||
193 | dmacap,memset; | ||
194 | dmacap,memcpy; | ||
195 | dmacap,xor; | ||
196 | }; | ||
197 | }; | ||
198 | |||
199 | xor1: dma-engine@60900 { | ||
200 | compatible = "marvell,orion-xor"; | ||
201 | reg = <0x60900 0x100 | ||
202 | 0x60b00 0x100>; | ||
203 | clocks = <&gate_clk 24>; | ||
204 | status = "okay"; | ||
205 | |||
206 | channel0 { | ||
207 | interrupts = <42>; | ||
208 | dmacap,memcpy; | ||
209 | dmacap,xor; | ||
210 | }; | ||
211 | |||
212 | channel1 { | ||
213 | interrupts = <43>; | ||
214 | dmacap,memset; | ||
215 | dmacap,memcpy; | ||
216 | dmacap,xor; | ||
217 | }; | ||
218 | }; | ||
177 | }; | 219 | }; |
178 | }; | 220 | }; |