summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-01-09 18:50:44 -0800
committerMathias Kresin <dev@kresin.me>2018-01-12 08:02:51 +0100
commit7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f (patch)
treec5d802e742d307e143f1e092c2913d11785447b0
parent3c94691620b21ade34696ece133bdddd475c3582 (diff)
downloadmtk-20170518-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.zip
mtk-20170518-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.tar.gz
mtk-20170518-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.tar.bz2
ramips: fix cpuclock for the GB-PC1
The GnuBee PC1 stock bootloader runs at 900Mhz. This fixes bad clock drift when running the platform. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--target/linux/ramips/dts/GB-PC1.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/GB-PC1.dts b/target/linux/ramips/dts/GB-PC1.dts
index df7caa9..664dfa1 100644
--- a/target/linux/ramips/dts/GB-PC1.dts
+++ b/target/linux/ramips/dts/GB-PC1.dts
@@ -102,6 +102,11 @@
};
};
+&cpuclock {
+ compatible = "fixed-clock";
+ clock-frequency = <90000000>;
+};
+
&pcie {
status = "okay";
};