162306a36Sopenharmony_ciBCM2835 System Timer
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciThe System Timer peripheral provides four 32-bit timer channels and a
462306a36Sopenharmony_cisingle 64-bit free running counter. Each channel has an output compare
562306a36Sopenharmony_ciregister, which is compared against the 32 least significant bits of the
662306a36Sopenharmony_cifree running counter values, and generates an interrupt.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciRequired properties:
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci- compatible : should be "brcm,bcm2835-system-timer"
1162306a36Sopenharmony_ci- reg : Specifies base physical address and size of the registers.
1262306a36Sopenharmony_ci- interrupts : A list of 4 interrupt sinks; one per timer channel.
1362306a36Sopenharmony_ci- clock-frequency : The frequency of the clock that drives the counter, in Hz.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciExample:
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_citimer {
1862306a36Sopenharmony_ci	compatible = "brcm,bcm2835-system-timer";
1962306a36Sopenharmony_ci	reg = <0x7e003000 0x1000>;
2062306a36Sopenharmony_ci	interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
2162306a36Sopenharmony_ci	clock-frequency = <1000000>;
2262306a36Sopenharmony_ci};
23