~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml (Architecture i386) and /Documentation/devicetree/bindings/pinctrl/mediatek,mt7621-pinctrl.yaml (Architecture sparc64)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/pinctrl/med      4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7621-pinctrl.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MediaTek MT7621 Pin Controller               7 title: MediaTek MT7621 Pin Controller
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Arınç ÜNAL <arinc.unal@arinc9.com>           10   - Arınç ÜNAL <arinc.unal@arinc9.com>
 11   - Sergio Paracuellos <sergio.paracuellos@gmai     11   - Sergio Paracuellos <sergio.paracuellos@gmail.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   MediaTek MT7621 pin controller for MT7621 So     14   MediaTek MT7621 pin controller for MT7621 SoC.
 15   The pin controller can only set the muxing o     15   The pin controller can only set the muxing of pin groups. Muxing individual
 16   pins is not supported. There is no pinconf s     16   pins is not supported. There is no pinconf support.
 17                                                    17 
 18 properties:                                        18 properties:
 19   compatible:                                      19   compatible:
 20     const: ralink,mt7621-pinctrl                   20     const: ralink,mt7621-pinctrl
 21                                                    21 
 22 patternProperties:                                 22 patternProperties:
 23   '-pins$':                                        23   '-pins$':
 24     type: object                                   24     type: object
 25     additionalProperties: false                    25     additionalProperties: false
 26                                                    26 
 27     patternProperties:                             27     patternProperties:
 28       '^(.*-)?pinmux$':                            28       '^(.*-)?pinmux$':
 29         type: object                               29         type: object
 30         description: node for pinctrl.             30         description: node for pinctrl.
 31         $ref: pinmux-node.yaml#                    31         $ref: pinmux-node.yaml#
 32         additionalProperties: false                32         additionalProperties: false
 33                                                    33 
 34         properties:                                34         properties:
 35           function:                                35           function:
 36             description:                           36             description:
 37               A string containing the name of      37               A string containing the name of the function to mux to the group.
 38             enum: [gpio, i2c, i2s, jtag, mdio,     38             enum: [gpio, i2c, i2s, jtag, mdio, nand1, nand2, pcie refclk,
 39                    pcie rst, pcm, rgmii1, rgmi     39                    pcie rst, pcm, rgmii1, rgmii2, sdhci, spdif2, spdif3, spi,
 40                    uart1, uart2, uart3, wdt re     40                    uart1, uart2, uart3, wdt refclk, wdt rst]
 41                                                    41 
 42           groups:                                  42           groups:
 43             description:                           43             description:
 44               An array of strings. Each string     44               An array of strings. Each string contains the name of a group.
 45             maxItems: 1                            45             maxItems: 1
 46                                                    46 
 47         required:                                  47         required:
 48           - groups                                 48           - groups
 49           - function                               49           - function
 50                                                    50 
 51         allOf:                                     51         allOf:
 52           - if:                                    52           - if:
 53               properties:                          53               properties:
 54                 function:                          54                 function:
 55                   const: gpio                      55                   const: gpio
 56             then:                                  56             then:
 57               properties:                          57               properties:
 58                 groups:                            58                 groups:
 59                   enum: [i2c, jtag, mdio, pcie     59                   enum: [i2c, jtag, mdio, pcie, rgmii1, rgmii2, sdhci, spi,
 60                          uart1, uart2, uart3,      60                          uart1, uart2, uart3, wdt]
 61                                                    61 
 62           - if:                                    62           - if:
 63               properties:                          63               properties:
 64                 function:                          64                 function:
 65                   const: i2c                       65                   const: i2c
 66             then:                                  66             then:
 67               properties:                          67               properties:
 68                 groups:                            68                 groups:
 69                   enum: [i2c]                      69                   enum: [i2c]
 70                                                    70 
 71           - if:                                    71           - if:
 72               properties:                          72               properties:
 73                 function:                          73                 function:
 74                   const: i2s                       74                   const: i2s
 75             then:                                  75             then:
 76               properties:                          76               properties:
 77                 groups:                            77                 groups:
 78                   enum: [uart3]                    78                   enum: [uart3]
 79                                                    79 
 80           - if:                                    80           - if:
 81               properties:                          81               properties:
 82                 function:                          82                 function:
 83                   const: jtag                      83                   const: jtag
 84             then:                                  84             then:
 85               properties:                          85               properties:
 86                 groups:                            86                 groups:
 87                   enum: [jtag]                     87                   enum: [jtag]
 88                                                    88 
 89           - if:                                    89           - if:
 90               properties:                          90               properties:
 91                 function:                          91                 function:
 92                   const: mdio                      92                   const: mdio
 93             then:                                  93             then:
 94               properties:                          94               properties:
 95                 groups:                            95                 groups:
 96                   enum: [mdio]                     96                   enum: [mdio]
 97                                                    97 
 98           - if:                                    98           - if:
 99               properties:                          99               properties:
100                 function:                         100                 function:
101                   const: nand1                    101                   const: nand1
102             then:                                 102             then:
103               properties:                         103               properties:
104                 groups:                           104                 groups:
105                   enum: [spi]                     105                   enum: [spi]
106                                                   106 
107           - if:                                   107           - if:
108               properties:                         108               properties:
109                 function:                         109                 function:
110                   const: nand2                    110                   const: nand2
111             then:                                 111             then:
112               properties:                         112               properties:
113                 groups:                           113                 groups:
114                   enum: [sdhci]                   114                   enum: [sdhci]
115                                                   115 
116           - if:                                   116           - if:
117               properties:                         117               properties:
118                 function:                         118                 function:
119                   const: pcie refclk              119                   const: pcie refclk
120             then:                                 120             then:
121               properties:                         121               properties:
122                 groups:                           122                 groups:
123                   enum: [pcie]                    123                   enum: [pcie]
124                                                   124 
125           - if:                                   125           - if:
126               properties:                         126               properties:
127                 function:                         127                 function:
128                   const: pcie rst                 128                   const: pcie rst
129             then:                                 129             then:
130               properties:                         130               properties:
131                 groups:                           131                 groups:
132                   enum: [pcie]                    132                   enum: [pcie]
133                                                   133 
134           - if:                                   134           - if:
135               properties:                         135               properties:
136                 function:                         136                 function:
137                   const: pcm                      137                   const: pcm
138             then:                                 138             then:
139               properties:                         139               properties:
140                 groups:                           140                 groups:
141                   enum: [uart2]                   141                   enum: [uart2]
142                                                   142 
143           - if:                                   143           - if:
144               properties:                         144               properties:
145                 function:                         145                 function:
146                   const: rgmii1                   146                   const: rgmii1
147             then:                                 147             then:
148               properties:                         148               properties:
149                 groups:                           149                 groups:
150                   enum: [rgmii1]                  150                   enum: [rgmii1]
151                                                   151 
152           - if:                                   152           - if:
153               properties:                         153               properties:
154                 function:                         154                 function:
155                   const: rgmii2                   155                   const: rgmii2
156             then:                                 156             then:
157               properties:                         157               properties:
158                 groups:                           158                 groups:
159                   enum: [rgmii2]                  159                   enum: [rgmii2]
160                                                   160 
161           - if:                                   161           - if:
162               properties:                         162               properties:
163                 function:                         163                 function:
164                   const: sdhci                    164                   const: sdhci
165             then:                                 165             then:
166               properties:                         166               properties:
167                 groups:                           167                 groups:
168                   enum: [sdhci]                   168                   enum: [sdhci]
169                                                   169 
170           - if:                                   170           - if:
171               properties:                         171               properties:
172                 function:                         172                 function:
173                   const: spdif2                   173                   const: spdif2
174             then:                                 174             then:
175               properties:                         175               properties:
176                 groups:                           176                 groups:
177                   enum: [uart2]                   177                   enum: [uart2]
178                                                   178 
179           - if:                                   179           - if:
180               properties:                         180               properties:
181                 function:                         181                 function:
182                   const: spdif3                   182                   const: spdif3
183             then:                                 183             then:
184               properties:                         184               properties:
185                 groups:                           185                 groups:
186                   enum: [uart3]                   186                   enum: [uart3]
187                                                   187 
188           - if:                                   188           - if:
189               properties:                         189               properties:
190                 function:                         190                 function:
191                   const: spi                      191                   const: spi
192             then:                                 192             then:
193               properties:                         193               properties:
194                 groups:                           194                 groups:
195                   enum: [spi]                     195                   enum: [spi]
196                                                   196 
197           - if:                                   197           - if:
198               properties:                         198               properties:
199                 function:                         199                 function:
200                   const: uart1                    200                   const: uart1
201             then:                                 201             then:
202               properties:                         202               properties:
203                 groups:                           203                 groups:
204                   enum: [uart1]                   204                   enum: [uart1]
205                                                   205 
206           - if:                                   206           - if:
207               properties:                         207               properties:
208                 function:                         208                 function:
209                   const: uart2                    209                   const: uart2
210             then:                                 210             then:
211               properties:                         211               properties:
212                 groups:                           212                 groups:
213                   enum: [uart2]                   213                   enum: [uart2]
214                                                   214 
215           - if:                                   215           - if:
216               properties:                         216               properties:
217                 function:                         217                 function:
218                   const: uart3                    218                   const: uart3
219             then:                                 219             then:
220               properties:                         220               properties:
221                 groups:                           221                 groups:
222                   enum: [uart3]                   222                   enum: [uart3]
223                                                   223 
224           - if:                                   224           - if:
225               properties:                         225               properties:
226                 function:                         226                 function:
227                   const: wdt refclk               227                   const: wdt refclk
228             then:                                 228             then:
229               properties:                         229               properties:
230                 groups:                           230                 groups:
231                   enum: [wdt]                     231                   enum: [wdt]
232                                                   232 
233           - if:                                   233           - if:
234               properties:                         234               properties:
235                 function:                         235                 function:
236                   const: wdt rst                  236                   const: wdt rst
237             then:                                 237             then:
238               properties:                         238               properties:
239                 groups:                           239                 groups:
240                   enum: [wdt]                     240                   enum: [wdt]
241                                                   241 
242 allOf:                                            242 allOf:
243   - $ref: pinctrl.yaml#                           243   - $ref: pinctrl.yaml#
244                                                   244 
245 required:                                         245 required:
246   - compatible                                    246   - compatible
247                                                   247 
248 additionalProperties: false                       248 additionalProperties: false
249                                                   249 
250 examples:                                         250 examples:
251   - |                                             251   - |
252     pinctrl {                                     252     pinctrl {
253       compatible = "ralink,mt7621-pinctrl";       253       compatible = "ralink,mt7621-pinctrl";
254                                                   254 
255       i2c_pins: i2c0-pins {                       255       i2c_pins: i2c0-pins {
256         pinmux {                                  256         pinmux {
257           groups = "i2c";                         257           groups = "i2c";
258           function = "i2c";                       258           function = "i2c";
259         };                                        259         };
260       };                                          260       };
261     };                                            261     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php