diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-08-05 13:13:07 -0400 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-08-05 14:06:24 -0400 |
commit | eb788f43a6c6e6c7a5b2879543b565e4cd452de8 (patch) | |
tree | 86d423696a3835862ae502ec9418af900b4e5e8f /arch | |
parent | 226d1c5b1d4c226429d58d992941a89588cce708 (diff) |
ARM: Keystone: Convert device tree file to use IRQ defines
Use the GIC and standard IRQ binding defines in all IRQ specifiers.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/keystone.dts | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/keystone.dts b/arch/arm/boot/dts/keystone.dts index 612ba8c9879c..a68e34bbecb2 100644 --- a/arch/arm/boot/dts/keystone.dts +++ b/arch/arm/boot/dts/keystone.dts | |||
@@ -7,6 +7,8 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | /dts-v1/; | 9 | /dts-v1/; |
10 | #include <dt-bindings/interrupt-controller/arm-gic.h> | ||
11 | |||
10 | #include "skeleton.dtsi" | 12 | #include "skeleton.dtsi" |
11 | 13 | ||
12 | / { | 14 | / { |
@@ -67,18 +69,23 @@ | |||
67 | 69 | ||
68 | timer { | 70 | timer { |
69 | compatible = "arm,armv7-timer"; | 71 | compatible = "arm,armv7-timer"; |
70 | interrupts = <1 13 0xf08>, | 72 | interrupts = |
71 | <1 14 0xf08>, | 73 | <GIC_PPI 13 |
72 | <1 11 0xf08>, | 74 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
73 | <1 10 0x308>; | 75 | <GIC_PPI 14 |
76 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
77 | <GIC_PPI 11 | ||
78 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | ||
79 | <GIC_PPI 10 | ||
80 | (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | ||
74 | }; | 81 | }; |
75 | 82 | ||
76 | pmu { | 83 | pmu { |
77 | compatible = "arm,cortex-a15-pmu"; | 84 | compatible = "arm,cortex-a15-pmu"; |
78 | interrupts = <0 20 0xf01>, | 85 | interrupts = <GIC_SPI 20 IRQ_TYPE_EDGE_RISING>, |
79 | <0 21 0xf01>, | 86 | <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>, |
80 | <0 22 0xf01>, | 87 | <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>, |
81 | <0 23 0xf01>; | 88 | <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>; |
82 | }; | 89 | }; |
83 | 90 | ||
84 | soc { | 91 | soc { |
@@ -100,7 +107,7 @@ | |||
100 | reg-io-width = <4>; | 107 | reg-io-width = <4>; |
101 | reg = <0x02530c00 0x100>; | 108 | reg = <0x02530c00 0x100>; |
102 | clock-frequency = <133120000>; | 109 | clock-frequency = <133120000>; |
103 | interrupts = <0 277 0xf01>; | 110 | interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>; |
104 | }; | 111 | }; |
105 | 112 | ||
106 | uart1: serial@02531000 { | 113 | uart1: serial@02531000 { |
@@ -110,7 +117,7 @@ | |||
110 | reg-io-width = <4>; | 117 | reg-io-width = <4>; |
111 | reg = <0x02531000 0x100>; | 118 | reg = <0x02531000 0x100>; |
112 | clock-frequency = <133120000>; | 119 | clock-frequency = <133120000>; |
113 | interrupts = <0 280 0xf01>; | 120 | interrupts = <GIC_SPI 280 IRQ_TYPE_EDGE_RISING>; |
114 | }; | 121 | }; |
115 | 122 | ||
116 | }; | 123 | }; |