Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: timer: C-SKY Multi-processor timer

Dt-bingdings doc for C-SKY SMP system setting.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Guo Ren and committed by
Daniel Lezcano
732e5dca a7ad38b0

+42
+42
Documentation/devicetree/bindings/timer/csky,mptimer.txt
··· 1 + ============================ 2 + C-SKY Multi-processors Timer 3 + ============================ 4 + 5 + C-SKY multi-processors timer is designed for C-SKY SMP system and the 6 + regs is accessed by cpu co-processor 4 registers with mtcr/mfcr. 7 + 8 + - PTIM_CTLR "cr<0, 14>" Control reg to start reset timer. 9 + - PTIM_TSR "cr<1, 14>" Interrupt cleanup status reg. 10 + - PTIM_CCVR "cr<3, 14>" Current counter value reg. 11 + - PTIM_LVR "cr<6, 14>" Window value reg to triger next event. 12 + 13 + ============================== 14 + timer node bindings definition 15 + ============================== 16 + 17 + Description: Describes SMP timer 18 + 19 + PROPERTIES 20 + 21 + - compatible 22 + Usage: required 23 + Value type: <string> 24 + Definition: must be "csky,mptimer" 25 + - clocks 26 + Usage: required 27 + Value type: <node> 28 + Definition: must be input clk node 29 + - interrupts 30 + Usage: required 31 + Value type: <u32> 32 + Definition: must be timer irq num defined by soc 33 + 34 + Examples: 35 + --------- 36 + 37 + timer: timer { 38 + compatible = "csky,mptimer"; 39 + clocks = <&dummy_apb_clk>; 40 + interrupts = <16>; 41 + interrupt-parent = <&intc>; 42 + };