[openwrt/openwrt] ath79: fix reference clock for RouterBoard 912UAG

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 22 16:59:01 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a716ac55649707e8279de6f2ea66c7f6060c982c

commit a716ac55649707e8279de6f2ea66c7f6060c982c
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>
---
 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 6435393a73..28a88db5df 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