realtek: use fixed-clock as CPU clock patch/realtek-cpu-clock-dts
authorSander Vanheule <sander@svanheule.net>
Fri, 26 Nov 2021 21:54:04 +0000 (22:54 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 7 Jun 2022 19:03:55 +0000 (21:03 +0200)
commit37eb89c64d255e94fdfb91392353eaabf727c632
tree47e364422c7b65b769495b169a1e194b661f6498
parentf5a87a0a7b8d5aa83435868eb324601df6c4f4dc
realtek: use fixed-clock as CPU clock

CPU clock definition in devicetree should be specified per CPU, not in
the cpus node.

The implementation of plat_init_time() needs to be modified to look for
the clock frequency in the changed location. To achieve this, the
relevant code is copied from the generic MIPS implementation in
arch/mips/generic/init.c.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.10/rtl838x.dtsi
target/linux/realtek/dts-5.10/rtl930x.dtsi
target/linux/realtek/dts-5.10/rtl931x.dtsi
target/linux/realtek/files-5.10/arch/mips/rtl838x/setup.c