From: Jade Lovelace Date: Sat, 11 Feb 2023 01:15:26 +0000 (-0800) Subject: socfpga: fix the serial console on DE1-SoC X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=a5e490f14e904fd240ccec5d364509b36a3150f9;p=u-boot.git socfpga: fix the serial console on DE1-SoC Previously, the TX LED would flash but nothing would appear on the serial port, and the board would appear dead with a build of the socfpga_cyclone5_defconfig. I have verified that adding the frequency to the uart will fix the serial console on my board. Thanks to @ehoffman on the Rocketboards forum: https://forum.rocketboards.org/t/cyclonev-programming-fpga-from-u-boot/2230/30 Signed-off-by: Jade Lovelace Reviewed-by: Marek Vasut --- diff --git a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts index ff1e61e0cb..b71496bfb5 100644 --- a/arch/arm/dts/socfpga_cyclone5_de1_soc.dts +++ b/arch/arm/dts/socfpga_cyclone5_de1_soc.dts @@ -75,6 +75,7 @@ }; &uart0 { + clock-frequency = <100000000>; u-boot,dm-pre-reloc; };