| .. | .. |
|---|
| 1 | | -Mediatek Timers |
|---|
| 1 | +MediaTek Timers |
|---|
| 2 | 2 | --------------- |
|---|
| 3 | 3 | |
|---|
| 4 | | -Mediatek SoCs have two different timers on different platforms, |
|---|
| 4 | +MediaTek SoCs have two different timers on different platforms, |
|---|
| 5 | 5 | - GPT (General Purpose Timer) |
|---|
| 6 | 6 | - SYST (System Timer) |
|---|
| 7 | 7 | |
|---|
| .. | .. |
|---|
| 9 | 9 | |
|---|
| 10 | 10 | Required properties: |
|---|
| 11 | 11 | - compatible should contain: |
|---|
| 12 | + For those SoCs that use GPT |
|---|
| 12 | 13 | * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT) |
|---|
| 13 | 14 | * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT) |
|---|
| 14 | 15 | * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT) |
|---|
| .. | .. |
|---|
| 16 | 17 | * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT) |
|---|
| 17 | 18 | * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT) |
|---|
| 18 | 19 | * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT) |
|---|
| 20 | + * "mediatek,mt8516-timer" for MT8516 compatible timers (GPT) |
|---|
| 19 | 21 | * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT) |
|---|
| 20 | | - * "mediatek,mt6765-timer" for MT6765 compatible timers (SYST) |
|---|
| 22 | + |
|---|
| 23 | + For those SoCs that use SYST |
|---|
| 24 | + * "mediatek,mt8183-timer" for MT8183 compatible timers (SYST) |
|---|
| 25 | + * "mediatek,mt8192-timer" for MT8192 compatible timers (SYST) |
|---|
| 26 | + * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST) |
|---|
| 27 | + * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST) |
|---|
| 28 | + |
|---|
| 21 | 29 | - reg: Should contain location and length for timer register. |
|---|
| 22 | 30 | - clocks: Should contain system clock. |
|---|
| 23 | 31 | |
|---|