blob: c703d51abb6c08f96a80a897b104f21e0d649893 [file] [log] [blame]
Dinh Nguyencfda5902012-07-11 15:13:16 -05001* Designware APB timer
2
3Required properties:
Dinh Nguyen620f5e12013-08-21 15:28:49 -05004- compatible: One of:
5 "snps,dw-apb-timer"
6 "snps,dw-apb-timer-sp" <DEPRECATED>
7 "snps,dw-apb-timer-osc" <DEPRECATED>
Dinh Nguyencfda5902012-07-11 15:13:16 -05008- reg: physical base address of the controller and length of memory mapped
9 region.
10- interrupts: IRQ line for the timer.
Heiko Stuebnera8b447f2013-06-04 11:37:36 +020011- either clocks+clock-names or clock-frequency properties
12
13Optional properties:
14- clocks : list of clock specifiers, corresponding to entries in
15 the clock-names property;
16- clock-names : should contain "timer" and "pclk" entries, matching entries
17 in the clocks property.
Dinh Nguyencfda5902012-07-11 15:13:16 -050018- clock-frequency: The frequency in HZ of the timer.
19- clock-freq: For backwards compatibility with picoxcell
20
Heiko Stuebnera8b447f2013-06-04 11:37:36 +020021If using the clock specifiers, the pclk clock is optional, as not all
22systems may use one.
23
24
Dinh Nguyencfda5902012-07-11 15:13:16 -050025Example:
Dinh Nguyen620f5e12013-08-21 15:28:49 -050026 timer@ffe00000 {
27 compatible = "snps,dw-apb-timer";
28 interrupts = <0 170 4>;
29 reg = <0xffe00000 0x1000>;
30 clocks = <&timer_clk>, <&timer_pclk>;
31 clock-names = "timer", "pclk";
32 };