Skip to content

Commit

Permalink
arm64: tegra: Add stdout-path for various boards
Browse files Browse the repository at this point in the history
For Tegra boards, the device-tree alias serial0 is used for the console
and so add the stdout-path information so that the console no longer
needs to be passed via the kernel boot parameters.

For tegra132-norrin the alias serial0 is not defined and so add this.

This has been tested on tegra132-norrin and tegra210-p2371-0000.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Jon Hunter authored and Thierry Reding committed Apr 11, 2016
1 parent 2c9b050 commit 69e29bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
aliases {
rtc0 = "/i2c@7000d000/as3722@40";
rtc1 = "/rtc@7000e000";
serial0 = &uarta;
};

chosen { };
chosen {
stdout-path = "serial0:115200n8";
};

memory {
device_type = "memory";
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
serial0 = &uarta;
};

chosen {
stdout-path = "serial0:115200n8";
};

memory {
device_type = "memory";
reg = <0x0 0x80000000 0x0 0xc0000000>;
Expand Down

0 comments on commit 69e29bd

Please sign in to comment.