Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2920972pxb; Mon, 18 Oct 2021 04:51:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5Ls126fb1je6g0eSbg6x5/GYQLW7RF+2sM+vyW0J12H/S4A/ghV/0z4DXf1jK/0ap05Jn X-Received: by 2002:aa7:c846:: with SMTP id g6mr30588816edt.51.1634557886857; Mon, 18 Oct 2021 04:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634557886; cv=none; d=google.com; s=arc-20160816; b=SvE3xNDMrVQ/EHxueYdxh1bzEnXqVb+etdwZ6WmnAW2yEZ13WUwXyodn1OQ1cQ/9cj ypwwGWPc2jtXPSO+N7MTjv6esLD6qMlC/KyUvatP64ulaZFRMX9YPK8eJZtW+5x0LH7V 9jHiooiOdY01wRfaH6pnV2LubTIoW05q+XwW9+9ILQuw+lYy7d58SGJqEXsAwMp/02lF Rh7J5XcPZRFuzAI2hKU0htTT8LenxtcwVZgcGoeXxGPfMXU5r/71eBpOgpt8/cuYxI4l VWg/nyKpbPoMD5tTpo1mYgChWaXUPXJABoooiexZdaucacV+jNLv02OzVkhOBRkgBMrF sdUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=KdopuTxo02MYJtytaqiJn8OH/tHvJRauoATiiZmh+5M=; b=CMwmloedkvhS9jFFHlDDNGDJFgtYTJdCu9maQ7KsoCve6aawOhL29tQw7y1V2uxC5n CCo3jNQpnL6p/F7gdXqNe09diX6L91tFXNLfDPWFAFDOuaYJe134AUtktg4fs3lFE2Ty ZXKRaQM0zOBq7NoMFagi7wMKC4ruSyBjhRl4NrCKQtGVeJq0DSrPtTpMIc21z+tvAULc 5lAJnqG3uHP1KaD5NWi1vP48z+4zmIBdxRNwOfCW32eIuHZAvTG3O/vg7DIOyq9NmPms 7C/HAoFN4AJ5XwCuSopb2Msy3F4pP/VAP9i+hcicSK1AWVaxdLGRsJM1vxujHgLnsYoO i/sg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qw15si28250640ejc.112.2021.10.18.04.51.03; Mon, 18 Oct 2021 04:51:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231921AbhJRLu2 (ORCPT + 99 others); Mon, 18 Oct 2021 07:50:28 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:51364 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231810AbhJRLuO (ORCPT ); Mon, 18 Oct 2021 07:50:14 -0400 X-UUID: 11580b42840444be96ed14585d728221-20211018 X-UUID: 11580b42840444be96ed14585d728221-20211018 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2056399248; Mon, 18 Oct 2021 19:47:59 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 18 Oct 2021 19:47:58 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 18 Oct 2021 19:47:58 +0800 From: Sam Shih To: Linus Walleij , Rob Herring , Matthias Brugger , Sean Wang , , , , , CC: John Crispin , Ryder Lee , Sam Shih Subject: [PATCH v8 4/4] arm64: dts: mediatek: add pinctrl support for mt7986b Date: Mon, 18 Oct 2021 19:47:39 +0800 Message-ID: <20211018114739.14026-5-sam.shih@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20211018114739.14026-1-sam.shih@mediatek.com> References: <20211018114739.14026-1-sam.shih@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add mt7986b pinctrl node Signed-off-by: Sam Shih --- arch/arm64/boot/dts/mediatek/mt7986b.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi index 0bb33b614b56..9a94ca1225c5 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi @@ -128,6 +128,27 @@ apmixedsys: apmixedsys@1001e000 { #clock-cells = <1>; }; + pio: pinctrl@1001f000 { + compatible = "mediatek,mt7986b-pinctrl"; + reg = <0 0x1001f000 0 0x1000>, + <0 0x11c30000 0 0x1000>, + <0 0x11c40000 0 0x1000>, + <0 0x11e20000 0 0x1000>, + <0 0x11e30000 0 0x1000>, + <0 0x11f00000 0 0x1000>, + <0 0x11f10000 0 0x1000>, + <0 0x1000b000 0 0x1000>; + reg-names = "gpio", "iocfg_rt", "iocfg_rb", "iocfg_lt", + "iocfg_lb", "iocfg_tr", "iocfg_tl", "eint"; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pio 0 0 41>, <&pio 66 66 35>; + interrupt-controller; + interrupts = ; + interrupt-parent = <&gic>; + #interrupt-cells = <2>; + }; + sgmiisys0: syscon@10060000 { compatible = "mediatek,mt7986-sgmiisys_0", "syscon"; -- 2.29.2