Back to home page

OSCL-LXR

 
 

    


0001 ARM MPS2 timer
0002 
0003 The MPS2 platform has simple general-purpose 32 bits timers.
0004 
0005 Required properties:
0006 - compatible    : Should be "arm,mps2-timer"
0007 - reg           : Address and length of the register set
0008 - interrupts    : Reference to the timer interrupt
0009 
0010 Required clocking property, have to be one of:
0011 - clocks          : The input clock of the timer
0012 - clock-frequency : The rate in HZ in input of the ARM MPS2 timer
0013 
0014 Examples:
0015 
0016 timer1: mps2-timer@40000000 {
0017         compatible = "arm,mps2-timer";
0018         reg = <0x40000000 0x1000>;
0019         interrupts = <8>;
0020         clocks = <&sysclk>;
0021 };
0022 
0023 timer2: mps2-timer@40001000 {
0024         compatible = "arm,mps2-timer";
0025         reg = <0x40001000 0x1000>;
0026         interrupts = <9>;
0027         clock-frequency = <25000000>;
0028 };