From 7a3d5959afe8176d40b5e29feff227bfacfd6f80 Mon Sep 17 00:00:00 2001 From: Pavel Kamaev Date: Sun, 16 Oct 2022 21:27:47 +0300 Subject: [PATCH] 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 (cherry picked from commit a716ac55649707e8279de6f2ea66c7f6060c982c) --- .../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 { -- 2.30.2