aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Porter <matt.porter@linaro.org>2013-06-06 01:41:35 -0400
committerChristian Daudt <csd@broadcom.com>2013-06-11 13:38:12 -0400
commit5401cc4322f24bd743f18f832a2f3d906f5b42ce (patch)
tree856d2a421788f521323e3218bff2db0ee16e32b8
parent743756530a299406f0ba98038326a6a52229c32e (diff)
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>
-rw-r--r--arch/arm/boot/dts/bcm11351.dtsi7
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 @@
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 */ 12 */
13 13
14#include <dt-bindings/interrupt-controller/arm-gic.h>
15#include <dt-bindings/interrupt-controller/irq.h>
16
14#include "skeleton.dtsi" 17#include "skeleton.dtsi"
15 18
16/ { 19/ {
@@ -41,7 +44,7 @@
41 status = "disabled"; 44 status = "disabled";
42 reg = <0x3e000000 0x1000>; 45 reg = <0x3e000000 0x1000>;
43 clock-frequency = <13000000>; 46 clock-frequency = <13000000>;
44 interrupts = <0x0 67 0x4>; 47 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
45 reg-shift = <2>; 48 reg-shift = <2>;
46 reg-io-width = <4>; 49 reg-io-width = <4>;
47 }; 50 };
@@ -56,7 +59,7 @@
56 timer@35006000 { 59 timer@35006000 {
57 compatible = "bcm,kona-timer"; 60 compatible = "bcm,kona-timer";
58 reg = <0x35006000 0x1000>; 61 reg = <0x35006000 0x1000>;
59 interrupts = <0x0 7 0x4>; 62 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
60 clock-frequency = <32768>; 63 clock-frequency = <32768>;
61 }; 64 };
62 65