aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorWeijie Gao2021-01-12 13:44:11 +0800
committerTom Rini2021-01-18 15:23:06 -0500
commitac7a51c0e48f2aa81ae20caf8d6b9fad976675cd (patch)
tree912603265aac7ae1fb843c02986dbbb0835b7060 /arch/arm
parent63779b240711cb1a0761bbceb323f5e9558394cc (diff)
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 <weijie.gao@mediatek.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/mt7622.dtsi8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/dts/mt7622.dtsi b/arch/arm/dts/mt7622.dtsi
index d8885458091..5c2e0251ded 100644
--- a/arch/arm/dts/mt7622.dtsi
+++ b/arch/arm/dts/mt7622.dtsi
@@ -71,16 +71,10 @@
compatible = "mediatek,timer";
reg = <0x10004000 0x80>;
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_LOW>;
- 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";