ath79: fix reference clock for RouterBoard 912UAG
authorPavel Kamaev <pavel@kamaev.me>
Sun, 16 Oct 2022 18:27:47 +0000 (21:27 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 Oct 2022 12:21:03 +0000 (14:21 +0200)
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@kamaev.me>
(cherry picked from commit a716ac55649707e8279de6f2ea66c7f6060c982c)

target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts

index b7ab1cacdb5207bdcd2343ce8c4b49bfc592b4c0..809f090aca493dc0db9d3e970a3b67d870632920 100644 (file)
 };
 
 &ref {
-       clock-frequency = <25000000>;
+       clock-frequency = <40000000>;
 };
 
 &spi {