]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: socfpga: use stdout-path for chosen node
authorDinh Nguyen <dinguyen@opensource.altera.com>
Tue, 14 Jul 2015 22:19:02 +0000 (17:19 -0500)
committerDinh Nguyen <dinguyen@opensource.altera.com>
Mon, 20 Jul 2015 15:07:50 +0000 (10:07 -0500)
Use stdout-path dts property for kernel console.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
arch/arm/boot/dts/socfpga_arria10.dtsi
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
arch/arm/boot/dts/socfpga_arria5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts

index 4779b07310df81aaad4f3e87d12b1a269ef65f79..a25290505aa32b8e46d74181c0a2ac1cb9289f5f 100644 (file)
@@ -21,6 +21,11 @@ / {
        #address-cells = <1>;
        #size-cells = <1>;
 
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
index 94a0709b2fe668844d3cffdb860c28169ff693eb..99aa9a1c8af0b6950fbd999e432ace134c7b285d 100644 (file)
@@ -21,7 +21,8 @@ / {
        compatible = "altr,socfpga-arria10", "altr,socfpga";
 
        chosen {
-               bootargs = "console=ttyS0,115200 rootwait";
+               bootargs = "earlyprintk";
+               stdout-path = "serial1:115200n8";
        };
 
        memory {
index ccaf41742fc3d05921ee80d67ba00304010a666b..a75a666032b2fca76997546ffedc7c7cd7962e12 100644 (file)
@@ -22,7 +22,8 @@ / {
        compatible = "altr,socfpga-arria5", "altr,socfpga";
 
        chosen {
-               bootargs = "console=ttyS0,115200";
+               bootargs = "earlyprintk";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {
index 258865da8f6a6fe45a0fc9ae6c0281ef2f0c4824..d4d0a28fb331a76caf611e3335e2b70ba984d549 100644 (file)
@@ -22,7 +22,8 @@ / {
        compatible = "altr,socfpga-cyclone5", "altr,socfpga";
 
        chosen {
-               bootargs = "console=ttyS0,115200";
+               bootargs = "earlyprintk";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {
index 71468a7eb28f146b3c96c06b955ebb3444a8d033..42d60923d52bbcf3f4e80e8be3f3af5cc3c20501 100644 (file)
@@ -22,7 +22,8 @@ / {
        compatible = "altr,socfpga-cyclone5", "altr,socfpga";
 
        chosen {
-               bootargs = "console=ttyS0,115200";
+               bootargs = "earlyprintk";
+               stdout-path = "serial0:115200n8";
        };
 
        memory {