Fix clocks on Mikrotik Basebox5 and QRT (#1462)

This commit is contained in:
Tim Wilkinson 2024-09-05 12:29:20 -07:00 committed by GitHub
parent b31696405c
commit 319b0f2153
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 2 deletions

View File

@ -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 @@