diff options
author | Ulrich Hecht <ulrich.hecht+renesas@gmail.com> | 2015-01-20 07:51:41 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-02-23 16:37:47 -0500 |
commit | 662dd64ff0691a0f2ab103448295df05dc026d5d (patch) | |
tree | ba5901a972782367b0440be5200cd837f258f4e7 /arch/arm/boot/dts | |
parent | ccc83dce9d4ebdfc5a74045c5a00518f08884313 (diff) |
ARM: shmobile: r8a73a4: Add MSTP clock assignments to DT
Assigns clocks to dmac, i2c*, cmt1, thermal, scif*, sdhi*, and mmcif*.
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/r8a73a4.dtsi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi index a1adfe4bc760..fdcca5d0fb61 100644 --- a/arch/arm/boot/dts/r8a73a4.dtsi +++ b/arch/arm/boot/dts/r8a73a4.dtsi | |||
@@ -88,6 +88,7 @@ | |||
88 | "ch8", "ch9", "ch10", "ch11", | 88 | "ch8", "ch9", "ch10", "ch11", |
89 | "ch12", "ch13", "ch14", "ch15", | 89 | "ch12", "ch13", "ch14", "ch15", |
90 | "ch16", "ch17", "ch18", "ch19"; | 90 | "ch16", "ch17", "ch18", "ch19"; |
91 | clocks = <&mstp2_clks R8A73A4_CLK_DMAC>; | ||
91 | }; | 92 | }; |
92 | }; | 93 | }; |
93 | 94 | ||
@@ -120,6 +121,7 @@ | |||
120 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 121 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
121 | reg = <0 0xe60b0000 0 0x428>; | 122 | reg = <0 0xe60b0000 0 0x428>; |
122 | interrupts = <0 179 IRQ_TYPE_LEVEL_HIGH>; | 123 | interrupts = <0 179 IRQ_TYPE_LEVEL_HIGH>; |
124 | clocks = <&mstp4_clks R8A73A4_CLK_IIC5>; | ||
123 | 125 | ||
124 | status = "disabled"; | 126 | status = "disabled"; |
125 | }; | 127 | }; |
@@ -128,6 +130,8 @@ | |||
128 | compatible = "renesas,cmt-48-r8a73a4", "renesas,cmt-48-gen2"; | 130 | compatible = "renesas,cmt-48-r8a73a4", "renesas,cmt-48-gen2"; |
129 | reg = <0 0xe6130000 0 0x1004>; | 131 | reg = <0 0xe6130000 0 0x1004>; |
130 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; | 132 | interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>; |
133 | clocks = <&mstp3_clks R8A73A4_CLK_CMT1>; | ||
134 | clock-names = "fck"; | ||
131 | 135 | ||
132 | renesas,channels-mask = <0xff>; | 136 | renesas,channels-mask = <0xff>; |
133 | 137 | ||
@@ -211,6 +215,7 @@ | |||
211 | reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>, | 215 | reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>, |
212 | <0 0xe61f0200 0 0x38>, <0 0xe61f0300 0 0x38>; | 216 | <0 0xe61f0200 0 0x38>, <0 0xe61f0300 0 0x38>; |
213 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; | 217 | interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>; |
218 | clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>; | ||
214 | }; | 219 | }; |
215 | 220 | ||
216 | i2c0: i2c@e6500000 { | 221 | i2c0: i2c@e6500000 { |
@@ -219,6 +224,7 @@ | |||
219 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 224 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
220 | reg = <0 0xe6500000 0 0x428>; | 225 | reg = <0 0xe6500000 0 0x428>; |
221 | interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>; | 226 | interrupts = <0 174 IRQ_TYPE_LEVEL_HIGH>; |
227 | clocks = <&mstp3_clks R8A73A4_CLK_IIC0>; | ||
222 | status = "disabled"; | 228 | status = "disabled"; |
223 | }; | 229 | }; |
224 | 230 | ||
@@ -228,6 +234,7 @@ | |||
228 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 234 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
229 | reg = <0 0xe6510000 0 0x428>; | 235 | reg = <0 0xe6510000 0 0x428>; |
230 | interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>; | 236 | interrupts = <0 175 IRQ_TYPE_LEVEL_HIGH>; |
237 | clocks = <&mstp3_clks R8A73A4_CLK_IIC1>; | ||
231 | status = "disabled"; | 238 | status = "disabled"; |
232 | }; | 239 | }; |
233 | 240 | ||
@@ -237,6 +244,7 @@ | |||
237 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 244 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
238 | reg = <0 0xe6520000 0 0x428>; | 245 | reg = <0 0xe6520000 0 0x428>; |
239 | interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>; | 246 | interrupts = <0 176 IRQ_TYPE_LEVEL_HIGH>; |
247 | clocks = <&mstp3_clks R8A73A4_CLK_IIC2>; | ||
240 | status = "disabled"; | 248 | status = "disabled"; |
241 | }; | 249 | }; |
242 | 250 | ||
@@ -246,6 +254,7 @@ | |||
246 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 254 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
247 | reg = <0 0xe6530000 0 0x428>; | 255 | reg = <0 0xe6530000 0 0x428>; |
248 | interrupts = <0 177 IRQ_TYPE_LEVEL_HIGH>; | 256 | interrupts = <0 177 IRQ_TYPE_LEVEL_HIGH>; |
257 | clocks = <&mstp4_clks R8A73A4_CLK_IIC3>; | ||
249 | status = "disabled"; | 258 | status = "disabled"; |
250 | }; | 259 | }; |
251 | 260 | ||
@@ -255,6 +264,7 @@ | |||
255 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 264 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
256 | reg = <0 0xe6540000 0 0x428>; | 265 | reg = <0 0xe6540000 0 0x428>; |
257 | interrupts = <0 178 IRQ_TYPE_LEVEL_HIGH>; | 266 | interrupts = <0 178 IRQ_TYPE_LEVEL_HIGH>; |
267 | clocks = <&mstp4_clks R8A73A4_CLK_IIC4>; | ||
258 | status = "disabled"; | 268 | status = "disabled"; |
259 | }; | 269 | }; |
260 | 270 | ||
@@ -264,6 +274,7 @@ | |||
264 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 274 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
265 | reg = <0 0xe6550000 0 0x428>; | 275 | reg = <0 0xe6550000 0 0x428>; |
266 | interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; | 276 | interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>; |
277 | clocks = <&mstp3_clks R8A73A4_CLK_IIC6>; | ||
267 | status = "disabled"; | 278 | status = "disabled"; |
268 | }; | 279 | }; |
269 | 280 | ||
@@ -273,6 +284,7 @@ | |||
273 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 284 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
274 | reg = <0 0xe6560000 0 0x428>; | 285 | reg = <0 0xe6560000 0 0x428>; |
275 | interrupts = <0 185 IRQ_TYPE_LEVEL_HIGH>; | 286 | interrupts = <0 185 IRQ_TYPE_LEVEL_HIGH>; |
287 | clocks = <&mstp3_clks R8A73A4_CLK_IIC7>; | ||
276 | status = "disabled"; | 288 | status = "disabled"; |
277 | }; | 289 | }; |
278 | 290 | ||
@@ -282,6 +294,7 @@ | |||
282 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; | 294 | compatible = "renesas,iic-r8a73a4", "renesas,rmobile-iic"; |
283 | reg = <0 0xe6570000 0 0x428>; | 295 | reg = <0 0xe6570000 0 0x428>; |
284 | interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>; | 296 | interrupts = <0 173 IRQ_TYPE_LEVEL_HIGH>; |
297 | clocks = <&mstp5_clks R8A73A4_CLK_IIC8>; | ||
285 | status = "disabled"; | 298 | status = "disabled"; |
286 | }; | 299 | }; |
287 | 300 | ||
@@ -289,6 +302,8 @@ | |||
289 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; | 302 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; |
290 | reg = <0 0xe6c20000 0 0x100>; | 303 | reg = <0 0xe6c20000 0 0x100>; |
291 | interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>; | 304 | interrupts = <0 148 IRQ_TYPE_LEVEL_HIGH>; |
305 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFB0>; | ||
306 | clock-names = "sci_ick"; | ||
292 | status = "disabled"; | 307 | status = "disabled"; |
293 | }; | 308 | }; |
294 | 309 | ||
@@ -296,6 +311,8 @@ | |||
296 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; | 311 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; |
297 | reg = <0 0xe6c30000 0 0x100>; | 312 | reg = <0 0xe6c30000 0 0x100>; |
298 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>; | 313 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH>; |
314 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFB1>; | ||
315 | clock-names = "sci_ick"; | ||
299 | status = "disabled"; | 316 | status = "disabled"; |
300 | }; | 317 | }; |
301 | 318 | ||
@@ -303,6 +320,8 @@ | |||
303 | compatible = "renesas,scifa-r8a73a4", "renesas,scifa"; | 320 | compatible = "renesas,scifa-r8a73a4", "renesas,scifa"; |
304 | reg = <0 0xe6c40000 0 0x100>; | 321 | reg = <0 0xe6c40000 0 0x100>; |
305 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; | 322 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
323 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFA0>; | ||
324 | clock-names = "sci_ick"; | ||
306 | status = "disabled"; | 325 | status = "disabled"; |
307 | }; | 326 | }; |
308 | 327 | ||
@@ -310,6 +329,8 @@ | |||
310 | compatible = "renesas,scifa-r8a73a4", "renesas,scifa"; | 329 | compatible = "renesas,scifa-r8a73a4", "renesas,scifa"; |
311 | reg = <0 0xe6c50000 0 0x100>; | 330 | reg = <0 0xe6c50000 0 0x100>; |
312 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; | 331 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
332 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFA1>; | ||
333 | clock-names = "sci_ick"; | ||
313 | status = "disabled"; | 334 | status = "disabled"; |
314 | }; | 335 | }; |
315 | 336 | ||
@@ -317,6 +338,8 @@ | |||
317 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; | 338 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; |
318 | reg = <0 0xe6ce0000 0 0x100>; | 339 | reg = <0 0xe6ce0000 0 0x100>; |
319 | interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; | 340 | interrupts = <0 150 IRQ_TYPE_LEVEL_HIGH>; |
341 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFB2>; | ||
342 | clock-names = "sci_ick"; | ||
320 | status = "disabled"; | 343 | status = "disabled"; |
321 | }; | 344 | }; |
322 | 345 | ||
@@ -324,6 +347,8 @@ | |||
324 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; | 347 | compatible = "renesas,scifb-r8a73a4", "renesas,scifb"; |
325 | reg = <0 0xe6cf0000 0 0x100>; | 348 | reg = <0 0xe6cf0000 0 0x100>; |
326 | interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>; | 349 | interrupts = <0 151 IRQ_TYPE_LEVEL_HIGH>; |
350 | clocks = <&mstp2_clks R8A73A4_CLK_SCIFB3>; | ||
351 | clock-names = "sci_ick"; | ||
327 | status = "disabled"; | 352 | status = "disabled"; |
328 | }; | 353 | }; |
329 | 354 | ||
@@ -331,6 +356,7 @@ | |||
331 | compatible = "renesas,sdhi-r8a73a4"; | 356 | compatible = "renesas,sdhi-r8a73a4"; |
332 | reg = <0 0xee100000 0 0x100>; | 357 | reg = <0 0xee100000 0 0x100>; |
333 | interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; | 358 | interrupts = <0 165 IRQ_TYPE_LEVEL_HIGH>; |
359 | clocks = <&mstp3_clks R8A73A4_CLK_SDHI0>; | ||
334 | cap-sd-highspeed; | 360 | cap-sd-highspeed; |
335 | status = "disabled"; | 361 | status = "disabled"; |
336 | }; | 362 | }; |
@@ -339,6 +365,7 @@ | |||
339 | compatible = "renesas,sdhi-r8a73a4"; | 365 | compatible = "renesas,sdhi-r8a73a4"; |
340 | reg = <0 0xee120000 0 0x100>; | 366 | reg = <0 0xee120000 0 0x100>; |
341 | interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>; | 367 | interrupts = <0 166 IRQ_TYPE_LEVEL_HIGH>; |
368 | clocks = <&mstp3_clks R8A73A4_CLK_SDHI1>; | ||
342 | cap-sd-highspeed; | 369 | cap-sd-highspeed; |
343 | status = "disabled"; | 370 | status = "disabled"; |
344 | }; | 371 | }; |
@@ -347,6 +374,7 @@ | |||
347 | compatible = "renesas,sdhi-r8a73a4"; | 374 | compatible = "renesas,sdhi-r8a73a4"; |
348 | reg = <0 0xee140000 0 0x100>; | 375 | reg = <0 0xee140000 0 0x100>; |
349 | interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; | 376 | interrupts = <0 167 IRQ_TYPE_LEVEL_HIGH>; |
377 | clocks = <&mstp3_clks R8A73A4_CLK_SDHI2>; | ||
350 | cap-sd-highspeed; | 378 | cap-sd-highspeed; |
351 | status = "disabled"; | 379 | status = "disabled"; |
352 | }; | 380 | }; |
@@ -355,6 +383,7 @@ | |||
355 | compatible = "renesas,sh-mmcif"; | 383 | compatible = "renesas,sh-mmcif"; |
356 | reg = <0 0xee200000 0 0x80>; | 384 | reg = <0 0xee200000 0 0x80>; |
357 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; | 385 | interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>; |
386 | clocks = <&mstp3_clks R8A73A4_CLK_MMCIF0>; | ||
358 | reg-io-width = <4>; | 387 | reg-io-width = <4>; |
359 | status = "disabled"; | 388 | status = "disabled"; |
360 | }; | 389 | }; |
@@ -363,6 +392,7 @@ | |||
363 | compatible = "renesas,sh-mmcif"; | 392 | compatible = "renesas,sh-mmcif"; |
364 | reg = <0 0xee220000 0 0x80>; | 393 | reg = <0 0xee220000 0 0x80>; |
365 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>; | 394 | interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>; |
395 | clocks = <&mstp3_clks R8A73A4_CLK_MMCIF1>; | ||
366 | reg-io-width = <4>; | 396 | reg-io-width = <4>; |
367 | status = "disabled"; | 397 | status = "disabled"; |
368 | }; | 398 | }; |