diff options
author | Matt Porter <matt.porter@linaro.org> | 2013-06-06 07:41:35 +0200 |
---|---|---|
committer | Christian Daudt <csd@broadcom.com> | 2013-06-11 19:38:12 +0200 |
commit | 5401cc4322f24bd743f18f832a2f3d906f5b42ce (patch) | |
tree | 856d2a421788f521323e3218bff2db0ee16e32b8 /arch/arm | |
parent | ARM: dts: bcm281xx: use #include for device tree files (diff) | |
download | linux-5401cc4322f24bd743f18f832a2f3d906f5b42ce.tar.xz linux-5401cc4322f24bd743f18f832a2f3d906f5b42ce.zip |
ARM: dts: bcm281xx: use existing defines for irqs
Use the standard interrupt-controller and ARM GIC constants to
improve the readability of bcm281xx DT irq properties.
Signed-off-by: Matt Porter <matt.porter@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Christian Daudt <csd@broadcom.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/bcm11351.dtsi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index c08810ea860a..824bebe90c63 100644 --- a/arch/arm/boot/dts/bcm11351.dtsi +++ b/arch/arm/boot/dts/bcm11351.dtsi @@ -11,6 +11,9 @@ * GNU General Public License for more details. */ +#include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/interrupt-controller/irq.h> + #include "skeleton.dtsi" / { @@ -41,7 +44,7 @@ status = "disabled"; reg = <0x3e000000 0x1000>; clock-frequency = <13000000>; - interrupts = <0x0 67 0x4>; + interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; reg-shift = <2>; reg-io-width = <4>; }; @@ -56,7 +59,7 @@ timer@35006000 { compatible = "bcm,kona-timer"; reg = <0x35006000 0x1000>; - interrupts = <0x0 7 0x4>; + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; clock-frequency = <32768>; }; |