From patchwork Sun Sep 17 16:28:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 13388617 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1270DCD13D1 for ; Sun, 17 Sep 2023 16:30:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=3Q0aHtAzvvi8CxMeJqdU8zk3wDkQ0ximdaVOzh5QyjM=; b=dGglZJd4C1S5/y NkYJpVSRU5ev+5AC+0MhUVY94wjUxyzJvPz1NT3UOWcr7vfm7cbtbBIRDNP+YK8674rtnK4r2x7d5 EK78jKVhiH/2b0kbSxLc6y8Uad/aFvylnFK9nLvtERn5FyHO25k0GjejBaF0CoFo+EfG2avvemJ87 YBEe603bH9BTEERSTS7KDPxuXsgvY6zkltNg/sEHvmvnDO9Rwx5FBJ+yo/K2pUcCv0iNiSSLEm6ze hez3pW4mdzE6ob8SOljyHgJWxsZhg5sNXWxjt3ZcSrjMVq5XyNnFhs9ktuD+2Bi0rDL6NJWxR/cBK gTjLa3SFh6kSAFI5wDZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhueU-00Doqi-2S; Sun, 17 Sep 2023 16:29:42 +0000 Received: from relay9-d.mail.gandi.net ([217.70.183.199]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhueR-00DoqI-0B; Sun, 17 Sep 2023 16:29:41 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id D80A2FF805; Sun, 17 Sep 2023 16:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1694968174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=34Ndrewp5sbJMJ2jOunLl5qw82bqk9h/3cG8G8ygPsc=; b=aISGUYh72XAMzn5uT1GbJpZ68jajpUa/1xb1LmMeXvwMILRv3eTZEFnqi4FSgOIqqXh+jG FRKQhYMGF2n75GjvnFLisdZnUT1xcqZ0S5ZIPB93Z9G+IxEZH6AuQUyce4EsXnDBnHWpoV cT0b6Wg/HYU5h+L5XeOL/TTtZxQwiltZXrqNNSV/XQFfdz+XsmUiTr5+XBVKYS7qrZ6gr+ EkJLKgNOrbVQ13DpVzHvBtFcBn0lPfui80GCBmxinB5ufJEJGMzFnX+JQROFz/GY+yjwH6 hiX1PpYoaceNfsprFN9FgXg8X2WFpacj6kPZbX6frJn6c3qemTJWaHAe8cCPuw== From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: mithat.guner@xeront.com, erkin.bozoglu@xeront.com, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] dt-bindings: pinctrl: mtmips: add deprecated ralink,rt2880-pinmux Date: Sun, 17 Sep 2023 19:28:36 +0300 Message-Id: <20230917162837.277405-1-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-GND-Sasl: arinc.unal@arinc9.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230917_092939_397653_02FB279F X-CRM114-Status: UNSURE ( 8.14 ) X-CRM114-Notice: Please train this message. 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 The "ralink,rt2880-pinmux" compatible string applies to all MediaTek MTMIPS SoC pin controllers. Add it as a deprecated compatible string. Signed-off-by: Arınç ÜNAL Acked-by: Sergio Paracuellos Acked-by: Rob Herring --- .../devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml | 5 ++++- .../devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml | 5 ++++- 8 files changed, 32 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml index 591bc0664ec6..221adcef6e14 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,mt7620-pinctrl + oneOf: + - const: ralink,mt7620-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml index e568b9c13727..5e29332c794b 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,mt7621-pinctrl + oneOf: + - const: ralink,mt7621-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml index 31849dd5940b..fef7728a5220 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,mt76x8-pinctrl + oneOf: + - const: ralink,mt76x8-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml index 43b33dbf115b..71bc961b856e 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,rt2880-pinctrl + oneOf: + - const: ralink,rt2880-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml index 95a904273009..bde19a00af80 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,rt305x-pinctrl + oneOf: + - const: ralink,rt305x-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml index c9bc6cfd834c..f87038cadfc8 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,rt3352-pinctrl + oneOf: + - const: ralink,rt3352-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml index 8d14e525b25e..3a13a69f7752 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,rt3883-pinctrl + oneOf: + - const: ralink,rt3883-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml index f248202ce866..1231f442afbc 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml @@ -17,7 +17,10 @@ description: | properties: compatible: - const: ralink,rt5350-pinctrl + oneOf: + - const: ralink,rt5350-pinctrl + - const: ralink,rt2880-pinmux + deprecated: true patternProperties: '-pins$': From patchwork Sun Sep 17 16:28:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= X-Patchwork-Id: 13388618 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 15ABDCD37B4 for ; Sun, 17 Sep 2023 16:30:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=reQwB488b1v5/1A6VamUEpeLrMiBEK2gH4ACdGpBSRE=; b=e89/wDzH3GQN9Y uSxsaauuma7f8bA4Kz+V2dEirXoFxzKUGBMUosVuBcN0wtZDQA8tq+axxv5HQ1rT5hGP+XIqUZmJ/ dNGk1ihhPx/qXitEBkF/xMdGi/9JgDpQiJtB+ypwe3OigwGvgqos+BsXtuatD4Jc+Qfp60RN5dUug LkXqWpbcnA0EvxhJ3y75Yjv5qRZv1PKKRsf2hiZaXX8OZiV2LN/VIGNTq4Ruzvtp/m40Xlu5z0dyU LlYYXZEEG/R1K7XroNG+gfKtFv+sHOalpI2a1ni7fm9paA9K3mHUSRoQoDrQjzbqD4GaA/CbghELb B1QnyRCMzbm44LRQ+jmA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhuf0-00Douj-38; Sun, 17 Sep 2023 16:30:14 +0000 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhuex-00Dou6-1y; Sun, 17 Sep 2023 16:30:13 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id A6BEAFF809; Sun, 17 Sep 2023 16:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arinc9.com; s=gm1; t=1694968209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HzNM+NPfJ5CDr5hTobSDl1+YnN2TJtED/tkotJW0Ydg=; b=NtbKG7FFhvBrf/tNHIlYz/nCRJmUGzH/VPSVuqbS+jQwh0NTv5diQfbNoVS9Za4paxzpMl bNV4el4FuS4ai6rl+bvdyy3MQYBgds/MSOxulYa4Ni7e2v/49dJSFbBkKJlRnfaTPwumPv gRYdnSz4vCwpsrQIO7SI4wRdrZCqu82tKFuehH4OoVu9SlN03H9KkclXd0wkqCg9laZlPD T8BJXhgNynFSTXGGwDwSQ3dC3JO/mvloFEQkQqu87amjLs7+PPy9q+UzqjnRnb4tbDjU49 D/jmc/gm+BmuPObu5rvDMuhbN/3/DjSqYCjjsqH+JExxCY6bWqtneJ9dsnwS/Q== From: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= To: =?utf-8?b?QXLEsW7DpyDDnE5BTA==?= , Sergio Paracuellos , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno Cc: mithat.guner@xeront.com, erkin.bozoglu@xeront.com, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] dt-bindings: pinctrl: mtmips: document pins of groups Date: Sun, 17 Sep 2023 19:28:37 +0300 Message-Id: <20230917162837.277405-2-arinc.unal@arinc9.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230917162837.277405-1-arinc.unal@arinc9.com> References: <20230917162837.277405-1-arinc.unal@arinc9.com> MIME-Version: 1.0 X-GND-Sasl: arinc.unal@arinc9.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230917_093011_938949_F800C3EF X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. 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 Document the pins of each group on the MediaTek MTMIPS SoC pin controllers. Signed-off-by: Arınç ÜNAL Acked-by: Sergio Paracuellos --- .../pinctrl/mediatek,mt7620-pinctrl.yaml | 22 ++++++++++++- .../pinctrl/mediatek,mt7621-pinctrl.yaml | 18 +++++++++- .../pinctrl/mediatek,mt76x8-pinctrl.yaml | 33 ++++++++++++++++++- .../pinctrl/ralink,rt2880-pinctrl.yaml | 17 +++++++++- .../pinctrl/ralink,rt305x-pinctrl.yaml | 16 ++++++++- .../pinctrl/ralink,rt3352-pinctrl.yaml | 17 +++++++++- .../pinctrl/ralink,rt3883-pinctrl.yaml | 16 ++++++++- .../pinctrl/ralink,rt5350-pinctrl.yaml | 13 +++++++- 8 files changed, 144 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml index 221adcef6e14..eb9d9d2bd90f 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7620-pinctrl.yaml @@ -44,8 +44,28 @@ patternProperties: wdt refclk, wdt rst, wled] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartf" 7, 8, 9, 10, 11, 12, 13, 14 + "uartlite" 15, 16 + "wdt" 17 + "pa" 18, 19, 20, 21 + "mdio" 22, 23 + "rgmii1" 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 + "pcie" 36 + "spi refclk" 37, 38, 39 + "ephy" 40, 41, 42, 43, 44 + "nd_sd" 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, + 57, 58, 59 + + "rgmii2" 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71 + "wled" 72 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml index 5e29332c794b..71d1ef203d38 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml @@ -43,8 +43,24 @@ patternProperties: uart1, uart2, uart3, wdt refclk, wdt rst] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "uart1" 1, 2 + "i2c" 3, 4 + "uart3" 5, 6, 7, 8 + "uart2" 9, 10, 11, 12 + "jtag" 13, 14, 15, 16, 17 + "wdt" 18 + "pcie" 19 + "mdio" 20, 21 + "rgmii2" 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 + "spi" 34, 35, 36, 37, 38, 39, 40 + "sdhci" 41, 42, 43, 44, 45, 46, 47, 48 + "rgmii1" 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml index fef7728a5220..3831c04fa37c 100644 --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt76x8-pinctrl.yaml @@ -46,8 +46,39 @@ patternProperties: wled_an, wled_kn, -] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2s" 0, 1, 2, 3 + "i2c" 4, 5 + "spi cs1" 6 + "spi" 7, 8, 9, 10 + "gpio" 11 + "uart0" 12, 13 + "spis" 14, 15, 16, 17 + "pwm0" 18 + "pwm1" 19 + "uart2" 20, 21 + "sdmode" 22, 23, 24, 25, 26, 27, 28, 29 + "p4led_kn" 30 + "p3led_kn" 31 + "p2led_kn" 32 + "p1led_kn" 33 + "p0led_kn" 34 + "wled_kn" 35 + "perst" 36 + "refclk" 37 + "wdt" 38 + "p4led_an" 39 + "p3led_an" 40 + "p2led_an" 41 + "p1led_an" 42 + "p0led_an" 43 + "wled_an" 44 + "uart1" 45, 46 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml index 71bc961b856e..b1a6a6236737 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt2880-pinctrl.yaml @@ -41,8 +41,23 @@ patternProperties: enum: [gpio, i2c, spi, uartlite, jtag, mdio, sdram, pci] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartlite" 7, 8, 9, 10, 11, 12, 13, 14 + "jtag" 17, 18, 19, 20, 21 + "mdio" 22, 23 + "sdram" 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39 + + "pci" 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, + 64, 65, 66, 67, 68, 69, 70, 71 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml index bde19a00af80..214fb17d6b82 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt305x-pinctrl.yaml @@ -43,8 +43,22 @@ patternProperties: uartlite] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartf" 7, 8, 9, 10, 11, 12, 13, 14 + "uartlite" 15, 16 + "jtag" 17, 18, 19, 20, 21 + "mdio" 22, 23 + "sdram" 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, + 36, 37, 38, 39 + + "rgmii" 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml index f87038cadfc8..65f04d85e9fc 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt3352-pinctrl.yaml @@ -43,8 +43,23 @@ patternProperties: uartf, uartlite, wdg_cs1] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartf" 7, 8, 9, 10, 11, 12, 13, 14 + "uartlite" 15, 16 + "jtag" 17, 18, 19, 20, 21 + "mdio" 22, 23 + "rgmii" 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 + "lna" 36, 37 + "pa" 38, 39 + "led" 40, 41, 42, 43, 44 + "spi_cs1" 45 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml index 3a13a69f7752..61beb78b9d1c 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt3883-pinctrl.yaml @@ -43,8 +43,22 @@ patternProperties: pcm gpio, pcm i2s, pcm uartf, spi, uartf, uartlite] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartf" 7, 8, 9, 10, 11, 12, 13, 14 + "uartlite" 15, 16 + "jtag" 17, 18, 19, 20, 21 + "mdio" 22, 23 + "lna a" 32, 33, 34 + "lna g" 35, 36, 37 + "ge1" 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83 + "ge2" 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95 + maxItems: 1 required: diff --git a/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml index 1231f442afbc..49025783247e 100644 --- a/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/ralink,rt5350-pinctrl.yaml @@ -43,8 +43,19 @@ patternProperties: wdg_cs1] groups: - description: + description: | An array of strings. Each string contains the name of a group. + + group pins + ------------------------------------------------------------------ + "i2c" 1, 2 + "spi" 3, 4, 5, 6 + "uartf" 7, 8, 9, 10, 11, 12, 13, 14 + "uartlite" 15, 16 + "jtag" 17, 18, 19, 20, 21 + "led" 22, 23, 24, 25, 26 + "spi_cs1" 27 + maxItems: 1 required: