From: Pavel Kamaev Date: Sun, 16 Oct 2022 18:27:47 +0000 (+0300) Subject: ath79: fix reference clock for RouterBoard 912UAG X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7a3d5959afe8176d40b5e29feff227bfacfd6f80;p=openwrt%2Fstaging%2Fblocktrron.git 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) --- 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 {