summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@kontron.de>2019-11-04 11:54:13 +0000
committerShawn Guo <shawnguo@kernel.org>2019-11-04 22:34:05 +0800
commit36f42bb4d7f90cea20bfb56dd7ab2aa8d0929ca7 (patch)
tree1772560119e044d8a4b58b094a6c35544cec70df
parent2e426b2bdc69721723016f1067a77bb66ab90a27 (diff)
downloadlwn-36f42bb4d7f90cea20bfb56dd7ab2aa8d0929ca7.tar.gz
lwn-36f42bb4d7f90cea20bfb56dd7ab2aa8d0929ca7.zip
ARM: dts: imx6ul-kontron-n6x1x: Add 'chosen' node with 'stdout-path'
The Kontron N6x1x SoMs all use uart4 as a debug serial interface. Therefore we set it in the 'chosen' node. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi
index a843e028bcde..a17af4d9bfdf 100644
--- a/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi
+++ b/arch/arm/boot/dts/imx6ul-kontron-n6x1x-som-common.dtsi
@@ -7,6 +7,12 @@
#include <dt-bindings/gpio/gpio.h>
+/ {
+ chosen {
+ stdout-path = &uart4;
+ };
+};
+
&ecspi2 {
cs-gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";