From: Weijie Gao Date: Tue, 12 Jan 2021 05:44:11 +0000 (+0800) Subject: dts: mt7622: use accurate clock source fot mtk_timer X-Git-Tag: baikal/mips/sdk5.9~34^2^2~238^2 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=21f1a3382a5c20ad6a42285a5f2aba6a70c142d4;p=uboot.git dts: mt7622: use accurate clock source fot mtk_timer The input system clock for mt7622 timer is 10MHz and can be retrieved through the clk driver. Signed-off-by: Weijie Gao --- diff --git a/arch/arm/dts/mt7622.dtsi b/arch/arm/dts/mt7622.dtsi index d888545809..5c2e0251de 100644 --- a/arch/arm/dts/mt7622.dtsi +++ b/arch/arm/dts/mt7622.dtsi @@ -71,16 +71,10 @@ compatible = "mediatek,timer"; reg = <0x10004000 0x80>; interrupts = ; - clocks = <&system_clk>; + clocks = <&infracfg CLK_INFRA_APXGPT_PD>; clock-names = "system-clk"; }; - system_clk: dummy13m { - compatible = "fixed-clock"; - clock-frequency = <13000000>; - #clock-cells = <0>; - }; - infracfg: infracfg@10000000 { compatible = "mediatek,mt7622-infracfg", "syscon";