1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * pinctrl dts fils for Hislicon HiKey develop 4 * 5 */ 6 #include <dt-bindings/pinctrl/hisi.h> 7 8 / { 9 soc { 10 pmx0: pinmux@f7010000 { 11 pinctrl-names = "defau 12 pinctrl-0 = < 13 &boot_sel_pmx_ 14 &hkadc_ssi_pmx 15 &codec_clk_pmx 16 &pwm_in_pmx_fu 17 &bl_pwm_pmx_fu 18 >; 19 20 boot_sel_pmx_func: boo 21 pinctrl-single 22 0x0 23 >; 24 }; 25 26 emmc_pmx_func: emmc-pi 27 pinctrl-single 28 0x100 29 0x104 30 0x108 31 0x10c 32 0x110 33 0x114 34 0x118 35 0x11c 36 0x120 37 0x124 38 >; 39 }; 40 41 sd_pmx_func: sd-pins { 42 pinctrl-single 43 0xc 44 0x10 45 0x14 46 0x18 47 0x1c 48 0x20 49 >; 50 }; 51 sd_pmx_idle: sd-idle-p 52 pinctrl-single 53 0xc 54 0x10 55 0x14 56 0x18 57 0x1c 58 0x20 59 >; 60 }; 61 62 sdio_pmx_func: sdio-pi 63 pinctrl-single 64 0x128 65 0x12c 66 0x130 67 0x134 68 0x138 69 0x13c 70 >; 71 }; 72 sdio_pmx_idle: sdio-id 73 pinctrl-single 74 0x128 75 0x12c 76 0x130 77 0x134 78 0x138 79 0x13c 80 >; 81 }; 82 83 isp_pmx_func: isp-pins 84 pinctrl-single 85 0x24 86 0x28 87 0x2c 88 0x30 89 0x34 90 0x38 91 0x3c 92 0x40 93 0x44 94 0x48 95 0x4c 96 0x50 97 0x54 98 0x58 99 0x5c 100 0x60 101 >; 102 }; 103 104 hkadc_ssi_pmx_func: hk 105 pinctrl-single 106 0x68 107 >; 108 }; 109 110 codec_clk_pmx_func: co 111 pinctrl-single 112 0x6c 113 >; 114 }; 115 116 codec_pmx_func: codec- 117 pinctrl-single 118 0x70 119 0x74 120 0x78 121 0x7c 122 >; 123 }; 124 125 fm_pmx_func: fm-pins { 126 pinctrl-single 127 0x80 128 0x84 129 0x88 130 0x8c 131 >; 132 }; 133 134 bt_pmx_func: bt-pins { 135 pinctrl-single 136 0x90 137 0x94 138 0x98 139 0x9c 140 >; 141 }; 142 143 pwm_in_pmx_func: pwm-i 144 pinctrl-single 145 0xb8 146 >; 147 }; 148 149 bl_pwm_pmx_func: bl-pw 150 pinctrl-single 151 0xbc 152 >; 153 }; 154 155 uart0_pmx_func: uart0- 156 pinctrl-single 157 0xc0 158 0xc4 159 >; 160 }; 161 162 uart1_pmx_func: uart1- 163 pinctrl-single 164 0xc8 165 0xcc 166 0xd0 167 0xd4 168 >; 169 }; 170 171 uart2_pmx_func: uart2- 172 pinctrl-single 173 0xd8 174 0xdc 175 0xe0 176 0xe4 177 >; 178 }; 179 180 uart3_pmx_func: uart3- 181 pinctrl-single 182 0x180 183 0x184 184 0x188 185 0x18c 186 >; 187 }; 188 189 uart4_pmx_func: uart4- 190 pinctrl-single 191 0x1d0 192 0x1d4 193 0x1d8 194 0x1dc 195 >; 196 }; 197 198 uart5_pmx_func: uart5- 199 pinctrl-single 200 0x1c8 201 0x1cc 202 >; 203 }; 204 205 i2c0_pmx_func: i2c0-pi 206 pinctrl-single 207 0xe8 208 0xec 209 >; 210 }; 211 212 i2c1_pmx_func: i2c1-pi 213 pinctrl-single 214 0xf0 215 0xf4 216 >; 217 }; 218 219 i2c2_pmx_func: i2c2-pi 220 pinctrl-single 221 0xf8 222 0xfc 223 >; 224 }; 225 226 spi0_pmx_func: spi0-pi 227 pinctrl-single 228 0x1a0 229 0x1a4 230 0x1a8 231 0x1ac 232 >; 233 }; 234 }; 235 236 pmx1: pinmux@f7010800 { 237 238 pinctrl-names = "defau 239 pinctrl-0 = < 240 &boot_sel_cfg_ 241 &hkadc_ssi_cfg 242 &codec_clk_cfg 243 &pwm_in_cfg_fu 244 &bl_pwm_cfg_fu 245 >; 246 247 boot_sel_cfg_func: boo 248 pinctrl-single 249 0x0 250 >; 251 pinctrl-single 252 pinctrl-single 253 pinctrl-single 254 }; 255 256 hkadc_ssi_cfg_func: hk 257 pinctrl-single 258 0x6c 259 >; 260 pinctrl-single 261 pinctrl-single 262 pinctrl-single 263 }; 264 265 emmc_clk_cfg_func: emm 266 pinctrl-single 267 0x104 268 >; 269 pinctrl-single 270 pinctrl-single 271 pinctrl-single 272 }; 273 274 emmc_cfg_func: emmc-cf 275 pinctrl-single 276 0x108 277 0x10c 278 0x110 279 0x114 280 0x118 281 0x11c 282 0x120 283 0x124 284 0x128 285 >; 286 pinctrl-single 287 pinctrl-single 288 pinctrl-single 289 }; 290 291 emmc_rst_cfg_func: emm 292 pinctrl-single 293 0x12c 294 >; 295 pinctrl-single 296 pinctrl-single 297 pinctrl-single 298 }; 299 300 sd_clk_cfg_func: sd-cl 301 pinctrl-single 302 0xc 303 >; 304 pinctrl-single 305 pinctrl-single 306 pinctrl-single 307 }; 308 sd_clk_cfg_idle: sd-cl 309 pinctrl-single 310 0xc 311 >; 312 pinctrl-single 313 pinctrl-single 314 pinctrl-single 315 }; 316 317 sd_cfg_func: sd-cfg-pi 318 pinctrl-single 319 0x10 320 0x14 321 0x18 322 0x1c 323 0x20 324 >; 325 pinctrl-single 326 pinctrl-single 327 pinctrl-single 328 }; 329 sd_cfg_idle: sd-cfg-id 330 pinctrl-single 331 0x10 332 0x14 333 0x18 334 0x1c 335 0x20 336 >; 337 pinctrl-single 338 pinctrl-single 339 pinctrl-single 340 }; 341 342 sdio_clk_cfg_func: sdi 343 pinctrl-single 344 0x134 345 >; 346 pinctrl-single 347 pinctrl-single 348 pinctrl-single 349 }; 350 sdio_clk_cfg_idle: sdi 351 pinctrl-single 352 0x134 353 >; 354 pinctrl-single 355 pinctrl-single 356 pinctrl-single 357 }; 358 359 sdio_cfg_func: sdio-cf 360 pinctrl-single 361 0x138 362 0x13c 363 0x140 364 0x144 365 0x148 366 >; 367 pinctrl-single 368 pinctrl-single 369 pinctrl-single 370 }; 371 sdio_cfg_idle: sdio-cf 372 pinctrl-single 373 0x138 374 0x13c 375 0x140 376 0x144 377 0x148 378 >; 379 pinctrl-single 380 pinctrl-single 381 pinctrl-single 382 }; 383 384 isp_cfg_func1: isp-cfg 385 pinctrl-single 386 0x28 387 0x2c 388 0x30 389 0x34 390 0x38 391 0x3c 392 0x40 393 0x44 394 0x48 395 0x4c 396 0x50 397 0x58 398 0x5c 399 0x60 400 0x64 401 >; 402 pinctrl-single 403 pinctrl-single 404 pinctrl-single 405 }; 406 isp_cfg_idle1: isp-cfg 407 pinctrl-single 408 0x34 409 0x38 410 >; 411 pinctrl-single 412 pinctrl-single 413 pinctrl-single 414 }; 415 416 isp_cfg_func2: isp-cfg 417 pinctrl-single 418 0x54 419 >; 420 pinctrl-single 421 pinctrl-single 422 pinctrl-single 423 }; 424 425 codec_clk_cfg_func: co 426 pinctrl-single 427 0x70 428 >; 429 pinctrl-single 430 pinctrl-single 431 pinctrl-single 432 }; 433 codec_clk_cfg_idle: co 434 pinctrl-single 435 0x70 436 >; 437 pinctrl-single 438 pinctrl-single 439 pinctrl-single 440 }; 441 442 codec_cfg_func1: codec 443 pinctrl-single 444 0x74 445 >; 446 pinctrl-single 447 pinctrl-single 448 pinctrl-single 449 }; 450 451 codec_cfg_func2: codec 452 pinctrl-single 453 0x78 454 0x7c 455 0x80 456 >; 457 pinctrl-single 458 pinctrl-single 459 pinctrl-single 460 }; 461 codec_cfg_idle2: codec 462 pinctrl-single 463 0x78 464 0x7c 465 0x80 466 >; 467 pinctrl-single 468 pinctrl-single 469 pinctrl-single 470 }; 471 472 fm_cfg_func: fm-cfg-pi 473 pinctrl-single 474 0x84 475 0x88 476 0x8c 477 0x90 478 >; 479 pinctrl-single 480 pinctrl-single 481 pinctrl-single 482 }; 483 484 bt_cfg_func: bt-cfg-pi 485 pinctrl-single 486 0x94 487 0x98 488 0x9c 489 0xa0 490 >; 491 pinctrl-single 492 pinctrl-single 493 pinctrl-single 494 }; 495 bt_cfg_idle: bt-cfg-id 496 pinctrl-single 497 0x94 498 0x98 499 0x9c 500 0xa0 501 >; 502 pinctrl-single 503 pinctrl-single 504 pinctrl-single 505 }; 506 507 pwm_in_cfg_func: pwm-i 508 pinctrl-single 509 0xbc 510 >; 511 pinctrl-single 512 pinctrl-single 513 pinctrl-single 514 }; 515 516 bl_pwm_cfg_func: bl-pw 517 pinctrl-single 518 0xc0 519 >; 520 pinctrl-single 521 pinctrl-single 522 pinctrl-single 523 }; 524 525 uart0_cfg_func1: uart0 526 pinctrl-single 527 0xc4 528 >; 529 pinctrl-single 530 pinctrl-single 531 pinctrl-single 532 }; 533 534 uart0_cfg_func2: uart0 535 pinctrl-single 536 0xc8 537 >; 538 pinctrl-single 539 pinctrl-single 540 pinctrl-single 541 }; 542 543 uart1_cfg_func1: uart1 544 pinctrl-single 545 0xcc 546 0xd4 547 >; 548 pinctrl-single 549 pinctrl-single 550 pinctrl-single 551 }; 552 553 uart1_cfg_func2: uart1 554 pinctrl-single 555 0xd0 556 0xd8 557 >; 558 pinctrl-single 559 pinctrl-single 560 pinctrl-single 561 }; 562 563 uart2_cfg_func: uart2- 564 pinctrl-single 565 0xdc 566 0xe0 567 0xe4 568 0xe8 569 >; 570 pinctrl-single 571 pinctrl-single 572 pinctrl-single 573 }; 574 575 uart3_cfg_func: uart3- 576 pinctrl-single 577 0x190 578 0x194 579 0x198 580 0x19c 581 >; 582 pinctrl-single 583 pinctrl-single 584 pinctrl-single 585 }; 586 587 uart4_cfg_func: uart4- 588 pinctrl-single 589 0x1e0 590 0x1e4 591 0x1e8 592 0x1ec 593 >; 594 pinctrl-single 595 pinctrl-single 596 pinctrl-single 597 }; 598 599 uart5_cfg_func: uart5- 600 pinctrl-single 601 0x1d8 602 0x1dc 603 >; 604 pinctrl-single 605 pinctrl-single 606 pinctrl-single 607 }; 608 609 i2c0_cfg_func: i2c0-cf 610 pinctrl-single 611 0xec 612 0xf0 613 >; 614 pinctrl-single 615 pinctrl-single 616 pinctrl-single 617 }; 618 619 i2c1_cfg_func: i2c1-cf 620 pinctrl-single 621 0xf4 622 0xf8 623 >; 624 pinctrl-single 625 pinctrl-single 626 pinctrl-single 627 }; 628 629 i2c2_cfg_func: i2c2-cf 630 pinctrl-single 631 0xfc 632 0x100 633 >; 634 pinctrl-single 635 pinctrl-single 636 pinctrl-single 637 }; 638 639 spi0_cfg_func: spi0-cf 640 pinctrl-single 641 0x1b0 642 0x1b4 643 0x1b8 644 0x1bc 645 >; 646 pinctrl-single 647 pinctrl-single 648 pinctrl-single 649 }; 650 }; 651 652 pmx2: pinmux@f8001800 { 653 654 pinctrl-names = "defau 655 pinctrl-0 = < 656 &rstout_n_cfg_ 657 >; 658 659 rstout_n_cfg_func: rst 660 pinctrl-single 661 0x0 662 >; 663 pinctrl-single 664 pinctrl-single 665 pinctrl-single 666 }; 667 668 pmu_peri_en_cfg_func: 669 pinctrl-single 670 0x4 671 >; 672 pinctrl-single 673 pinctrl-single 674 pinctrl-single 675 }; 676 677 sysclk0_en_cfg_func: s 678 pinctrl-single 679 0x8 680 >; 681 pinctrl-single 682 pinctrl-single 683 pinctrl-single 684 }; 685 686 jtag_tdo_cfg_func: jta 687 pinctrl-single 688 0xc 689 >; 690 pinctrl-single 691 pinctrl-single 692 pinctrl-single 693 }; 694 695 rf_reset_cfg_func: rf- 696 pinctrl-single 697 0x70 698 0x74 699 >; 700 pinctrl-single 701 pinctrl-single 702 pinctrl-single 703 }; 704 }; 705 }; 706 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.