aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-03-19 13:38:18 -0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-04-08 18:21:31 -0400
commit002e1ec56d1171e2987c7ce5a865cf21a686a4bf (patch)
tree80ebdcbc26ebcf934599362309c1510836a9aaf6
parent8fc7fcb593ac3c5730c8391c2d7db5b87e2d0bf2 (diff)
ARM: dts: OMAP2+: Update DMTIMER compatibility property
Update the DMTIMER compatibility property to reflect the register level compatibilty between devices and update the various OMAP/AM timer bindings with the appropriate compatibility string. By doing this we can add platform specific data applicable to specific timer versions to the driver. For example, errata flags can be populated for the timer versions that are impacted. Signed-off-by: Jon Hunter <jon-hunter@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/arm/omap/timer.txt17
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi14
-rw-r--r--arch/arm/boot/dts/omap2.dtsi22
-rw-r--r--arch/arm/boot/dts/omap2420.dtsi2
-rw-r--r--arch/arm/boot/dts/omap2430.dtsi2
-rw-r--r--arch/arm/boot/dts/omap3.dtsi24
-rw-r--r--arch/arm/boot/dts/omap4.dtsi22
-rw-r--r--arch/arm/boot/dts/omap5.dtsi22
-rw-r--r--arch/arm/mach-omap2/timer.c7
-rw-r--r--arch/arm/plat-omap/dmtimer.c7
10 files changed, 81 insertions, 58 deletions
diff --git a/Documentation/devicetree/bindings/arm/omap/timer.txt b/Documentation/devicetree/bindings/arm/omap/timer.txt
index 8732d4d41f8b..d02e27c764ec 100644
--- a/Documentation/devicetree/bindings/arm/omap/timer.txt
+++ b/Documentation/devicetree/bindings/arm/omap/timer.txt
@@ -1,7 +1,20 @@
1OMAP Timer bindings 1OMAP Timer bindings
2 2
3Required properties: 3Required properties:
4- compatible: Must be "ti,omap2-timer" for OMAP2+ controllers. 4- compatible: Should be set to one of the below. Please note that
5 OMAP44xx devices have timer instances that are 100%
6 register compatible with OMAP3xxx devices as well as
7 newer timers that are not 100% register compatible.
8 So for OMAP44xx devices timer instances may use
9 different compatible strings.
10
11 ti,omap2420-timer (applicable to OMAP24xx devices)
12 ti,omap3430-timer (applicable to OMAP3xxx/44xx devices)
13 ti,omap4430-timer (applicable to OMAP44xx devices)
14 ti,omap5430-timer (applicable to OMAP543x devices)
15 ti,am335x-timer (applicable to AM335x devices)
16 ti,am335x-timer-1ms (applicable to AM335x devices)
17
5- reg: Contains timer register address range (base address and 18- reg: Contains timer register address range (base address and
6 length). 19 length).
7- interrupts: Contains the interrupt information for the timer. The 20- interrupts: Contains the interrupt information for the timer. The
@@ -22,7 +35,7 @@ Optional properties:
22Example: 35Example:
23 36
24timer12: timer@48304000 { 37timer12: timer@48304000 {
25 compatible = "ti,omap2-timer"; 38 compatible = "ti,omap3430-timer";
26 reg = <0x48304000 0x400>; 39 reg = <0x48304000 0x400>;
27 interrupts = <95>; 40 interrupts = <95>;
28 ti,hwmods = "timer12" 41 ti,hwmods = "timer12"
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 4beb5185d1d2..df6283076e79 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -243,7 +243,7 @@
243 }; 243 };
244 244
245 timer1: timer@44e31000 { 245 timer1: timer@44e31000 {
246 compatible = "ti,omap2-timer"; 246 compatible = "ti,am335x-timer-1ms";
247 reg = <0x44e31000 0x400>; 247 reg = <0x44e31000 0x400>;
248 interrupts = <67>; 248 interrupts = <67>;
249 ti,hwmods = "timer1"; 249 ti,hwmods = "timer1";
@@ -251,21 +251,21 @@
251 }; 251 };
252 252
253 timer2: timer@48040000 { 253 timer2: timer@48040000 {
254 compatible = "ti,omap2-timer"; 254 compatible = "ti,am335x-timer";
255 reg = <0x48040000 0x400>; 255 reg = <0x48040000 0x400>;
256 interrupts = <68>; 256 interrupts = <68>;
257 ti,hwmods = "timer2"; 257 ti,hwmods = "timer2";
258 }; 258 };
259 259
260 timer3: timer@48042000 { 260 timer3: timer@48042000 {
261 compatible = "ti,omap2-timer"; 261 compatible = "ti,am335x-timer";
262 reg = <0x48042000 0x400>; 262 reg = <0x48042000 0x400>;
263 interrupts = <69>; 263 interrupts = <69>;
264 ti,hwmods = "timer3"; 264 ti,hwmods = "timer3";
265 }; 265 };
266 266
267 timer4: timer@48044000 { 267 timer4: timer@48044000 {
268 compatible = "ti,omap2-timer"; 268 compatible = "ti,am335x-timer";
269 reg = <0x48044000 0x400>; 269 reg = <0x48044000 0x400>;
270 interrupts = <92>; 270 interrupts = <92>;
271 ti,hwmods = "timer4"; 271 ti,hwmods = "timer4";
@@ -273,7 +273,7 @@
273 }; 273 };
274 274
275 timer5: timer@48046000 { 275 timer5: timer@48046000 {
276 compatible = "ti,omap2-timer"; 276 compatible = "ti,am335x-timer";
277 reg = <0x48046000 0x400>; 277 reg = <0x48046000 0x400>;
278 interrupts = <93>; 278 interrupts = <93>;
279 ti,hwmods = "timer5"; 279 ti,hwmods = "timer5";
@@ -281,7 +281,7 @@
281 }; 281 };
282 282
283 timer6: timer@48048000 { 283 timer6: timer@48048000 {
284 compatible = "ti,omap2-timer"; 284 compatible = "ti,am335x-timer";
285 reg = <0x48048000 0x400>; 285 reg = <0x48048000 0x400>;
286 interrupts = <94>; 286 interrupts = <94>;
287 ti,hwmods = "timer6"; 287 ti,hwmods = "timer6";
@@ -289,7 +289,7 @@
289 }; 289 };
290 290
291 timer7: timer@4804a000 { 291 timer7: timer@4804a000 {
292 compatible = "ti,omap2-timer"; 292 compatible = "ti,am335x-timer";
293 reg = <0x4804a000 0x400>; 293 reg = <0x4804a000 0x400>;
294 interrupts = <95>; 294 interrupts = <95>;
295 ti,hwmods = "timer7"; 295 ti,hwmods = "timer7";
diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi
index 84183f053f53..37aa7487d4d8 100644
--- a/arch/arm/boot/dts/omap2.dtsi
+++ b/arch/arm/boot/dts/omap2.dtsi
@@ -85,28 +85,28 @@
85 }; 85 };
86 86
87 timer2: timer@4802a000 { 87 timer2: timer@4802a000 {
88 compatible = "ti,omap2-timer"; 88 compatible = "ti,omap2420-timer";
89 reg = <0x4802a000 0x400>; 89 reg = <0x4802a000 0x400>;
90 interrupts = <38>; 90 interrupts = <38>;
91 ti,hwmods = "timer2"; 91 ti,hwmods = "timer2";
92 }; 92 };
93 93
94 timer3: timer@48078000 { 94 timer3: timer@48078000 {
95 compatible = "ti,omap2-timer"; 95 compatible = "ti,omap2420-timer";
96 reg = <0x48078000 0x400>; 96 reg = <0x48078000 0x400>;
97 interrupts = <39>; 97 interrupts = <39>;
98 ti,hwmods = "timer3"; 98 ti,hwmods = "timer3";
99 }; 99 };
100 100
101 timer4: timer@4807a000 { 101 timer4: timer@4807a000 {
102 compatible = "ti,omap2-timer"; 102 compatible = "ti,omap2420-timer";
103 reg = <0x4807a000 0x400>; 103 reg = <0x4807a000 0x400>;
104 interrupts = <40>; 104 interrupts = <40>;
105 ti,hwmods = "timer4"; 105 ti,hwmods = "timer4";
106 }; 106 };
107 107
108 timer5: timer@4807c000 { 108 timer5: timer@4807c000 {
109 compatible = "ti,omap2-timer"; 109 compatible = "ti,omap2420-timer";
110 reg = <0x4807c000 0x400>; 110 reg = <0x4807c000 0x400>;
111 interrupts = <41>; 111 interrupts = <41>;
112 ti,hwmods = "timer5"; 112 ti,hwmods = "timer5";
@@ -114,7 +114,7 @@
114 }; 114 };
115 115
116 timer6: timer@4807e000 { 116 timer6: timer@4807e000 {
117 compatible = "ti,omap2-timer"; 117 compatible = "ti,omap2420-timer";
118 reg = <0x4807e000 0x400>; 118 reg = <0x4807e000 0x400>;
119 interrupts = <42>; 119 interrupts = <42>;
120 ti,hwmods = "timer6"; 120 ti,hwmods = "timer6";
@@ -122,7 +122,7 @@
122 }; 122 };
123 123
124 timer7: timer@48080000 { 124 timer7: timer@48080000 {
125 compatible = "ti,omap2-timer"; 125 compatible = "ti,omap2420-timer";
126 reg = <0x48080000 0x400>; 126 reg = <0x48080000 0x400>;
127 interrupts = <43>; 127 interrupts = <43>;
128 ti,hwmods = "timer7"; 128 ti,hwmods = "timer7";
@@ -130,7 +130,7 @@
130 }; 130 };
131 131
132 timer8: timer@48082000 { 132 timer8: timer@48082000 {
133 compatible = "ti,omap2-timer"; 133 compatible = "ti,omap2420-timer";
134 reg = <0x48082000 0x400>; 134 reg = <0x48082000 0x400>;
135 interrupts = <44>; 135 interrupts = <44>;
136 ti,hwmods = "timer8"; 136 ti,hwmods = "timer8";
@@ -138,7 +138,7 @@
138 }; 138 };
139 139
140 timer9: timer@48084000 { 140 timer9: timer@48084000 {
141 compatible = "ti,omap2-timer"; 141 compatible = "ti,omap2420-timer";
142 reg = <0x48084000 0x400>; 142 reg = <0x48084000 0x400>;
143 interrupts = <45>; 143 interrupts = <45>;
144 ti,hwmods = "timer9"; 144 ti,hwmods = "timer9";
@@ -146,7 +146,7 @@
146 }; 146 };
147 147
148 timer10: timer@48086000 { 148 timer10: timer@48086000 {
149 compatible = "ti,omap2-timer"; 149 compatible = "ti,omap2420-timer";
150 reg = <0x48086000 0x400>; 150 reg = <0x48086000 0x400>;
151 interrupts = <46>; 151 interrupts = <46>;
152 ti,hwmods = "timer10"; 152 ti,hwmods = "timer10";
@@ -154,7 +154,7 @@
154 }; 154 };
155 155
156 timer11: timer@48088000 { 156 timer11: timer@48088000 {
157 compatible = "ti,omap2-timer"; 157 compatible = "ti,omap2420-timer";
158 reg = <0x48088000 0x400>; 158 reg = <0x48088000 0x400>;
159 interrupts = <47>; 159 interrupts = <47>;
160 ti,hwmods = "timer11"; 160 ti,hwmods = "timer11";
@@ -162,7 +162,7 @@
162 }; 162 };
163 163
164 timer12: timer@4808a000 { 164 timer12: timer@4808a000 {
165 compatible = "ti,omap2-timer"; 165 compatible = "ti,omap2420-timer";
166 reg = <0x4808a000 0x400>; 166 reg = <0x4808a000 0x400>;
167 interrupts = <48>; 167 interrupts = <48>;
168 ti,hwmods = "timer12"; 168 ti,hwmods = "timer12";
diff --git a/arch/arm/boot/dts/omap2420.dtsi b/arch/arm/boot/dts/omap2420.dtsi
index 455b239b8884..a889acc3a22f 100644
--- a/arch/arm/boot/dts/omap2420.dtsi
+++ b/arch/arm/boot/dts/omap2420.dtsi
@@ -111,7 +111,7 @@
111 }; 111 };
112 112
113 timer1: timer@48028000 { 113 timer1: timer@48028000 {
114 compatible = "ti,omap2-timer"; 114 compatible = "ti,omap2420-timer";
115 reg = <0x48028000 0x400>; 115 reg = <0x48028000 0x400>;
116 interrupts = <37>; 116 interrupts = <37>;
117 ti,hwmods = "timer1"; 117 ti,hwmods = "timer1";
diff --git a/arch/arm/boot/dts/omap2430.dtsi b/arch/arm/boot/dts/omap2430.dtsi
index 477b120243ca..ff93b8e07887 100644
--- a/arch/arm/boot/dts/omap2430.dtsi
+++ b/arch/arm/boot/dts/omap2430.dtsi
@@ -172,7 +172,7 @@
172 }; 172 };
173 173
174 timer1: timer@49018000 { 174 timer1: timer@49018000 {
175 compatible = "ti,omap2-timer"; 175 compatible = "ti,omap2420-timer";
176 reg = <0x49018000 0x400>; 176 reg = <0x49018000 0x400>;
177 interrupts = <37>; 177 interrupts = <37>;
178 ti,hwmods = "timer1"; 178 ti,hwmods = "timer1";
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 7146e9480645..22d468d863a0 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3.dtsi
@@ -377,7 +377,7 @@
377 }; 377 };
378 378
379 timer1: timer@48318000 { 379 timer1: timer@48318000 {
380 compatible = "ti,omap2-timer"; 380 compatible = "ti,omap3430-timer";
381 reg = <0x48318000 0x400>; 381 reg = <0x48318000 0x400>;
382 interrupts = <37>; 382 interrupts = <37>;
383 ti,hwmods = "timer1"; 383 ti,hwmods = "timer1";
@@ -385,28 +385,28 @@
385 }; 385 };
386 386
387 timer2: timer@49032000 { 387 timer2: timer@49032000 {
388 compatible = "ti,omap2-timer"; 388 compatible = "ti,omap3430-timer";
389 reg = <0x49032000 0x400>; 389 reg = <0x49032000 0x400>;
390 interrupts = <38>; 390 interrupts = <38>;
391 ti,hwmods = "timer2"; 391 ti,hwmods = "timer2";
392 }; 392 };
393 393
394 timer3: timer@49034000 { 394 timer3: timer@49034000 {
395 compatible = "ti,omap2-timer"; 395 compatible = "ti,omap3430-timer";
396 reg = <0x49034000 0x400>; 396 reg = <0x49034000 0x400>;
397 interrupts = <39>; 397 interrupts = <39>;
398 ti,hwmods = "timer3"; 398 ti,hwmods = "timer3";
399 }; 399 };
400 400
401 timer4: timer@49036000 { 401 timer4: timer@49036000 {
402 compatible = "ti,omap2-timer"; 402 compatible = "ti,omap3430-timer";
403 reg = <0x49036000 0x400>; 403 reg = <0x49036000 0x400>;
404 interrupts = <40>; 404 interrupts = <40>;
405 ti,hwmods = "timer4"; 405 ti,hwmods = "timer4";
406 }; 406 };
407 407
408 timer5: timer@49038000 { 408 timer5: timer@49038000 {
409 compatible = "ti,omap2-timer"; 409 compatible = "ti,omap3430-timer";
410 reg = <0x49038000 0x400>; 410 reg = <0x49038000 0x400>;
411 interrupts = <41>; 411 interrupts = <41>;
412 ti,hwmods = "timer5"; 412 ti,hwmods = "timer5";
@@ -414,7 +414,7 @@
414 }; 414 };
415 415
416 timer6: timer@4903a000 { 416 timer6: timer@4903a000 {
417 compatible = "ti,omap2-timer"; 417 compatible = "ti,omap3430-timer";
418 reg = <0x4903a000 0x400>; 418 reg = <0x4903a000 0x400>;
419 interrupts = <42>; 419 interrupts = <42>;
420 ti,hwmods = "timer6"; 420 ti,hwmods = "timer6";
@@ -422,7 +422,7 @@
422 }; 422 };
423 423
424 timer7: timer@4903c000 { 424 timer7: timer@4903c000 {
425 compatible = "ti,omap2-timer"; 425 compatible = "ti,omap3430-timer";
426 reg = <0x4903c000 0x400>; 426 reg = <0x4903c000 0x400>;
427 interrupts = <43>; 427 interrupts = <43>;
428 ti,hwmods = "timer7"; 428 ti,hwmods = "timer7";
@@ -430,7 +430,7 @@
430 }; 430 };
431 431
432 timer8: timer@4903e000 { 432 timer8: timer@4903e000 {
433 compatible = "ti,omap2-timer"; 433 compatible = "ti,omap3430-timer";
434 reg = <0x4903e000 0x400>; 434 reg = <0x4903e000 0x400>;
435 interrupts = <44>; 435 interrupts = <44>;
436 ti,hwmods = "timer8"; 436 ti,hwmods = "timer8";
@@ -439,7 +439,7 @@
439 }; 439 };
440 440
441 timer9: timer@49040000 { 441 timer9: timer@49040000 {
442 compatible = "ti,omap2-timer"; 442 compatible = "ti,omap3430-timer";
443 reg = <0x49040000 0x400>; 443 reg = <0x49040000 0x400>;
444 interrupts = <45>; 444 interrupts = <45>;
445 ti,hwmods = "timer9"; 445 ti,hwmods = "timer9";
@@ -447,7 +447,7 @@
447 }; 447 };
448 448
449 timer10: timer@48086000 { 449 timer10: timer@48086000 {
450 compatible = "ti,omap2-timer"; 450 compatible = "ti,omap3430-timer";
451 reg = <0x48086000 0x400>; 451 reg = <0x48086000 0x400>;
452 interrupts = <46>; 452 interrupts = <46>;
453 ti,hwmods = "timer10"; 453 ti,hwmods = "timer10";
@@ -455,7 +455,7 @@
455 }; 455 };
456 456
457 timer11: timer@48088000 { 457 timer11: timer@48088000 {
458 compatible = "ti,omap2-timer"; 458 compatible = "ti,omap3430-timer";
459 reg = <0x48088000 0x400>; 459 reg = <0x48088000 0x400>;
460 interrupts = <47>; 460 interrupts = <47>;
461 ti,hwmods = "timer11"; 461 ti,hwmods = "timer11";
@@ -463,7 +463,7 @@
463 }; 463 };
464 464
465 timer12: timer@48304000 { 465 timer12: timer@48304000 {
466 compatible = "ti,omap2-timer"; 466 compatible = "ti,omap3430-timer";
467 reg = <0x48304000 0x400>; 467 reg = <0x48304000 0x400>;
468 interrupts = <95>; 468 interrupts = <95>;
469 ti,hwmods = "timer12"; 469 ti,hwmods = "timer12";
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
index e95a678b7157..234f2d2d7690 100644
--- a/arch/arm/boot/dts/omap4.dtsi
+++ b/arch/arm/boot/dts/omap4.dtsi
@@ -520,7 +520,7 @@
520 }; 520 };
521 521
522 timer1: timer@4a318000 { 522 timer1: timer@4a318000 {
523 compatible = "ti,omap2-timer"; 523 compatible = "ti,omap3430-timer";
524 reg = <0x4a318000 0x80>; 524 reg = <0x4a318000 0x80>;
525 interrupts = <0 37 0x4>; 525 interrupts = <0 37 0x4>;
526 ti,hwmods = "timer1"; 526 ti,hwmods = "timer1";
@@ -528,28 +528,28 @@
528 }; 528 };
529 529
530 timer2: timer@48032000 { 530 timer2: timer@48032000 {
531 compatible = "ti,omap2-timer"; 531 compatible = "ti,omap3430-timer";
532 reg = <0x48032000 0x80>; 532 reg = <0x48032000 0x80>;
533 interrupts = <0 38 0x4>; 533 interrupts = <0 38 0x4>;
534 ti,hwmods = "timer2"; 534 ti,hwmods = "timer2";
535 }; 535 };
536 536
537 timer3: timer@48034000 { 537 timer3: timer@48034000 {
538 compatible = "ti,omap2-timer"; 538 compatible = "ti,omap4430-timer";
539 reg = <0x48034000 0x80>; 539 reg = <0x48034000 0x80>;
540 interrupts = <0 39 0x4>; 540 interrupts = <0 39 0x4>;
541 ti,hwmods = "timer3"; 541 ti,hwmods = "timer3";
542 }; 542 };
543 543
544 timer4: timer@48036000 { 544 timer4: timer@48036000 {
545 compatible = "ti,omap2-timer"; 545 compatible = "ti,omap4430-timer";
546 reg = <0x48036000 0x80>; 546 reg = <0x48036000 0x80>;
547 interrupts = <0 40 0x4>; 547 interrupts = <0 40 0x4>;
548 ti,hwmods = "timer4"; 548 ti,hwmods = "timer4";
549 }; 549 };
550 550
551 timer5: timer@40138000 { 551 timer5: timer@40138000 {
552 compatible = "ti,omap2-timer"; 552 compatible = "ti,omap4430-timer";
553 reg = <0x40138000 0x80>, 553 reg = <0x40138000 0x80>,
554 <0x49038000 0x80>; 554 <0x49038000 0x80>;
555 interrupts = <0 41 0x4>; 555 interrupts = <0 41 0x4>;
@@ -558,7 +558,7 @@
558 }; 558 };
559 559
560 timer6: timer@4013a000 { 560 timer6: timer@4013a000 {
561 compatible = "ti,omap2-timer"; 561 compatible = "ti,omap4430-timer";
562 reg = <0x4013a000 0x80>, 562 reg = <0x4013a000 0x80>,
563 <0x4903a000 0x80>; 563 <0x4903a000 0x80>;
564 interrupts = <0 42 0x4>; 564 interrupts = <0 42 0x4>;
@@ -567,7 +567,7 @@
567 }; 567 };
568 568
569 timer7: timer@4013c000 { 569 timer7: timer@4013c000 {
570 compatible = "ti,omap2-timer"; 570 compatible = "ti,omap4430-timer";
571 reg = <0x4013c000 0x80>, 571 reg = <0x4013c000 0x80>,
572 <0x4903c000 0x80>; 572 <0x4903c000 0x80>;
573 interrupts = <0 43 0x4>; 573 interrupts = <0 43 0x4>;
@@ -576,7 +576,7 @@
576 }; 576 };
577 577
578 timer8: timer@4013e000 { 578 timer8: timer@4013e000 {
579 compatible = "ti,omap2-timer"; 579 compatible = "ti,omap4430-timer";
580 reg = <0x4013e000 0x80>, 580 reg = <0x4013e000 0x80>,
581 <0x4903e000 0x80>; 581 <0x4903e000 0x80>;
582 interrupts = <0 44 0x4>; 582 interrupts = <0 44 0x4>;
@@ -586,7 +586,7 @@
586 }; 586 };
587 587
588 timer9: timer@4803e000 { 588 timer9: timer@4803e000 {
589 compatible = "ti,omap2-timer"; 589 compatible = "ti,omap4430-timer";
590 reg = <0x4803e000 0x80>; 590 reg = <0x4803e000 0x80>;
591 interrupts = <0 45 0x4>; 591 interrupts = <0 45 0x4>;
592 ti,hwmods = "timer9"; 592 ti,hwmods = "timer9";
@@ -594,7 +594,7 @@
594 }; 594 };
595 595
596 timer10: timer@48086000 { 596 timer10: timer@48086000 {
597 compatible = "ti,omap2-timer"; 597 compatible = "ti,omap3430-timer";
598 reg = <0x48086000 0x80>; 598 reg = <0x48086000 0x80>;
599 interrupts = <0 46 0x4>; 599 interrupts = <0 46 0x4>;
600 ti,hwmods = "timer10"; 600 ti,hwmods = "timer10";
@@ -602,7 +602,7 @@
602 }; 602 };
603 603
604 timer11: timer@48088000 { 604 timer11: timer@48088000 {
605 compatible = "ti,omap2-timer"; 605 compatible = "ti,omap4430-timer";
606 reg = <0x48088000 0x80>; 606 reg = <0x48088000 0x80>;
607 interrupts = <0 47 0x4>; 607 interrupts = <0 47 0x4>;
608 ti,hwmods = "timer11"; 608 ti,hwmods = "timer11";
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index 86f784e86476..3ce54f44b092 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -502,7 +502,7 @@
502 }; 502 };
503 503
504 timer1: timer@4ae18000 { 504 timer1: timer@4ae18000 {
505 compatible = "ti,omap2-timer"; 505 compatible = "ti,omap5430-timer";
506 reg = <0x4ae18000 0x80>; 506 reg = <0x4ae18000 0x80>;
507 interrupts = <0 37 0x4>; 507 interrupts = <0 37 0x4>;
508 ti,hwmods = "timer1"; 508 ti,hwmods = "timer1";
@@ -510,28 +510,28 @@
510 }; 510 };
511 511
512 timer2: timer@48032000 { 512 timer2: timer@48032000 {
513 compatible = "ti,omap2-timer"; 513 compatible = "ti,omap5430-timer";
514 reg = <0x48032000 0x80>; 514 reg = <0x48032000 0x80>;
515 interrupts = <0 38 0x4>; 515 interrupts = <0 38 0x4>;
516 ti,hwmods = "timer2"; 516 ti,hwmods = "timer2";
517 }; 517 };
518 518
519 timer3: timer@48034000 { 519 timer3: timer@48034000 {
520 compatible = "ti,omap2-timer"; 520 compatible = "ti,omap5430-timer";
521 reg = <0x48034000 0x80>; 521 reg = <0x48034000 0x80>;
522 interrupts = <0 39 0x4>; 522 interrupts = <0 39 0x4>;
523 ti,hwmods = "timer3"; 523 ti,hwmods = "timer3";
524 }; 524 };
525 525
526 timer4: timer@48036000 { 526 timer4: timer@48036000 {
527 compatible = "ti,omap2-timer"; 527 compatible = "ti,omap5430-timer";
528 reg = <0x48036000 0x80>; 528 reg = <0x48036000 0x80>;
529 interrupts = <0 40 0x4>; 529 interrupts = <0 40 0x4>;
530 ti,hwmods = "timer4"; 530 ti,hwmods = "timer4";
531 }; 531 };
532 532
533 timer5: timer@40138000 { 533 timer5: timer@40138000 {
534 compatible = "ti,omap2-timer"; 534 compatible = "ti,omap5430-timer";
535 reg = <0x40138000 0x80>, 535 reg = <0x40138000 0x80>,
536 <0x49038000 0x80>; 536 <0x49038000 0x80>;
537 interrupts = <0 41 0x4>; 537 interrupts = <0 41 0x4>;
@@ -540,7 +540,7 @@
540 }; 540 };
541 541
542 timer6: timer@4013a000 { 542 timer6: timer@4013a000 {
543 compatible = "ti,omap2-timer"; 543 compatible = "ti,omap5430-timer";
544 reg = <0x4013a000 0x80>, 544 reg = <0x4013a000 0x80>,
545 <0x4903a000 0x80>; 545 <0x4903a000 0x80>;
546 interrupts = <0 42 0x4>; 546 interrupts = <0 42 0x4>;
@@ -550,7 +550,7 @@
550 }; 550 };
551 551
552 timer7: timer@4013c000 { 552 timer7: timer@4013c000 {
553 compatible = "ti,omap2-timer"; 553 compatible = "ti,omap5430-timer";
554 reg = <0x4013c000 0x80>, 554 reg = <0x4013c000 0x80>,
555 <0x4903c000 0x80>; 555 <0x4903c000 0x80>;
556 interrupts = <0 43 0x4>; 556 interrupts = <0 43 0x4>;
@@ -559,7 +559,7 @@
559 }; 559 };
560 560
561 timer8: timer@4013e000 { 561 timer8: timer@4013e000 {
562 compatible = "ti,omap2-timer"; 562 compatible = "ti,omap5430-timer";
563 reg = <0x4013e000 0x80>, 563 reg = <0x4013e000 0x80>,
564 <0x4903e000 0x80>; 564 <0x4903e000 0x80>;
565 interrupts = <0 44 0x4>; 565 interrupts = <0 44 0x4>;
@@ -569,21 +569,21 @@
569 }; 569 };
570 570
571 timer9: timer@4803e000 { 571 timer9: timer@4803e000 {
572 compatible = "ti,omap2-timer"; 572 compatible = "ti,omap5430-timer";
573 reg = <0x4803e000 0x80>; 573 reg = <0x4803e000 0x80>;
574 interrupts = <0 45 0x4>; 574 interrupts = <0 45 0x4>;
575 ti,hwmods = "timer9"; 575 ti,hwmods = "timer9";
576 }; 576 };
577 577
578 timer10: timer@48086000 { 578 timer10: timer@48086000 {
579 compatible = "ti,omap2-timer"; 579 compatible = "ti,omap5430-timer";
580 reg = <0x48086000 0x80>; 580 reg = <0x48086000 0x80>;
581 interrupts = <0 46 0x4>; 581 interrupts = <0 46 0x4>;
582 ti,hwmods = "timer10"; 582 ti,hwmods = "timer10";
583 }; 583 };
584 584
585 timer11: timer@48088000 { 585 timer11: timer@48088000 {
586 compatible = "ti,omap2-timer"; 586 compatible = "ti,omap5430-timer";
587 reg = <0x48088000 0x80>; 587 reg = <0x48088000 0x80>;
588 interrupts = <0 47 0x4>; 588 interrupts = <0 47 0x4>;
589 ti,hwmods = "timer11"; 589 ti,hwmods = "timer11";
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 2bdd4cf17a8f..14b89afe4af7 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -143,7 +143,12 @@ static struct property device_disabled = {
143}; 143};
144 144
145static struct of_device_id omap_timer_match[] __initdata = { 145static struct of_device_id omap_timer_match[] __initdata = {
146 { .compatible = "ti,omap2-timer", }, 146 { .compatible = "ti,omap2420-timer", },
147 { .compatible = "ti,omap3430-timer", },
148 { .compatible = "ti,omap4430-timer", },
149 { .compatible = "ti,omap5430-timer", },
150 { .compatible = "ti,am335x-timer", },
151 { .compatible = "ti,am335x-timer-1ms", },
147 { } 152 { }
148}; 153};
149 154
diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index 05efb370a2bd..b50d478dfee3 100644
--- a/arch/arm/plat-omap/dmtimer.c
+++ b/arch/arm/plat-omap/dmtimer.c
@@ -895,7 +895,12 @@ static int omap_dm_timer_remove(struct platform_device *pdev)
895} 895}
896 896
897static const struct of_device_id omap_timer_match[] = { 897static const struct of_device_id omap_timer_match[] = {
898 { .compatible = "ti,omap2-timer", }, 898 { .compatible = "ti,omap2420-timer", },
899 { .compatible = "ti,omap3430-timer", },
900 { .compatible = "ti,omap4430-timer", },
901 { .compatible = "ti,omap5430-timer", },
902 { .compatible = "ti,am335x-timer", },
903 { .compatible = "ti,am335x-timer-1ms", },
899 {}, 904 {},
900}; 905};
901MODULE_DEVICE_TABLE(of, omap_timer_match); 906MODULE_DEVICE_TABLE(of, omap_timer_match);