brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · f5c7e99 Raw
43 lines · plain
1============================2C-SKY Multi-processors Timer3============================4 5C-SKY multi-processors timer is designed for C-SKY SMP system and the6regs 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 trigger next event.12 13==============================14timer node bindings definition15==============================16 17	Description: Describes SMP timer18 19	PROPERTIES20 21	- compatible22		Usage: required23		Value type: <string>24		Definition: must be "csky,mptimer"25	- clocks26		Usage: required27		Value type: <node>28		Definition: must be input clk node29	- interrupts30		Usage: required31		Value type: <u32>32		Definition: must be timer irq num defined by soc33 34Examples:35---------36 37	timer: timer {38		compatible = "csky,mptimer";39		clocks = <&dummy_apb_clk>;40		interrupts = <16>;41		interrupt-parent = <&intc>;42	};43