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>
Sat, 22 Oct 2022 23:45:52 +0000 (01:45 +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>
target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts

index 6435393a736c060b08e87801a49f8cfda2376e9f..28a88db5df956389b3eeb519e3f5c58bbaf17b19 100644 (file)
 };
 
 &ref {
-       clock-frequency = <25000000>;
+       clock-frequency = <40000000>;
 };
 
 &spi {