Dinh Nguyen | cfda590 | 2012-07-11 15:13:16 -0500 | [diff] [blame^] | 1 | * Designware APB timer |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible: "snps,dw-apb-timer-sp" or "snps,dw-apb-timer-osc" |
| 5 | - reg: physical base address of the controller and length of memory mapped |
| 6 | region. |
| 7 | - interrupts: IRQ line for the timer. |
| 8 | - clock-frequency: The frequency in HZ of the timer. |
| 9 | - clock-freq: For backwards compatibility with picoxcell |
| 10 | |
| 11 | Example: |
| 12 | |
| 13 | timer1: timer@ffc09000 { |
| 14 | compatible = "snps,dw-apb-timer-sp"; |
| 15 | interrupts = <0 168 4>; |
| 16 | clock-frequency = <200000000>; |
| 17 | reg = <0xffc09000 0x1000>; |
| 18 | }; |
| 19 | |
| 20 | timer2: timer@ffd00000 { |
| 21 | compatible = "snps,dw-apb-timer-osc"; |
| 22 | interrupts = <0 169 4>; |
| 23 | clock-frequency = <200000000>; |
| 24 | reg = <0xffd00000 0x1000>; |
| 25 | }; |