18c2ecf20Sopenharmony_ciARM MPS2 timer 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe MPS2 platform has simple general-purpose 32 bits timers. 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciRequired properties: 68c2ecf20Sopenharmony_ci- compatible : Should be "arm,mps2-timer" 78c2ecf20Sopenharmony_ci- reg : Address and length of the register set 88c2ecf20Sopenharmony_ci- interrupts : Reference to the timer interrupt 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciRequired clocking property, have to be one of: 118c2ecf20Sopenharmony_ci- clocks : The input clock of the timer 128c2ecf20Sopenharmony_ci- clock-frequency : The rate in HZ in input of the ARM MPS2 timer 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciExamples: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_citimer1: mps2-timer@40000000 { 178c2ecf20Sopenharmony_ci compatible = "arm,mps2-timer"; 188c2ecf20Sopenharmony_ci reg = <0x40000000 0x1000>; 198c2ecf20Sopenharmony_ci interrupts = <8>; 208c2ecf20Sopenharmony_ci clocks = <&sysclk>; 218c2ecf20Sopenharmony_ci}; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_citimer2: mps2-timer@40001000 { 248c2ecf20Sopenharmony_ci compatible = "arm,mps2-timer"; 258c2ecf20Sopenharmony_ci reg = <0x40001000 0x1000>; 268c2ecf20Sopenharmony_ci interrupts = <9>; 278c2ecf20Sopenharmony_ci clock-frequency = <25000000>; 288c2ecf20Sopenharmony_ci}; 29