diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2016-02-09 16:52:00 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2016-04-11 16:39:26 +0300 |
commit | 69e29bd1a5564d1cc43cd254ecdd1fbf6bcb8de2 (patch) | |
tree | 28e04e299498ed06f78299549d4f35acbb5afb41 /arch/arm64/boot/dts/nvidia | |
parent | 2c9b050b6c60f3b20303d383eb860b8909ab961e (diff) | |
download | linux-69e29bd1a5564d1cc43cd254ecdd1fbf6bcb8de2.tar.xz |
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: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm64/boot/dts/nvidia')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 5 | ||||
-rw-r--r-- | arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts index 01a2fc2a6abf..759af96a6b49 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts @@ -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"; diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi index a8e4b7311071..0ec92578cacb 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi @@ -9,6 +9,10 @@ serial0 = &uarta; }; + chosen { + stdout-path = "serial0:115200n8"; + }; + memory { device_type = "memory"; reg = <0x0 0x80000000 0x0 0xc0000000>; |