Browse Source

ARM: dts: dra7xx: Add stdout-path property

Add stdout-path property in /chosen node so that earlycon can be
used by just adding earlycon in bootargs.

Tested-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Lokesh Vutla 8 years ago
parent
commit
220fbc13c2
2 changed files with 8 additions and 0 deletions
  1. 4 0
      arch/arm/boot/dts/dra7-evm.dts
  2. 4 0
      arch/arm/boot/dts/dra72-evm-common.dtsi

+ 4 - 0
arch/arm/boot/dts/dra7-evm.dts

@@ -21,6 +21,10 @@
 		reg = <0x0 0x80000000 0x0 0x60000000>; /* 1536 MB */
 	};
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	evm_3v3_sd: fixedregulator-sd {
 		compatible = "regulator-fixed";
 		regulator-name = "evm_3v3_sd";

+ 4 - 0
arch/arm/boot/dts/dra72-evm-common.dtsi

@@ -18,6 +18,10 @@
 		display0 = &hdmi0;
 	};
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	evm_12v0: fixedregulator-evm12v0 {
 		/* main supply */
 		compatible = "regulator-fixed";