xref: /openbmc/linux/Documentation/devicetree/bindings/timer/spreadtrum,sprd-timer.txt (revision 552c69b36ebd966186573b9c7a286b390935cce1)
1*286f30dbSBaolin WangSpreadtrum timers
2*286f30dbSBaolin Wang
3*286f30dbSBaolin WangThe Spreadtrum SC9860 platform provides 3 general-purpose timers.
4*286f30dbSBaolin WangThese timers can support 32bit or 64bit counter, as well as supporting
5*286f30dbSBaolin Wangperiod mode or one-shot mode, and they are can be wakeup source
6*286f30dbSBaolin Wangduring deep sleep.
7*286f30dbSBaolin Wang
8*286f30dbSBaolin WangRequired properties:
9*286f30dbSBaolin Wang- compatible: should be "sprd,sc9860-timer" for SC9860 platform.
10*286f30dbSBaolin Wang- reg: The register address of the timer device.
11*286f30dbSBaolin Wang- interrupts: Should contain the interrupt for the timer device.
12*286f30dbSBaolin Wang- clocks: The phandle to the source clock (usually a 32.768 KHz fixed clock).
13*286f30dbSBaolin Wang
14*286f30dbSBaolin WangExample:
15*286f30dbSBaolin Wang	timer@40050000 {
16*286f30dbSBaolin Wang		compatible = "sprd,sc9860-timer";
17*286f30dbSBaolin Wang		reg = <0 0x40050000 0 0x20>;
18*286f30dbSBaolin Wang		interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
19*286f30dbSBaolin Wang		clocks = <&ext_32k>;
20*286f30dbSBaolin Wang	};
21