ramips: fix cpu clock of mt7621 and add dt clk devices
authorWeijie Gao <hackpascal@gmail.com>
Sun, 18 Nov 2018 17:14:53 +0000 (01:14 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:13:52 +0000 (12:13 +0100)
commitc7ca224299e77f5d822dd154b99fe9aeefc550be
treedb43a6a8815e505967b6d408888e2d987402356c
parentf5af8be636c94c933674c6a914ae8a752100a8be
ramips: fix cpu clock of mt7621 and add dt clk devices

For a long time the mt7621 uses a fixed cpu clock which causes a problem
if the cpu frequency is not 880MHz.

This patch fixes the cpu clock calculation and adds the cpu/bus clkdev
which will be used in dts.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/patches-4.14/101-mt7621-timer.patch
target/linux/ramips/patches-4.14/102-mt7621-fix-cpu-clk-add-clkdev.patch [new file with mode: 0644]