From patchwork Mon Oct 8 19:14:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10631355 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 A59831867 for ; Mon, 8 Oct 2018 19:31:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9893B29BAC for ; Mon, 8 Oct 2018 19:31:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8CE9B29BB4; Mon, 8 Oct 2018 19:31:12 +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 6F94C29BAC for ; Mon, 8 Oct 2018 19:31:11 +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=qIe1FTKm3oBkbLKUsEznWXfoA1 pcM2Z+7G5OLdQW0ZqsYORKpJBmw3Lpc8EPjw4i1Zxre6x9dEo7LnMqE0kc9nNEkumEvVQVybeJLih UKJKXwcEcPTdq1PdrIDuAfXnpDUGLcEB5/5Hq7Xd4a7ZJ7RT+55WngZYY1TMkjBnEnZn0BFSLxX8I gldKS72BeoeYp8h2fjN84ip/JUBpHiXwgv3lIO+CoeLKMj9Wblsbdk7Gh8PPPAw7PJd5LW6qoY9Rd c60Bu9MH7YNZG/HT+KIRMAuipx9/xemPuYkVAGjiuAQF9L/FdwKcVKEaMT0/P+6G1Ug890fCYoplq IOCpyfyw==; 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 1g9bF7-0001TM-UX; Mon, 08 Oct 2018 19:31:01 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g9aza-0002EC-EM for linux-mediatek@lists.infradead.org; Mon, 08 Oct 2018 19:15:36 +0000 Received: by mail-pg1-x544.google.com with SMTP id v133-v6so8268157pgb.2 for ; Mon, 08 Oct 2018 12:14:48 -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=GsvmHcKXZLLg9D8JsGEhcSA4tY7FRDhnnZuE4crvm3+w/aW+70L1Z7AXOqjp/Xz0Qx HapGzRngWQUsqL9f3l8balsF27eU87IglMFxJacj8ZSJOEur+H6W+bquJmuAP+odSDYA 1tGnYedayjB/yL6UZQ/loQPEgmL3aoiDgtQXc= 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=A9J9RiXIIDNsjiKGto52oehgNZMN01KDhVxYEYYcLzpS3IGiCymsXYLYNZxAy5GzJu xlfYeSJDrAl+zuE2tscp0ZIrUl4zQNl/ocNglQrPhmNv+LS9tz0HAnVMbX7rLc+1XACv cqbFUlIkl69s0SGKtxX4RoyRBo40cDz8ULJyGGTCEA3o87rMAJfLIr8q1r60gg9He0X8 QFeZCjX+o87Gzav808+AHuf1VCrRmaQKX0hFs55IDhxZYiLb+Ggm3UngIxfsAOPt42/o uE24drDah2Q4vnR91yydC2i3XXI6eIzZrrc8IQ1dLd7D/nUggCT+DJpgGgLTHWwFfOW8 53GQ== X-Gm-Message-State: ABuFfohNJGY47T1hyjrIyQkdFiyMPaSuPg7DjpLd2zC/6fHu70kltSZN n9jxYMrvYm7obObagGRMzPAT X-Google-Smtp-Source: ACcGV602BVw9zB7/SpyW34tfwwfJ4y/mI9zsrT1Kde+jE5orFFDc56dVXl3+SBlOskVOTniW0qLLpw== X-Received: by 2002:a63:5816:: with SMTP id m22-v6mr22077083pgb.332.1539026087434; Mon, 08 Oct 2018 12:14:47 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73c6:20ea:9fd:1785:d893:1e98]) by smtp.gmail.com with ESMTPSA id a15-v6sm15648035pff.8.2018.10.08.12.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Oct 2018 12:14:47 -0700 (PDT) From: Manivannan Sadhasivam To: sean.wang@mediatek.com, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Subject: [PATCH 3/5] arm64: dts: mediatek: x20: Add pinmux support for UART1 Date: Tue, 9 Oct 2018 00:44:09 +0530 Message-Id: <20181008191411.32555-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> References: <20181008191411.32555-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181008_121458_552874_D4D4518A X-CRM114-Status: GOOD ( 10.37 ) 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 {