162306a36Sopenharmony_ciMediaTek Timers
262306a36Sopenharmony_ci---------------
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciMediaTek SoCs have different timers on different platforms,
562306a36Sopenharmony_ci- CPUX (ARM/ARM64 System Timer)
662306a36Sopenharmony_ci- GPT (General Purpose Timer)
762306a36Sopenharmony_ci- SYST (System Timer)
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciThe proper timer will be selected automatically by driver.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciRequired properties:
1262306a36Sopenharmony_ci- compatible should contain:
1362306a36Sopenharmony_ci	For those SoCs that use GPT
1462306a36Sopenharmony_ci	* "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
1562306a36Sopenharmony_ci	* "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
1662306a36Sopenharmony_ci	* "mediatek,mt6582-timer" for MT6582 compatible timers (GPT)
1762306a36Sopenharmony_ci	* "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
1862306a36Sopenharmony_ci	* "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
1962306a36Sopenharmony_ci	* "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
2062306a36Sopenharmony_ci	* "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
2162306a36Sopenharmony_ci	* "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
2262306a36Sopenharmony_ci	* "mediatek,mt8516-timer" for MT8516 compatible timers (GPT)
2362306a36Sopenharmony_ci	* "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT)
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	For those SoCs that use SYST
2662306a36Sopenharmony_ci	* "mediatek,mt8183-timer" for MT8183 compatible timers (SYST)
2762306a36Sopenharmony_ci	* "mediatek,mt8186-timer" for MT8186 compatible timers (SYST)
2862306a36Sopenharmony_ci	* "mediatek,mt8188-timer" for MT8188 compatible timers (SYST)
2962306a36Sopenharmony_ci	* "mediatek,mt8192-timer" for MT8192 compatible timers (SYST)
3062306a36Sopenharmony_ci	* "mediatek,mt8195-timer" for MT8195 compatible timers (SYST)
3162306a36Sopenharmony_ci	* "mediatek,mt7629-timer" for MT7629 compatible timers (SYST)
3262306a36Sopenharmony_ci	* "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST)
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	For those SoCs that use CPUX
3562306a36Sopenharmony_ci	* "mediatek,mt6795-systimer" for MT6795 compatible timers (CPUX)
3662306a36Sopenharmony_ci	* "mediatek,mt8365-systimer" for MT8365 compatible timers (CPUX)
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci- reg: Should contain location and length for timer register.
3962306a36Sopenharmony_ci- clocks: Should contain system clock.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciExamples:
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ci	timer@10008000 {
4462306a36Sopenharmony_ci		compatible = "mediatek,mt6577-timer";
4562306a36Sopenharmony_ci		reg = <0x10008000 0x80>;
4662306a36Sopenharmony_ci		interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_LOW>;
4762306a36Sopenharmony_ci		clocks = <&system_clk>;
4862306a36Sopenharmony_ci	};
49