ARM: mvebu: Use macros for interrupt flags on Armada 38x sdhci node
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 29 Jan 2015 11:36:28 +0000 (12:36 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 23 Feb 2015 14:18:34 +0000 (15:18 +0100)
Instead of hardcoding the values of the interrupt flags, use the
macros provided by <include/dt-bindings/interrupt-controller/irq.h>
and <include/dt-bindings/interrupt-controller/arm-gic.h> for the
Armada 38x SDHCI node.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-38x.dtsi

index 1dff30a..efff46b 100644 (file)
                        sdhci@d8000 {
                                compatible = "marvell,armada-380-sdhci";
                                reg = <0xd8000 0x1000>, <0xdc000 0x100>;
-                               interrupts = <0 25 0x4>;
+                               interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&gateclk 17>;
                                mrvl,clk-delay-cycles = <0x1F>;
                                status = "disabled";