From: Rosen Penev Date: Wed, 10 Jan 2018 02:50:44 +0000 (-0800) Subject: ramips: fix cpuclock for the GB-PC1 X-Git-Tag: v18.06.0-rc1~1329 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=7059ab48a6d5858a46de9e21c3e15ee2b7a2c26f 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 --- 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"; };