mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
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>
This commit is contained in:
parent
63779b2407
commit
ac7a51c0e4
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user