[PATCH v1 1/2] dt-bindings: mediatek: update bindings for MT8183 systimer
This commit adds mt8183 compatible node in mtk-timer binding document. Signed-off-by: Dehui Sun --- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt index 74c3ead..0d25648 100644 --- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt @@ -21,6 +21,7 @@ Required properties: * "mediatek,mt6577-timer" for MT6577 and all above compatible timers (GPT) For those SoCs that use SYST + * "mediatek,mt8183-timer" for MT8183 compatible timers (SYST) * "mediatek,mt7629-timer" for MT7629 compatible timers (SYST) * "mediatek,mt6765-timer" for MT6765 and all above compatible timers (SYST) -- 2.1.0
[PATCH v1 0/2] add systimer node for MT8183 SoC
This series are based on 5.2-rc1 and add systimer node for MT8183, and this timer will serve as a wakeup-up source for cpu-idle feature. Dehui Sun (2): dt-bindings: mediatek: update bindings for MT8183 systimer arm64: dts: mt8183: add systimer0 device node Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + arch/arm64/boot/dts/mediatek/mt8183.dtsi | 9 + 2 files changed, 10 insertions(+) -- 2.1.0
[PATCH v1 2/2] arm64: dts: mt8183: add systimer0 device node
Add systimer0 device node for MT8183. Signed-off-by: Dehui Sun --- This patch is based on the following patches: https://patchwork.kernel.org/cover/10962385/ https://patchwork.kernel.org/patch/10983939/ --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index c2749c4..ac3f87d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -254,6 +254,15 @@ clock-names = "spi", "wrap"; }; + systimer: systimer@10017000 { + compatible = "mediatek,mt8183-timer", +"mediatek,mt6765-timer"; + reg = <0 0x10017000 0 0x1000>; + interrupts = ; + clocks = <&topckgen CLK_TOP_CLK13M>; + clock-names = "clk13m"; + }; + auxadc: auxadc@11001000 { compatible = "mediatek,mt8183-auxadc", "mediatek,mt8173-auxadc"; -- 2.1.0