summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9g45.dtsi
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2013-05-30 18:08:22 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2013-06-15 00:12:30 +0200
commitd4ae89c8ae2c302c25591a5adee0e0832427a8e2 (patch)
tree083aaba9417dd077c050a913333ff7d642e48478 /arch/arm/boot/dts/at91sam9g45.dtsi
parentca79522c3f4430facefd63d0da408038d4b0f5fe (diff)
downloadblackbird-op-linux-d4ae89c8ae2c302c25591a5adee0e0832427a8e2.tar.gz
blackbird-op-linux-d4ae89c8ae2c302c25591a5adee0e0832427a8e2.zip
ARM: at91: dt: switch DMA DT bindings to pre-processor
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g45.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g45.dtsi5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi
index faec17d1bb33..6bb74fef1939 100644
--- a/arch/arm/boot/dts/at91sam9g45.dtsi
+++ b/arch/arm/boot/dts/at91sam9g45.dtsi
@@ -10,6 +10,7 @@
*/
#include "skeleton.dtsi"
+#include <dt-bindings/dma/at91.h>
#include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
@@ -613,7 +614,7 @@
compatible = "atmel,hsmci";
reg = <0xfff80000 0x600>;
interrupts = <11 IRQ_TYPE_LEVEL_HIGH 0>;
- dmas = <&dma 1 0>;
+ dmas = <&dma 1 AT91_DMA_CFG_PER_ID(0)>;
dma-names = "rxtx";
#address-cells = <1>;
#size-cells = <0>;
@@ -624,7 +625,7 @@
compatible = "atmel,hsmci";
reg = <0xfffd0000 0x600>;
interrupts = <29 IRQ_TYPE_LEVEL_HIGH 0>;
- dmas = <&dma 1 13>;
+ dmas = <&dma 1 AT91_DMA_CFG_PER_ID(13)>;
dma-names = "rxtx";
#address-cells = <1>;
#size-cells = <0>;
OpenPOWER on IntegriCloud