Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp569916pxv; Thu, 15 Jul 2021 10:26:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXzfw1v98zokEXqaBPdsJxWi3gf614NtNyJRZi3TCfxYUwP4C5zC7a3tSEbSAm6SQFME7N X-Received: by 2002:a92:a004:: with SMTP id e4mr3137883ili.299.1626370004032; Thu, 15 Jul 2021 10:26:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626370004; cv=none; d=google.com; s=arc-20160816; b=Fi39fgErFf7YQzGpsdJmK9Bi6tOU7VWMz5/pDdG163ftR36Hc/Q9dVnhM38ovT1A7T XApOMsTw9aR1r0dEeAThP34Pg08pytloviQIXk23vqSYXKUKEWgXv4x7sR7+f9WpHOjU HlkN/XjGkSet43omnS4jmE9rt5QiOlhpwuFwCCdYll7xJ3c4ty0Uj+kc/F0XEXwomNK2 YwYI3w8Bk5dgtR6Rt59WXWcZu6RZfL4U5qa6nURGhQboQKxSq+1bXLp/5zt+uvIMNp8i EI9CxlV2oaVSsgUniikDaeMA1uVWY0++13Z3KSbyPvfjuh2MkPaU2x0CRL1dKV3lFkIu ZtoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=hr4tsFROjHVaFVS60RhdZUTwvTSlLaN0NJCtdjiV5ig=; b=zmWZZjXMTp0jNWaqs67i4WZIobbddawKebUj82sPpZNWu+5stu/TE7pJtI+REnHwli D68UubZQ+SV/wGtFJ3jr9THd+tkqXjM9CaCqm3FfnDFioFa+/7F/9Q5HWZsFtIR4BiPU 3jBMuqU7uKYkrwfNh7MbAUPdQR7Ddk8laM+9+B8jQT3LG3S56tQub+AIJ3GMuyDvITgD Prw+vXWnRuDbpGIv/t2gQanurevd7p5vAMVoAFh35Ic9EL6n2bGQxpWrU4OxsIslbo5u wuks3VLuWfl/39HxNgdBGattbRVzPlIITA05E7Try1KbQdItExbemnFZXaJ3AFnkG4SN ZMBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p18si7261413ios.10.2021.07.15.10.26.31; Thu, 15 Jul 2021 10:26:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231524AbhGORIl (ORCPT + 99 others); Thu, 15 Jul 2021 13:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbhGORIl (ORCPT ); Thu, 15 Jul 2021 13:08:41 -0400 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B51F7C06175F for ; Thu, 15 Jul 2021 10:05:47 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:bcf3:b2b1:dff6:480b]) by baptiste.telenet-ops.be with bizsmtp id VV5j2500H4sai0K01V5jSP; Thu, 15 Jul 2021 19:05:44 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1m44nv-001QWe-Ee; Thu, 15 Jul 2021 19:05:43 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1m44nu-00BPqa-MB; Thu, 15 Jul 2021 19:05:42 +0200 From: Geert Uytterhoeven To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Atish Patra Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] riscv: dts: microchip: mpfs-icicle: Fix serial console Date: Thu, 15 Jul 2021 19:05:36 +0200 Message-Id: <98082e819007a0f22d7f0f82914b4d84aabdca6d.1626368678.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, nothing is output on the serial console, unless "console=ttyS0,115200n8" or "earlycon" are appended to the kernel command line. Enable automatic console selection using chosen/stdout-path by adding a proper alias, and configure the expected serial rate. While at it, add aliases for the other three serial ports, which are provided on the same micro-USB connector as the first one. Fixes: 0fa6107eca4186ad ("RISC-V: Initial DTS for Microchip ICICLE board") Signed-off-by: Geert Uytterhoeven --- .../boot/dts/microchip/microchip-mpfs-icicle-kit.dts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts index ec79944065c98ef2..d75ea11ed043c1f0 100644 --- a/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts +++ b/arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts @@ -14,8 +14,15 @@ / { model = "Microchip PolarFire-SoC Icicle Kit"; compatible = "microchip,mpfs-icicle-kit"; + aliases { + serial0 = &serial0; + serial1 = &serial1; + serial2 = &serial2; + serial3 = &serial3; + }; + chosen { - stdout-path = &serial0; + stdout-path = "serial0:115200n8"; }; cpus { -- 2.25.1