Skip to content

Commit

Permalink
ARM: dts: socfpga: use stdout-path for chosen node
Browse files Browse the repository at this point in the history
Use stdout-path dts property for kernel console.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
  • Loading branch information
Dinh Nguyen committed Jul 20, 2015
1 parent 2211a65 commit efc1985
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/socfpga_arria10.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
#address-cells = <1>;
#size-cells = <1>;

aliases {
serial0 = &uart0;
serial1 = &uart1;
};

cpus {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
compatible = "altr,socfpga-arria10", "altr,socfpga";

chosen {
bootargs = "console=ttyS0,115200 rootwait";
bootargs = "earlyprintk";
stdout-path = "serial1:115200n8";
};

memory {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/socfpga_arria5_socdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
compatible = "altr,socfpga-arria5", "altr,socfpga";

chosen {
bootargs = "console=ttyS0,115200";
bootargs = "earlyprintk";
stdout-path = "serial0:115200n8";
};

memory {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
compatible = "altr,socfpga-cyclone5", "altr,socfpga";

chosen {
bootargs = "console=ttyS0,115200";
bootargs = "earlyprintk";
stdout-path = "serial0:115200n8";
};

memory {
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
compatible = "altr,socfpga-cyclone5", "altr,socfpga";

chosen {
bootargs = "console=ttyS0,115200";
bootargs = "earlyprintk";
stdout-path = "serial0:115200n8";
};

memory {
Expand Down

0 comments on commit efc1985

Please sign in to comment.