From patchwork Fri Nov 16 18:30:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 10686769 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 0D64C109C for ; Fri, 16 Nov 2018 18:31:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF2492D2B7 for ; Fri, 16 Nov 2018 18:31:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DFD5A2D728; Fri, 16 Nov 2018 18:31:19 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 5C39B2D2B7 for ; Fri, 16 Nov 2018 18:31:19 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=a9OHyYz+W9dmvc3l5ClHlti5Yj0jXAJ9PQDC/iTstu4=; b=sAV/GgxuxSwqCM 2F1fz68fz4KLjwjyRKkPvLQ+BsPxH+1h7I9IAeGLEGYKdXHGhul/40HxBGv4akEvCJPubDg+yfs2S Y3XfAP7AuTW0JtzHtStbpktQkNbOgwZXXtV3wAbmR5JP30MJOpqBHMGPnUpW1WkeKR6tfXDPCuoLQ bCdRVqUo5fJLoxqoQMnnUOOXz8MYhcyUqTG65HgN4cTpS1yvbhnDrWN7jhpHlPZdhXPuXBxMYEMcQ ZMWl+2BKpUMLwO+fmYpzf5HbKYGG2RUpxbN5nNjaKliPFhhQSBwlBdEGbY49r/6JYpxaqJEH3tlrh PqFKoBy62ofXuNrdFdSg==; 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 1gNith-0003I3-65; Fri, 16 Nov 2018 18:31:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNitf-0003Hr-0c; Fri, 16 Nov 2018 18:31:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iDFBBIzQuEem/x5eEZfHE/rymYD4hUGzW8rQUOwzyIU=; b=Lr6lxxBcN3ejKL8y/TkaPFoGro vvAU/XUenA0DxXM4v2UjTJPSUn6esTZkZQLmnliMyDa3uUDM0cYNzyTk1JbBn2K2lwZUfC4Yvl10G uiBDnksT1S3PkYs3R01RVAtr2FkEIEWJvL4sGkKF4vq5lp/PFwWpcXCw4IytJ1gnw6gjWBIpSHs/n wCGNQdGmve8wwfSnhIKacovtk1ZQS1nqbiGFHJfAOfrHX5aKWotPrne51I4MMUQLoeXjgqeTvXrMa C4gzsef2KYeZdvoqZk17aoChZGQTvGdU8/3mFHiRUB6puCkoQKvQO5YVddoUNOqUDDRQ84QR7xDJm XornhMUA==; Received: from mail.kernel.org ([198.145.29.99]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNitc-0006lM-7m; Fri, 16 Nov 2018 18:31:13 +0000 Received: from ziggy.de (unknown [93.176.147.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 408E12086C; Fri, 16 Nov 2018 18:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542393060; bh=hnTlZcSoHgN90xrVL83ctgDbWsmsi2Qut7xpi4Uskp8=; h=From:To:Cc:Subject:Date:From; b=ylUxpLvdViPceO8x9799lA51Coo86UvY8rpQUKz4uWFDkAUS27Y3IzHpAvOtGA7Qq I3mQNBtGKzS5LCfKPDSAC+Muhy5ASiSSOqbaWkcuP2qPk/SH9pdAhIJKs4TuKTz+ln 6WyB2lcUpi7y6B9QX57edhS2TW9FE/et6IJH2b2Q= From: matthias.bgg@kernel.org To: robh+dt@kernel.org, mark.rutland@arm.com, matthias.bgg@gmail.com Subject: [PATCH] arm64: dts: Add uart for mt6797 EVB Date: Fri, 16 Nov 2018 19:30:40 +0100 Message-Id: <20181116183040.18696-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181116_183112_421303_FFDAE247 X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Brugger , linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Matthias Brugger This patch adds the pinctrl configuration for the mt6797 EVB. Signed-off-by: Matthias Brugger --- arch/arm64/boot/dts/mediatek/mt6797-evb.dts | 2 ++ arch/arm64/boot/dts/mediatek/mt6797.dtsi | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts index c79109c65409..237e869a5fa1 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797-evb.dts +++ b/arch/arm64/boot/dts/mediatek/mt6797-evb.dts @@ -33,4 +33,6 @@ &uart0 { status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; }; diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index a64bb84bdec3..2b2a69c7567f 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -142,6 +142,13 @@ gpio-controller; #gpio-cells = <2>; + uart0_pins_a: uart0 { + pins0 { + pinmux = , + ; + }; + }; + uart1_pins_a: uart1 { pins1 { pinmux = ,