On Tue, Jun 11, 2019 at 07:28:54PM +0800, Dehui Sun wrote:
> Add systimer0 device node for MT8183.
> 
> Signed-off-by: Dehui Sun <[email protected]>
> ---
> 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 {

timer@...

> +                     compatible = "mediatek,mt8183-timer",
> +                                  "mediatek,mt6765-timer";
> +                     reg = <0 0x10017000 0 0x1000>;
> +                     interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
> +                     clocks = <&topckgen CLK_TOP_CLK13M>;
> +                     clock-names = "clk13m";
> +             };
> +
>               auxadc: auxadc@11001000 {
>                       compatible = "mediatek,mt8183-auxadc",
>                                    "mediatek,mt8173-auxadc";
> -- 
> 2.1.0
> 

Reply via email to