Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp844308pxb; Wed, 29 Sep 2021 10:50:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ApoNsAUfY8Wa1XdXitGoztrtkGs/zcmg8QOuQvHoa0MN/6IUBoQ/sjL3mXsTFOkVKox+ X-Received: by 2002:a17:906:b14d:: with SMTP id bt13mr1188664ejb.39.1632937817105; Wed, 29 Sep 2021 10:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632937817; cv=none; d=google.com; s=arc-20160816; b=GqI1UER8sp6sz2nr+j1HOYtSGrYjPDli0c4phwOoud5F38FNA4Zm33+SyRnQ6op73b QlotYtT2CfOefoatEzly4OPpgm2JV1GJ/97jjtmTiif8ZhiVkhtc+vnXHSDnjeNLz3f9 jV+8pLgXeAv2NJCVbf5RUiGWtFrP1IC3G2O7Rj+WRRN8O0hBNqOe+kOdC/9572cOK6Lg mCnL3G/m9jKO/O467INQ4zCK/74ZUhlJanFv1mOgiAMk0qDpNp0KbKEM2UAC7GbssPy4 qe2jb3Wkyu2/3okAvx0YqRv7rBkStzIWyt1jNc8YaKHcQRxnOJgRMjSLG+Rp9fLsauj8 Ep2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=YDwuI7JWPtmlvhtKXxwzCP1aBYJCaDYSw8IB8jKIf8I=; b=X3ZKr+iUrrFaEw1eobv15N3p2h37JJD3de5SfzAMk8P43VOdCKEAsYv2ww/N5NnS+H btKuKFquklDuxLQ+OkqoSCeu+QCgzTuUEaAk2fmqLJx1T/b3pVSmGbJSXzOgJuDGN4wx cUZPZgPT69ZAb/7e7oOpO3ZkGExgDf60KS0YoU0jmslaxRZ/HiQfEBEALr0+dTctWTTZ AeWLwx0b8CNQLExQef+61ns+Ej4nDVbY/rwPZFwg3PWPbS/gLeIaBltdSjFA2HkW5gV2 Nf9i20a4IVZMhnqp/8vbnd66NHrARHlE9k/Z9pQjrkoUQbhMcEyaugWgILRamdgRWUWR G1zQ== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k16si582689eds.364.2021.09.29.10.49.53; Wed, 29 Sep 2021 10:50:17 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346270AbhI2Q6r (ORCPT + 99 others); Wed, 29 Sep 2021 12:58:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:52048 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346200AbhI2Q6i (ORCPT ); Wed, 29 Sep 2021 12:58:38 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 98AC160230; Wed, 29 Sep 2021 16:56:57 +0000 (UTC) Received: from sofa.misterjones.org ([185.219.108.64] helo=why.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mVcbh-00DmcL-Sh; Wed, 29 Sep 2021 17:38:57 +0100 From: Marc Zyngier To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Alyssa Rosenzweig , Stan Skowronek , Mark Kettenis , Sven Peter , Hector Martin , Robin Murphy , Joey Gouly , Joerg Roedel , kernel-team@android.com, Linus Walleij Subject: [PATCH v5 10/14] arm64: apple: Add pinctrl nodes Date: Wed, 29 Sep 2021 17:38:43 +0100 Message-Id: <20210929163847.2807812-11-maz@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210929163847.2807812-1-maz@kernel.org> References: <20210929163847.2807812-1-maz@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, robh+dt@kernel.org, lorenzo.pieralisi@arm.com, kw@linux.com, alyssa@rosenzweig.io, stan@corellium.com, kettenis@openbsd.org, sven@svenpeter.dev, marcan@marcan.st, Robin.Murphy@arm.com, joey.gouly@arm.com, joro@8bytes.org, kernel-team@android.com, linus.walleij@linaro.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mark Kettenis Add pinctrl nodes corresponding to the gpio,t8101 nodes in the Apple device tree for the Mac mini (M1, 2020). Clock references are left out at the moment and will be added once the appropriate bindings have been settled upon. Signed-off-by: Mark Kettenis Reviewed-by: Linus Walleij Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210520171310.772-3-mark.kettenis@xs4all.nl --- arch/arm64/boot/dts/apple/t8103.dtsi | 83 ++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index a1e22a2ea2e5..503a76fc30e6 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -9,6 +9,7 @@ #include #include +#include / { compatible = "apple,t8103", "apple,arm-platform"; @@ -131,5 +132,87 @@ aic: interrupt-controller@23b100000 { interrupt-controller; reg = <0x2 0x3b100000 0x0 0x8000>; }; + + pinctrl_ap: pinctrl@23c100000 { + compatible = "apple,t8103-pinctrl", "apple,pinctrl"; + reg = <0x2 0x3c100000 0x0 0x100000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_ap 0 0 212>; + + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + + pcie_pins: pcie-pins { + pinmux = , + , + ; + }; + }; + + pinctrl_aop: pinctrl@24a820000 { + compatible = "apple,t8103-pinctrl", "apple,pinctrl"; + reg = <0x2 0x4a820000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_aop 0 0 42>; + + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_nub: pinctrl@23d1f0000 { + compatible = "apple,t8103-pinctrl", "apple,pinctrl"; + reg = <0x2 0x3d1f0000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_nub 0 0 23>; + + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; + + pinctrl_smc: pinctrl@23e820000 { + compatible = "apple,t8103-pinctrl", "apple,pinctrl"; + reg = <0x2 0x3e820000 0x0 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl_smc 0 0 16>; + + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + }; }; }; -- 2.30.2