Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3406286imu; Wed, 7 Nov 2018 09:50:03 -0800 (PST) X-Google-Smtp-Source: AJdET5eYJ81VFQyXAZR4UEmxX8XeCamegl0wKVLMbT2ZI4dUMa9O+B6zXbqSBpQYb0NN49C15xof X-Received: by 2002:a17:902:4d45:: with SMTP id o5-v6mr1158817plh.335.1541613003411; Wed, 07 Nov 2018 09:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541613003; cv=none; d=google.com; s=arc-20160816; b=K0B5QSy0Qst8e7eJ1ZWXJJwQU0apBa8avX0U1ae54KDGa1xlX2F5eUXs1UUXzgexJN wauaiFSmokkJFM1Wzo9cMjgmoKxMyBr110MGVAMXlqgCOl8Xn7tae3lso+DuEsXdV4WA fs58vKxCwwKWAHoyNwbrQbFFm3cRLUcOdza/cfA2d6qwH9KOYfiutQPXu2L/9/PeEoOr 4KO1qkLbfyRURT2RQvqryD5omzGRIv7go2PkJOXn2OzG7+/5DsVaenkfnDXxwIUhvbG8 tJfzYPkWqKQVWrdjZ1UurI5u8IjKNMezGVAfjRSP6/I2uzPDV78rZlYKz7cDQw19jELk sW5w== 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=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=b0uhVc5rDIypjaYFzr+gW1J4ISlHCeEnd4hv/H+ZfYNYEehDdFl8kEq4rWlbj7zigB 0zhseUPg58fGgD3asfDJxn88uj42Gq2w+tCqK1gX+UTfsabGX9yD4VhDGLtbNWl7pnws wOEVXgCVAsWTQkeeWJvN068yzv6qaBYkQROwcoh0HyXCPtFs9iHI6VOniPL6dEmHP2gB 4Ztk0aKRJY+wFzkExRqENsWQXKTDrc5rOt8H+5N5S03kT4Wm5XsfFNah/fIBNrOBbjyS eBa365HqPkbxjzFeT7TwosPxUFwt6SySX1tDcR0qjf3M9bMpQe9S4nupfQvycbOEptSu f23A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z0J5bk+e; 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 i13si1144119pgj.199.2018.11.07.09.49.48; Wed, 07 Nov 2018 09:50:03 -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=Z0J5bk+e; 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 S1728161AbeKHDUh (ORCPT + 99 others); Wed, 7 Nov 2018 22:20:37 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43712 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731591AbeKHDUg (ORCPT ); Wed, 7 Nov 2018 22:20:36 -0500 Received: by mail-pl1-f194.google.com with SMTP id g59-v6so8179229plb.10 for ; Wed, 07 Nov 2018 09:49:10 -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=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=Z0J5bk+eoNem0AnNMuMANJe512cbFAU49tWAMroki8xfL7uSXXzcffXoFDzh7kMcgE mLlsioDz9P2drBo7TPvY4l6U8x11NoT6CR+Uy1wRDot8pw4yS4glvTqbtbEqNTMMKTA4 gSAYVS2q9dsA0MW8Fr7b8ST2aJs23i94Exbx8= 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=ZvL9JXPkSCEpU6IxoDs/WZI6AFU5ENywXz2f9GrqSf8=; b=RGUOhYPpX+74EqBBjh+IMroDSZcAXB488thbbggg+jVTDBltaBvVMKCu2PWz7KQHka CuMfUgJHQgb5NLm3SpydCOZEtixH0aFq1WeHltqi5v89Qc6EZac4gxxQH0BaXi9pafK8 vsrKL0OeEWSRZt56BP+hYB4rkRORG0FRqgqDLvpUqx29rlIrURGCDVkjhtd1lc/HEnbG bdmrgVR+5okmymFePoJ6FkgRHZIbumpV/AEXY6E84ukHGsK1KxDshSuvnxkyb82dRyfU M/f6G6sdaoQQDLLxtAbngBjgeuD/19qdjwiQ8Em+VkhPdqMJ1X9lFWIUjpJNvQw8zaZa ga/A== X-Gm-Message-State: AGRZ1gIoFYH2lAqJXZuIijwZON4Z3oaA7AT8cbzl8yDjhycmgiNcFAoD d7heVTH6EoCm6vCQPwM4Fj2N X-Received: by 2002:a17:902:f097:: with SMTP id go23mr1119856plb.328.1541612949727; Wed, 07 Nov 2018 09:49:09 -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.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 09:49:09 -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 2/4] arm64: dts: mediatek: mt6797: Add pinctrl support Date: Wed, 7 Nov 2018 23:18:42 +0530 Message-Id: <20181107174844.5381-3-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 pinctrl support for Mediatek MT6797 SoC. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/mediatek/mt6797.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi index 4beaa71107d7..231230d32d09 100644 --- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi @@ -14,6 +14,7 @@ #include #include #include +#include / { compatible = "mediatek,mt6797"; @@ -129,6 +130,19 @@ #clock-cells = <1>; }; + pio: pinctrl@10005000 { + compatible = "mediatek,mt6797-pinctrl"; + reg = <0 0x10005000 0 0x1000>, + <0 0x10002000 0 0x400>, + <0 0x10002400 0 0x400>, + <0 0x10002800 0 0x400>, + <0 0x10002C00 0 0x400>; + reg-names = "gpio", "iocfgl", "iocfgb", + "iocfgr", "iocfgt"; + gpio-controller; + #gpio-cells = <2>; + }; + scpsys: scpsys@10006000 { compatible = "mediatek,mt6797-scpsys"; #power-domain-cells = <1>; -- 2.17.1