]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: tegra: Add stdout-path for various boards
authorJon Hunter <jonathanh@nvidia.com>
Tue, 9 Feb 2016 13:52:00 +0000 (13:52 +0000)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Apr 2016 13:39:26 +0000 (15:39 +0200)
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>
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi

index 01a2fc2a6abf97da3754ad035af98788e488459d..759af96a6b49bae9e6e0d2ba55e4863b3d530d19 100644 (file)
        aliases {
                rtc0 = "/i2c@7000d000/as3722@40";
                rtc1 = "/rtc@7000e000";
+               serial0 = &uarta;
        };
 
-       chosen { };
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
 
        memory {
                device_type = "memory";
index a8e4b7311071a17aa0bd6d0621b9b0f195ce21d8..0ec92578cacba54c8f47611af35ba79167f3ed5b 100644 (file)
@@ -9,6 +9,10 @@
                serial0 = &uarta;
        };
 
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        memory {
                device_type = "memory";
                reg = <0x0 0x80000000 0x0 0xc0000000>;