From 319b0f2153bd5c855a4b9cdd29ce2aa90741f67f Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Thu, 5 Sep 2024 12:29:20 -0700 Subject: [PATCH] Fix clocks on Mikrotik Basebox5 and QRT (#1462) --- patches/747-mikrotik-extra-support.patch | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/patches/747-mikrotik-extra-support.patch b/patches/747-mikrotik-extra-support.patch index a22fab5f..7a9d121b 100644 --- a/patches/747-mikrotik-extra-support.patch +++ b/patches/747-mikrotik-extra-support.patch @@ -669,7 +669,7 @@ --- /dev/null +++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-5hpnd.dts -@@ -0,0 +1,8 @@ +@@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include "ar9342_mikrotik_routerboard-912uag-2hpnd.dts" @@ -678,9 +678,13 @@ + compatible = "mikrotik,routerboard-912uag-5hpnd", "qca,ar9342"; + model = "MikroTik RouterBOARD 912UAG-5HPnD"; +}; ++ ++&ref { ++ clock-frequency = <25000000>; ++}; --- /dev/null +++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-911g-5hpnd-qrt.dts -@@ -0,0 +1,8 @@ +@@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only + +#include "ar9342_mikrotik_routerboard-912uag-5hpnd.dts" @@ -689,6 +693,10 @@ + compatible = "mikrotik,routerboard-911g-5hpnd-qrt", "qca,ar9342"; + model = "MikroTik RouterBOARD 911G-5HPnD-QRT"; +}; ++ ++&ref { ++ clock-frequency = <25000000>; ++}; --- a/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network +++ b/target/linux/ath79/mikrotik/base-files/etc/board.d/02_network @@ -14,8 +14,10 @@