]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx: Add missing chosen/stdout-path
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 25 Jun 2018 20:09:32 +0000 (23:09 +0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 1 Jul 2018 09:46:03 +0000 (17:46 +0800)
This makes it possible to enable earlycon for debugging by just passing
an empty "earlycon" argument on the kernel command-line.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
arch/arm/boot/dts/imx6sl-evk.dts
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx7d-sdb.dts

index a59a0fd1eb02241e8e1613edf8067cca5f5168d8..9f11f1fcc3e6caac35c38c5b81038b3a1a152078 100644 (file)
@@ -6,6 +6,10 @@
 #include <dt-bindings/gpio/gpio.h>
 
 / {
+       chosen {
+               stdout-path = &uart4;
+       };
+
        memory@10000000 {
                reg = <0x10000000 0x80000000>;
        };
index 92ad01f676e345f4f7e97f602026c50135c97039..50bdc65670a3516ab32a8588e1e639a77ecd7ae5 100644 (file)
@@ -12,6 +12,10 @@ / {
        model = "Freescale i.MX6 SoloLite EVK Board";
        compatible = "fsl,imx6sl-evk", "fsl,imx6sl";
 
+       chosen {
+               stdout-path = &uart1;
+       };
+
        memory@80000000 {
                reg = <0x80000000 0x40000000>;
        };
index 4684ac4a816be0f5997b62a0f5e38a32ab91411e..25438ea0309297ef1cc5874571814d05b314a713 100644 (file)
@@ -15,6 +15,10 @@ / {
        model = "Freescale i.MX6SLL EVK Board";
        compatible = "fsl,imx6sll-evk", "fsl,imx6sll";
 
+       chosen {
+               stdout-path = &uart1;
+       };
+
        memory@80000000 {
                reg = <0x80000000 0x80000000>;
        };
index 8d137acb9f07cf8e9a5b1764ff23906ddeee7ae2..c9b3c60b0eb22fe3ac4f8ab05f1a17209e96ee5d 100644 (file)
@@ -10,6 +10,10 @@ / {
        model = "Freescale i.MX7 SabreSD Board";
        compatible = "fsl,imx7d-sdb", "fsl,imx7d";
 
+       chosen {
+               stdout-path = &uart1;
+       };
+
        memory@80000000 {
                reg = <0x80000000 0x80000000>;
        };