summaryrefslogtreecommitdiff
path: root/arch/arm/dts/socfpga_cyclone5_is1.dts
diff options
context:
space:
mode:
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>2018-08-13 21:34:33 +0200
committerMarek Vasut <marex@denx.de>2018-08-13 22:35:06 +0200
commit79a436d56848c4213c1452ca60211568b0c8b31a (patch)
tree480c12e18d58c9b6fd64c310227ced8650044564 /arch/arm/dts/socfpga_cyclone5_is1.dts
parentc0b4fc1a1bb20cccba48e9b58c974102389ad2d0 (diff)
arm: socfpga: fix device trees to work with DM serial
Device trees need to have the serial console device available before relocation and require a stdout-path in chosen at least for SPL to have a console. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_is1.dts')
-rw-r--r--arch/arm/dts/socfpga_cyclone5_is1.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_is1.dts b/arch/arm/dts/socfpga_cyclone5_is1.dts
index aa1ce2c3e2..4e94d86114 100644
--- a/arch/arm/dts/socfpga_cyclone5_is1.dts
+++ b/arch/arm/dts/socfpga_cyclone5_is1.dts
@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
+ stdout-path = "serial0:115200n8";
};
memory {
@@ -102,3 +103,7 @@
&usb1 {
status = "okay";
};
+
+&uart0 {
+ u-boot,dm-pre-reloc;
+};