Skip to content

Commit

Permalink
MIPS: CI20: Reduce clocksource to 750 kHz.
Browse files Browse the repository at this point in the history
The original clock (3 MHz) is too fast for the clocksource,
there will be a chance that the system may get stuck.

Reported-by: Nikolaus Schaller <hns@goldelico.com>
Tested-by: Nikolaus Schaller <hns@goldelico.com> # on CI20
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  • Loading branch information
周琰杰 (Zhou Yanjie) authored and Thomas Bogendoerfer committed Jun 30, 2021
1 parent ab3040e commit 23c6444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/boot/dts/ingenic/ci20.dts
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@

&tcu {
/*
* 750 kHz for the system timer and 3 MHz for the clocksource,
* 750 kHz for the system timer and clocksource,
* use channel #0 for the system timer, #1 for the clocksource.
*/
assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
<&tcu TCU_CLK_OST>;
assigned-clock-rates = <750000>, <3000000>, <3000000>;
assigned-clock-rates = <750000>, <750000>, <3000000>;
};

0 comments on commit 23c6444

Please sign in to comment.