Lines Matching +full:pin +full:- +full:controller

1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos3250 SoCs pin-mux and pin-config device tree source
8 * Samsung's Exynos3250 SoCs pin-mux and pin-config options are listed as device
12 #include "exynos-pinctrl.h"
15 pin- ## _pin { \
17 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; \
18 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \
19 samsung,pin-drv = <EXYNOS4_PIN_DRV_ ##_drv>; \
23 pin- ## _pin { \
25 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_ ##_mode>; \
26 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_ ##_pull>; \
30 gpa0: gpa0-gpio-bank {
31 gpio-controller;
32 #gpio-cells = <2>;
34 interrupt-controller;
35 #interrupt-cells = <2>;
38 gpa1: gpa1-gpio-bank {
39 gpio-controller;
40 #gpio-cells = <2>;
42 interrupt-controller;
43 #interrupt-cells = <2>;
46 gpb: gpb-gpio-bank {
47 gpio-controller;
48 #gpio-cells = <2>;
50 interrupt-controller;
51 #interrupt-cells = <2>;
54 gpc0: gpc0-gpio-bank {
55 gpio-controller;
56 #gpio-cells = <2>;
58 interrupt-controller;
59 #interrupt-cells = <2>;
62 gpc1: gpc1-gpio-bank {
63 gpio-controller;
64 #gpio-cells = <2>;
66 interrupt-controller;
67 #interrupt-cells = <2>;
70 gpd0: gpd0-gpio-bank {
71 gpio-controller;
72 #gpio-cells = <2>;
74 interrupt-controller;
75 #interrupt-cells = <2>;
78 gpd1: gpd1-gpio-bank {
79 gpio-controller;
80 #gpio-cells = <2>;
82 interrupt-controller;
83 #interrupt-cells = <2>;
86 uart0_data: uart0-data-pins {
87 samsung,pins = "gpa0-0", "gpa0-1";
88 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
89 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
90 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
93 uart0_fctl: uart0-fctl-pins {
94 samsung,pins = "gpa0-2", "gpa0-3";
95 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
96 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
97 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
100 uart1_data: uart1-data-pins {
101 samsung,pins = "gpa0-4", "gpa0-5";
102 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
103 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
104 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
107 uart1_fctl: uart1-fctl-pins {
108 samsung,pins = "gpa0-6", "gpa0-7";
109 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
110 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
111 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
114 i2c2_bus: i2c2-bus-pins {
115 samsung,pins = "gpa0-6", "gpa0-7";
116 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
117 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
118 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
121 uart2_data: uart2-data-pins {
122 samsung,pins = "gpa1-0", "gpa1-1";
123 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
124 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
125 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
128 i2c3_bus: i2c3-bus-pins {
129 samsung,pins = "gpa1-2", "gpa1-3";
130 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
131 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
132 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
135 spi0_bus: spi0-bus-pins {
136 samsung,pins = "gpb-0", "gpb-2", "gpb-3";
137 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
138 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
139 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
142 i2c4_bus: i2c4-bus-pins {
143 samsung,pins = "gpb-0", "gpb-1";
144 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
145 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
146 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
149 spi1_bus: spi1-bus-pins {
150 samsung,pins = "gpb-4", "gpb-6", "gpb-7";
151 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
152 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
153 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
156 i2c5_bus: i2c5-bus-pins {
157 samsung,pins = "gpb-2", "gpb-3";
158 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
159 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
160 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
163 i2s2_bus: i2s2-bus-pins {
164 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
165 "gpc1-4";
166 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
167 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
168 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
171 pcm2_bus: pcm2-bus-pins {
172 samsung,pins = "gpc1-0", "gpc1-1", "gpc1-2", "gpc1-3",
173 "gpc1-4";
174 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
175 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
176 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
179 i2c6_bus: i2c6-bus-pins {
180 samsung,pins = "gpc1-3", "gpc1-4";
181 samsung,pin-function = <EXYNOS_PIN_FUNC_4>;
182 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
183 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
186 pwm0_out: pwm0-out-pins {
187 samsung,pins = "gpd0-0";
188 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
189 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
190 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
193 pwm1_out: pwm1-out-pins {
194 samsung,pins = "gpd0-1";
195 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
196 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
197 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
200 i2c7_bus: i2c7-bus-pins {
201 samsung,pins = "gpd0-2", "gpd0-3";
202 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
203 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
204 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
207 pwm2_out: pwm2-out-pins {
208 samsung,pins = "gpd0-2";
209 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
210 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
211 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
214 pwm3_out: pwm3-out-pins {
215 samsung,pins = "gpd0-3";
216 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
217 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
218 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
221 i2c0_bus: i2c0-bus-pins {
222 samsung,pins = "gpd1-0", "gpd1-1";
223 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
224 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
225 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
228 mipi0_clk: mipi0-clk-pins {
229 samsung,pins = "gpd1-0", "gpd1-1";
230 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
231 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
232 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
235 i2c1_bus: i2c1-bus-pins {
236 samsung,pins = "gpd1-2", "gpd1-3";
237 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
238 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
239 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
244 gpe0: gpe0-gpio-bank {
245 gpio-controller;
246 #gpio-cells = <2>;
249 gpe1: gpe1-gpio-bank {
250 gpio-controller;
251 #gpio-cells = <2>;
254 gpe2: gpe2-gpio-bank {
255 gpio-controller;
256 #gpio-cells = <2>;
259 gpk0: gpk0-gpio-bank {
260 gpio-controller;
261 #gpio-cells = <2>;
263 interrupt-controller;
264 #interrupt-cells = <2>;
267 gpk1: gpk1-gpio-bank {
268 gpio-controller;
269 #gpio-cells = <2>;
271 interrupt-controller;
272 #interrupt-cells = <2>;
275 gpk2: gpk2-gpio-bank {
276 gpio-controller;
277 #gpio-cells = <2>;
279 interrupt-controller;
280 #interrupt-cells = <2>;
283 gpl0: gpl0-gpio-bank {
284 gpio-controller;
285 #gpio-cells = <2>;
287 interrupt-controller;
288 #interrupt-cells = <2>;
291 gpm0: gpm0-gpio-bank {
292 gpio-controller;
293 #gpio-cells = <2>;
295 interrupt-controller;
296 #interrupt-cells = <2>;
299 gpm1: gpm1-gpio-bank {
300 gpio-controller;
301 #gpio-cells = <2>;
303 interrupt-controller;
304 #interrupt-cells = <2>;
307 gpm2: gpm2-gpio-bank {
308 gpio-controller;
309 #gpio-cells = <2>;
311 interrupt-controller;
312 #interrupt-cells = <2>;
315 gpm3: gpm3-gpio-bank {
316 gpio-controller;
317 #gpio-cells = <2>;
319 interrupt-controller;
320 #interrupt-cells = <2>;
323 gpm4: gpm4-gpio-bank {
324 gpio-controller;
325 #gpio-cells = <2>;
327 interrupt-controller;
328 #interrupt-cells = <2>;
331 gpx0: gpx0-gpio-bank {
332 gpio-controller;
333 #gpio-cells = <2>;
335 interrupt-controller;
336 interrupt-parent = <&gic>;
345 #interrupt-cells = <2>;
348 gpx1: gpx1-gpio-bank {
349 gpio-controller;
350 #gpio-cells = <2>;
352 interrupt-controller;
353 interrupt-parent = <&gic>;
362 #interrupt-cells = <2>;
365 gpx2: gpx2-gpio-bank {
366 gpio-controller;
367 #gpio-cells = <2>;
369 interrupt-controller;
370 #interrupt-cells = <2>;
373 gpx3: gpx3-gpio-bank {
374 gpio-controller;
375 #gpio-cells = <2>;
377 interrupt-controller;
378 #interrupt-cells = <2>;
381 sd0_clk: sd0-clk-pins {
382 samsung,pins = "gpk0-0";
383 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
384 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
385 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
388 sd0_cmd: sd0-cmd-pins {
389 samsung,pins = "gpk0-1";
390 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
391 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
392 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
395 sd0_cd: sd0-cd-pins {
396 samsung,pins = "gpk0-2";
397 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
398 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
399 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
402 sd0_rdqs: sd0-rdqs-pins {
403 samsung,pins = "gpk0-7";
404 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
405 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
406 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
409 sd0_bus1: sd0-bus-width1-pins {
410 samsung,pins = "gpk0-3";
411 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
412 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
413 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
416 sd0_bus4: sd0-bus-width4-pins {
417 samsung,pins = "gpk0-4", "gpk0-5", "gpk0-6";
418 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
419 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
420 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
423 sd0_bus8: sd0-bus-width8-pins {
424 samsung,pins = "gpl0-0", "gpl0-1", "gpl0-2", "gpl0-3";
425 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
426 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
427 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
430 sd1_clk: sd1-clk-pins {
431 samsung,pins = "gpk1-0";
432 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
433 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
434 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
437 sd1_cmd: sd1-cmd-pins {
438 samsung,pins = "gpk1-1";
439 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
440 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
441 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
444 sd1_cd: sd1-cd-pins {
445 samsung,pins = "gpk1-2";
446 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
447 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
448 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
451 sd1_bus1: sd1-bus-width1-pins {
452 samsung,pins = "gpk1-3";
453 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
454 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
455 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
458 sd1_bus4: sd1-bus-width4-pins {
459 samsung,pins = "gpk1-4", "gpk1-5", "gpk1-6";
460 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
461 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
462 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
465 sd2_clk: sd2-clk-pins {
466 samsung,pins = "gpk2-0";
467 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
468 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
469 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
472 sd2_cmd: sd2-cmd-pins {
473 samsung,pins = "gpk2-1";
474 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
475 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
476 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
479 sd2_cd: sd2-cd-pins {
480 samsung,pins = "gpk2-2";
481 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
482 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
483 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
486 sd2_bus1: sd2-bus-width1-pins {
487 samsung,pins = "gpk2-3";
488 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
489 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
490 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
493 sd2_bus4: sd2-bus-width4-pins {
494 samsung,pins = "gpk2-4", "gpk2-5", "gpk2-6";
495 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
496 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
497 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
500 cam_port_b_io: cam-port-b-io-pins {
501 samsung,pins = "gpm0-0", "gpm0-1", "gpm0-2", "gpm0-3",
502 "gpm0-4", "gpm0-5", "gpm0-6", "gpm0-7",
503 "gpm1-0", "gpm1-1", "gpm2-0", "gpm2-1";
504 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
505 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
506 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
509 cam_port_b_clk_active: cam-port-b-clk-active-pins {
510 samsung,pins = "gpm2-2";
511 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
512 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
513 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
516 cam_port_b_clk_idle: cam-port-b-clk-idle-pins {
517 samsung,pins = "gpm2-2";
518 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
519 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
520 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
523 fimc_is_i2c0: fimc-is-i2c0-pins {
524 samsung,pins = "gpm4-0", "gpm4-1";
525 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
526 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
527 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
530 fimc_is_i2c1: fimc-is-i2c1-pins {
531 samsung,pins = "gpm4-2", "gpm4-3";
532 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
533 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
534 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
537 fimc_is_uart: fimc-is-uart-pins {
538 samsung,pins = "gpm3-5", "gpm3-7";
539 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
540 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
541 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;