CycloneV: Programming FPGA from U-Boot

A bit late, but I was struggling with latest u-Boot and de1-soc. Same as posted here, nothing appear on UART.

Found out that the u-Boot de1-soc .dts is missing a critical line.

File: arch/arm/dts/socfpga_cyclone5_de1_soc.dts

Modify

&uart0 {
	u-boot,dm-pre-reloc;
};

for

&uart0 {
	clock-frequency = <100000000>;
	u-boot,dm-pre-reloc;
};

Then it worked.