linux/arch/mips/generic
Paul Cercueil fc18139c28 mips: ingenic: Enable EXT/2 divider on JZ4750/55/60 if EXT is 24 MHz
The JZ4750, JZ4755 and JZ4760 (non-B version) support using a 24 MHz
external crystal oscillator instead of the typical 12 MHz one.

However, most of the SoC's IP blocks only work with a 12 MHz clock.
Thanksfully, there is a /2 divider we can enable when a 24 MHz external
crystal is present.

Force-enable this /2 divider when the oscillator is 24 MHz, so that the
SoC always uses a 12 MHz clock internally.

It is done here, and not in the clocks driver, because we need the EXT
clock to be 12 MHz for the early console to work, and the clocks driver
probes way too late.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2023-06-09 09:54:17 +02:00
..
board-boston.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-ingenic.c mips: ingenic: Enable EXT/2 divider on JZ4750/55/60 if EXT is 24 MHz 2023-06-09 09:54:17 +02:00
board-jaguar2.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-luton.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-marduk.its.S MIPS: generic: Allow generating FIT image for Marduk board 2021-08-12 16:01:49 +02:00
board-ni169445.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-ocelot.c MIPS: generic: Return true/false (not 1/0) from bool functions 2021-08-12 16:04:17 +02:00
board-ocelot.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-ranchu.c arch: mips: generic: Add missing of_node_put() in board-ranchu.c 2022-06-21 17:04:30 +02:00
board-sead3.c
board-serval.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
board-xilfpga.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
init.c MIPS: generic: enable SMP on SMVP systems 2021-12-21 13:51:47 +01:00
irq.c
Kconfig MIPS: generic: Allow generating FIT image for Marduk board 2021-08-12 16:01:49 +02:00
Makefile MIPS: generic: Add support for Ingenic SoCs 2020-09-18 16:33:59 +02:00
Platform MIPS: new Kconfig option ZBOOT_LOAD_ADDRESS 2022-01-02 14:17:30 +01:00
proc.c MIPS: generic: Allow boards to set system type 2020-09-18 16:28:56 +02:00
vmlinux.its.S MIPS: generic: Update node names to avoid unit addresses 2021-04-12 16:48:35 +02:00
yamon-dt.c MIPS: generic/yamon-dt: fix uninitialized variable error 2021-11-16 09:27:01 +01:00