1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Samsung's Exynos5433 SoC pin-mux and pin-config device tree source 4 * 5 * Copyright (c) 2016 Samsung Electronics Co., Ltd. 6 * Chanwoo Choi <cw00.choi@samsung.com> 7 * 8 * Samsung's Exynos5433 SoC pin-mux and pin-config options are listed as device 9 * tree nodes are listed in this file. 10 */ 11 12#include "exynos-pinctrl.h" 13 14#define PIN(_pin, _func, _pull, _drv) \ 15 pin- ## _pin { \ 16 samsung,pins = #_pin; \ 17 samsung,pin-function = <EXYNOS_PIN_FUNC_ ##_func>; \ 18 samsung,pin-pud = <EXYNOS_PIN_PULL_ ##_pull>; \ 19 samsung,pin-drv = <EXYNOS5433_PIN_DRV_ ##_drv>; \ 20 } 21 22#define PIN_IN(_pin, _pull, _drv) \ 23 PIN(_pin, INPUT, _pull, _drv) 24 25#define PIN_OT(_pin, _pull, _drv) \ 26 PIN(_pin, OUTPUT, _pull, _drv) 27 28#define PIN_F2(_pin, _pull, _drv) \ 29 PIN(_pin, 2, _pull, _drv) 30 31&pinctrl_alive { 32 gpa0: gpa0-gpio-bank { 33 gpio-controller; 34 #gpio-cells = <2>; 35 36 interrupt-controller; 37 interrupt-parent = <&gic>; 38 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 39 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 40 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 41 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 42 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 43 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 44 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 45 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 46 #interrupt-cells = <2>; 47 }; 48 49 gpa1: gpa1-gpio-bank { 50 gpio-controller; 51 #gpio-cells = <2>; 52 53 interrupt-controller; 54 interrupt-parent = <&gic>; 55 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 56 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 57 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 58 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>, 59 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, 60 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, 61 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, 62 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 63 #interrupt-cells = <2>; 64 }; 65 66 gpa2: gpa2-gpio-bank { 67 gpio-controller; 68 #gpio-cells = <2>; 69 70 interrupt-controller; 71 #interrupt-cells = <2>; 72 }; 73 74 gpa3: gpa3-gpio-bank { 75 gpio-controller; 76 #gpio-cells = <2>; 77 78 interrupt-controller; 79 #interrupt-cells = <2>; 80 }; 81 82 gpf1: gpf1-gpio-bank { 83 gpio-controller; 84 #gpio-cells = <2>; 85 86 interrupt-controller; 87 #interrupt-cells = <2>; 88 }; 89 90 gpf2: gpf2-gpio-bank { 91 gpio-controller; 92 #gpio-cells = <2>; 93 94 interrupt-controller; 95 #interrupt-cells = <2>; 96 }; 97 98 gpf3: gpf3-gpio-bank { 99 gpio-controller; 100 #gpio-cells = <2>; 101 102 interrupt-controller; 103 #interrupt-cells = <2>; 104 }; 105 106 gpf4: gpf4-gpio-bank { 107 gpio-controller; 108 #gpio-cells = <2>; 109 110 interrupt-controller; 111 #interrupt-cells = <2>; 112 }; 113 114 gpf5: gpf5-gpio-bank { 115 gpio-controller; 116 #gpio-cells = <2>; 117 118 interrupt-controller; 119 #interrupt-cells = <2>; 120 }; 121}; 122 123&pinctrl_aud { 124 gpz0: gpz0-gpio-bank { 125 gpio-controller; 126 #gpio-cells = <2>; 127 128 interrupt-controller; 129 #interrupt-cells = <2>; 130 }; 131 132 gpz1: gpz1-gpio-bank { 133 gpio-controller; 134 #gpio-cells = <2>; 135 136 interrupt-controller; 137 #interrupt-cells = <2>; 138 }; 139 140 i2s0_bus: i2s0-bus-pins { 141 samsung,pins = "gpz0-0", "gpz0-1", "gpz0-2", "gpz0-3", 142 "gpz0-4", "gpz0-5", "gpz0-6"; 143 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 144 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 145 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 146 }; 147 148 pcm0_bus: pcm0-bus-pins { 149 samsung,pins = "gpz1-0", "gpz1-1", "gpz1-2", "gpz1-3"; 150 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 151 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 152 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 153 }; 154 155 uart_aud_bus: uart-aud-bus-pins { 156 samsung,pins = "gpz1-3", "gpz1-2", "gpz1-1", "gpz1-0"; 157 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 158 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 159 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 160 }; 161}; 162 163&pinctrl_cpif { 164 gpv6: gpv6-gpio-bank { 165 gpio-controller; 166 #gpio-cells = <2>; 167 168 interrupt-controller; 169 #interrupt-cells = <2>; 170 }; 171}; 172 173&pinctrl_ese { 174 gpj2: gpj2-gpio-bank { 175 gpio-controller; 176 #gpio-cells = <2>; 177 178 interrupt-controller; 179 #interrupt-cells = <2>; 180 }; 181}; 182 183&pinctrl_finger { 184 gpd5: gpd5-gpio-bank { 185 gpio-controller; 186 #gpio-cells = <2>; 187 188 interrupt-controller; 189 #interrupt-cells = <2>; 190 }; 191 192 spi2_bus: spi2-bus-pins { 193 samsung,pins = "gpd5-0", "gpd5-2", "gpd5-3"; 194 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 195 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 196 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 197 }; 198 199 hs_i2c6_bus: hs-i2c6-bus-pins { 200 samsung,pins = "gpd5-3", "gpd5-2"; 201 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 202 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 203 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 204 }; 205}; 206 207&pinctrl_fsys { 208 gph1: gph1-gpio-bank { 209 gpio-controller; 210 #gpio-cells = <2>; 211 212 interrupt-controller; 213 #interrupt-cells = <2>; 214 }; 215 216 gpr4: gpr4-gpio-bank { 217 gpio-controller; 218 #gpio-cells = <2>; 219 220 interrupt-controller; 221 #interrupt-cells = <2>; 222 }; 223 224 gpr0: gpr0-gpio-bank { 225 gpio-controller; 226 #gpio-cells = <2>; 227 228 interrupt-controller; 229 #interrupt-cells = <2>; 230 }; 231 232 gpr1: gpr1-gpio-bank { 233 gpio-controller; 234 #gpio-cells = <2>; 235 236 interrupt-controller; 237 #interrupt-cells = <2>; 238 }; 239 240 gpr2: gpr2-gpio-bank { 241 gpio-controller; 242 #gpio-cells = <2>; 243 244 interrupt-controller; 245 #interrupt-cells = <2>; 246 }; 247 248 gpr3: gpr3-gpio-bank { 249 gpio-controller; 250 #gpio-cells = <2>; 251 252 interrupt-controller; 253 #interrupt-cells = <2>; 254 }; 255 256 sd0_clk: sd0-clk-pins { 257 samsung,pins = "gpr0-0"; 258 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 259 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 260 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 261 }; 262 263 sd0_cmd: sd0-cmd-pins { 264 samsung,pins = "gpr0-1"; 265 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 266 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 267 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 268 }; 269 270 sd0_rdqs: sd0-rdqs-pins { 271 samsung,pins = "gpr0-2"; 272 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 273 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 274 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 275 }; 276 277 sd0_qrdy: sd0-qrdy-pins { 278 samsung,pins = "gpr0-3"; 279 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 280 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 281 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 282 }; 283 284 sd0_bus1: sd0-bus-width1-pins { 285 samsung,pins = "gpr1-0"; 286 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 287 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 288 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 289 }; 290 291 sd0_bus4: sd0-bus-width4-pins { 292 samsung,pins = "gpr1-1", "gpr1-2", "gpr1-3"; 293 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 294 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 295 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 296 }; 297 298 sd0_bus8: sd0-bus-width8-pins { 299 samsung,pins = "gpr1-4", "gpr1-5", "gpr1-6", "gpr1-7"; 300 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 301 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 302 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 303 }; 304 305 sd1_clk: sd1-clk-pins { 306 samsung,pins = "gpr2-0"; 307 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 308 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 309 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 310 }; 311 312 sd1_cmd: sd1-cmd-pins { 313 samsung,pins = "gpr2-1"; 314 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 315 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 316 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 317 }; 318 319 sd1_bus1: sd1-bus-width1-pins { 320 samsung,pins = "gpr3-0"; 321 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 322 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 323 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 324 }; 325 326 sd1_bus4: sd1-bus-width4-pins { 327 samsung,pins = "gpr3-1", "gpr3-2", "gpr3-3"; 328 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 329 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 330 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 331 }; 332 333 sd1_bus8: sd1-bus-width8-pins { 334 samsung,pins = "gpr3-4", "gpr3-5", "gpr3-6", "gpr3-7"; 335 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 336 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 337 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 338 }; 339 340 pcie_bus: pcie-bus-pins { 341 samsung,pins = "gpr3-4", "gpr3-5", "gpr3-6"; 342 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 343 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 344 }; 345 346 sd2_clk: sd2-clk-pins { 347 samsung,pins = "gpr4-0"; 348 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 349 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 350 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 351 }; 352 353 sd2_cmd: sd2-cmd-pins { 354 samsung,pins = "gpr4-1"; 355 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 356 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 357 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 358 }; 359 360 sd2_cd: sd2-cd-pins { 361 samsung,pins = "gpr4-2"; 362 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 363 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 364 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 365 }; 366 367 sd2_bus1: sd2-bus-width1-pins { 368 samsung,pins = "gpr4-3"; 369 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 370 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 371 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 372 }; 373 374 sd2_bus4: sd2-bus-width4-pins { 375 samsung,pins = "gpr4-4", "gpr4-5", "gpr4-6"; 376 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 377 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 378 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR4>; 379 }; 380 381 sd2_clk_output: sd2-clk-output-pins { 382 samsung,pins = "gpr4-0"; 383 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 384 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 385 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR3>; 386 }; 387 388 sd2_cmd_output: sd2-cmd-output-pins { 389 samsung,pins = "gpr4-1"; 390 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 391 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 392 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR3>; 393 }; 394}; 395 396&pinctrl_imem { 397 gpf0: gpf0-gpio-bank { 398 gpio-controller; 399 #gpio-cells = <2>; 400 401 interrupt-controller; 402 #interrupt-cells = <2>; 403 }; 404}; 405 406&pinctrl_nfc { 407 gpj0: gpj0-gpio-bank { 408 gpio-controller; 409 #gpio-cells = <2>; 410 411 interrupt-controller; 412 #interrupt-cells = <2>; 413 }; 414 415 hs_i2c4_bus: hs-i2c4-bus-pins { 416 samsung,pins = "gpj0-1", "gpj0-0"; 417 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 418 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 419 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 420 }; 421}; 422 423&pinctrl_peric { 424 gpv7: gpv7-gpio-bank { 425 gpio-controller; 426 #gpio-cells = <2>; 427 428 interrupt-controller; 429 #interrupt-cells = <2>; 430 }; 431 432 gpb0: gpb0-gpio-bank { 433 gpio-controller; 434 #gpio-cells = <2>; 435 436 interrupt-controller; 437 #interrupt-cells = <2>; 438 }; 439 440 gpc0: gpc0-gpio-bank { 441 gpio-controller; 442 #gpio-cells = <2>; 443 444 interrupt-controller; 445 #interrupt-cells = <2>; 446 }; 447 448 gpc1: gpc1-gpio-bank { 449 gpio-controller; 450 #gpio-cells = <2>; 451 452 interrupt-controller; 453 #interrupt-cells = <2>; 454 }; 455 456 gpc2: gpc2-gpio-bank { 457 gpio-controller; 458 #gpio-cells = <2>; 459 460 interrupt-controller; 461 #interrupt-cells = <2>; 462 }; 463 464 gpc3: gpc3-gpio-bank { 465 gpio-controller; 466 #gpio-cells = <2>; 467 468 interrupt-controller; 469 #interrupt-cells = <2>; 470 }; 471 472 gpg0: gpg0-gpio-bank { 473 gpio-controller; 474 #gpio-cells = <2>; 475 476 interrupt-controller; 477 #interrupt-cells = <2>; 478 }; 479 480 gpd0: gpd0-gpio-bank { 481 gpio-controller; 482 #gpio-cells = <2>; 483 484 interrupt-controller; 485 #interrupt-cells = <2>; 486 }; 487 488 gpd1: gpd1-gpio-bank { 489 gpio-controller; 490 #gpio-cells = <2>; 491 492 interrupt-controller; 493 #interrupt-cells = <2>; 494 }; 495 496 gpd2: gpd2-gpio-bank { 497 gpio-controller; 498 #gpio-cells = <2>; 499 500 interrupt-controller; 501 #interrupt-cells = <2>; 502 }; 503 504 gpd4: gpd4-gpio-bank { 505 gpio-controller; 506 #gpio-cells = <2>; 507 508 interrupt-controller; 509 #interrupt-cells = <2>; 510 }; 511 512 gpd8: gpd8-gpio-bank { 513 gpio-controller; 514 #gpio-cells = <2>; 515 516 interrupt-controller; 517 #interrupt-cells = <2>; 518 }; 519 520 gpd6: gpd6-gpio-bank { 521 gpio-controller; 522 #gpio-cells = <2>; 523 524 interrupt-controller; 525 #interrupt-cells = <2>; 526 }; 527 528 gpd7: gpd7-gpio-bank { 529 gpio-controller; 530 #gpio-cells = <2>; 531 532 interrupt-controller; 533 #interrupt-cells = <2>; 534 }; 535 536 gpg1: gpg1-gpio-bank { 537 gpio-controller; 538 #gpio-cells = <2>; 539 540 interrupt-controller; 541 #interrupt-cells = <2>; 542 }; 543 544 gpg2: gpg2-gpio-bank { 545 gpio-controller; 546 #gpio-cells = <2>; 547 548 interrupt-controller; 549 #interrupt-cells = <2>; 550 }; 551 552 gpg3: gpg3-gpio-bank { 553 gpio-controller; 554 #gpio-cells = <2>; 555 556 interrupt-controller; 557 #interrupt-cells = <2>; 558 }; 559 560 hs_i2c8_bus: hs-i2c8-bus-pins { 561 samsung,pins = "gpb0-1", "gpb0-0"; 562 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 563 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 564 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 565 }; 566 567 hs_i2c9_bus: hs-i2c9-bus-pins { 568 samsung,pins = "gpb0-3", "gpb0-2"; 569 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 570 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 571 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 572 }; 573 574 i2s1_bus: i2s1-bus-pins { 575 samsung,pins = "gpd4-0", "gpd4-1", "gpd4-2", 576 "gpd4-3", "gpd4-4"; 577 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 578 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 579 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 580 }; 581 582 pcm1_bus: pcm1-bus-pins { 583 samsung,pins = "gpd4-0", "gpd4-1", "gpd4-2", 584 "gpd4-3", "gpd4-4"; 585 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 586 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 587 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 588 }; 589 590 spdif_bus: spdif-bus-pins { 591 samsung,pins = "gpd4-3", "gpd4-4"; 592 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 593 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 594 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 595 }; 596 597 fimc_is_spi_pin0: fimc-is-spi-pin0-pins { 598 samsung,pins = "gpc3-3", "gpc3-2", "gpc3-1", "gpc3-0"; 599 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 600 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 601 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 602 }; 603 604 fimc_is_spi_pin1: fimc-is-spi-pin1-pins { 605 samsung,pins = "gpc3-7", "gpc3-6", "gpc3-5", "gpc3-4"; 606 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 607 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 608 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 609 }; 610 611 uart0_bus: uart0-bus-pins { 612 samsung,pins = "gpd0-3", "gpd0-2", "gpd0-1", "gpd0-0"; 613 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 614 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 615 }; 616 617 hs_i2c2_bus: hs-i2c2-bus-pins { 618 samsung,pins = "gpd0-3", "gpd0-2"; 619 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 620 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 621 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 622 }; 623 624 uart2_bus: uart2-bus-pins { 625 samsung,pins = "gpd1-5", "gpd1-4"; 626 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 627 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 628 }; 629 630 uart1_bus: uart1-bus-pins { 631 samsung,pins = "gpd1-3", "gpd1-2", "gpd1-1", "gpd1-0"; 632 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 633 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 634 }; 635 636 hs_i2c3_bus: hs-i2c3-bus-pins { 637 samsung,pins = "gpd1-3", "gpd1-2"; 638 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 639 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 640 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 641 }; 642 643 hs_i2c0_bus: hs-i2c0-bus-pins { 644 samsung,pins = "gpd2-1", "gpd2-0"; 645 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 646 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 647 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 648 }; 649 650 hs_i2c1_bus: hs-i2c1-bus-pins { 651 samsung,pins = "gpd2-3", "gpd2-2"; 652 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 653 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 654 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 655 }; 656 657 pwm0_out: pwm0-out-pins { 658 samsung,pins = "gpd2-4"; 659 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 660 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 661 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 662 }; 663 664 pwm1_out: pwm1-out-pins { 665 samsung,pins = "gpd2-5"; 666 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 667 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 668 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 669 }; 670 671 pwm2_out: pwm2-out-pins { 672 samsung,pins = "gpd2-6"; 673 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 674 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 675 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 676 }; 677 678 pwm3_out: pwm3-out-pins { 679 samsung,pins = "gpd2-7"; 680 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 681 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 682 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 683 }; 684 685 spi1_bus: spi1-bus-pins { 686 samsung,pins = "gpd6-2", "gpd6-4", "gpd6-5"; 687 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 688 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 689 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 690 }; 691 692 hs_i2c7_bus: hs-i2c7-bus-pins { 693 samsung,pins = "gpd2-7", "gpd2-6"; 694 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 695 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 696 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 697 }; 698 699 spi0_bus: spi0-bus-pins { 700 samsung,pins = "gpd8-0", "gpd6-0", "gpd6-1"; 701 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 702 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 703 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 704 }; 705 706 hs_i2c10_bus: hs-i2c10-bus-pins { 707 samsung,pins = "gpg3-1", "gpg3-0"; 708 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 709 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 710 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 711 }; 712 713 hs_i2c11_bus: hs-i2c11-bus-pins { 714 samsung,pins = "gpg3-3", "gpg3-2"; 715 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 716 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 717 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 718 }; 719 720 spi3_bus: spi3-bus-pins { 721 samsung,pins = "gpg3-4", "gpg3-6", "gpg3-7"; 722 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 723 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 724 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 725 }; 726 727 spi4_bus: spi4-bus-pins { 728 samsung,pins = "gpv7-1", "gpv7-3", "gpv7-4"; 729 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 730 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 731 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 732 }; 733 734 fimc_is_uart: fimc-is-uart-pins { 735 samsung,pins = "gpc1-1", "gpc0-7"; 736 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 737 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 738 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 739 }; 740 741 fimc_is_ch0_i2c: fimc-is-ch0-i2c-pins { 742 samsung,pins = "gpc2-1", "gpc2-0"; 743 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 744 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 745 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 746 }; 747 748 fimc_is_ch0_mclk: fimc-is-ch0-mclk-pins { 749 samsung,pins = "gpd7-0"; 750 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 751 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 752 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 753 }; 754 755 fimc_is_ch1_i2c: fimc-is-ch1-i2c-pins { 756 samsung,pins = "gpc2-3", "gpc2-2"; 757 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 758 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 759 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 760 }; 761 762 fimc_is_ch1_mclk: fimc-is-ch1-mclk-pins { 763 samsung,pins = "gpd7-1"; 764 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 765 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 766 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 767 }; 768 769 fimc_is_ch2_i2c: fimc-is-ch2-i2c-pins { 770 samsung,pins = "gpc2-5", "gpc2-4"; 771 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 772 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 773 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 774 }; 775 776 fimc_is_ch2_mclk: fimc-is-ch2-mclk-pins { 777 samsung,pins = "gpd7-2"; 778 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 779 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 780 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 781 }; 782}; 783 784&pinctrl_touch { 785 gpj1: gpj1-gpio-bank { 786 gpio-controller; 787 #gpio-cells = <2>; 788 789 interrupt-controller; 790 #interrupt-cells = <2>; 791 }; 792 793 hs_i2c5_bus: hs-i2c5-bus-pins { 794 samsung,pins = "gpj1-1", "gpj1-0"; 795 samsung,pin-function = <EXYNOS_PIN_FUNC_4>; 796 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 797 samsung,pin-drv = <EXYNOS5433_PIN_DRV_FAST_SR1>; 798 }; 799}; 800