ath79: mikrotik: fix reference clock of Routerboard 911G
When support for Routerboard 911G was introduced, Routerboad 912UAG device tree was used as a base, and the common part. This led to use of 40MHz as the reference clock frequency for both [1], while RB911G uses 25MHz crystal on the board, causing heavy system clock drift. Split the definition, and set the reference clock frequency for RB911G back to 25MHz. [1]a716ac5564
("ath79: fix reference clock for RouterBoard 912UAG") Fixes:bcc44b1212
("ath79: support for MikroTik RouterBOARD 911G-(2,5)HPnD") Signed-off-by: Lech Perczak <lech.perczak@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17944 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
16924e55f0
commit
40fc6bd5cc
3 changed files with 8 additions and 4 deletions
|
@ -9,3 +9,7 @@
|
||||||
compatible = "mikrotik,routerboard-911g-xhpnd", "qca,ar9342";
|
compatible = "mikrotik,routerboard-911g-xhpnd", "qca,ar9342";
|
||||||
model = "MikroTik RouterBOARD 911G-(2,5)HPnD";
|
model = "MikroTik RouterBOARD 911G-(2,5)HPnD";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ref {
|
||||||
|
clock-frequency = <25000000>;
|
||||||
|
};
|
||||||
|
|
|
@ -146,10 +146,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&ref {
|
|
||||||
clock-frequency = <40000000>;
|
|
||||||
};
|
|
||||||
|
|
||||||
&spi {
|
&spi {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
model = "MikroTik RouterBOARD 912UAG-(2,5)HPnD";
|
model = "MikroTik RouterBOARD 912UAG-(2,5)HPnD";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&ref {
|
||||||
|
clock-frequency = <40000000>;
|
||||||
|
};
|
||||||
|
|
||||||
&pcie {
|
&pcie {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue