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>
This commit is contained in:
Simon Goldschmidt
2018-08-13 21:34:33 +02:00
committed by Marek Vasut
parent c0b4fc1a1b
commit 79a436d568
11 changed files with 52 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
memory {
@@ -99,3 +100,7 @@
cdns,tslch-ns = <4>;
};
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -56,3 +57,7 @@
disable-over-current;
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -75,3 +76,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -13,6 +13,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -65,3 +66,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -63,3 +64,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -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;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
memory {
@@ -113,3 +114,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -93,3 +94,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -84,3 +85,7 @@
disable-over-current;
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -67,6 +68,7 @@
&uart0 {
status = "okay";
u-boot,dm-pre-reloc;
};
&usb1 {

View File

@@ -11,6 +11,7 @@
chosen {
bootargs = "console=ttyS0,115200";
stdout-path = "serial0:115200n8";
};
aliases {
@@ -108,3 +109,7 @@
&usb1 {
status = "okay";
};
&uart0 {
u-boot,dm-pre-reloc;
};