riscv: starfive: jh7110: move uart0 clock frequency to config header
authorE Shattow <e@freeshell.de>
Sat, 3 May 2025 11:52:52 +0000 (04:52 -0700)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 21 May 2025 08:49:35 +0000 (16:49 +0800)
commit97833f4cf6f681a341e76771bbf42bc8f8611d82
treea557f6ea06500ac5fe9f428da3edd06129dfa045
parentfa317411ba564055d892e2b909112ca825449a42
riscv: starfive: jh7110: move uart0 clock frequency to config header

Move unnecessary clock frequency assignment out of device-tree and into the
board config header so that the ns16550 serial driver can successfully init
during SPL after failing to resolve the parent clock from upstream dts. The
serial driver will then resolve clock frequency from device-tree node parent
clock at init during Main app as it is expected by upstream.

Signed-off-by: E Shattow <e@freeshell.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/dts/jh7110-common-u-boot.dtsi
include/configs/starfive-visionfive2.h