Commit 69e29bd1 authored by Jon Hunter's avatar Jon Hunter Committed by Thierry Reding

arm64: tegra: Add stdout-path for various boards

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: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 2c9b050b
...@@ -10,9 +10,12 @@ / { ...@@ -10,9 +10,12 @@ / {
aliases { aliases {
rtc0 = "/i2c@7000d000/as3722@40"; rtc0 = "/i2c@7000d000/as3722@40";
rtc1 = "/rtc@7000e000"; rtc1 = "/rtc@7000e000";
serial0 = &uarta;
}; };
chosen { }; chosen {
stdout-path = "serial0:115200n8";
};
memory { memory {
device_type = "memory"; device_type = "memory";
......
...@@ -9,6 +9,10 @@ aliases { ...@@ -9,6 +9,10 @@ aliases {
serial0 = &uarta; serial0 = &uarta;
}; };
chosen {
stdout-path = "serial0:115200n8";
};
memory { memory {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x80000000 0x0 0xc0000000>; reg = <0x0 0x80000000 0x0 0xc0000000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment