Received: by 10.213.65.68 with SMTP id h4csp1146235imn; Sun, 18 Mar 2018 16:50:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELvu3GCw7GLPwbuI9i7qTusLLz/D0l3lSQo3PBMA9DBLGDpALeEHSi1MkJrvRbcZtneghf3O X-Received: by 2002:a17:902:7082:: with SMTP id z2-v6mr10119055plk.130.1521417054459; Sun, 18 Mar 2018 16:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521417054; cv=none; d=google.com; s=arc-20160816; b=sNq/ZMbS00hNELgmER6nytBMjg57wb/Er8rj5D5ByLuCxCMZzuL5GLZoqdi+BED3/G vMr3l3TFgk3COpqkvtucQysocMDqdh9KhRGLVGON4ekQxAR+ZE0xefBMX8JnpFkcldfY P8IT8IpjrOv+yAYsL+OkIVyGxBOUvS+J6SJLhH4okAhQz/B6Kq4w1/c9032/bBDRbbyN ynD01Z9H6LnM3zdJxe5xBeLKMxqIuo9heoSO6xc/QPMeLoS4nZvzDBxbjUAUHSTYBxVI b8jHeN7lG1mOchJ5kBeG2psHt852AUUAyUBdbkbDaGFZgekdv0ipzgi5qyXDbECImvTY P4Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=LpHstqOL+rrEyrpUlNaRKx78mHdfgye3wbmKQ677WtE=; b=Plx4oGVnqx6hUyEZgirYG3dNH41M/pFjTQSJZrJDjNTuuFy7m/aVrbYSn0j/u2gl74 j+XnfJhrA5Sf/ZkEYXJfCX+f06/2jjEXkWF3iV3karFzVea8OyCX9P1A4aRMfbwvXPF8 x6L0mkH6t+sFWUZjkjHM2zJe3+ko4PQdGyNcnAtm/BGg3FMczQp+XWQt1hyC+OCJqkLq k9tgl25t7IAlIWX45fqk9CkJv5mNXZA5OyOW4x0v+GQDq4i5jG30++C3db7ZOEKZ+Fi1 pK7PbZj6l6HcePD10hBAwOsRlYV+BDoIkMxV/U7BCwhnrT9o0+ZfuM23RtcHm0RDToSA AQEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DiBFpVs1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h70si4540231pgc.656.2018.03.18.16.50.40; Sun, 18 Mar 2018 16:50:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DiBFpVs1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754809AbeCRXtl (ORCPT + 99 others); Sun, 18 Mar 2018 19:49:41 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33503 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754783AbeCRXth (ORCPT ); Sun, 18 Mar 2018 19:49:37 -0400 Received: by mail-wm0-f68.google.com with SMTP id s206so10285235wme.0; Sun, 18 Mar 2018 16:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=LpHstqOL+rrEyrpUlNaRKx78mHdfgye3wbmKQ677WtE=; b=DiBFpVs16D7Xrd+1REXsHZOK6C9AtrrNN53Fer1pBHX3++WyhWrJ9anZcJEU1+CD5A hvt4o5uGmi0P94ACkq5K2fO/yphkNBbWk7B79b76W1d5mxF9As2SWttduxeOHdOWSWfG +hvUQ9483dL5m/A9wFSZ/T1zeA1YZeXm6xcjG+STd9v32shn1AJy1oEqALi7CXjYk1Gx eJaQUzIFEj6OGfv9eb/+WFIOs/9TMC0JpbCdC+UPrzyJpoFR32oGaMNWKhEECcyByS5o vmAuARlYFyQqcyYoEdDy5dNJc6SB9+vO+txN2HQw2C3ul5bCqHAlPjVYCB/NmTyeW58c Bo0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LpHstqOL+rrEyrpUlNaRKx78mHdfgye3wbmKQ677WtE=; b=XlsHRVfLxF/5jOlBLAaVV7Z2QcRDfuSjWi8d8A4zg1AihpAp+CW+3jNFDrgQ4JcIkR 68h1+qXFmGhKsZ+4Fo6UlXpazO1MI1fCupHNL66CsLpz0NleN92iCAfI1t5Jz3Hc+Bz9 erAfnsrRegXOFA+qzKfDjpb1Rt7qRzezSYdZtG2dAZ8kcpPgf67lb20iI2rv+UfFPTgk LZ+5mtBqAVUlwZOncV0sE5qNe/k/ltYf/dmnI6BOvnrb1H9QHFJoul2RkUSpB9Ex0dT5 II9bcKhtAxJ8yFkmr+EFMrSqAto3c6iXlICNxng/arolZmK5Khhj07feOYmeweoo/NBd xyfg== X-Gm-Message-State: AElRT7HbfR3J9OAZ0ybIMujE2AE5vOqxc3BwNLLvefw8QdvaQh97aN4j df0Mbchf9nFXY66h+3aEMwSQI/2r X-Received: by 10.28.54.200 with SMTP id y69mr568743wmh.78.1521416976069; Sun, 18 Mar 2018 16:49:36 -0700 (PDT) Received: from ziggy.stardust ([93.176.145.166]) by smtp.gmail.com with ESMTPSA id y68sm17975252wrb.73.2018.03.18.16.49.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 16:49:35 -0700 (PDT) Subject: Re: [PATCH v1 08/19] arm: dts: mt7623: enable three available UARTs on bananapi-r2 To: sean.wang@mediatek.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: From: Matthias Brugger Message-ID: <32322310-2279-03bb-3023-f3803f57b050@gmail.com> Date: Mon, 19 Mar 2018 00:49:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/23/2018 11:16 AM, sean.wang@mediatek.com wrote: > From: Sean Wang > > On bpi-r2 board, totally there're four UARTs which we usually called > uart[0-3] helpful to extend slow-I/O devices. Among those ones, uart2 has > dedicated pin slot which is used to console log. uart[0-1] appear at the > 40-pins connector and uart3 has no pinout, but just has test points (TP47 > for TX and TP48 for RX, respectively) nearby uart2, but we don't enable > uart3 in the patch. The missing pinctrl is also being supplemented for > those newly added devices. > > Signed-off-by: Sean Wang Pushed to v4.16-next/dts32 Thanks! > --- > arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > index 8ef91d6..6b760be 100644 > --- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > +++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts > @@ -470,6 +470,13 @@ > ; > }; > }; > + > + uart2_pins_a: uart@2 { > + pins_dat { > + pinmux = , > + ; > + }; > + }; > }; > > &pwm { > @@ -515,16 +522,18 @@ > &uart0 { > pinctrl-names = "default"; > pinctrl-0 = <&uart0_pins_a>; > - status = "disabled"; > + status = "okay"; > }; > > &uart1 { > pinctrl-names = "default"; > pinctrl-0 = <&uart1_pins_a>; > - status = "disabled"; > + status = "okay"; > }; > > &uart2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&uart2_pins_a>; > status = "okay"; > }; > >