[openwrt/openwrt] ath79: fix reference clock for RouterBoard 912UAG
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 23 05:22:21 PDT 2022
hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/7a3d5959afe8176d40b5e29feff227bfacfd6f80
commit 7a3d5959afe8176d40b5e29feff227bfacfd6f80
Author: Pavel Kamaev <pavel at kamaev.me>
AuthorDate: Sun Oct 16 21:27:47 2022 +0300
ath79: fix reference clock for RouterBoard 912UAG
This fixes reference clock frequency of RB912. 25 MHz frequency leads
to system clock running too fast, uptime incrementing too fast and
delays (like `sleep 10`) returning too early.
Board has quartz with NSK 3KHAA Z 40 000 marking.
Signed-off-by: Pavel Kamaev <pavel at kamaev.me>
(cherry picked from commit a716ac55649707e8279de6f2ea66c7f6060c982c)
---
target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
index b7ab1cacdb..809f090aca 100644
--- a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
+++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
@@ -147,7 +147,7 @@
};
&ref {
- clock-frequency = <25000000>;
+ clock-frequency = <40000000>;
};
&spi {
More information about the lede-commits
mailing list