From patchwork Thu Nov 1 06:19:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10663533 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 663DA13B5 for ; Thu, 1 Nov 2018 06:28:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED8B628874 for ; Thu, 1 Nov 2018 06:28:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DF91F28879; Thu, 1 Nov 2018 06:28:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 899F728FD3 for ; Thu, 1 Nov 2018 06:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sXSToPOhaWj3TB97nCJhzuiYE3NfWHpKWMnYJ1f6m34=; b=S/VIeuiypS18G3YZJyygGwUFV7 wcIXGyRfUPVQIvzkKsi6hN0rkZzttFd01WtNUzcE3sn6+qpxw2dDXKyF5QmQv8Ds1+JY6ymWKijzB +xSxwh6lZA2Gq3I+s3BPUoVjpoIApEZPyVKBYNks9Jg1hyQHT9XAzVlhBZKxqASqLenCPZOmqdE3m 6SoOmbTpW6xXwaWZwz+aqvLtqQ47+D3zvAkAQdo3PQ38BXkXR+X3YzjoJ/Migo03nsHmcK/LN5dn7 TOEL1B/kAepNOBdtybvBmrqsGpkGz9pWNDKpHS/d0jRVBTP5BUd5qXaNoHeszZ26ocoHlL9qGC5L0 TK84xB1w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gI6Sj-0003a9-U4; Thu, 01 Nov 2018 06:28:13 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gI6Kc-00078U-Hl for linux-mediatek@lists.infradead.org; Thu, 01 Nov 2018 06:19:54 +0000 Received: by mail-pf1-x442.google.com with SMTP id f78-v6so8817841pfe.1 for ; Wed, 31 Oct 2018 23:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v+EkBGJYgP5l8roNkAIcHxwpqxLvNbg8+WmAulqw8rE=; b=VEEWNzYJqVxzRp5nUEcf4low8ru4KTj/4fucaPtLl4MAP/WEoaPAcOaKIAVOocYWLR xT8tsrmemLd1/oW4p/0AoxJJk4f9XmDm8n0Oloc8b9SUMccsjLBQTfPxw5gwVmUHW85Q k1Z4q5rJjkphEx5AFQRw9S5ZpXmqYXuUaMQ1g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=v+EkBGJYgP5l8roNkAIcHxwpqxLvNbg8+WmAulqw8rE=; b=Bz7EI6vCh+D0MM/R9x3NefpIvTLcosgPTlxdiBomQcharyMbSI3r+3yJ/HtG9sLYz0 0+IGAgT8k9QO2Z7rCN1oKfg9rIqISjaeBPrVCQ9+KT7rK2lpydqVi+Yg8Q5QIQy7wUrJ jr+RfaSIsmIvOUy+g1oFwAThbwHzhMGW8OU3+aWT10O+q+qR2V5MVhsG0cNVs7k02fZO 4X48eQr2CjmWvkhzY/7k9MuNE5tWTS3nFYjGkCEHTRHjrUQb8SVzSn9m5c7PQbj2+hdj 0uaaFe1DFb9xQYQRcdbrXpQ+PjVS3icK/GMmq3QsBU4AFcBeFoxpL+l8iR1AsePE+0+I Q8cQ== X-Gm-Message-State: AGRZ1gKEZolUHqtP3CFs8BvbxTPy25Xeq4A16Ucpls5D0PwnU6KDyaif h2qB2Z3tEi+mwmqrEoXjB1bX X-Google-Smtp-Source: AJdET5eu6kg2rs9okVZyGbY7ZM1UYUipbIE1DM0inIYY/dk8lqAYcd/IbVfzkdz36O9HdDPIIaawQw== X-Received: by 2002:a63:4c4e:: with SMTP id m14-v6mr6063895pgl.173.1541053179877; Wed, 31 Oct 2018 23:19:39 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:900:77c6:7824:4800:6aa6:75b4]) by smtp.gmail.com with ESMTPSA id u190-v6sm71346726pgu.3.2018.10.31.23.19.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 23:19:39 -0700 (PDT) From: Manivannan Sadhasivam To: sean.wang@mediatek.com, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH v2 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1 Date: Thu, 1 Nov 2018 11:49:06 +0530 Message-Id: <20181101061907.20224-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181101061907.20224-1-manivannan.sadhasivam@linaro.org> References: <20181101061907.20224-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181031_231950_745247_80DC3AAB X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, amit.kucheria@linaro.org, linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org, Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add pinmux support for UART1 on MediatekX20 Development board based on Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts | 2 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts index 742938a1a548..13939d55b85b 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts +++ b/arch/arm64/boot/dts/mediatek/mt6797-x20-dev.dts @@ -30,4 +30,6 @@ &uart1 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins_a>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 231230d32d09..a64bb84bdec3 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -141,6 +141,13 @@ "iocfgr", "iocfgt"; gpio-controller; #gpio-cells = <2>; + + uart1_pins_a: uart1 { + pins1 { + pinmux = , + ; + }; + }; }; scpsys: scpsys@10006000 {