arm-trusted-firmware/plat/arm/board/arm_fpga
Andre Przywara 422b44fb56 feat(arm_fpga): write UART baud base clock frequency into DTB
Since we now autodetect the actual system frequency, which is also used
as the base for the UART baudrate generation, we should update the value
currently hard-coded in the DT. Otherwise Linux will reprogram the
divider using a potentially wrong base rate, which breaks the UART
output.

Find the DT node referenced by the UART node as the clock rate, and set
the "clock-frequency" property in that node to the detected system
frequency. This will let Linux reprogram the divider to the same value,
preserving the actual baudrate.

Change-Id: Ib5a936849f2198577b86509f032751d5386ed2f8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-11-04 15:58:34 +00:00
..
aarch64 arm_fpga: Add support for topology self-discovery 2020-07-24 15:06:42 +01:00
include fix(arm_fpga): limit BL31 memory usage 2021-09-03 14:14:02 +01:00
build_axf.ld.S fix(arm_fpga): avoid re-linking from executable ELF file 2021-11-04 15:58:34 +00:00
fpga_bl31_setup.c feat(arm_fpga): write UART baud base clock frequency into DTB 2021-11-04 15:58:34 +00:00
fpga_console.c arm_fpga: Read UART address from DT 2020-05-05 15:36:51 +01:00
fpga_def.h arm_fpga: Add support for topology self-discovery 2020-07-24 15:06:42 +01:00
fpga_gicv3.c feat(arm_fpga): add ITS autodetection 2021-11-04 15:58:34 +00:00
fpga_pm.c Fix coverity defects found on the FPGA port. 2020-04-02 14:11:12 +01:00
fpga_private.h feat(arm_fpga): add ITS autodetection 2021-11-04 15:58:34 +00:00
fpga_topology.c arm_fpga: Add support for topology self-discovery 2020-07-24 15:06:42 +01:00
kernel_trampoline.S feat(arm_fpga): add kernel trampoline 2021-10-04 13:26:58 +02:00
platform.mk build(fdt-wrappers): introduce FDT wrappers makefile 2021-10-26 12:14:28 +01:00
rom_trampoline.S arm_fpga: Add ROM trampoline 2020-09-29 13:28:25 +01:00