Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3408265imu; Wed, 7 Nov 2018 09:52:00 -0800 (PST) X-Google-Smtp-Source: AJdET5fjcvH2rrtcyYcmwSmPgOUWkY8iQY2mrHFEcuF8wfrB4AuIyHt6yT3O6iAUDBftSYGcndE+ X-Received: by 2002:a63:40c2:: with SMTP id n185-v6mr997863pga.116.1541613120883; Wed, 07 Nov 2018 09:52:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541613120; cv=none; d=google.com; s=arc-20160816; b=hn6zwsdQbGBn4aojsado3qqZsl5pVoQkcFnMj4Z2uixGaDbpmsYorDpdqPkHj/dgUL Elsx/kvZxE+o0mEJu76YIocx7d5RGsM4zw7/fM3uvHfplJIFjx5SnsaPaz9MTt5jsMwY tosSS9EIC0G5rnkgp5xL/PVnZHIvKGVtQ1lAYP6kjdxTqzoyRD9xhkE5GXLJVrrgl8Pp Ygp+fNOT4KWzG4vsCabLpL9tyRxe6AAQbiNGQ5Hb3Qc6ka8hAfG4l0Krhxes481ESFdY rHFHK/o7NELD5StAWjWgjSGfzYE3rRcoGP6azyppsIfex4FlTNaMvmbd8wNe0RkLTne3 M1bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=v+EkBGJYgP5l8roNkAIcHxwpqxLvNbg8+WmAulqw8rE=; b=bxZdlWl+0F4DRp2whCip5P9ErL4/Ll9IZkDqJu+0oF5gjV+xYEdLBVR9H/YXBkrp9k WqsA7NLFKXfU76QmgPjoy2f+OU+Pnxpg2oVu9HTwjPDBZVfjuu9nJr+sr0PvBoRppmdY npd1a2FUHdDiMzJMtHueyIq4NDHD3HMAcfL5cVtE5K/zmHmKZHiswoXiKuH/V2WkpOqf tK9esXGFzX2JcVS6YoNpIHd9CHhH/syEPtVDltiSWDoApsjbNtFyfO2pLZdG8vFcX2+E 6O00En0KQloSYDZAxjkaxKrq5zDXYCJheq3vcVHemA/B+9JPw0w1goeGhjZGE7HEoPch 1W3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VwwAthh0; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e38-v6si1085414pgm.281.2018.11.07.09.51.45; Wed, 07 Nov 2018 09:52:00 -0800 (PST) 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=@linaro.org header.s=google header.b=VwwAthh0; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387891AbeKHDUo (ORCPT + 99 others); Wed, 7 Nov 2018 22:20:44 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43903 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387796AbeKHDUn (ORCPT ); Wed, 7 Nov 2018 22:20:43 -0500 Received: by mail-pf1-f195.google.com with SMTP id g7-v6so5739985pfo.10 for ; Wed, 07 Nov 2018 09:49:17 -0800 (PST) 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=VwwAthh0B85ajA9GkQEvFwNHX72Ayd9FtzHG+fDvqnViLraYeRrrsynDx7f/L1s4hr rBi755aMl/HGQsuKBfw8SxOQIIcpoGhjNvwDXjnpumE1JLpY5vGmhqQBFxjFskFWApjb bp3NhxA2PaROm+FgrP+2/C5oecq1KR46uJNiA= 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=CaMDNfZ7+LSJR1Iu55R6P0cQ81+VJx171bNH7Om9JQiW7z8uPsz4XGp7M4z+UmJtup I3LjWHipUfNtWkSJam1xHKTna8oAaWb7IthiEG6ifG1quA3eF9HNiDZNT2R1IErWIQ7c bWJVNlt4NOlMHclYAw6qHXWY7+Rx3Uua+lJfhxQImHpDufL/ND5VTV9S752ZtbFAMc5G qqs6lJ5BwzhMlKohXOfyRhYPCHSVkdqNB527rj5wuKHgoI5WfeVNIVsrlbxovkNoduli Yob7qs7QrtqydMqy4l+PRKeY1ubvnPST6aouqBQ3hxpV6m2kYy09J74IeYujtuw+S4HG kh4A== X-Gm-Message-State: AGRZ1gJKZ7Vt882WebqMygTSeukGTaiUcMDsPNSLtAR29I5/oRcfy1gy 2bpUD1HUQ2cGJwjD8G4pwstz X-Received: by 2002:a63:4d66:: with SMTP id n38mr984121pgl.270.1541612956699; Wed, 07 Nov 2018 09:49:16 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6282:6ca8:a0d9:6a81:97fe:992e]) by smtp.gmail.com with ESMTPSA id e70-v6sm1232645pfb.113.2018.11.07.09.49.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 09:49:16 -0800 (PST) From: Manivannan Sadhasivam To: sean.wang@kernel.org, linus.walleij@linaro.org, matthias.bgg@gmail.com, robh+dt@kernel.org Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, amit.kucheria@linaro.org, Manivannan Sadhasivam Subject: [PATCH v3 3/4] arm64: dts: mediatek: x20: Add pinmux support for UART1 Date: Wed, 7 Nov 2018 23:18:43 +0530 Message-Id: <20181107174844.5381-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> References: <20181107174844.5381-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 { -- 2.17.1