1 Synopsys ARC Local Timer with Interrupt Capabi 1 Synopsys ARC Local Timer with Interrupt Capabilities 2 - Found on all ARC CPUs (ARC700/ARCHS) 2 - Found on all ARC CPUs (ARC700/ARCHS) 3 - Can be optionally programmed to interrupt on 3 - Can be optionally programmed to interrupt on Limit 4 - Two identical copies TIMER0 and TIMER1 exist !! 4 - Two idential copies TIMER0 and TIMER1 exist in ARC cores and historically 5 TIMER0 used as clockevent provider (true for 5 TIMER0 used as clockevent provider (true for all ARC cores) 6 TIMER1 used for clocksource (mandatory for A 6 TIMER1 used for clocksource (mandatory for ARC700, optional for ARC HS) 7 7 8 Required properties: 8 Required properties: 9 9 10 - compatible : should be "snps,arc-timer" 10 - compatible : should be "snps,arc-timer" 11 - interrupts : single Interrupt going into par 11 - interrupts : single Interrupt going into parent intc 12 (16 for ARCHS cores, 3 for ARC7 12 (16 for ARCHS cores, 3 for ARC700 cores) 13 - clocks : phandle to the source clock 13 - clocks : phandle to the source clock >> 14 >> 15 Optional properties: >> 16 >> 17 - interrupt-parent : phandle to parent intc 14 18 15 Example: 19 Example: 16 20 17 timer0 { 21 timer0 { 18 compatible = "snps,arc-timer"; 22 compatible = "snps,arc-timer"; 19 interrupts = <3>; 23 interrupts = <3>; 20 interrupt-parent = <&core_intc 24 interrupt-parent = <&core_intc>; 21 clocks = <&core_clk>; 25 clocks = <&core_clk>; 22 }; 26 }; 23 27 24 timer1 { 28 timer1 { 25 compatible = "snps,arc-timer"; 29 compatible = "snps,arc-timer"; 26 clocks = <&core_clk>; 30 clocks = <&core_clk>; 27 }; 31 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.