From patchwork Sun May 16 18:32:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 12260507 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-22.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22351C43460 for ; Sun, 16 May 2021 18:34:43 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A0375610A0 for ; Sun, 16 May 2021 18:34:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0375610A0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=zgMLM6NjsSzvYxd2nNJJiPBHqwUlQu2GKQ1IFvGcr60=; b=Le2u8mrdsQA1y76yxWD2L2E/J Gpj+5rm0L6wdU+OeROpEu2kwNqHXMUd67aFBYNX/SyE2gz3bWFqGGy56AHoY5j9c27sd783iHT6J9 vDtcPq1p6b9j/i9NbxLhCZAtUB0NCsFyNwBGpj3Lps0A2IPtXfMKu0LBtU2riUo9oQVwfaJdW3pgh Oc1UTXxCn5Sf0PfpF1kNb+y5XrR5Fa0YVsTt3h7DCve0DvxENqXzTrXsKxE6P0f3Nk7FlhF27QWNz b3QasNyEC6RYZmgpRvBqlV42y8tTOrrd83qLSxC4JxrhDsdrXuvKpaPbDHVu/yKGXPqn/6GFseSWf kaAQnsCcw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liLZX-00CkNj-0k; Sun, 16 May 2021 18:33:03 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liLZK-00CkMi-Dk for linux-arm-kernel@desiato.infradead.org; Sun, 16 May 2021 18:32:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=5ElH9uOL6nQqPho5uwOWryUINL9gmKx0dZLCtNDJe+Q=; b=E7lvFAx9sVh1A002G9OizXRG02 syrmp7+/zh0/vT8ed1HLz5Jt9Wi1Kr18m1ZgZAxTem4ODHMCn5H02MmmlZY/+o+RboIiDxtY3khpX 3Mgj6F3vKjI+0/4HUSNy+PaIIctOx+hjfBrqsrJwGHTgJvFhTBPGFx14+uJR0hat3MzIc3a6PQHua I1MYeBK+J1S+NpR7KoGaAUvYZtEranCxXaBDXyigb3+YiSRUATwGNxJgKcj6LIg4I95Q6CNUh4nQX gO+MWaDeaY0VfcnutZ38YbBLzTDE8yOqDwfhUr8l725DrutjX4Rhso4O7AiKQg/jz1RVKgCtve2Sx rS4y9LWA==; Received: from lb2-smtp-cloud7.xs4all.net ([194.109.24.28]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liLZH-00D8BD-Ek for linux-arm-kernel@lists.infradead.org; Sun, 16 May 2021 18:32:49 +0000 Received: from copland.sibelius.xs4all.nl ([83.163.83.176]) by smtp-cloud7.xs4all.net with ESMTP id iLZ1lyWmcMajpiLZCl0Ad8; Sun, 16 May 2021 20:32:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1621189962; bh=5ElH9uOL6nQqPho5uwOWryUINL9gmKx0dZLCtNDJe+Q=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=Ubq/HtDTBB5qlKLG6CwV2aBsDWT/lf4pCCeJDBrVVXctWy+AZ7fSW0gX86ktpiUA0 yLqgIfrTo3VzPxwguM2GjSw9QAywGXCknP/Bb0seGwKU9AN7OOA/Az1mkWg3Pu6Shb UL562i7/WRVwpBE0DkLMC6ey+f6JZt8dJ+RbD35yAcmPSVeZA90/gvOVVAtXahvuTC NF5GsWiNpP7D9tnlVRrHMx/APw5FeStMEz3StYVburxiGySGug/AvaPGv3uXBFDNC7 DimzJGT628QGM+JQC6rCGZ2m5CRMBuZIR1CJY48YqQSpfP3ry+oy8ycQrSlYDNqjNy FI2r0Y87XahxA== From: Mark Kettenis To: devicetree@vger.kernel.org Cc: Mark Kettenis , Hector Martin , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: pinctrl: Add DT bindings for apple, pinctrl Date: Sun, 16 May 2021 20:32:17 +0200 Message-Id: <20210516183221.93686-2-mark.kettenis@xs4all.nl> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210516183221.93686-1-mark.kettenis@xs4all.nl> References: <20210516183221.93686-1-mark.kettenis@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfJOae1O34/GSTXgUESVm4hMKxxGlPUgWAm2tPbUTIclNaqwhSrZJgxNolmj/01PD2I1fBxOQ9IsXWkw2AQoFtrw+pS/4YftUSlqJMM73Zgf59hhVRHbg Yghjd7GXGaRd8RGHp1zoEK3Yups4wNo8VjnWoxKPI7SE1nyYbrSa0YtWgpqR58asKO5l+u2yaQZ6RI7l6VBZ7BWYwYh+KQ22tNbn2TtwbIR6rUh28NPcHjYE jd7k9qGgimnMjpg7W2KifrXeIw5OtSEu/qCaVQmctX1dwRZcRm0lffhPX3cdeVcTrJ7ONQ3g/wBSNjrEvHanrSw9CHxRGUDf7IRE+AKDF0Y2GULwVdcLOunn p2KTk12cH8+/adZP9/PIAv4cubUoMZobQ0pN3gWp5+w9bk5Sfh8DEwqFdWHGZJzaNqCiFQ7fDLZVi89uTrbUuvetPEqja6xiYrgQokFnl0ZsFM8fC/6sub+j f0TsGVD6zxXhc1Fp X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_113247_676139_4D77E578 X-CRM114-Status: GOOD ( 15.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Mark Kettenis The Apple GPIO controller is a simple combined pin and GPIO conroller present on Apple ARM SoC platforms, including various iPhone and iPad devices and the "Apple Silicon" Macs. Signed-off-by: Mark Kettenis --- .../bindings/pinctrl/apple,pinctrl.yaml | 103 ++++++++++++++++++ MAINTAINERS | 2 + include/dt-bindings/pinctrl/apple.h | 13 +++ 3 files changed, 118 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml create mode 100644 include/dt-bindings/pinctrl/apple.h diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml new file mode 100644 index 000000000000..fae23e1d845e --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml @@ -0,0 +1,103 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pinctrl/apple,pinctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple GPIO controller + +maintainers: + - Mark Kettenis + +description: | + The Apple GPIO controller is a simple combined pin and GPIO + controller present on Apple ARM SoC platforms, including various + iPhone and iPad devices and the "Apple Silicon" Macs. + +properties: + compatible: + items: + - const: apple,t8103-pinctrl + - const: apple,pinctrl + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + gpio-controller: true + + '#gpio-cells': + const: 2 + + gpio-ranges: + maxItems: 1 + + interrupts: + minItems: 1 + maxItems: 7 + + interrupt-controller: true + +patternProperties: + '-pins$': + type: object + $ref: pinmux-node.yaml# + + properties: + pinmux: + description: + Values are constructed from pin number and alternate function + configuration number using the APPLE_PINMUX() helper macro + defined in include/dt-bindings/pinctrl/apple.h. + + required: + - pinmux + + additionalProperties: false + +required: + - compatible + - reg + - gpio-controller + - '#gpio-cells' + - gpio-ranges + +additionalProperties: false + +examples: + - | + #include + #include + + soc { + #address-cells = <2>; + #size-cells = <2>; + + pinctrl: pinctrl@23c100000 { + compatible = "apple,t8103-pinctrl", "apple,pinctrl"; + reg = <0x2 0x3c100000 0x0 0x100000>; + clocks = <&gpio_clk>; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pinctrl 0 0 212>; + + interrupt-controller; + interrupt-parent = <&aic>; + interrupts = , + , + , + , + , + , + ; + + pcie_pins: pcie-pins { + pinmux = , + , + ; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index ad0e9be66885..7327c9b778f1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1654,9 +1654,11 @@ C: irc://chat.freenode.net/asahi-dev T: git https://github.com/AsahiLinux/linux.git F: Documentation/devicetree/bindings/arm/apple.yaml F: Documentation/devicetree/bindings/interrupt-controller/apple,aic.yaml +F: Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml F: arch/arm64/boot/dts/apple/ F: drivers/irqchip/irq-apple-aic.c F: include/dt-bindings/interrupt-controller/apple-aic.h +F: include/dt-bindings/pinctrl/apple.h ARM/ARTPEC MACHINE SUPPORT M: Jesper Nilsson diff --git a/include/dt-bindings/pinctrl/apple.h b/include/dt-bindings/pinctrl/apple.h new file mode 100644 index 000000000000..ea0a6f466592 --- /dev/null +++ b/include/dt-bindings/pinctrl/apple.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0+ OR MIT */ +/* + * This header provides constants for Apple pinctrl bindings. + */ + +#ifndef _DT_BINDINGS_PINCTRL_APPLE_H +#define _DT_BINDINGS_PINCTRL_APPLE_H + +#define APPLE_PINMUX(pin, func) ((pin) | ((func) << 16)) +#define APPLE_PIN(pinmux) ((pinmux) & 0xffff) +#define APPLE_FUNC(pinmux) ((pinmux) >> 16) + +#endif /* _DT_BINDINGS_PINCTRL_APPLE_H */ From patchwork Sun May 16 18:32:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Kettenis X-Patchwork-Id: 12260505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAA93C433B4 for ; Sun, 16 May 2021 18:34:41 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 251C161028 for ; Sun, 16 May 2021 18:34:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 251C161028 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xs4all.nl Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oXJFJFRoiGGek8CkiwPYsR9Brq/wiPCzEmUHmiOTrYY=; b=kX63ludm34qVnuW59FmlPQdPX kyDPqo8VqRy+GVHZFeymJw90YhWXYNRc6CNSybnPKHegHAVyL7G7WpKO/galwCWfPCRYXZ7jG8qIL UrwdUrKOLR49RSSLAaVcDWSuVSOPAFL8YoPHCtc0VmPtkPGqWTRjFWDz7s+vlQuyYJSa8Hip27Z4V A3P9VfZdKKTAJRPadbyUvE4h5hvDvorbou7bqn9oDA8XgWx++xKK7VA7Ofl1l+5fCdvGbCAURmRKU fXXxMAZvMHvtx/s1rYPwuGU3V9Dk3neZPF2d24O7YQtt5tQQWEHOBeGE5H/F1+VHctl0EeFtGZDtM dCgYNcIOw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liLZg-00CkP8-Mn; Sun, 16 May 2021 18:33:13 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liLZL-00CkMq-Gf for linux-arm-kernel@desiato.infradead.org; Sun, 16 May 2021 18:32:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=bsnO8l7SUux3m+SAtpyvVWCiju520gKsdmdg7rdmmrE=; b=GOGPM+HyuGV5Hr7lQ6nvLJ5qGf mqfcfczTr9YPN1GD/sEstf+TKjhAlKhbPiS3mEqPFycxp+vpbzGf1DWxmHjlA350yKTkOuR4OK0GH qEt5qG042GT2pp1VI+oI5MPAPWvzuyAeQ94vqdRJKPLgmyVzY3pfXV6nP5WwQPG1WelNyAOSj6eSY H3/c8b1DUUWSFUC+A27DLsfznBNnUadTN4SnLvGOnc9Xoe2cnyE+d1i4NqX0HXNEhQ2k+6vwEvyI7 a9aPT9dsRmNAIWl3ZtyUpOpqv/Opv4EvGwPc59ssZREVIcv4GcFjC9JBRbzyq97uH/YhDovAwoxXx sPT9oY6Q==; Received: from lb2-smtp-cloud7.xs4all.net ([194.109.24.28]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liLZI-00D8Av-QI for linux-arm-kernel@lists.infradead.org; Sun, 16 May 2021 18:32:50 +0000 Received: from copland.sibelius.xs4all.nl ([83.163.83.176]) by smtp-cloud7.xs4all.net with ESMTP id iLZ1lyWmcMajpiLZIl0Ae7; Sun, 16 May 2021 20:32:48 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s2; t=1621189968; bh=bsnO8l7SUux3m+SAtpyvVWCiju520gKsdmdg7rdmmrE=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=SujX6nEiLDbf0ljIL3LCoMX+ouqKRs1Ya99VxqGXc2XwNDII9nfbbPENQj/FrWA7u buGX+l+ZauRWmIq/zoLEmcUK6ojwwyNWpZk9qhre3fCXNVJSXssb/r4BxMk+y5BKaZ P6Mm8qCrPH8ffblMK8jbSdrLrpuhuCrNDSGap0qnbbhnj9LuArx7kGc8BcdSvjytWG JLxuhOF0+tbtjRr2bmDiTrBhNJogNaA61SU+CCtGZedA2iMlBjSwIobwxhiuDcLTOe g8mUtai3LP3kEsTk0WiZQsc7nzUTfLs0sEMddoD+b37c1AOc/LWh72MX3DqAMB1lzC ygIw9O6KPvvEw== From: Mark Kettenis To: devicetree@vger.kernel.org Cc: Mark Kettenis , Hector Martin , Linus Walleij , Rob Herring , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] arm64: apple: Add pinctrl nodes Date: Sun, 16 May 2021 20:32:18 +0200 Message-Id: <20210516183221.93686-3-mark.kettenis@xs4all.nl> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210516183221.93686-1-mark.kettenis@xs4all.nl> References: <20210516183221.93686-1-mark.kettenis@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfE7TE6sAt+XAoM6XPUe8AUyZOfwx2Vaq/o2WzDzTF+IjvXR3s0B21IKrbjR7UArcBkCQEps9NcOhQ1ofZsKr8fRR4WTYiwYXWc33BqJtl4Cp5E+EjsEA 4ijc9xP4jlYYn/JMmI6jfxlGkudkQs4z/E0oBrFFu6i375l85E6+tiV4G6cX+ldclGY4yxHAC4Ihui0q57MtQZfgR6v2dL7xVMLE89u4qgjIGo7B6UWzP647 TxqBg9tNOy3ltW01Krn8gDW5ji7HpgY350a/dyhbwymtrtGG2Kmv/PBbwUzC5tPVFKV7AMPzw6K0M0YTl+/g58zKUE8HdvgCWLXmAw1UFm1PBrVgMvdWxfxo 8OKJWzmcfThBdMKFr6QTT3ppbWOI8+D12TmFmqAGe/8EkCzVpklB+DGl+Oo2ovqJtl7hGX7kSE0vjQwIyNzFLJ7YSabDH9B9ifOGnmpnHTG7LgTpqCtyYSkW w44IBzrZPYnXdDaT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_113249_023859_A20C24D0 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- 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 = , + , + , + , + , + , + ; + }; }; };