]> git.baikalelectronics.ru Git - uboot.git/commitdiff
socfpga: fix the serial console on DE1-SoC
authorJade Lovelace <lists@jade.fyi>
Sat, 11 Feb 2023 01:15:26 +0000 (17:15 -0800)
committerTom Rini <trini@konsulko.com>
Sun, 12 Feb 2023 20:47:19 +0000 (15:47 -0500)
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 <lists@jade.fyi>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/dts/socfpga_cyclone5_de1_soc.dts

index ff1e61e0cbe9ed87b1231137deb6595af987ea36..b71496bfb52eb6e01919b4940d2819dd92ecec36 100644 (file)
@@ -75,6 +75,7 @@
 };
 
 &uart0 {
+       clock-frequency = <100000000>;
        u-boot,dm-pre-reloc;
 };