diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-11-18 21:18:25 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-12-10 03:27:07 -0500 |
commit | 5f75e73c376c247a2c7bbe6f3fa3901b2d8f1a9c (patch) | |
tree | 442757dadcd8e07c5e578a438bda15951a5c3b31 /arch/arm/boot/dts/r8a7779.dtsi | |
parent | 31c46cbf5b8bab87e89028977521c84f2d871040 (diff) |
ARM: shmobile: Use interrupt macros in SoC DT files
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r8a7779.dtsi')
-rw-r--r-- | arch/arm/boot/dts/r8a7779.dtsi | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi index 05fd41c6012f..b2b418a8ab2d 100644 --- a/arch/arm/boot/dts/r8a7779.dtsi +++ b/arch/arm/boot/dts/r8a7779.dtsi | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | /include/ "skeleton.dtsi" | 12 | /include/ "skeleton.dtsi" |
13 | 13 | ||
14 | #include <dt-bindings/interrupt-controller/irq.h> | ||
15 | |||
14 | / { | 16 | / { |
15 | compatible = "renesas,r8a7779"; | 17 | compatible = "renesas,r8a7779"; |
16 | 18 | ||
@@ -52,7 +54,7 @@ | |||
52 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 54 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
53 | reg = <0xffc40000 0x2c>; | 55 | reg = <0xffc40000 0x2c>; |
54 | interrupt-parent = <&gic>; | 56 | interrupt-parent = <&gic>; |
55 | interrupts = <0 141 0x4>; | 57 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
56 | #gpio-cells = <2>; | 58 | #gpio-cells = <2>; |
57 | gpio-controller; | 59 | gpio-controller; |
58 | gpio-ranges = <&pfc 0 0 32>; | 60 | gpio-ranges = <&pfc 0 0 32>; |
@@ -64,7 +66,7 @@ | |||
64 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 66 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
65 | reg = <0xffc41000 0x2c>; | 67 | reg = <0xffc41000 0x2c>; |
66 | interrupt-parent = <&gic>; | 68 | interrupt-parent = <&gic>; |
67 | interrupts = <0 142 0x4>; | 69 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
68 | #gpio-cells = <2>; | 70 | #gpio-cells = <2>; |
69 | gpio-controller; | 71 | gpio-controller; |
70 | gpio-ranges = <&pfc 0 32 32>; | 72 | gpio-ranges = <&pfc 0 32 32>; |
@@ -76,7 +78,7 @@ | |||
76 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 78 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
77 | reg = <0xffc42000 0x2c>; | 79 | reg = <0xffc42000 0x2c>; |
78 | interrupt-parent = <&gic>; | 80 | interrupt-parent = <&gic>; |
79 | interrupts = <0 143 0x4>; | 81 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
80 | #gpio-cells = <2>; | 82 | #gpio-cells = <2>; |
81 | gpio-controller; | 83 | gpio-controller; |
82 | gpio-ranges = <&pfc 0 64 32>; | 84 | gpio-ranges = <&pfc 0 64 32>; |
@@ -88,7 +90,7 @@ | |||
88 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 90 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
89 | reg = <0xffc43000 0x2c>; | 91 | reg = <0xffc43000 0x2c>; |
90 | interrupt-parent = <&gic>; | 92 | interrupt-parent = <&gic>; |
91 | interrupts = <0 144 0x4>; | 93 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
92 | #gpio-cells = <2>; | 94 | #gpio-cells = <2>; |
93 | gpio-controller; | 95 | gpio-controller; |
94 | gpio-ranges = <&pfc 0 96 32>; | 96 | gpio-ranges = <&pfc 0 96 32>; |
@@ -100,7 +102,7 @@ | |||
100 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 102 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
101 | reg = <0xffc44000 0x2c>; | 103 | reg = <0xffc44000 0x2c>; |
102 | interrupt-parent = <&gic>; | 104 | interrupt-parent = <&gic>; |
103 | interrupts = <0 145 0x4>; | 105 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
104 | #gpio-cells = <2>; | 106 | #gpio-cells = <2>; |
105 | gpio-controller; | 107 | gpio-controller; |
106 | gpio-ranges = <&pfc 0 128 32>; | 108 | gpio-ranges = <&pfc 0 128 32>; |
@@ -112,7 +114,7 @@ | |||
112 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 114 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
113 | reg = <0xffc45000 0x2c>; | 115 | reg = <0xffc45000 0x2c>; |
114 | interrupt-parent = <&gic>; | 116 | interrupt-parent = <&gic>; |
115 | interrupts = <0 146 0x4>; | 117 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
116 | #gpio-cells = <2>; | 118 | #gpio-cells = <2>; |
117 | gpio-controller; | 119 | gpio-controller; |
118 | gpio-ranges = <&pfc 0 160 32>; | 120 | gpio-ranges = <&pfc 0 160 32>; |
@@ -124,7 +126,7 @@ | |||
124 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | 126 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
125 | reg = <0xffc46000 0x2c>; | 127 | reg = <0xffc46000 0x2c>; |
126 | interrupt-parent = <&gic>; | 128 | interrupt-parent = <&gic>; |
127 | interrupts = <0 147 0x4>; | 129 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
128 | #gpio-cells = <2>; | 130 | #gpio-cells = <2>; |
129 | gpio-controller; | 131 | gpio-controller; |
130 | gpio-ranges = <&pfc 0 192 9>; | 132 | gpio-ranges = <&pfc 0 192 9>; |
@@ -143,10 +145,10 @@ | |||
143 | <0xfe780044 4>, | 145 | <0xfe780044 4>, |
144 | <0xfe780064 4>; | 146 | <0xfe780064 4>; |
145 | interrupt-parent = <&gic>; | 147 | interrupt-parent = <&gic>; |
146 | interrupts = <0 27 0x4 | 148 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
147 | 0 28 0x4 | 149 | 0 28 IRQ_TYPE_LEVEL_HIGH |
148 | 0 29 0x4 | 150 | 0 29 IRQ_TYPE_LEVEL_HIGH |
149 | 0 30 0x4>; | 151 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
150 | sense-bitfield-width = <2>; | 152 | sense-bitfield-width = <2>; |
151 | }; | 153 | }; |
152 | 154 | ||
@@ -156,7 +158,7 @@ | |||
156 | compatible = "renesas,i2c-r8a7779"; | 158 | compatible = "renesas,i2c-r8a7779"; |
157 | reg = <0xffc70000 0x1000>; | 159 | reg = <0xffc70000 0x1000>; |
158 | interrupt-parent = <&gic>; | 160 | interrupt-parent = <&gic>; |
159 | interrupts = <0 79 0x4>; | 161 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
160 | status = "disabled"; | 162 | status = "disabled"; |
161 | }; | 163 | }; |
162 | 164 | ||
@@ -166,7 +168,7 @@ | |||
166 | compatible = "renesas,i2c-r8a7779"; | 168 | compatible = "renesas,i2c-r8a7779"; |
167 | reg = <0xffc71000 0x1000>; | 169 | reg = <0xffc71000 0x1000>; |
168 | interrupt-parent = <&gic>; | 170 | interrupt-parent = <&gic>; |
169 | interrupts = <0 82 0x4>; | 171 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
170 | status = "disabled"; | 172 | status = "disabled"; |
171 | }; | 173 | }; |
172 | 174 | ||
@@ -176,7 +178,7 @@ | |||
176 | compatible = "renesas,i2c-r8a7779"; | 178 | compatible = "renesas,i2c-r8a7779"; |
177 | reg = <0xffc72000 0x1000>; | 179 | reg = <0xffc72000 0x1000>; |
178 | interrupt-parent = <&gic>; | 180 | interrupt-parent = <&gic>; |
179 | interrupts = <0 80 0x4>; | 181 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
180 | status = "disabled"; | 182 | status = "disabled"; |
181 | }; | 183 | }; |
182 | 184 | ||
@@ -186,7 +188,7 @@ | |||
186 | compatible = "renesas,i2c-r8a7779"; | 188 | compatible = "renesas,i2c-r8a7779"; |
187 | reg = <0xffc73000 0x1000>; | 189 | reg = <0xffc73000 0x1000>; |
188 | interrupt-parent = <&gic>; | 190 | interrupt-parent = <&gic>; |
189 | interrupts = <0 81 0x4>; | 191 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
190 | status = "disabled"; | 192 | status = "disabled"; |
191 | }; | 193 | }; |
192 | 194 | ||
@@ -204,14 +206,14 @@ | |||
204 | compatible = "renesas,rcar-sata"; | 206 | compatible = "renesas,rcar-sata"; |
205 | reg = <0xfc600000 0x2000>; | 207 | reg = <0xfc600000 0x2000>; |
206 | interrupt-parent = <&gic>; | 208 | interrupt-parent = <&gic>; |
207 | interrupts = <0 100 0x4>; | 209 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
208 | }; | 210 | }; |
209 | 211 | ||
210 | sdhi0: sd@ffe4c000 { | 212 | sdhi0: sd@ffe4c000 { |
211 | compatible = "renesas,sdhi-r8a7779"; | 213 | compatible = "renesas,sdhi-r8a7779"; |
212 | reg = <0xffe4c000 0x100>; | 214 | reg = <0xffe4c000 0x100>; |
213 | interrupt-parent = <&gic>; | 215 | interrupt-parent = <&gic>; |
214 | interrupts = <0 104 4>; | 216 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
215 | cap-sd-highspeed; | 217 | cap-sd-highspeed; |
216 | cap-sdio-irq; | 218 | cap-sdio-irq; |
217 | status = "disabled"; | 219 | status = "disabled"; |
@@ -221,7 +223,7 @@ | |||
221 | compatible = "renesas,sdhi-r8a7779"; | 223 | compatible = "renesas,sdhi-r8a7779"; |
222 | reg = <0xffe4d000 0x100>; | 224 | reg = <0xffe4d000 0x100>; |
223 | interrupt-parent = <&gic>; | 225 | interrupt-parent = <&gic>; |
224 | interrupts = <0 105 4>; | 226 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
225 | cap-sd-highspeed; | 227 | cap-sd-highspeed; |
226 | cap-sdio-irq; | 228 | cap-sdio-irq; |
227 | status = "disabled"; | 229 | status = "disabled"; |
@@ -231,7 +233,7 @@ | |||
231 | compatible = "renesas,sdhi-r8a7779"; | 233 | compatible = "renesas,sdhi-r8a7779"; |
232 | reg = <0xffe4e000 0x100>; | 234 | reg = <0xffe4e000 0x100>; |
233 | interrupt-parent = <&gic>; | 235 | interrupt-parent = <&gic>; |
234 | interrupts = <0 107 4>; | 236 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
235 | cap-sd-highspeed; | 237 | cap-sd-highspeed; |
236 | cap-sdio-irq; | 238 | cap-sdio-irq; |
237 | status = "disabled"; | 239 | status = "disabled"; |
@@ -241,7 +243,7 @@ | |||
241 | compatible = "renesas,sdhi-r8a7779"; | 243 | compatible = "renesas,sdhi-r8a7779"; |
242 | reg = <0xffe4f000 0x100>; | 244 | reg = <0xffe4f000 0x100>; |
243 | interrupt-parent = <&gic>; | 245 | interrupt-parent = <&gic>; |
244 | interrupts = <0 106 4>; | 246 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
245 | cap-sd-highspeed; | 247 | cap-sd-highspeed; |
246 | cap-sdio-irq; | 248 | cap-sdio-irq; |
247 | status = "disabled"; | 249 | status = "disabled"; |