arm: socfpga: fix device trees to work with DM serial
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 13 Aug 2018 19:34:33 +0000 (21:34 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 13 Aug 2018 20:35:06 +0000 (22:35 +0200)
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>
arch/arm/dts/socfpga_arria5_socdk.dts
arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts
arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
arch/arm/dts/socfpga_cyclone5_de10_nano.dts
arch/arm/dts/socfpga_cyclone5_de1_soc.dts
arch/arm/dts/socfpga_cyclone5_is1.dts
arch/arm/dts/socfpga_cyclone5_socdk.dts
arch/arm/dts/socfpga_cyclone5_sockit.dts
arch/arm/dts/socfpga_cyclone5_socrates.dts
arch/arm/dts/socfpga_cyclone5_sr1500.dts
arch/arm/dts/socfpga_cyclone5_vining_fpga.dts

index 449ba9cbb964a90ce60f0613198ac6a09032dbfb..6f4de2f5636f4fce98b7b3fe83566bff55a2a0a8 100644 (file)
@@ -11,6 +11,7 @@
 
        chosen {
                bootargs = "console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {
                cdns,tslch-ns = <4>;
        };
 };
+
+&uart0 {
+       u-boot,dm-pre-reloc;
+};
index aeb327dd5b19d3912dba042a2bbe9cacc3adffbe..139a70f265a69cb63d0c4a3d943d66b01bff2ffc 100644 (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;
+};
index f4a98e4bb0a8c38e422885d90600bc3a6d6908eb..d504150edde926aa000b3681228e7be0632964a2 100644 (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;
+};
index 7da2d8b0436a977dce3357af6f21621422957688..d4dd9e9bca976ede37481f980d5b877a92be7fb0 100644 (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;
+};
index e6fadb4fc92bc0e693aee7e2a900af7f82f956a7..f62292284d4c44e1e3cacfafe37062d30854a106 100644 (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;
+};
index aa1ce2c3e2e6e2062d73b34099bfe4397b70e249..4e94d861140ed50d54f111ed5324be461563576a 100644 (file)
@@ -11,6 +11,7 @@
 
        chosen {
                bootargs = "console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {
 &usb1 {
        status = "okay";
 };
+
+&uart0 {
+       u-boot,dm-pre-reloc;
+};
index 55c70abb02e10f5e07a7f153b36d625792f35fc3..c28be67bb967154c6b8fef05a7dad0f460f671a8 100644 (file)
@@ -11,6 +11,7 @@
 
        chosen {
                bootargs = "console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {
 &usb1 {
        status = "okay";
 };
+
+&uart0 {
+       u-boot,dm-pre-reloc;
+};
index 08d8356d80ac505558ac134767a24a4b4774d7fa..c7a6cf2db8902bd1e18c88badb2b1774808ab413 100644 (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;
+};
index 0d452ae300a8c4e91e23b30b495f741765b79c67..8cde9906a073e5a51fa455bfc8fc9bb23fc0bb8c 100644 (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;
+};
index 341df7a3e7065d8ca464785d74c4e75f6443b46e..86c61fe081909bc5782026814eaa9c6edf71924b 100644 (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 {
index 7a032af3a4b6c619453713befb5db066cc71ab1f..85ab56379ff698547edd6a72fe10fa653cfbb701 100644 (file)
@@ -11,6 +11,7 @@
 
        chosen {
                bootargs = "console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
        };
 
        aliases {
 &usb1 {
        status = "okay";
 };
+
+&uart0 {
+       u-boot,dm-pre-reloc;
+};