aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
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 /target/linux/ramips
parent3c94691620b21ade34696ece133bdddd475c3582 (diff)
downloadupstream-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.tar.gz
upstream-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.tar.bz2
upstream-7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f.zip
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>
Diffstat (limited to 'target/linux/ramips')
-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 df7caa9100..664dfa1efd 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";
};