18c2ecf20Sopenharmony_ciBCM2835 System Timer 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe System Timer peripheral provides four 32-bit timer channels and a 48c2ecf20Sopenharmony_cisingle 64-bit free running counter. Each channel has an output compare 58c2ecf20Sopenharmony_ciregister, which is compared against the 32 least significant bits of the 68c2ecf20Sopenharmony_cifree running counter values, and generates an interrupt. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciRequired properties: 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci- compatible : should be "brcm,bcm2835-system-timer" 118c2ecf20Sopenharmony_ci- reg : Specifies base physical address and size of the registers. 128c2ecf20Sopenharmony_ci- interrupts : A list of 4 interrupt sinks; one per timer channel. 138c2ecf20Sopenharmony_ci- clock-frequency : The frequency of the clock that drives the counter, in Hz. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciExample: 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_citimer { 188c2ecf20Sopenharmony_ci compatible = "brcm,bcm2835-system-timer"; 198c2ecf20Sopenharmony_ci reg = <0x7e003000 0x1000>; 208c2ecf20Sopenharmony_ci interrupts = <1 0>, <1 1>, <1 2>, <1 3>; 218c2ecf20Sopenharmony_ci clock-frequency = <1000000>; 228c2ecf20Sopenharmony_ci}; 23