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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/ti/k3-am65-iot2050-arduino-connector.dtsi

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 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * Copyright (c) Siemens AG, 2018-2023
  4  *
  5  * Authors:
  6  *   Le Jin <le.jin@siemens.com>
  7  *   Jan Kiszka <jan.kiszka@siemens.com>
  8  *
  9  * Common bits for IOT2050 variants with Arduino connector
 10  */
 11 
 12 &wkup_pmx0 {
 13         pinctrl-names =
 14                 "default",
 15                 "d0-uart0-rxd",  "d0-gpio",  "d0-gpio-pullup",  "d0-gpio-pulldown",
 16                 "d1-uart0-txd",  "d1-gpio",  "d1-gpio-pullup",  "d1-gpio-pulldown",
 17                 "d2-uart0-ctsn", "d2-gpio",  "d2-gpio-pullup",  "d2-gpio-pulldown",
 18                 "d3-uart0-rtsn", "d3-gpio",  "d3-gpio-pullup",  "d3-gpio-pulldown",
 19                 "d10-spi0-cs0",  "d10-gpio", "d10-gpio-pullup", "d10-gpio-pulldown",
 20                 "d11-spi0-d0",   "d11-gpio", "d11-gpio-pullup", "d11-gpio-pulldown",
 21                 "d12-spi0-d1",   "d12-gpio", "d12-gpio-pullup", "d12-gpio-pulldown",
 22                 "d13-spi0-clk",  "d13-gpio", "d13-gpio-pullup", "d13-gpio-pulldown",
 23                 "a0-gpio", "a0-gpio-pullup", "a0-gpio-pulldown",
 24                 "a1-gpio", "a1-gpio-pullup", "a1-gpio-pulldown",
 25                 "a2-gpio", "a2-gpio-pullup", "a2-gpio-pulldown",
 26                 "a3-gpio", "a3-gpio-pullup", "a3-gpio-pulldown",
 27                 "a4-gpio", "a4-gpio-pullup", "a4-gpio-pulldown",
 28                 "a5-gpio", "a5-gpio-pullup", "a5-gpio-pulldown";
 29 
 30         pinctrl-0 = <&d0_uart0_rxd>;
 31         pinctrl-1 = <&d0_uart0_rxd>;
 32         pinctrl-2 = <&d0_gpio>;
 33         pinctrl-3 = <&d0_gpio_pullup>;
 34         pinctrl-4 = <&d0_gpio_pulldown>;
 35         pinctrl-5 = <&d1_uart0_txd>;
 36         pinctrl-6 = <&d1_gpio>;
 37         pinctrl-7 = <&d1_gpio_pullup>;
 38         pinctrl-8 = <&d1_gpio_pulldown>;
 39         pinctrl-9 = <&d2_uart0_ctsn>;
 40         pinctrl-10 = <&d2_gpio>;
 41         pinctrl-11 = <&d2_gpio_pullup>;
 42         pinctrl-12 = <&d2_gpio_pulldown>;
 43         pinctrl-13 = <&d3_uart0_rtsn>;
 44         pinctrl-14 = <&d3_gpio>;
 45         pinctrl-15 = <&d3_gpio_pullup>;
 46         pinctrl-16 = <&d3_gpio_pulldown>;
 47         pinctrl-17 = <&d10_spi0_cs0>;
 48         pinctrl-18 = <&d10_gpio>;
 49         pinctrl-19 = <&d10_gpio_pullup>;
 50         pinctrl-20 = <&d10_gpio_pulldown>;
 51         pinctrl-21 = <&d11_spi0_d0>;
 52         pinctrl-22 = <&d11_gpio>;
 53         pinctrl-23 = <&d11_gpio_pullup>;
 54         pinctrl-24 = <&d11_gpio_pulldown>;
 55         pinctrl-25 = <&d12_spi0_d1>;
 56         pinctrl-26 = <&d12_gpio>;
 57         pinctrl-27 = <&d12_gpio_pullup>;
 58         pinctrl-28 = <&d12_gpio_pulldown>;
 59         pinctrl-29 = <&d13_spi0_clk>;
 60         pinctrl-30 = <&d13_gpio>;
 61         pinctrl-31 = <&d13_gpio_pullup>;
 62         pinctrl-32 = <&d13_gpio_pulldown>;
 63         pinctrl-33 = <&a0_gpio>;
 64         pinctrl-34 = <&a0_gpio_pullup>;
 65         pinctrl-35 = <&a0_gpio_pulldown>;
 66         pinctrl-36 = <&a1_gpio>;
 67         pinctrl-37 = <&a1_gpio_pullup>;
 68         pinctrl-38 = <&a1_gpio_pulldown>;
 69         pinctrl-39 = <&a2_gpio>;
 70         pinctrl-40 = <&a2_gpio_pullup>;
 71         pinctrl-41 = <&a2_gpio_pulldown>;
 72         pinctrl-42 = <&a3_gpio>;
 73         pinctrl-43 = <&a3_gpio_pullup>;
 74         pinctrl-44 = <&a3_gpio_pulldown>;
 75         pinctrl-45 = <&a4_gpio>;
 76         pinctrl-46 = <&a4_gpio_pullup>;
 77         pinctrl-47 = <&a4_gpio_pulldown>;
 78         pinctrl-48 = <&a5_gpio>;
 79         pinctrl-49 = <&a5_gpio_pullup>;
 80         pinctrl-50 = <&a5_gpio_pulldown>;
 81 
 82         d0_uart0_rxd: d0-uart0-rxd-pins {
 83                 pinctrl-single,pins = <
 84                         /* (P4) MCU_UART0_RXD */
 85                         AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4)
 86                 >;
 87         };
 88 
 89         d0_gpio: d0-gpio-pins {
 90                 pinctrl-single,pins = <
 91                         /* (P4) WKUP_GPIO0_29 */
 92                         AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 7)
 93                 >;
 94         };
 95 
 96         d0_gpio_pullup: d0-gpio-pullup-pins {
 97                 pinctrl-single,pins = <
 98                         /* (P4) WKUP_GPIO0_29 */
 99                         AM65X_WKUP_IOPAD(0x0044, PIN_INPUT_PULLUP, 7)
100                 >;
101         };
102 
103         d0_gpio_pulldown: d0-gpio-pulldown-pins {
104                 pinctrl-single,pins = <
105                         /* (P4) WKUP_GPIO0_29 */
106                         AM65X_WKUP_IOPAD(0x0044, PIN_INPUT_PULLDOWN, 7)
107                 >;
108         };
109 
110         d1_uart0_txd: d1-uart0-txd-pins {
111                 pinctrl-single,pins = <
112                         /* (P5) MCU_UART0_TXD */
113                         AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4)
114                 >;
115         };
116 
117         d1_gpio: d1-gpio-pins {
118                 pinctrl-single,pins = <
119                         /* (P5) WKUP_GPIO0_30 */
120                         AM65X_WKUP_IOPAD(0x0048, PIN_INPUT, 7)
121                 >;
122         };
123 
124         d1_gpio_pullup: d1-gpio-pullup-pins {
125                 pinctrl-single,pins = <
126                         /* (P5) WKUP_GPIO0_30 */
127                         AM65X_WKUP_IOPAD(0x0048, PIN_INPUT, 7)
128                 >;
129         };
130 
131         d1_gpio_pulldown: d1-gpio-pulldown-pins {
132                 pinctrl-single,pins = <
133                         /* (P5) WKUP_GPIO0_30 */
134                         AM65X_WKUP_IOPAD(0x0048, PIN_INPUT_PULLDOWN, 7)
135                 >;
136         };
137 
138         d2_uart0_ctsn: d2-uart0-ctsn-pins {
139                 pinctrl-single,pins = <
140                         /* (P1) MCU_UART0_CTSn */
141                         AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 4)
142                 >;
143         };
144 
145         d2_gpio: d2-gpio-pins {
146                 pinctrl-single,pins = <
147                         /* (P5) WKUP_GPIO0_31 */
148                         AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 7)
149                 >;
150         };
151 
152         d2_gpio_pullup: d2-gpio-pullup-pins {
153                 pinctrl-single,pins = <
154                         /* (P5) WKUP_GPIO0_31 */
155                         AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 7)
156                 >;
157         };
158 
159         d2_gpio_pulldown: d2-gpio-pulldown-pins {
160                 pinctrl-single,pins = <
161                         /* (P5) WKUP_GPIO0_31 */
162                         AM65X_WKUP_IOPAD(0x004C, PIN_INPUT_PULLDOWN, 7)
163                 >;
164         };
165 
166         d3_uart0_rtsn: d3-uart0-rtsn-pins {
167                 pinctrl-single,pins = <
168                         /* (N3) MCU_UART0_RTSn */
169                         AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 4)
170                 >;
171         };
172 
173         d3_gpio: d3-gpio-pins {
174                 pinctrl-single,pins = <
175                         /* (N3) WKUP_GPIO0_33 */
176                         AM65X_WKUP_IOPAD(0x0054, PIN_INPUT, 7)
177                 >;
178         };
179 
180         d3_gpio_pullup: d3-gpio-pullup-pins {
181                 pinctrl-single,pins = <
182                         /* (N3) WKUP_GPIO0_33 */
183                         AM65X_WKUP_IOPAD(0x0054, PIN_INPUT, 7)
184                 >;
185         };
186 
187         d3_gpio_pulldown: d3-gpio-pulldown-pins {
188                 pinctrl-single,pins = <
189                         /* (N3) WKUP_GPIO0_33 */
190                         AM65X_WKUP_IOPAD(0x0054, PIN_INPUT_PULLDOWN, 7)
191                 >;
192         };
193 
194         d10_spi0_cs0: d10-spi0-cs0-pins {
195                 pinctrl-single,pins = <
196                         /* (Y4) MCU_SPI0_CS0 */
197                         AM65X_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0)
198                 >;
199         };
200 
201         d10_gpio: d10-gpio-pins {
202                 pinctrl-single,pins = <
203                         /* (Y4) WKUP_GPIO0_51 */
204                         AM65X_WKUP_IOPAD(0x009c, PIN_INPUT, 7)
205                 >;
206         };
207 
208         d10_gpio_pullup: d10-gpio-pullup-pins {
209                 pinctrl-single,pins = <
210                         /* (Y4) WKUP_GPIO0_51 */
211                         AM65X_WKUP_IOPAD(0x009c, PIN_INPUT, 7)
212                 >;
213         };
214 
215         d10_gpio_pulldown: d10-gpio-pulldown-pins {
216                 pinctrl-single,pins = <
217                         /* (Y4) WKUP_GPIO0_51 */
218                         AM65X_WKUP_IOPAD(0x009c, PIN_INPUT_PULLDOWN, 7)
219                 >;
220         };
221 
222         d11_spi0_d0: d11-spi0-d0-pins {
223                 pinctrl-single,pins = <
224                         /* (Y3) MCU_SPI0_D0 */
225                         AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 0)
226                 >;
227         };
228 
229         d11_gpio: d11-gpio-pins {
230                 pinctrl-single,pins = <
231                         /* (Y3) WKUP_GPIO0_49 */
232                         AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 7)
233                 >;
234         };
235 
236         d11_gpio_pullup: d11-gpio-pullup-pins {
237                 pinctrl-single,pins = <
238                         /* (Y3) WKUP_GPIO0_49 */
239                         AM65X_WKUP_IOPAD(0x0094, PIN_INPUT, 7)
240                 >;
241         };
242 
243         d11_gpio_pulldown: d11-gpio-pulldown-pins {
244                 pinctrl-single,pins = <
245                         /* (Y3) WKUP_GPIO0_49 */
246                         AM65X_WKUP_IOPAD(0x0094, PIN_INPUT_PULLDOWN, 7)
247                 >;
248         };
249 
250         d12_spi0_d1: d12-spi0-d1-pins {
251                 pinctrl-single,pins = <
252                         /* (Y2) MCU_SPI0_D1 */
253                         AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 0)
254                 >;
255         };
256 
257         d12_gpio: d12-gpio-pins {
258                 pinctrl-single,pins = <
259                         /* (Y2) WKUP_GPIO0_50 */
260                         AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 7)
261                 >;
262         };
263 
264         d12_gpio_pullup: d12-gpio-pullup-pins {
265                 pinctrl-single,pins = <
266                         /* (Y2) WKUP_GPIO0_50 */
267                         AM65X_WKUP_IOPAD(0x0098, PIN_INPUT, 7)
268                 >;
269         };
270 
271         d12_gpio_pulldown: d12-gpio-pulldown-pins {
272                 pinctrl-single,pins = <
273                         /* (Y2) WKUP_GPIO0_50 */
274                         AM65X_WKUP_IOPAD(0x0098, PIN_INPUT_PULLDOWN, 7)
275                 >;
276         };
277 
278         d13_spi0_clk: d13-spi0-clk-pins {
279                 pinctrl-single,pins = <
280                         /* (Y1) MCU_SPI0_CLK */
281                         AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 0)
282                 >;
283         };
284 
285         d13_gpio: d13-gpio-pins {
286                 pinctrl-single,pins = <
287                         /* (Y1) WKUP_GPIO0_48 */
288                         AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 7)
289                 >;
290         };
291 
292         d13_gpio_pullup: d13-gpio-pullup-pins {
293                 pinctrl-single,pins = <
294                         /* (Y1) WKUP_GPIO0_48 */
295                         AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 7)
296                 >;
297         };
298 
299         d13_gpio_pulldown: d13-gpio-pulldown-pins {
300                 pinctrl-single,pins = <
301                         /* (Y1) WKUP_GPIO0_48 */
302                         AM65X_WKUP_IOPAD(0x0090, PIN_INPUT_PULLDOWN, 7)
303                 >;
304         };
305 
306         a0_gpio: a0-gpio-pins {
307                 pinctrl-single,pins = <
308                         /* (L6) WKUP_GPIO0_45 */
309                         AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 7)
310                 >;
311         };
312 
313         a0_gpio_pullup: a0-gpio-pullup-pins {
314                 pinctrl-single,pins = <
315                         /* (L6) WKUP_GPIO0_45 */
316                         AM65X_WKUP_IOPAD(0x0084, PIN_INPUT, 7)
317                 >;
318         };
319 
320         a0_gpio_pulldown: a0-gpio-pulldown-pins {
321                 pinctrl-single,pins = <
322                         /* (L6) WKUP_GPIO0_45 */
323                         AM65X_WKUP_IOPAD(0x0084, PIN_INPUT_PULLDOWN, 7)
324                 >;
325         };
326 
327         a1_gpio: a1-gpio-pins {
328                 pinctrl-single,pins = <
329                         /* (M6) WKUP_GPIO0_44 */
330                         AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 7)
331                 >;
332         };
333 
334         a1_gpio_pullup: a1-gpio-pullup-pins {
335                 pinctrl-single,pins = <
336                         /* (M6) WKUP_GPIO0_44 */
337                         AM65X_WKUP_IOPAD(0x0080, PIN_INPUT, 7)
338                 >;
339         };
340 
341         a1_gpio_pulldown: a1-gpio-pulldown-pins {
342                 pinctrl-single,pins = <
343                         /* (M6) WKUP_GPIO0_44 */
344                         AM65X_WKUP_IOPAD(0x0080, PIN_INPUT_PULLDOWN, 7)
345                 >;
346         };
347 
348         a2_gpio: a2-gpio-pins {
349                 pinctrl-single,pins = <
350                         /* (L5) WKUP_GPIO0_43 */
351                         AM65X_WKUP_IOPAD(0x007C, PIN_INPUT, 7)
352                 >;
353         };
354 
355         a2_gpio_pullup: a2-gpio-pullup-pins {
356                 pinctrl-single,pins = <
357                         /* (L5) WKUP_GPIO0_43 */
358                         AM65X_WKUP_IOPAD(0x007C, PIN_INPUT, 7)
359                 >;
360         };
361 
362         a2_gpio_pulldown: a2-gpio-pulldown-pins {
363                 pinctrl-single,pins = <
364                         /* (L5) WKUP_GPIO0_43 */
365                         AM65X_WKUP_IOPAD(0x007C, PIN_INPUT_PULLDOWN, 7)
366                 >;
367         };
368 
369         a3_gpio: a3-gpio-pins {
370                 pinctrl-single,pins = <
371                         /* (M5) WKUP_GPIO0_39 */
372                         AM65X_WKUP_IOPAD(0x006C, PIN_INPUT, 7)
373                 >;
374         };
375 
376         a3_gpio_pullup: a3-gpio-pullup-pins {
377                 pinctrl-single,pins = <
378                         /* (M5) WKUP_GPIO0_39 */
379                         AM65X_WKUP_IOPAD(0x006C, PIN_INPUT, 7)
380                 >;
381         };
382 
383         a3_gpio_pulldown: a3-gpio-pulldown-pins {
384                 pinctrl-single,pins = <
385                         /* (M5) WKUP_GPIO0_39 */
386                         AM65X_WKUP_IOPAD(0x006C, PIN_INPUT_PULLDOWN, 7)
387                 >;
388         };
389 
390         a4_gpio: a4-gpio-pins {
391                 pinctrl-single,pins = <
392                         /* (L2) WKUP_GPIO0_42 */
393                         AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 7)
394                 >;
395         };
396 
397         a4_gpio_pullup: a4-gpio-pullup-pins {
398                 pinctrl-single,pins = <
399                         /* (L2) WKUP_GPIO0_42 */
400                         AM65X_WKUP_IOPAD(0x0078, PIN_INPUT, 7)
401                 >;
402         };
403 
404         a4_gpio_pulldown: a4-gpio-pulldown-pins {
405                 pinctrl-single,pins = <
406                         /* (L2) WKUP_GPIO0_42 */
407                         AM65X_WKUP_IOPAD(0x0078, PIN_INPUT_PULLDOWN, 7)
408                 >;
409         };
410 
411         a5_gpio: a5-gpio-pins {
412                 pinctrl-single,pins = <
413                         /* (N5) WKUP_GPIO0_35 */
414                         AM65X_WKUP_IOPAD(0x005C, PIN_INPUT, 7)
415                 >;
416         };
417 
418         a5_gpio_pullup: a5-gpio-pullup-pins {
419                 pinctrl-single,pins = <
420                         /* (N5) WKUP_GPIO0_35 */
421                         AM65X_WKUP_IOPAD(0x005C, PIN_INPUT_PULLUP, 7)
422                 >;
423         };
424 
425         a5_gpio_pulldown: a5-gpio-pulldown-pins {
426                 pinctrl-single,pins = <
427                         /* (N5) WKUP_GPIO0_35 */
428                         AM65X_WKUP_IOPAD(0x005C, PIN_INPUT_PULLDOWN, 7)
429                 >;
430         };
431 
432         wkup_i2c0_pins_default: wkup-i2c0-default-pins {
433                 pinctrl-single,pins = <
434                         /* (AC7) WKUP_I2C0_SCL */
435                         AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT,  0)
436                         /* (AD6) WKUP_I2C0_SDA */
437                         AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT,  0)
438                 >;
439         };
440 
441         arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-default-pins {
442                 pinctrl-single,pins = <
443                         /* (R2) WKUP_GPIO0_21 */
444                         AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7)
445                 >;
446         };
447 
448         arduino_io_oe_pins_default: arduino-io-oe-default-pins {
449                 pinctrl-single,pins = <
450                         /* (N4) WKUP_GPIO0_34 */
451                         AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7)
452                         /* (M2) WKUP_GPIO0_36 */
453                         AM65X_WKUP_IOPAD(0x0060, PIN_OUTPUT, 7)
454                         /* (M3) WKUP_GPIO0_37 */
455                         AM65X_WKUP_IOPAD(0x0064, PIN_OUTPUT, 7)
456                         /* (M4) WKUP_GPIO0_38 */
457                         AM65X_WKUP_IOPAD(0x0068, PIN_OUTPUT, 7)
458                         /* (M1) WKUP_GPIO0_41 */
459                         AM65X_WKUP_IOPAD(0x0074, PIN_OUTPUT, 7)
460                 >;
461         };
462 };
463 
464 &main_pmx0 {
465         pinctrl-names =
466                 "default",
467                 "d4-ehrpwm0-a", "d4-gpio", "d4-gpio-pullup", "d4-gpio-pulldown",
468                 "d5-ehrpwm1-a", "d5-gpio", "d5-gpio-pullup", "d5-gpio-pulldown",
469                 "d6-ehrpwm2-a", "d6-gpio", "d6-gpio-pullup", "d6-gpio-pulldown",
470                 "d7-ehrpwm3-a", "d7-gpio", "d7-gpio-pullup", "d7-gpio-pulldown",
471                 "d8-ehrpwm4-a", "d8-gpio", "d8-gpio-pullup", "d8-gpio-pulldown",
472                 "d9-ehrpwm5-a", "d9-gpio", "d9-gpio-pullup", "d9-gpio-pulldown";
473 
474         pinctrl-0 = <&d4_ehrpwm0_a>;
475         pinctrl-1 = <&d4_ehrpwm0_a>;
476         pinctrl-2 = <&d4_gpio>;
477         pinctrl-3 = <&d4_gpio_pullup>;
478         pinctrl-4 = <&d4_gpio_pulldown>;
479 
480         pinctrl-5 = <&d5_ehrpwm1_a>;
481         pinctrl-6 = <&d5_gpio>;
482         pinctrl-7 = <&d5_gpio_pullup>;
483         pinctrl-8 = <&d5_gpio_pulldown>;
484 
485         pinctrl-9 = <&d6_ehrpwm2_a>;
486         pinctrl-10 = <&d6_gpio>;
487         pinctrl-11 = <&d6_gpio_pullup>;
488         pinctrl-12 = <&d6_gpio_pulldown>;
489 
490         pinctrl-13 = <&d7_ehrpwm3_a>;
491         pinctrl-14 = <&d7_gpio>;
492         pinctrl-15 = <&d7_gpio_pullup>;
493         pinctrl-16 = <&d7_gpio_pulldown>;
494 
495         pinctrl-17 = <&d8_ehrpwm4_a>;
496         pinctrl-18 = <&d8_gpio>;
497         pinctrl-19 = <&d8_gpio_pullup>;
498         pinctrl-20 = <&d8_gpio_pulldown>;
499 
500         pinctrl-21 = <&d9_ehrpwm5_a>;
501         pinctrl-22 = <&d9_gpio>;
502         pinctrl-23 = <&d9_gpio_pullup>;
503         pinctrl-24 = <&d9_gpio_pulldown>;
504 
505         d4_ehrpwm0_a: d4-ehrpwm0-a-pins {
506                 pinctrl-single,pins = <
507                         /* (AG18) EHRPWM0_A */
508                         AM65X_IOPAD(0x0084, PIN_OUTPUT, 5)
509                 >;
510         };
511 
512         d4_gpio: d4-gpio-pins {
513                 pinctrl-single,pins = <
514                         /* (AG18) GPIO0_33 */
515                         AM65X_IOPAD(0x0084, PIN_INPUT, 7)
516                 >;
517         };
518 
519         d4_gpio_pullup: d4-gpio-pullup-pins {
520                 pinctrl-single,pins = <
521                         /* (AG18) GPIO0_33 */
522                         AM65X_IOPAD(0x0084, PIN_INPUT_PULLUP, 7)
523                 >;
524         };
525 
526         d4_gpio_pulldown: d4-gpio-pulldown-pins {
527                 pinctrl-single,pins = <
528                         /* (AG18) GPIO0_33 */
529                         AM65X_IOPAD(0x0084, PIN_INPUT_PULLDOWN, 7)
530                 >;
531         };
532 
533         d5_ehrpwm1_a: d5-ehrpwm1-a-pins {
534                 pinctrl-single,pins = <
535                         /* (AF17) EHRPWM1_A */
536                         AM65X_IOPAD(0x008C, PIN_OUTPUT, 5)
537                 >;
538         };
539 
540         d5_gpio: d5-gpio-pins {
541                 pinctrl-single,pins = <
542                         /* (AF17) GPIO0_35 */
543                         AM65X_IOPAD(0x008C, PIN_INPUT, 7)
544                 >;
545         };
546 
547         d5_gpio_pullup: d5-gpio-pullup-pins {
548                 pinctrl-single,pins = <
549                         /* (AF17) GPIO0_35 */
550                         AM65X_IOPAD(0x008C, PIN_INPUT_PULLUP, 7)
551                 >;
552         };
553 
554         d5_gpio_pulldown: d5-gpio-pulldown-pins {
555                 pinctrl-single,pins = <
556                         /* (AF17) GPIO0_35 */
557                         AM65X_IOPAD(0x008C, PIN_INPUT_PULLDOWN, 7)
558                 >;
559         };
560 
561         d6_ehrpwm2_a: d6-ehrpwm2-a-pins {
562                 pinctrl-single,pins = <
563                         /* (AH16) EHRPWM2_A */
564                         AM65X_IOPAD(0x0098, PIN_OUTPUT, 5)
565                 >;
566         };
567 
568         d6_gpio: d6-gpio-pins {
569                 pinctrl-single,pins = <
570                         /* (AH16) GPIO0_38 */
571                         AM65X_IOPAD(0x0098, PIN_INPUT, 7)
572                 >;
573         };
574 
575         d6_gpio_pullup: d6-gpio-pullup-pins {
576                 pinctrl-single,pins = <
577                         /* (AH16) GPIO0_38 */
578                         AM65X_IOPAD(0x0098, PIN_INPUT_PULLUP, 7)
579                 >;
580         };
581 
582         d6_gpio_pulldown: d6-gpio-pulldown-pins {
583                 pinctrl-single,pins = <
584                         /* (AH16) GPIO0_38 */
585                         AM65X_IOPAD(0x0098, PIN_INPUT_PULLDOWN, 7)
586                 >;
587         };
588 
589         d7_ehrpwm3_a: d7-ehrpwm3-a-pins {
590                 pinctrl-single,pins = <
591                         /* (AH15) EHRPWM3_A */
592                         AM65X_IOPAD(0x00AC, PIN_OUTPUT, 5)
593                 >;
594         };
595 
596         d7_gpio: d7-gpio-pins {
597                 pinctrl-single,pins = <
598                         /* (AH15) GPIO0_43 */
599                         AM65X_IOPAD(0x00AC, PIN_INPUT, 7)
600                 >;
601         };
602 
603         d7_gpio_pullup: d7-gpio-pullup-pins {
604                 pinctrl-single,pins = <
605                         /* (AH15) GPIO0_43 */
606                         AM65X_IOPAD(0x00AC, PIN_INPUT_PULLUP, 7)
607                 >;
608         };
609 
610         d7_gpio_pulldown: d7-gpio-pulldown-pins {
611                 pinctrl-single,pins = <
612                         /* (AH15) GPIO0_43 */
613                         AM65X_IOPAD(0x00AC, PIN_INPUT_PULLDOWN, 7)
614                 >;
615         };
616 
617         d8_ehrpwm4_a: d8-ehrpwm4-a-pins {
618                 pinctrl-single,pins = <
619                         /* (AG15) EHRPWM4_A */
620                         AM65X_IOPAD(0x00C0, PIN_OUTPUT, 5)
621                 >;
622         };
623 
624         d8_gpio: d8-gpio-pins {
625                 pinctrl-single,pins = <
626                         /* (AG15) GPIO0_48 */
627                         AM65X_IOPAD(0x00C0, PIN_INPUT, 7)
628                 >;
629         };
630 
631         d8_gpio_pullup: d8-gpio-pullup-pins {
632                 pinctrl-single,pins = <
633                         /* (AG15) GPIO0_48 */
634                         AM65X_IOPAD(0x00C0, PIN_INPUT_PULLUP, 7)
635                 >;
636         };
637 
638         d8_gpio_pulldown: d8-gpio-pulldown-pins {
639                 pinctrl-single,pins = <
640                         /* (AG15) GPIO0_48 */
641                         AM65X_IOPAD(0x00C0, PIN_INPUT_PULLDOWN, 7)
642                 >;
643         };
644 
645         d9_ehrpwm5_a: d9-ehrpwm5-a-pins {
646                 pinctrl-single,pins = <
647                         /* (AD15) EHRPWM5_A */
648                         AM65X_IOPAD(0x00CC, PIN_OUTPUT, 5)
649                 >;
650         };
651 
652         d9_gpio: d9-gpio-pins {
653                 pinctrl-single,pins = <
654                         /* (AD15) GPIO0_51 */
655                         AM65X_IOPAD(0x00CC, PIN_INPUT, 7)
656                 >;
657         };
658 
659         d9_gpio_pullup: d9-gpio-pullup-pins {
660                 pinctrl-single,pins = <
661                         /* (AD15) GPIO0_51 */
662                         AM65X_IOPAD(0x00CC, PIN_INPUT_PULLUP, 7)
663                 >;
664         };
665 
666         d9_gpio_pulldown: d9-gpio-pulldown-pins {
667                 pinctrl-single,pins = <
668                         /* (AD15) GPIO0_51 */
669                         AM65X_IOPAD(0x00CC, PIN_INPUT_PULLDOWN, 7)
670                 >;
671         };
672 };
673 
674 &main_gpio0 {
675         gpio-line-names =
676                 "main_gpio0-base", "", "", "", "", "", "", "", "", "",
677                 "", "", "", "", "", "", "", "", "", "",
678                 "", "", "", "", "", "", "", "", "", "",
679                 "", "", "", "IO4", "", "IO5", "", "", "IO6", "",
680                 "", "", "", "IO7", "", "", "", "", "IO8", "",
681                 "", "IO9";
682 };
683 
684 &wkup_gpio0 {
685         pinctrl-names = "default";
686         pinctrl-0 =
687                 <&arduino_i2c_aio_switch_pins_default>,
688                 <&arduino_io_oe_pins_default>,
689                 <&push_button_pins_default>,
690                 <&db9_com_mode_pins_default>;
691         gpio-line-names =
692                 /* 0..9 */
693                 "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0",
694                 "UART0-enable", "UART0-terminate", "", "WIFI-disable",
695                 /* 10..19 */
696                 "", "", "", "", "", "", "", "", "", "",
697                 /* 20..29 */
698                 "", "A4A5-I2C-mux", "", "", "", "USER-button", "", "", "","IO0",
699                 /* 30..39 */
700                 "IO1", "IO2", "", "IO3", "IO17-direction", "A5",
701                 "IO16-direction", "IO15-direction", "IO14-direction", "A3",
702                 /* 40..49 */
703                 "", "IO18-direction", "A4", "A2", "A1", "A0", "", "", "IO13",
704                 "IO11",
705                 /* 50..51 */
706                 "IO12", "IO10";
707 };
708 
709 &wkup_i2c0 {
710         status = "okay";
711         pinctrl-names = "default";
712         pinctrl-0 = <&wkup_i2c0_pins_default>;
713         clock-frequency = <400000>;
714 };
715 
716 &mcu_i2c0 {
717         /* D4200 */
718         pcal9535_1: gpio@20 {
719                 compatible = "nxp,pcal9535";
720                 reg = <0x20>;
721                 #gpio-cells = <2>;
722                 gpio-controller;
723                 gpio-line-names =
724                         "A0-pull", "A1-pull", "A2-pull", "A3-pull", "A4-pull",
725                         "A5-pull", "", "",
726                         "IO14-enable", "IO15-enable", "IO16-enable",
727                         "IO17-enable", "IO18-enable", "IO19-enable";
728         };
729 
730         /* D4201 */
731         pcal9535_2: gpio@21 {
732                 compatible = "nxp,pcal9535";
733                 reg = <0x21>;
734                 #gpio-cells = <2>;
735                 gpio-controller;
736                 gpio-line-names =
737                         "IO0-direction", "IO1-direction", "IO2-direction",
738                         "IO3-direction", "IO4-direction", "IO5-direction",
739                         "IO6-direction", "IO7-direction",
740                         "IO8-direction", "IO9-direction", "IO10-direction",
741                         "IO11-direction", "IO12-direction", "IO13-direction",
742                         "IO19-direction";
743         };
744 
745         /* D4202 */
746         pcal9535_3: gpio@25 {
747                 compatible = "nxp,pcal9535";
748                 reg = <0x25>;
749                 #gpio-cells = <2>;
750                 gpio-controller;
751                 gpio-line-names =
752                         "IO0-pull", "IO1-pull", "IO2-pull", "IO3-pull",
753                         "IO4-pull", "IO5-pull", "IO6-pull", "IO7-pull",
754                         "IO8-pull", "IO9-pull", "IO10-pull", "IO11-pull",
755                         "IO12-pull", "IO13-pull";
756         };
757 };
758 
759 &mcu_uart0 {
760         status = "okay";
761 };
762 
763 &tscadc1 {
764         status = "okay";
765         adc {
766                 ti,adc-channels = <0 1 2 3 4 5>;
767         };
768 };

~ [ 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