Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: rockchip: bulk convert gpios to their constant counterparts

Rockchip SoCs use 2 different numbering schemes. Where the gpio-
controllers just count 0-31 for their 32 gpios, the underlying
iomux controller splits these into 4 separate entities A-D.

Device-schematics always use these iomux-values to identify pins,
so to make mapping schematics to devicetree easier Andy Yan introduced
named constants for the pins but so far we only used them on new
additions.

Using a sed-script created by Emil Renner Berthing bulk-convert
the remaining raw gpio numbers into their descriptive counterparts
and also gets rid of the unhelpful RK_FUNC_x -> x and RK_GPIOx -> x
mappings:

/rockchip,pins *=/bcheck
b # to end of script
:append-next-line
N
:check
/^[^;]*$/bappend-next-line
s/<RK_GPIO\([0-9]\) /<\1 /g
s/<\([^ ][^ ]* *\)0 /<\1RK_PA0 /g
s/<\([^ ][^ ]* *\)1 /<\1RK_PA1 /g
s/<\([^ ][^ ]* *\)2 /<\1RK_PA2 /g
s/<\([^ ][^ ]* *\)3 /<\1RK_PA3 /g
s/<\([^ ][^ ]* *\)4 /<\1RK_PA4 /g
s/<\([^ ][^ ]* *\)5 /<\1RK_PA5 /g
s/<\([^ ][^ ]* *\)6 /<\1RK_PA6 /g
s/<\([^ ][^ ]* *\)7 /<\1RK_PA7 /g
s/<\([^ ][^ ]* *\)8 /<\1RK_PB0 /g
s/<\([^ ][^ ]* *\)9 /<\1RK_PB1 /g
s/<\([^ ][^ ]* *\)10 /<\1RK_PB2 /g
s/<\([^ ][^ ]* *\)11 /<\1RK_PB3 /g
s/<\([^ ][^ ]* *\)12 /<\1RK_PB4 /g
s/<\([^ ][^ ]* *\)13 /<\1RK_PB5 /g
s/<\([^ ][^ ]* *\)14 /<\1RK_PB6 /g
s/<\([^ ][^ ]* *\)15 /<\1RK_PB7 /g
s/<\([^ ][^ ]* *\)16 /<\1RK_PC0 /g
s/<\([^ ][^ ]* *\)17 /<\1RK_PC1 /g
s/<\([^ ][^ ]* *\)18 /<\1RK_PC2 /g
s/<\([^ ][^ ]* *\)19 /<\1RK_PC3 /g
s/<\([^ ][^ ]* *\)20 /<\1RK_PC4 /g
s/<\([^ ][^ ]* *\)21 /<\1RK_PC5 /g
s/<\([^ ][^ ]* *\)22 /<\1RK_PC6 /g
s/<\([^ ][^ ]* *\)23 /<\1RK_PC7 /g
s/<\([^ ][^ ]* *\)24 /<\1RK_PD0 /g
s/<\([^ ][^ ]* *\)25 /<\1RK_PD1 /g
s/<\([^ ][^ ]* *\)26 /<\1RK_PD2 /g
s/<\([^ ][^ ]* *\)27 /<\1RK_PD3 /g
s/<\([^ ][^ ]* *\)28 /<\1RK_PD4 /g
s/<\([^ ][^ ]* *\)29 /<\1RK_PD5 /g
s/<\([^ ][^ ]* *\)30 /<\1RK_PD6 /g
s/<\([^ ][^ ]* *\)31 /<\1RK_PD7 /g
s/<\([^ ][^ ]* *[^ ][^ ]* *\)0 /<\1RK_FUNC_GPIO /g
s/<\([^ ][^ ]* *[^ ][^ ]* *\)RK_FUNC_\([1-9]\) /<\1\2 /g

Suggested-by: Emil Renner Berthing <esmil@mailme.dk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

+827 -827
+5 -5
arch/arm/boot/dts/rk3036-kylin.dts
··· 368 368 &pinctrl { 369 369 leds { 370 370 led_ctl: led-ctl { 371 - rockchip,pins = <2 30 RK_FUNC_GPIO &pcfg_pull_none>; 371 + rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; 372 372 }; 373 373 }; 374 374 375 375 pmic { 376 376 pmic_int: pmic-int { 377 - rockchip,pins = <2 2 RK_FUNC_GPIO &pcfg_pull_default>; 377 + rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_default>; 378 378 }; 379 379 }; 380 380 381 381 sdio { 382 382 bt_wake_h: bt-wake-h { 383 - rockchip,pins = <2 8 RK_FUNC_GPIO &pcfg_pull_default>; 383 + rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_default>; 384 384 }; 385 385 }; 386 386 387 387 sdmmc { 388 388 sdmmc_pwr: sdmmc-pwr { 389 - rockchip,pins = <2 28 RK_FUNC_GPIO &pcfg_pull_none>; 389 + rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 390 390 }; 391 391 }; 392 392 393 393 sleep { 394 394 global_pwroff: global-pwroff { 395 - rockchip,pins = <2 7 RK_FUNC_1 &pcfg_pull_none>; 395 + rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>; 396 396 }; 397 397 }; 398 398 };
+68 -68
arch/arm/boot/dts/rk3036.dtsi
··· 551 551 552 552 pwm0 { 553 553 pwm0_pin: pwm0-pin { 554 - rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>; 554 + rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>; 555 555 }; 556 556 }; 557 557 558 558 pwm1 { 559 559 pwm1_pin: pwm1-pin { 560 - rockchip,pins = <0 1 RK_FUNC_2 &pcfg_pull_none>; 560 + rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>; 561 561 }; 562 562 }; 563 563 564 564 pwm2 { 565 565 pwm2_pin: pwm2-pin { 566 - rockchip,pins = <0 1 2 &pcfg_pull_none>; 566 + rockchip,pins = <0 RK_PA1 2 &pcfg_pull_none>; 567 567 }; 568 568 }; 569 569 570 570 pwm3 { 571 571 pwm3_pin: pwm3-pin { 572 - rockchip,pins = <0 27 1 &pcfg_pull_none>; 572 + rockchip,pins = <0 RK_PD3 1 &pcfg_pull_none>; 573 573 }; 574 574 }; 575 575 576 576 sdmmc { 577 577 sdmmc_clk: sdmmc-clk { 578 - rockchip,pins = <1 16 RK_FUNC_1 &pcfg_pull_none>; 578 + rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>; 579 579 }; 580 580 581 581 sdmmc_cmd: sdmmc-cmd { 582 - rockchip,pins = <1 15 RK_FUNC_1 &pcfg_pull_default>; 582 + rockchip,pins = <1 RK_PB7 1 &pcfg_pull_default>; 583 583 }; 584 584 585 585 sdmmc_cd: sdmmc-cd { 586 - rockchip,pins = <1 17 RK_FUNC_1 &pcfg_pull_default>; 586 + rockchip,pins = <1 RK_PC1 1 &pcfg_pull_default>; 587 587 }; 588 588 589 589 sdmmc_bus1: sdmmc-bus1 { 590 - rockchip,pins = <1 18 RK_FUNC_1 &pcfg_pull_default>; 590 + rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>; 591 591 }; 592 592 593 593 sdmmc_bus4: sdmmc-bus4 { 594 - rockchip,pins = <1 18 RK_FUNC_1 &pcfg_pull_default>, 595 - <1 19 RK_FUNC_1 &pcfg_pull_default>, 596 - <1 20 RK_FUNC_1 &pcfg_pull_default>, 597 - <1 21 RK_FUNC_1 &pcfg_pull_default>; 594 + rockchip,pins = <1 RK_PC2 1 &pcfg_pull_default>, 595 + <1 RK_PC3 1 &pcfg_pull_default>, 596 + <1 RK_PC4 1 &pcfg_pull_default>, 597 + <1 RK_PC5 1 &pcfg_pull_default>; 598 598 }; 599 599 }; 600 600 601 601 sdio { 602 602 sdio_bus1: sdio-bus1 { 603 - rockchip,pins = <0 11 RK_FUNC_1 &pcfg_pull_default>; 603 + rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>; 604 604 }; 605 605 606 606 sdio_bus4: sdio-bus4 { 607 - rockchip,pins = <0 11 RK_FUNC_1 &pcfg_pull_default>, 608 - <0 12 RK_FUNC_1 &pcfg_pull_default>, 609 - <0 13 RK_FUNC_1 &pcfg_pull_default>, 610 - <0 14 RK_FUNC_1 &pcfg_pull_default>; 607 + rockchip,pins = <0 RK_PB3 1 &pcfg_pull_default>, 608 + <0 RK_PB4 1 &pcfg_pull_default>, 609 + <0 RK_PB5 1 &pcfg_pull_default>, 610 + <0 RK_PB6 1 &pcfg_pull_default>; 611 611 }; 612 612 613 613 sdio_cmd: sdio-cmd { 614 - rockchip,pins = <0 8 RK_FUNC_1 &pcfg_pull_default>; 614 + rockchip,pins = <0 RK_PB0 1 &pcfg_pull_default>; 615 615 }; 616 616 617 617 sdio_clk: sdio-clk { 618 - rockchip,pins = <0 9 RK_FUNC_1 &pcfg_pull_none>; 618 + rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none>; 619 619 }; 620 620 }; 621 621 ··· 625 625 * We also have external pulls, so disable the internal ones. 626 626 */ 627 627 emmc_clk: emmc-clk { 628 - rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none>; 628 + rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>; 629 629 }; 630 630 631 631 emmc_cmd: emmc-cmd { 632 - rockchip,pins = <2 1 RK_FUNC_2 &pcfg_pull_default>; 632 + rockchip,pins = <2 RK_PA1 2 &pcfg_pull_default>; 633 633 }; 634 634 635 635 emmc_bus8: emmc-bus8 { 636 - rockchip,pins = <1 24 RK_FUNC_2 &pcfg_pull_default>, 637 - <1 25 RK_FUNC_2 &pcfg_pull_default>, 638 - <1 26 RK_FUNC_2 &pcfg_pull_default>, 639 - <1 27 RK_FUNC_2 &pcfg_pull_default>, 640 - <1 28 RK_FUNC_2 &pcfg_pull_default>, 641 - <1 29 RK_FUNC_2 &pcfg_pull_default>, 642 - <1 30 RK_FUNC_2 &pcfg_pull_default>, 643 - <1 31 RK_FUNC_2 &pcfg_pull_default>; 636 + rockchip,pins = <1 RK_PD0 2 &pcfg_pull_default>, 637 + <1 RK_PD1 2 &pcfg_pull_default>, 638 + <1 RK_PD2 2 &pcfg_pull_default>, 639 + <1 RK_PD3 2 &pcfg_pull_default>, 640 + <1 RK_PD4 2 &pcfg_pull_default>, 641 + <1 RK_PD5 2 &pcfg_pull_default>, 642 + <1 RK_PD6 2 &pcfg_pull_default>, 643 + <1 RK_PD7 2 &pcfg_pull_default>; 644 644 }; 645 645 }; 646 646 647 647 emac { 648 648 emac_xfer: emac-xfer { 649 - rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_default>, /* crs_dvalid */ 650 - <2 13 RK_FUNC_1 &pcfg_pull_default>, /* tx_en */ 651 - <2 14 RK_FUNC_1 &pcfg_pull_default>, /* mac_clk */ 652 - <2 15 RK_FUNC_1 &pcfg_pull_default>, /* rx_err */ 653 - <2 16 RK_FUNC_1 &pcfg_pull_default>, /* rxd1 */ 654 - <2 17 RK_FUNC_1 &pcfg_pull_default>, /* rxd0 */ 655 - <2 18 RK_FUNC_1 &pcfg_pull_default>, /* txd1 */ 656 - <2 19 RK_FUNC_1 &pcfg_pull_default>; /* txd0 */ 649 + rockchip,pins = <2 RK_PB2 1 &pcfg_pull_default>, /* crs_dvalid */ 650 + <2 RK_PB5 1 &pcfg_pull_default>, /* tx_en */ 651 + <2 RK_PB6 1 &pcfg_pull_default>, /* mac_clk */ 652 + <2 RK_PB7 1 &pcfg_pull_default>, /* rx_err */ 653 + <2 RK_PC0 1 &pcfg_pull_default>, /* rxd1 */ 654 + <2 RK_PC1 1 &pcfg_pull_default>, /* rxd0 */ 655 + <2 RK_PC2 1 &pcfg_pull_default>, /* txd1 */ 656 + <2 RK_PC3 1 &pcfg_pull_default>; /* txd0 */ 657 657 }; 658 658 659 659 emac_mdio: emac-mdio { 660 - rockchip,pins = <2 12 RK_FUNC_1 &pcfg_pull_default>, /* mac_md */ 661 - <2 25 RK_FUNC_1 &pcfg_pull_default>; /* mac_mdclk */ 660 + rockchip,pins = <2 RK_PB4 1 &pcfg_pull_default>, /* mac_md */ 661 + <2 RK_PD1 1 &pcfg_pull_default>; /* mac_mdclk */ 662 662 }; 663 663 }; 664 664 665 665 i2c0 { 666 666 i2c0_xfer: i2c0-xfer { 667 - rockchip,pins = <0 0 RK_FUNC_1 &pcfg_pull_none>, 668 - <0 1 RK_FUNC_1 &pcfg_pull_none>; 667 + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 668 + <0 RK_PA1 1 &pcfg_pull_none>; 669 669 }; 670 670 }; 671 671 672 672 i2c1 { 673 673 i2c1_xfer: i2c1-xfer { 674 - rockchip,pins = <0 2 RK_FUNC_1 &pcfg_pull_none>, 675 - <0 3 RK_FUNC_1 &pcfg_pull_none>; 674 + rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 675 + <0 RK_PA3 1 &pcfg_pull_none>; 676 676 }; 677 677 }; 678 678 679 679 i2c2 { 680 680 i2c2_xfer: i2c2-xfer { 681 - rockchip,pins = <2 20 RK_FUNC_1 &pcfg_pull_none>, 682 - <2 21 RK_FUNC_1 &pcfg_pull_none>; 681 + rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>, 682 + <2 RK_PC5 1 &pcfg_pull_none>; 683 683 }; 684 684 }; 685 685 686 686 i2s { 687 687 i2s_bus: i2s-bus { 688 - rockchip,pins = <1 0 RK_FUNC_1 &pcfg_pull_default>, 689 - <1 1 RK_FUNC_1 &pcfg_pull_default>, 690 - <1 2 RK_FUNC_1 &pcfg_pull_default>, 691 - <1 3 RK_FUNC_1 &pcfg_pull_default>, 692 - <1 4 RK_FUNC_1 &pcfg_pull_default>, 693 - <1 5 RK_FUNC_1 &pcfg_pull_default>; 688 + rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>, 689 + <1 RK_PA1 1 &pcfg_pull_default>, 690 + <1 RK_PA2 1 &pcfg_pull_default>, 691 + <1 RK_PA3 1 &pcfg_pull_default>, 692 + <1 RK_PA4 1 &pcfg_pull_default>, 693 + <1 RK_PA5 1 &pcfg_pull_default>; 694 694 }; 695 695 }; 696 696 697 697 hdmi { 698 698 hdmi_ctl: hdmi-ctl { 699 - rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>, 700 - <1 9 RK_FUNC_1 &pcfg_pull_none>, 701 - <1 10 RK_FUNC_1 &pcfg_pull_none>, 702 - <1 11 RK_FUNC_1 &pcfg_pull_none>; 699 + rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>, 700 + <1 RK_PB1 1 &pcfg_pull_none>, 701 + <1 RK_PB2 1 &pcfg_pull_none>, 702 + <1 RK_PB3 1 &pcfg_pull_none>; 703 703 }; 704 704 }; 705 705 706 706 uart0 { 707 707 uart0_xfer: uart0-xfer { 708 - rockchip,pins = <0 16 RK_FUNC_1 &pcfg_pull_default>, 709 - <0 17 RK_FUNC_1 &pcfg_pull_none>; 708 + rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>, 709 + <0 RK_PC1 1 &pcfg_pull_none>; 710 710 }; 711 711 712 712 uart0_cts: uart0-cts { 713 - rockchip,pins = <0 18 RK_FUNC_1 &pcfg_pull_default>; 713 + rockchip,pins = <0 RK_PC2 1 &pcfg_pull_default>; 714 714 }; 715 715 716 716 uart0_rts: uart0-rts { 717 - rockchip,pins = <0 19 RK_FUNC_1 &pcfg_pull_none>; 717 + rockchip,pins = <0 RK_PC3 1 &pcfg_pull_none>; 718 718 }; 719 719 }; 720 720 721 721 uart1 { 722 722 uart1_xfer: uart1-xfer { 723 - rockchip,pins = <2 22 RK_FUNC_1 &pcfg_pull_default>, 724 - <2 23 RK_FUNC_1 &pcfg_pull_none>; 723 + rockchip,pins = <2 RK_PC6 1 &pcfg_pull_default>, 724 + <2 RK_PC7 1 &pcfg_pull_none>; 725 725 }; 726 726 /* no rts / cts for uart1 */ 727 727 }; 728 728 729 729 uart2 { 730 730 uart2_xfer: uart2-xfer { 731 - rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_default>, 732 - <1 19 RK_FUNC_2 &pcfg_pull_none>; 731 + rockchip,pins = <1 RK_PC2 2 &pcfg_pull_default>, 732 + <1 RK_PC3 2 &pcfg_pull_none>; 733 733 }; 734 734 /* no rts / cts for uart2 */ 735 735 }; 736 736 737 737 spi-pins { 738 738 spi_txd:spi-txd { 739 - rockchip,pins = <1 29 RK_FUNC_3 &pcfg_pull_default>; 739 + rockchip,pins = <1 RK_PD5 3 &pcfg_pull_default>; 740 740 }; 741 741 742 742 spi_rxd:spi-rxd { 743 - rockchip,pins = <1 28 RK_FUNC_3 &pcfg_pull_default>; 743 + rockchip,pins = <1 RK_PD4 3 &pcfg_pull_default>; 744 744 }; 745 745 746 746 spi_clk:spi-clk { 747 - rockchip,pins = <2 0 RK_FUNC_2 &pcfg_pull_default>; 747 + rockchip,pins = <2 RK_PA0 2 &pcfg_pull_default>; 748 748 }; 749 749 750 750 spi_cs0:spi-cs0 { 751 - rockchip,pins = <1 30 RK_FUNC_3 &pcfg_pull_default>; 751 + rockchip,pins = <1 RK_PD6 3 &pcfg_pull_default>; 752 752 753 753 }; 754 754 755 755 spi_cs1:spi-cs1 { 756 - rockchip,pins = <1 31 RK_FUNC_3 &pcfg_pull_default>; 756 + rockchip,pins = <1 RK_PD7 3 &pcfg_pull_default>; 757 757 758 758 }; 759 759 };
+1 -1
arch/arm/boot/dts/rk3066a-marsboard.dts
··· 168 168 &pinctrl { 169 169 lan8720a { 170 170 phy_int: phy-int { 171 - rockchip,pins = <RK_GPIO1 26 RK_FUNC_GPIO &pcfg_pull_none>; 171 + rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 172 172 }; 173 173 }; 174 174 };
+4 -4
arch/arm/boot/dts/rk3066a-mk808.dts
··· 136 136 &pinctrl { 137 137 usb-host { 138 138 host_drv: host-drv { 139 - rockchip,pins = <RK_GPIO0 6 RK_FUNC_GPIO &pcfg_pull_default>; 139 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>; 140 140 }; 141 141 }; 142 142 143 143 usb-otg { 144 144 otg_drv: otg-drv { 145 - rockchip,pins = <RK_GPIO0 5 RK_FUNC_GPIO &pcfg_pull_default>; 145 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>; 146 146 }; 147 147 }; 148 148 149 149 sdmmc { 150 150 sdmmc_pwr: sdmmc-pwr { 151 - rockchip,pins = <RK_GPIO3 7 RK_FUNC_GPIO &pcfg_pull_default>; 151 + rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>; 152 152 }; 153 153 }; 154 154 155 155 sdio { 156 156 wifi_pwr: wifi-pwr { 157 - rockchip,pins = <RK_GPIO3 24 RK_FUNC_GPIO &pcfg_pull_none>; 157 + rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 158 158 }; 159 159 }; 160 160 };
+13 -13
arch/arm/boot/dts/rk3066a-rayeager.dts
··· 322 322 323 323 ak8963 { 324 324 comp_int: comp-int { 325 - rockchip,pins = <4 17 RK_FUNC_GPIO &pcfg_pull_default>; 325 + rockchip,pins = <4 RK_PC1 RK_FUNC_GPIO &pcfg_pull_default>; 326 326 }; 327 327 }; 328 328 329 329 emac { 330 330 rmii_rst: rmii-rst { 331 - rockchip,pins = <1 30 RK_FUNC_GPIO &pcfg_output_high>; 331 + rockchip,pins = <1 RK_PD6 RK_FUNC_GPIO &pcfg_output_high>; 332 332 }; 333 333 }; 334 334 335 335 ir { 336 336 ir_int: ir-int { 337 - rockchip,pins = <6 1 RK_FUNC_GPIO &pcfg_pull_default>; 337 + rockchip,pins = <6 RK_PA1 RK_FUNC_GPIO &pcfg_pull_default>; 338 338 }; 339 339 }; 340 340 341 341 keys { 342 342 pwr_key: pwr-key { 343 - rockchip,pins = <6 2 RK_FUNC_GPIO &pcfg_pull_default>; 343 + rockchip,pins = <6 RK_PA2 RK_FUNC_GPIO &pcfg_pull_default>; 344 344 }; 345 345 }; 346 346 347 347 mma8452 { 348 348 gsensor_int: gsensor-int { 349 - rockchip,pins = <4 16 RK_FUNC_GPIO &pcfg_pull_default>; 349 + rockchip,pins = <4 RK_PC0 RK_FUNC_GPIO &pcfg_pull_default>; 350 350 }; 351 351 }; 352 352 353 353 mmc { 354 354 sdmmc_pwr: sdmmc-pwr { 355 - rockchip,pins = <3 7 RK_FUNC_GPIO &pcfg_pull_default>; 355 + rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>; 356 356 }; 357 357 }; 358 358 359 359 usb_host { 360 360 host_drv: host-drv { 361 - rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_default>; 361 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>; 362 362 }; 363 363 364 364 hub_rst: hub-rst { 365 - rockchip,pins = <1 31 RK_FUNC_GPIO &pcfg_output_high>; 365 + rockchip,pins = <1 RK_PD7 RK_FUNC_GPIO &pcfg_output_high>; 366 366 }; 367 367 368 368 sata_pwr: sata-pwr { 369 - rockchip,pins = <4 22 RK_FUNC_GPIO &pcfg_pull_default>; 369 + rockchip,pins = <4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_default>; 370 370 }; 371 371 372 372 sata_reset: sata-reset { 373 - rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_output_high>; 373 + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_output_high>; 374 374 }; 375 375 }; 376 376 377 377 usb_otg { 378 378 otg_drv: otg-drv { 379 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_default>; 379 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>; 380 380 }; 381 381 }; 382 382 383 383 tps { 384 384 pmic_int: pmic-int { 385 - rockchip,pins = <6 4 RK_FUNC_GPIO &pcfg_pull_default>; 385 + rockchip,pins = <6 RK_PA4 RK_FUNC_GPIO &pcfg_pull_default>; 386 386 }; 387 387 388 388 pwr_hold: pwr-hold { 389 - rockchip,pins = <6 8 RK_FUNC_GPIO &pcfg_output_high>; 389 + rockchip,pins = <6 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 390 390 }; 391 391 }; 392 392 };
+90 -90
arch/arm/boot/dts/rk3066a.dtsi
··· 391 391 392 392 emac { 393 393 emac_xfer: emac-xfer { 394 - rockchip,pins = <RK_GPIO1 16 RK_FUNC_2 &pcfg_pull_none>, /* mac_clk */ 395 - <RK_GPIO1 17 RK_FUNC_2 &pcfg_pull_none>, /* tx_en */ 396 - <RK_GPIO1 18 RK_FUNC_2 &pcfg_pull_none>, /* txd1 */ 397 - <RK_GPIO1 19 RK_FUNC_2 &pcfg_pull_none>, /* txd0 */ 398 - <RK_GPIO1 20 RK_FUNC_2 &pcfg_pull_none>, /* rx_err */ 399 - <RK_GPIO1 21 RK_FUNC_2 &pcfg_pull_none>, /* crs_dvalid */ 400 - <RK_GPIO1 22 RK_FUNC_2 &pcfg_pull_none>, /* rxd1 */ 401 - <RK_GPIO1 23 RK_FUNC_2 &pcfg_pull_none>; /* rxd0 */ 394 + rockchip,pins = <1 RK_PC0 2 &pcfg_pull_none>, /* mac_clk */ 395 + <1 RK_PC1 2 &pcfg_pull_none>, /* tx_en */ 396 + <1 RK_PC2 2 &pcfg_pull_none>, /* txd1 */ 397 + <1 RK_PC3 2 &pcfg_pull_none>, /* txd0 */ 398 + <1 RK_PC4 2 &pcfg_pull_none>, /* rx_err */ 399 + <1 RK_PC5 2 &pcfg_pull_none>, /* crs_dvalid */ 400 + <1 RK_PC6 2 &pcfg_pull_none>, /* rxd1 */ 401 + <1 RK_PC7 2 &pcfg_pull_none>; /* rxd0 */ 402 402 }; 403 403 404 404 emac_mdio: emac-mdio { 405 - rockchip,pins = <RK_GPIO1 24 RK_FUNC_2 &pcfg_pull_none>, /* mac_md */ 406 - <RK_GPIO1 25 RK_FUNC_2 &pcfg_pull_none>; /* mac_mdclk */ 405 + rockchip,pins = <1 RK_PD0 2 &pcfg_pull_none>, /* mac_md */ 406 + <1 RK_PD1 2 &pcfg_pull_none>; /* mac_mdclk */ 407 407 }; 408 408 }; 409 409 410 410 emmc { 411 411 emmc_clk: emmc-clk { 412 - rockchip,pins = <RK_GPIO3 31 RK_FUNC_2 &pcfg_pull_default>; 412 + rockchip,pins = <3 RK_PD7 2 &pcfg_pull_default>; 413 413 }; 414 414 415 415 emmc_cmd: emmc-cmd { 416 - rockchip,pins = <RK_GPIO4 9 RK_FUNC_2 &pcfg_pull_default>; 416 + rockchip,pins = <4 RK_PB1 2 &pcfg_pull_default>; 417 417 }; 418 418 419 419 emmc_rst: emmc-rst { 420 - rockchip,pins = <RK_GPIO4 10 RK_FUNC_2 &pcfg_pull_default>; 420 + rockchip,pins = <4 RK_PB2 2 &pcfg_pull_default>; 421 421 }; 422 422 423 423 /* ··· 441 441 442 442 i2c0 { 443 443 i2c0_xfer: i2c0-xfer { 444 - rockchip,pins = <RK_GPIO2 28 RK_FUNC_1 &pcfg_pull_none>, 445 - <RK_GPIO2 29 RK_FUNC_1 &pcfg_pull_none>; 444 + rockchip,pins = <2 RK_PD4 1 &pcfg_pull_none>, 445 + <2 RK_PD5 1 &pcfg_pull_none>; 446 446 }; 447 447 }; 448 448 449 449 i2c1 { 450 450 i2c1_xfer: i2c1-xfer { 451 - rockchip,pins = <RK_GPIO2 30 RK_FUNC_1 &pcfg_pull_none>, 452 - <RK_GPIO2 31 RK_FUNC_1 &pcfg_pull_none>; 451 + rockchip,pins = <2 RK_PD6 1 &pcfg_pull_none>, 452 + <2 RK_PD7 1 &pcfg_pull_none>; 453 453 }; 454 454 }; 455 455 456 456 i2c2 { 457 457 i2c2_xfer: i2c2-xfer { 458 - rockchip,pins = <RK_GPIO3 0 RK_FUNC_1 &pcfg_pull_none>, 459 - <RK_GPIO3 1 RK_FUNC_1 &pcfg_pull_none>; 458 + rockchip,pins = <3 RK_PA0 1 &pcfg_pull_none>, 459 + <3 RK_PA1 1 &pcfg_pull_none>; 460 460 }; 461 461 }; 462 462 463 463 i2c3 { 464 464 i2c3_xfer: i2c3-xfer { 465 - rockchip,pins = <RK_GPIO3 2 RK_FUNC_2 &pcfg_pull_none>, 466 - <RK_GPIO3 3 RK_FUNC_2 &pcfg_pull_none>; 465 + rockchip,pins = <3 RK_PA2 2 &pcfg_pull_none>, 466 + <3 RK_PA3 2 &pcfg_pull_none>; 467 467 }; 468 468 }; 469 469 470 470 i2c4 { 471 471 i2c4_xfer: i2c4-xfer { 472 - rockchip,pins = <RK_GPIO3 4 RK_FUNC_1 &pcfg_pull_none>, 473 - <RK_GPIO3 5 RK_FUNC_1 &pcfg_pull_none>; 472 + rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>, 473 + <3 RK_PA5 1 &pcfg_pull_none>; 474 474 }; 475 475 }; 476 476 477 477 pwm0 { 478 478 pwm0_out: pwm0-out { 479 - rockchip,pins = <RK_GPIO0 3 RK_FUNC_1 &pcfg_pull_none>; 479 + rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>; 480 480 }; 481 481 }; 482 482 483 483 pwm1 { 484 484 pwm1_out: pwm1-out { 485 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_1 &pcfg_pull_none>; 485 + rockchip,pins = <0 RK_PA4 1 &pcfg_pull_none>; 486 486 }; 487 487 }; 488 488 489 489 pwm2 { 490 490 pwm2_out: pwm2-out { 491 - rockchip,pins = <RK_GPIO0 30 RK_FUNC_1 &pcfg_pull_none>; 491 + rockchip,pins = <0 RK_PD6 1 &pcfg_pull_none>; 492 492 }; 493 493 }; 494 494 495 495 pwm3 { 496 496 pwm3_out: pwm3-out { 497 - rockchip,pins = <RK_GPIO0 31 RK_FUNC_1 &pcfg_pull_none>; 497 + rockchip,pins = <0 RK_PD7 1 &pcfg_pull_none>; 498 498 }; 499 499 }; 500 500 501 501 spi0 { 502 502 spi0_clk: spi0-clk { 503 - rockchip,pins = <RK_GPIO1 5 RK_FUNC_2 &pcfg_pull_default>; 503 + rockchip,pins = <1 RK_PA5 2 &pcfg_pull_default>; 504 504 }; 505 505 spi0_cs0: spi0-cs0 { 506 - rockchip,pins = <RK_GPIO1 4 RK_FUNC_2 &pcfg_pull_default>; 506 + rockchip,pins = <1 RK_PA4 2 &pcfg_pull_default>; 507 507 }; 508 508 spi0_tx: spi0-tx { 509 - rockchip,pins = <RK_GPIO1 7 RK_FUNC_2 &pcfg_pull_default>; 509 + rockchip,pins = <1 RK_PA7 2 &pcfg_pull_default>; 510 510 }; 511 511 spi0_rx: spi0-rx { 512 - rockchip,pins = <RK_GPIO1 6 RK_FUNC_2 &pcfg_pull_default>; 512 + rockchip,pins = <1 RK_PA6 2 &pcfg_pull_default>; 513 513 }; 514 514 spi0_cs1: spi0-cs1 { 515 - rockchip,pins = <RK_GPIO4 15 RK_FUNC_1 &pcfg_pull_default>; 515 + rockchip,pins = <4 RK_PB7 1 &pcfg_pull_default>; 516 516 }; 517 517 }; 518 518 519 519 spi1 { 520 520 spi1_clk: spi1-clk { 521 - rockchip,pins = <RK_GPIO2 19 RK_FUNC_2 &pcfg_pull_default>; 521 + rockchip,pins = <2 RK_PC3 2 &pcfg_pull_default>; 522 522 }; 523 523 spi1_cs0: spi1-cs0 { 524 - rockchip,pins = <RK_GPIO2 20 RK_FUNC_2 &pcfg_pull_default>; 524 + rockchip,pins = <2 RK_PC4 2 &pcfg_pull_default>; 525 525 }; 526 526 spi1_rx: spi1-rx { 527 - rockchip,pins = <RK_GPIO2 22 RK_FUNC_2 &pcfg_pull_default>; 527 + rockchip,pins = <2 RK_PC6 2 &pcfg_pull_default>; 528 528 }; 529 529 spi1_tx: spi1-tx { 530 - rockchip,pins = <RK_GPIO2 21 RK_FUNC_2 &pcfg_pull_default>; 530 + rockchip,pins = <2 RK_PC5 2 &pcfg_pull_default>; 531 531 }; 532 532 spi1_cs1: spi1-cs1 { 533 - rockchip,pins = <RK_GPIO2 23 RK_FUNC_2 &pcfg_pull_default>; 533 + rockchip,pins = <2 RK_PC7 2 &pcfg_pull_default>; 534 534 }; 535 535 }; 536 536 537 537 uart0 { 538 538 uart0_xfer: uart0-xfer { 539 - rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_default>, 540 - <RK_GPIO1 1 RK_FUNC_1 &pcfg_pull_default>; 539 + rockchip,pins = <1 RK_PA0 1 &pcfg_pull_default>, 540 + <1 RK_PA1 1 &pcfg_pull_default>; 541 541 }; 542 542 543 543 uart0_cts: uart0-cts { 544 - rockchip,pins = <RK_GPIO1 2 RK_FUNC_1 &pcfg_pull_default>; 544 + rockchip,pins = <1 RK_PA2 1 &pcfg_pull_default>; 545 545 }; 546 546 547 547 uart0_rts: uart0-rts { 548 - rockchip,pins = <RK_GPIO1 3 RK_FUNC_1 &pcfg_pull_default>; 548 + rockchip,pins = <1 RK_PA3 1 &pcfg_pull_default>; 549 549 }; 550 550 }; 551 551 552 552 uart1 { 553 553 uart1_xfer: uart1-xfer { 554 - rockchip,pins = <RK_GPIO1 4 RK_FUNC_1 &pcfg_pull_default>, 555 - <RK_GPIO1 5 RK_FUNC_1 &pcfg_pull_default>; 554 + rockchip,pins = <1 RK_PA4 1 &pcfg_pull_default>, 555 + <1 RK_PA5 1 &pcfg_pull_default>; 556 556 }; 557 557 558 558 uart1_cts: uart1-cts { 559 - rockchip,pins = <RK_GPIO1 6 RK_FUNC_1 &pcfg_pull_default>; 559 + rockchip,pins = <1 RK_PA6 1 &pcfg_pull_default>; 560 560 }; 561 561 562 562 uart1_rts: uart1-rts { 563 - rockchip,pins = <RK_GPIO1 7 RK_FUNC_1 &pcfg_pull_default>; 563 + rockchip,pins = <1 RK_PA7 1 &pcfg_pull_default>; 564 564 }; 565 565 }; 566 566 567 567 uart2 { 568 568 uart2_xfer: uart2-xfer { 569 - rockchip,pins = <RK_GPIO1 8 RK_FUNC_1 &pcfg_pull_default>, 570 - <RK_GPIO1 9 RK_FUNC_1 &pcfg_pull_default>; 569 + rockchip,pins = <1 RK_PB0 1 &pcfg_pull_default>, 570 + <1 RK_PB1 1 &pcfg_pull_default>; 571 571 }; 572 572 /* no rts / cts for uart2 */ 573 573 }; 574 574 575 575 uart3 { 576 576 uart3_xfer: uart3-xfer { 577 - rockchip,pins = <RK_GPIO3 27 RK_FUNC_1 &pcfg_pull_default>, 578 - <RK_GPIO3 28 RK_FUNC_1 &pcfg_pull_default>; 577 + rockchip,pins = <3 RK_PD3 1 &pcfg_pull_default>, 578 + <3 RK_PD4 1 &pcfg_pull_default>; 579 579 }; 580 580 581 581 uart3_cts: uart3-cts { 582 - rockchip,pins = <RK_GPIO3 29 RK_FUNC_1 &pcfg_pull_default>; 582 + rockchip,pins = <3 RK_PD5 1 &pcfg_pull_default>; 583 583 }; 584 584 585 585 uart3_rts: uart3-rts { 586 - rockchip,pins = <RK_GPIO3 30 RK_FUNC_1 &pcfg_pull_default>; 586 + rockchip,pins = <3 RK_PD6 1 &pcfg_pull_default>; 587 587 }; 588 588 }; 589 589 590 590 sd0 { 591 591 sd0_clk: sd0-clk { 592 - rockchip,pins = <RK_GPIO3 8 RK_FUNC_1 &pcfg_pull_default>; 592 + rockchip,pins = <3 RK_PB0 1 &pcfg_pull_default>; 593 593 }; 594 594 595 595 sd0_cmd: sd0-cmd { 596 - rockchip,pins = <RK_GPIO3 9 RK_FUNC_1 &pcfg_pull_default>; 596 + rockchip,pins = <3 RK_PB1 1 &pcfg_pull_default>; 597 597 }; 598 598 599 599 sd0_cd: sd0-cd { 600 - rockchip,pins = <RK_GPIO3 14 RK_FUNC_1 &pcfg_pull_default>; 600 + rockchip,pins = <3 RK_PB6 1 &pcfg_pull_default>; 601 601 }; 602 602 603 603 sd0_wp: sd0-wp { 604 - rockchip,pins = <RK_GPIO3 15 RK_FUNC_1 &pcfg_pull_default>; 604 + rockchip,pins = <3 RK_PB7 1 &pcfg_pull_default>; 605 605 }; 606 606 607 607 sd0_bus1: sd0-bus-width1 { 608 - rockchip,pins = <RK_GPIO3 10 RK_FUNC_1 &pcfg_pull_default>; 608 + rockchip,pins = <3 RK_PB2 1 &pcfg_pull_default>; 609 609 }; 610 610 611 611 sd0_bus4: sd0-bus-width4 { 612 - rockchip,pins = <RK_GPIO3 10 RK_FUNC_1 &pcfg_pull_default>, 613 - <RK_GPIO3 11 RK_FUNC_1 &pcfg_pull_default>, 614 - <RK_GPIO3 12 RK_FUNC_1 &pcfg_pull_default>, 615 - <RK_GPIO3 13 RK_FUNC_1 &pcfg_pull_default>; 612 + rockchip,pins = <3 RK_PB2 1 &pcfg_pull_default>, 613 + <3 RK_PB3 1 &pcfg_pull_default>, 614 + <3 RK_PB4 1 &pcfg_pull_default>, 615 + <3 RK_PB5 1 &pcfg_pull_default>; 616 616 }; 617 617 }; 618 618 619 619 sd1 { 620 620 sd1_clk: sd1-clk { 621 - rockchip,pins = <RK_GPIO3 21 RK_FUNC_1 &pcfg_pull_default>; 621 + rockchip,pins = <3 RK_PC5 1 &pcfg_pull_default>; 622 622 }; 623 623 624 624 sd1_cmd: sd1-cmd { 625 - rockchip,pins = <RK_GPIO3 16 RK_FUNC_1 &pcfg_pull_default>; 625 + rockchip,pins = <3 RK_PC0 1 &pcfg_pull_default>; 626 626 }; 627 627 628 628 sd1_cd: sd1-cd { 629 - rockchip,pins = <RK_GPIO3 22 RK_FUNC_1 &pcfg_pull_default>; 629 + rockchip,pins = <3 RK_PC6 1 &pcfg_pull_default>; 630 630 }; 631 631 632 632 sd1_wp: sd1-wp { 633 - rockchip,pins = <RK_GPIO3 23 RK_FUNC_1 &pcfg_pull_default>; 633 + rockchip,pins = <3 RK_PC7 1 &pcfg_pull_default>; 634 634 }; 635 635 636 636 sd1_bus1: sd1-bus-width1 { 637 - rockchip,pins = <RK_GPIO3 17 RK_FUNC_1 &pcfg_pull_default>; 637 + rockchip,pins = <3 RK_PC1 1 &pcfg_pull_default>; 638 638 }; 639 639 640 640 sd1_bus4: sd1-bus-width4 { 641 - rockchip,pins = <RK_GPIO3 17 RK_FUNC_1 &pcfg_pull_default>, 642 - <RK_GPIO3 18 RK_FUNC_1 &pcfg_pull_default>, 643 - <RK_GPIO3 19 RK_FUNC_1 &pcfg_pull_default>, 644 - <RK_GPIO3 20 RK_FUNC_1 &pcfg_pull_default>; 641 + rockchip,pins = <3 RK_PC1 1 &pcfg_pull_default>, 642 + <3 RK_PC2 1 &pcfg_pull_default>, 643 + <3 RK_PC3 1 &pcfg_pull_default>, 644 + <3 RK_PC4 1 &pcfg_pull_default>; 645 645 }; 646 646 }; 647 647 648 648 i2s0 { 649 649 i2s0_bus: i2s0-bus { 650 - rockchip,pins = <RK_GPIO0 7 RK_FUNC_1 &pcfg_pull_default>, 651 - <RK_GPIO0 8 RK_FUNC_1 &pcfg_pull_default>, 652 - <RK_GPIO0 9 RK_FUNC_1 &pcfg_pull_default>, 653 - <RK_GPIO0 10 RK_FUNC_1 &pcfg_pull_default>, 654 - <RK_GPIO0 11 RK_FUNC_1 &pcfg_pull_default>, 655 - <RK_GPIO0 12 RK_FUNC_1 &pcfg_pull_default>, 656 - <RK_GPIO0 13 RK_FUNC_1 &pcfg_pull_default>, 657 - <RK_GPIO0 14 RK_FUNC_1 &pcfg_pull_default>, 658 - <RK_GPIO0 15 RK_FUNC_1 &pcfg_pull_default>; 650 + rockchip,pins = <0 RK_PA7 1 &pcfg_pull_default>, 651 + <0 RK_PB0 1 &pcfg_pull_default>, 652 + <0 RK_PB1 1 &pcfg_pull_default>, 653 + <0 RK_PB2 1 &pcfg_pull_default>, 654 + <0 RK_PB3 1 &pcfg_pull_default>, 655 + <0 RK_PB4 1 &pcfg_pull_default>, 656 + <0 RK_PB5 1 &pcfg_pull_default>, 657 + <0 RK_PB6 1 &pcfg_pull_default>, 658 + <0 RK_PB7 1 &pcfg_pull_default>; 659 659 }; 660 660 }; 661 661 662 662 i2s1 { 663 663 i2s1_bus: i2s1-bus { 664 - rockchip,pins = <RK_GPIO0 16 RK_FUNC_1 &pcfg_pull_default>, 665 - <RK_GPIO0 17 RK_FUNC_1 &pcfg_pull_default>, 666 - <RK_GPIO0 18 RK_FUNC_1 &pcfg_pull_default>, 667 - <RK_GPIO0 19 RK_FUNC_1 &pcfg_pull_default>, 668 - <RK_GPIO0 20 RK_FUNC_1 &pcfg_pull_default>, 669 - <RK_GPIO0 21 RK_FUNC_1 &pcfg_pull_default>; 664 + rockchip,pins = <0 RK_PC0 1 &pcfg_pull_default>, 665 + <0 RK_PC1 1 &pcfg_pull_default>, 666 + <0 RK_PC2 1 &pcfg_pull_default>, 667 + <0 RK_PC3 1 &pcfg_pull_default>, 668 + <0 RK_PC4 1 &pcfg_pull_default>, 669 + <0 RK_PC5 1 &pcfg_pull_default>; 670 670 }; 671 671 }; 672 672 673 673 i2s2 { 674 674 i2s2_bus: i2s2-bus { 675 - rockchip,pins = <RK_GPIO0 24 RK_FUNC_1 &pcfg_pull_default>, 676 - <RK_GPIO0 25 RK_FUNC_1 &pcfg_pull_default>, 677 - <RK_GPIO0 26 RK_FUNC_1 &pcfg_pull_default>, 678 - <RK_GPIO0 27 RK_FUNC_1 &pcfg_pull_default>, 679 - <RK_GPIO0 28 RK_FUNC_1 &pcfg_pull_default>, 680 - <RK_GPIO0 29 RK_FUNC_1 &pcfg_pull_default>; 675 + rockchip,pins = <0 RK_PD0 1 &pcfg_pull_default>, 676 + <0 RK_PD1 1 &pcfg_pull_default>, 677 + <0 RK_PD2 1 &pcfg_pull_default>, 678 + <0 RK_PD3 1 &pcfg_pull_default>, 679 + <0 RK_PD4 1 &pcfg_pull_default>, 680 + <0 RK_PD5 1 &pcfg_pull_default>; 681 681 }; 682 682 }; 683 683 };
+2 -2
arch/arm/boot/dts/rk3188-px3-evb.dts
··· 247 247 248 248 usb { 249 249 host_vbus_drv: host-vbus-drv { 250 - rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>; 250 + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 251 251 }; 252 252 otg_vbus_drv: otg-vbus-drv { 253 - rockchip,pins = <2 31 RK_FUNC_GPIO &pcfg_pull_none>; 253 + rockchip,pins = <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>; 254 254 }; 255 255 }; 256 256 };
+7 -7
arch/arm/boot/dts/rk3188-radxarock.dts
··· 307 307 308 308 act8846 { 309 309 act8846_dvs0_ctl: act8846-dvs0-ctl { 310 - rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>; 310 + rockchip,pins = <3 RK_PD3 RK_FUNC_GPIO &pcfg_output_low>; 311 311 }; 312 312 }; 313 313 314 314 hym8563 { 315 315 rtc_int: rtc-int { 316 - rockchip,pins = <RK_GPIO0 0 RK_FUNC_GPIO &pcfg_pull_up>; 316 + rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 317 317 }; 318 318 }; 319 319 320 320 lan8720a { 321 321 phy_int: phy-int { 322 - rockchip,pins = <RK_GPIO3 26 RK_FUNC_GPIO &pcfg_pull_up>; 322 + rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; 323 323 }; 324 324 }; 325 325 326 326 ir-receiver { 327 327 ir_recv_pin: ir-recv-pin { 328 - rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; 328 + rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 329 329 }; 330 330 }; 331 331 332 332 sd0 { 333 333 sdmmc_pwr: sdmmc-pwr { 334 - rockchip,pins = <RK_GPIO3 1 RK_FUNC_GPIO &pcfg_pull_none>; 334 + rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 335 335 }; 336 336 }; 337 337 338 338 usb { 339 339 host_vbus_drv: host-vbus-drv { 340 - rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>; 340 + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 341 341 }; 342 342 otg_vbus_drv: otg-vbus-drv { 343 - rockchip,pins = <2 31 RK_FUNC_GPIO &pcfg_pull_none>; 343 + rockchip,pins = <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>; 344 344 }; 345 345 }; 346 346 };
+105 -105
arch/arm/boot/dts/rk3188.dtsi
··· 315 315 316 316 emmc { 317 317 emmc_clk: emmc-clk { 318 - rockchip,pins = <RK_GPIO0 24 RK_FUNC_2 &pcfg_pull_none>; 318 + rockchip,pins = <0 RK_PD0 2 &pcfg_pull_none>; 319 319 }; 320 320 321 321 emmc_cmd: emmc-cmd { 322 - rockchip,pins = <RK_GPIO0 26 RK_FUNC_2 &pcfg_pull_up>; 322 + rockchip,pins = <0 RK_PD2 2 &pcfg_pull_up>; 323 323 }; 324 324 325 325 emmc_rst: emmc-rst { 326 - rockchip,pins = <RK_GPIO0 27 RK_FUNC_2 &pcfg_pull_none>; 326 + rockchip,pins = <0 RK_PD3 2 &pcfg_pull_none>; 327 327 }; 328 328 329 329 /* ··· 336 336 337 337 emac { 338 338 emac_xfer: emac-xfer { 339 - rockchip,pins = <RK_GPIO3 16 RK_FUNC_2 &pcfg_pull_none>, /* tx_en */ 340 - <RK_GPIO3 17 RK_FUNC_2 &pcfg_pull_none>, /* txd1 */ 341 - <RK_GPIO3 18 RK_FUNC_2 &pcfg_pull_none>, /* txd0 */ 342 - <RK_GPIO3 19 RK_FUNC_2 &pcfg_pull_none>, /* rxd0 */ 343 - <RK_GPIO3 20 RK_FUNC_2 &pcfg_pull_none>, /* rxd1 */ 344 - <RK_GPIO3 21 RK_FUNC_2 &pcfg_pull_none>, /* mac_clk */ 345 - <RK_GPIO3 22 RK_FUNC_2 &pcfg_pull_none>, /* rx_err */ 346 - <RK_GPIO3 23 RK_FUNC_2 &pcfg_pull_none>; /* crs_dvalid */ 339 + rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>, /* tx_en */ 340 + <3 RK_PC1 2 &pcfg_pull_none>, /* txd1 */ 341 + <3 RK_PC2 2 &pcfg_pull_none>, /* txd0 */ 342 + <3 RK_PC3 2 &pcfg_pull_none>, /* rxd0 */ 343 + <3 RK_PC4 2 &pcfg_pull_none>, /* rxd1 */ 344 + <3 RK_PC5 2 &pcfg_pull_none>, /* mac_clk */ 345 + <3 RK_PC6 2 &pcfg_pull_none>, /* rx_err */ 346 + <3 RK_PC7 2 &pcfg_pull_none>; /* crs_dvalid */ 347 347 }; 348 348 349 349 emac_mdio: emac-mdio { 350 - rockchip,pins = <RK_GPIO3 24 RK_FUNC_2 &pcfg_pull_none>, 351 - <RK_GPIO3 25 RK_FUNC_2 &pcfg_pull_none>; 350 + rockchip,pins = <3 RK_PD0 2 &pcfg_pull_none>, 351 + <3 RK_PD1 2 &pcfg_pull_none>; 352 352 }; 353 353 }; 354 354 355 355 i2c0 { 356 356 i2c0_xfer: i2c0-xfer { 357 - rockchip,pins = <RK_GPIO1 24 RK_FUNC_1 &pcfg_pull_none>, 358 - <RK_GPIO1 25 RK_FUNC_1 &pcfg_pull_none>; 357 + rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 358 + <1 RK_PD1 1 &pcfg_pull_none>; 359 359 }; 360 360 }; 361 361 362 362 i2c1 { 363 363 i2c1_xfer: i2c1-xfer { 364 - rockchip,pins = <RK_GPIO1 26 RK_FUNC_1 &pcfg_pull_none>, 365 - <RK_GPIO1 27 RK_FUNC_1 &pcfg_pull_none>; 364 + rockchip,pins = <1 RK_PD2 1 &pcfg_pull_none>, 365 + <1 RK_PD3 1 &pcfg_pull_none>; 366 366 }; 367 367 }; 368 368 369 369 i2c2 { 370 370 i2c2_xfer: i2c2-xfer { 371 - rockchip,pins = <RK_GPIO1 28 RK_FUNC_1 &pcfg_pull_none>, 372 - <RK_GPIO1 29 RK_FUNC_1 &pcfg_pull_none>; 371 + rockchip,pins = <1 RK_PD4 1 &pcfg_pull_none>, 372 + <1 RK_PD5 1 &pcfg_pull_none>; 373 373 }; 374 374 }; 375 375 376 376 i2c3 { 377 377 i2c3_xfer: i2c3-xfer { 378 - rockchip,pins = <RK_GPIO3 14 RK_FUNC_2 &pcfg_pull_none>, 379 - <RK_GPIO3 15 RK_FUNC_2 &pcfg_pull_none>; 378 + rockchip,pins = <3 RK_PB6 2 &pcfg_pull_none>, 379 + <3 RK_PB7 2 &pcfg_pull_none>; 380 380 }; 381 381 }; 382 382 383 383 i2c4 { 384 384 i2c4_xfer: i2c4-xfer { 385 - rockchip,pins = <RK_GPIO1 30 RK_FUNC_1 &pcfg_pull_none>, 386 - <RK_GPIO1 31 RK_FUNC_1 &pcfg_pull_none>; 385 + rockchip,pins = <1 RK_PD6 1 &pcfg_pull_none>, 386 + <1 RK_PD7 1 &pcfg_pull_none>; 387 387 }; 388 388 }; 389 389 390 390 lcdc1 { 391 391 lcdc1_dclk: lcdc1-dclk { 392 - rockchip,pins = <2 RK_PD0 RK_FUNC_1 &pcfg_pull_none>; 392 + rockchip,pins = <2 RK_PD0 1 &pcfg_pull_none>; 393 393 }; 394 394 395 395 lcdc1_den: lcdc1-den { 396 - rockchip,pins = <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; 396 + rockchip,pins = <2 RK_PD1 1 &pcfg_pull_none>; 397 397 }; 398 398 399 399 lcdc1_hsync: lcdc1-hsync { 400 - rockchip,pins = <2 RK_PD2 RK_FUNC_1 &pcfg_pull_none>; 400 + rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>; 401 401 }; 402 402 403 403 lcdc1_vsync: lcdc1-vsync { 404 - rockchip,pins = <2 RK_PD3 RK_FUNC_1 &pcfg_pull_none>; 404 + rockchip,pins = <2 RK_PD3 1 &pcfg_pull_none>; 405 405 }; 406 406 407 407 lcdc1_rgb24: ldcd1-rgb24 { 408 - rockchip,pins = <2 RK_PA0 RK_FUNC_1 &pcfg_pull_none>, 409 - <2 RK_PA1 RK_FUNC_1 &pcfg_pull_none>, 410 - <2 RK_PA2 RK_FUNC_1 &pcfg_pull_none>, 411 - <2 RK_PA3 RK_FUNC_1 &pcfg_pull_none>, 412 - <2 RK_PA4 RK_FUNC_1 &pcfg_pull_none>, 413 - <2 RK_PA5 RK_FUNC_1 &pcfg_pull_none>, 414 - <2 RK_PA6 RK_FUNC_1 &pcfg_pull_none>, 415 - <2 RK_PA7 RK_FUNC_1 &pcfg_pull_none>, 416 - <2 RK_PB0 RK_FUNC_1 &pcfg_pull_none>, 417 - <2 RK_PB1 RK_FUNC_1 &pcfg_pull_none>, 418 - <2 RK_PB2 RK_FUNC_1 &pcfg_pull_none>, 419 - <2 RK_PB3 RK_FUNC_1 &pcfg_pull_none>, 420 - <2 RK_PB4 RK_FUNC_1 &pcfg_pull_none>, 421 - <2 RK_PB5 RK_FUNC_1 &pcfg_pull_none>, 422 - <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none>, 423 - <2 RK_PB7 RK_FUNC_1 &pcfg_pull_none>, 424 - <2 RK_PC0 RK_FUNC_1 &pcfg_pull_none>, 425 - <2 RK_PC1 RK_FUNC_1 &pcfg_pull_none>, 426 - <2 RK_PC2 RK_FUNC_1 &pcfg_pull_none>, 427 - <2 RK_PC3 RK_FUNC_1 &pcfg_pull_none>, 428 - <2 RK_PC4 RK_FUNC_1 &pcfg_pull_none>, 429 - <2 RK_PC5 RK_FUNC_1 &pcfg_pull_none>, 430 - <2 RK_PC6 RK_FUNC_1 &pcfg_pull_none>, 431 - <2 RK_PC7 RK_FUNC_1 &pcfg_pull_none>; 408 + rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>, 409 + <2 RK_PA1 1 &pcfg_pull_none>, 410 + <2 RK_PA2 1 &pcfg_pull_none>, 411 + <2 RK_PA3 1 &pcfg_pull_none>, 412 + <2 RK_PA4 1 &pcfg_pull_none>, 413 + <2 RK_PA5 1 &pcfg_pull_none>, 414 + <2 RK_PA6 1 &pcfg_pull_none>, 415 + <2 RK_PA7 1 &pcfg_pull_none>, 416 + <2 RK_PB0 1 &pcfg_pull_none>, 417 + <2 RK_PB1 1 &pcfg_pull_none>, 418 + <2 RK_PB2 1 &pcfg_pull_none>, 419 + <2 RK_PB3 1 &pcfg_pull_none>, 420 + <2 RK_PB4 1 &pcfg_pull_none>, 421 + <2 RK_PB5 1 &pcfg_pull_none>, 422 + <2 RK_PB6 1 &pcfg_pull_none>, 423 + <2 RK_PB7 1 &pcfg_pull_none>, 424 + <2 RK_PC0 1 &pcfg_pull_none>, 425 + <2 RK_PC1 1 &pcfg_pull_none>, 426 + <2 RK_PC2 1 &pcfg_pull_none>, 427 + <2 RK_PC3 1 &pcfg_pull_none>, 428 + <2 RK_PC4 1 &pcfg_pull_none>, 429 + <2 RK_PC5 1 &pcfg_pull_none>, 430 + <2 RK_PC6 1 &pcfg_pull_none>, 431 + <2 RK_PC7 1 &pcfg_pull_none>; 432 432 }; 433 433 }; 434 434 435 435 pwm0 { 436 436 pwm0_out: pwm0-out { 437 - rockchip,pins = <RK_GPIO3 27 RK_FUNC_1 &pcfg_pull_none>; 437 + rockchip,pins = <3 RK_PD3 1 &pcfg_pull_none>; 438 438 }; 439 439 }; 440 440 441 441 pwm1 { 442 442 pwm1_out: pwm1-out { 443 - rockchip,pins = <RK_GPIO3 28 RK_FUNC_1 &pcfg_pull_none>; 443 + rockchip,pins = <3 RK_PD4 1 &pcfg_pull_none>; 444 444 }; 445 445 }; 446 446 447 447 pwm2 { 448 448 pwm2_out: pwm2-out { 449 - rockchip,pins = <RK_GPIO3 29 RK_FUNC_1 &pcfg_pull_none>; 449 + rockchip,pins = <3 RK_PD5 1 &pcfg_pull_none>; 450 450 }; 451 451 }; 452 452 453 453 pwm3 { 454 454 pwm3_out: pwm3-out { 455 - rockchip,pins = <RK_GPIO3 30 RK_FUNC_1 &pcfg_pull_none>; 455 + rockchip,pins = <3 RK_PD6 1 &pcfg_pull_none>; 456 456 }; 457 457 }; 458 458 459 459 spi0 { 460 460 spi0_clk: spi0-clk { 461 - rockchip,pins = <RK_GPIO1 6 RK_FUNC_2 &pcfg_pull_up>; 461 + rockchip,pins = <1 RK_PA6 2 &pcfg_pull_up>; 462 462 }; 463 463 spi0_cs0: spi0-cs0 { 464 - rockchip,pins = <RK_GPIO1 7 RK_FUNC_2 &pcfg_pull_up>; 464 + rockchip,pins = <1 RK_PA7 2 &pcfg_pull_up>; 465 465 }; 466 466 spi0_tx: spi0-tx { 467 - rockchip,pins = <RK_GPIO1 5 RK_FUNC_2 &pcfg_pull_up>; 467 + rockchip,pins = <1 RK_PA5 2 &pcfg_pull_up>; 468 468 }; 469 469 spi0_rx: spi0-rx { 470 - rockchip,pins = <RK_GPIO1 4 RK_FUNC_2 &pcfg_pull_up>; 470 + rockchip,pins = <1 RK_PA4 2 &pcfg_pull_up>; 471 471 }; 472 472 spi0_cs1: spi0-cs1 { 473 - rockchip,pins = <RK_GPIO1 15 RK_FUNC_1 &pcfg_pull_up>; 473 + rockchip,pins = <1 RK_PB7 1 &pcfg_pull_up>; 474 474 }; 475 475 }; 476 476 477 477 spi1 { 478 478 spi1_clk: spi1-clk { 479 - rockchip,pins = <RK_GPIO0 30 RK_FUNC_1 &pcfg_pull_up>; 479 + rockchip,pins = <0 RK_PD6 1 &pcfg_pull_up>; 480 480 }; 481 481 spi1_cs0: spi1-cs0 { 482 - rockchip,pins = <RK_GPIO0 31 RK_FUNC_1 &pcfg_pull_up>; 482 + rockchip,pins = <0 RK_PD7 1 &pcfg_pull_up>; 483 483 }; 484 484 spi1_rx: spi1-rx { 485 - rockchip,pins = <RK_GPIO0 28 RK_FUNC_1 &pcfg_pull_up>; 485 + rockchip,pins = <0 RK_PD4 1 &pcfg_pull_up>; 486 486 }; 487 487 spi1_tx: spi1-tx { 488 - rockchip,pins = <RK_GPIO0 29 RK_FUNC_1 &pcfg_pull_up>; 488 + rockchip,pins = <0 RK_PD5 1 &pcfg_pull_up>; 489 489 }; 490 490 spi1_cs1: spi1-cs1 { 491 - rockchip,pins = <RK_GPIO1 14 RK_FUNC_2 &pcfg_pull_up>; 491 + rockchip,pins = <1 RK_PB6 2 &pcfg_pull_up>; 492 492 }; 493 493 }; 494 494 495 495 uart0 { 496 496 uart0_xfer: uart0-xfer { 497 - rockchip,pins = <RK_GPIO1 0 RK_FUNC_1 &pcfg_pull_up>, 498 - <RK_GPIO1 1 RK_FUNC_1 &pcfg_pull_none>; 497 + rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up>, 498 + <1 RK_PA1 1 &pcfg_pull_none>; 499 499 }; 500 500 501 501 uart0_cts: uart0-cts { 502 - rockchip,pins = <RK_GPIO1 2 RK_FUNC_1 &pcfg_pull_none>; 502 + rockchip,pins = <1 RK_PA2 1 &pcfg_pull_none>; 503 503 }; 504 504 505 505 uart0_rts: uart0-rts { 506 - rockchip,pins = <RK_GPIO1 3 RK_FUNC_1 &pcfg_pull_none>; 506 + rockchip,pins = <1 RK_PA3 1 &pcfg_pull_none>; 507 507 }; 508 508 }; 509 509 510 510 uart1 { 511 511 uart1_xfer: uart1-xfer { 512 - rockchip,pins = <RK_GPIO1 4 RK_FUNC_1 &pcfg_pull_up>, 513 - <RK_GPIO1 5 RK_FUNC_1 &pcfg_pull_none>; 512 + rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up>, 513 + <1 RK_PA5 1 &pcfg_pull_none>; 514 514 }; 515 515 516 516 uart1_cts: uart1-cts { 517 - rockchip,pins = <RK_GPIO1 6 RK_FUNC_1 &pcfg_pull_none>; 517 + rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none>; 518 518 }; 519 519 520 520 uart1_rts: uart1-rts { 521 - rockchip,pins = <RK_GPIO1 7 RK_FUNC_1 &pcfg_pull_none>; 521 + rockchip,pins = <1 RK_PA7 1 &pcfg_pull_none>; 522 522 }; 523 523 }; 524 524 525 525 uart2 { 526 526 uart2_xfer: uart2-xfer { 527 - rockchip,pins = <RK_GPIO1 8 RK_FUNC_1 &pcfg_pull_up>, 528 - <RK_GPIO1 9 RK_FUNC_1 &pcfg_pull_none>; 527 + rockchip,pins = <1 RK_PB0 1 &pcfg_pull_up>, 528 + <1 RK_PB1 1 &pcfg_pull_none>; 529 529 }; 530 530 /* no rts / cts for uart2 */ 531 531 }; 532 532 533 533 uart3 { 534 534 uart3_xfer: uart3-xfer { 535 - rockchip,pins = <RK_GPIO1 10 RK_FUNC_1 &pcfg_pull_up>, 536 - <RK_GPIO1 11 RK_FUNC_1 &pcfg_pull_none>; 535 + rockchip,pins = <1 RK_PB2 1 &pcfg_pull_up>, 536 + <1 RK_PB3 1 &pcfg_pull_none>; 537 537 }; 538 538 539 539 uart3_cts: uart3-cts { 540 - rockchip,pins = <RK_GPIO1 12 RK_FUNC_1 &pcfg_pull_none>; 540 + rockchip,pins = <1 RK_PB4 1 &pcfg_pull_none>; 541 541 }; 542 542 543 543 uart3_rts: uart3-rts { 544 - rockchip,pins = <RK_GPIO1 13 RK_FUNC_1 &pcfg_pull_none>; 544 + rockchip,pins = <1 RK_PB5 1 &pcfg_pull_none>; 545 545 }; 546 546 }; 547 547 548 548 sd0 { 549 549 sd0_clk: sd0-clk { 550 - rockchip,pins = <RK_GPIO3 2 RK_FUNC_1 &pcfg_pull_none>; 550 + rockchip,pins = <3 RK_PA2 1 &pcfg_pull_none>; 551 551 }; 552 552 553 553 sd0_cmd: sd0-cmd { 554 - rockchip,pins = <RK_GPIO3 3 RK_FUNC_1 &pcfg_pull_none>; 554 + rockchip,pins = <3 RK_PA3 1 &pcfg_pull_none>; 555 555 }; 556 556 557 557 sd0_cd: sd0-cd { 558 - rockchip,pins = <RK_GPIO3 8 RK_FUNC_1 &pcfg_pull_none>; 558 + rockchip,pins = <3 RK_PB0 1 &pcfg_pull_none>; 559 559 }; 560 560 561 561 sd0_wp: sd0-wp { 562 - rockchip,pins = <RK_GPIO3 9 RK_FUNC_1 &pcfg_pull_none>; 562 + rockchip,pins = <3 RK_PB1 1 &pcfg_pull_none>; 563 563 }; 564 564 565 565 sd0_pwr: sd0-pwr { 566 - rockchip,pins = <RK_GPIO3 1 RK_FUNC_1 &pcfg_pull_none>; 566 + rockchip,pins = <3 RK_PA1 1 &pcfg_pull_none>; 567 567 }; 568 568 569 569 sd0_bus1: sd0-bus-width1 { 570 - rockchip,pins = <RK_GPIO3 4 RK_FUNC_1 &pcfg_pull_none>; 570 + rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>; 571 571 }; 572 572 573 573 sd0_bus4: sd0-bus-width4 { 574 - rockchip,pins = <RK_GPIO3 4 RK_FUNC_1 &pcfg_pull_none>, 575 - <RK_GPIO3 5 RK_FUNC_1 &pcfg_pull_none>, 576 - <RK_GPIO3 6 RK_FUNC_1 &pcfg_pull_none>, 577 - <RK_GPIO3 7 RK_FUNC_1 &pcfg_pull_none>; 574 + rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>, 575 + <3 RK_PA5 1 &pcfg_pull_none>, 576 + <3 RK_PA6 1 &pcfg_pull_none>, 577 + <3 RK_PA7 1 &pcfg_pull_none>; 578 578 }; 579 579 }; 580 580 581 581 sd1 { 582 582 sd1_clk: sd1-clk { 583 - rockchip,pins = <RK_GPIO3 21 RK_FUNC_1 &pcfg_pull_none>; 583 + rockchip,pins = <3 RK_PC5 1 &pcfg_pull_none>; 584 584 }; 585 585 586 586 sd1_cmd: sd1-cmd { 587 - rockchip,pins = <RK_GPIO3 16 RK_FUNC_1 &pcfg_pull_none>; 587 + rockchip,pins = <3 RK_PC0 1 &pcfg_pull_none>; 588 588 }; 589 589 590 590 sd1_cd: sd1-cd { 591 - rockchip,pins = <RK_GPIO3 22 RK_FUNC_1 &pcfg_pull_none>; 591 + rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>; 592 592 }; 593 593 594 594 sd1_wp: sd1-wp { 595 - rockchip,pins = <RK_GPIO3 23 RK_FUNC_1 &pcfg_pull_none>; 595 + rockchip,pins = <3 RK_PC7 1 &pcfg_pull_none>; 596 596 }; 597 597 598 598 sd1_bus1: sd1-bus-width1 { 599 - rockchip,pins = <RK_GPIO3 17 RK_FUNC_1 &pcfg_pull_none>; 599 + rockchip,pins = <3 RK_PC1 1 &pcfg_pull_none>; 600 600 }; 601 601 602 602 sd1_bus4: sd1-bus-width4 { 603 - rockchip,pins = <RK_GPIO3 17 RK_FUNC_1 &pcfg_pull_none>, 604 - <RK_GPIO3 18 RK_FUNC_1 &pcfg_pull_none>, 605 - <RK_GPIO3 19 RK_FUNC_1 &pcfg_pull_none>, 606 - <RK_GPIO3 20 RK_FUNC_1 &pcfg_pull_none>; 603 + rockchip,pins = <3 RK_PC1 1 &pcfg_pull_none>, 604 + <3 RK_PC2 1 &pcfg_pull_none>, 605 + <3 RK_PC3 1 &pcfg_pull_none>, 606 + <3 RK_PC4 1 &pcfg_pull_none>; 607 607 }; 608 608 }; 609 609 610 610 i2s0 { 611 611 i2s0_bus: i2s0-bus { 612 - rockchip,pins = <RK_GPIO1 16 RK_FUNC_1 &pcfg_pull_none>, 613 - <RK_GPIO1 17 RK_FUNC_1 &pcfg_pull_none>, 614 - <RK_GPIO1 18 RK_FUNC_1 &pcfg_pull_none>, 615 - <RK_GPIO1 19 RK_FUNC_1 &pcfg_pull_none>, 616 - <RK_GPIO1 20 RK_FUNC_1 &pcfg_pull_none>, 617 - <RK_GPIO1 21 RK_FUNC_1 &pcfg_pull_none>; 612 + rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>, 613 + <1 RK_PC1 1 &pcfg_pull_none>, 614 + <1 RK_PC2 1 &pcfg_pull_none>, 615 + <1 RK_PC3 1 &pcfg_pull_none>, 616 + <1 RK_PC4 1 &pcfg_pull_none>, 617 + <1 RK_PC5 1 &pcfg_pull_none>; 618 618 }; 619 619 }; 620 620 621 621 spdif { 622 622 spdif_tx: spdif-tx { 623 - rockchip,pins = <RK_GPIO1 14 RK_FUNC_1 &pcfg_pull_none>; 623 + rockchip,pins = <1 RK_PB6 1 &pcfg_pull_none>; 624 624 }; 625 625 }; 626 626 };
+85 -85
arch/arm/boot/dts/rk322x.dtsi
··· 865 865 866 866 emmc { 867 867 emmc_clk: emmc-clk { 868 - rockchip,pins = <2 7 RK_FUNC_2 &pcfg_pull_none>; 868 + rockchip,pins = <2 RK_PA7 2 &pcfg_pull_none>; 869 869 }; 870 870 871 871 emmc_cmd: emmc-cmd { 872 - rockchip,pins = <1 22 RK_FUNC_2 &pcfg_pull_none>; 872 + rockchip,pins = <1 RK_PC6 2 &pcfg_pull_none>; 873 873 }; 874 874 875 875 emmc_bus8: emmc-bus8 { 876 - rockchip,pins = <1 24 RK_FUNC_2 &pcfg_pull_none>, 877 - <1 25 RK_FUNC_2 &pcfg_pull_none>, 878 - <1 26 RK_FUNC_2 &pcfg_pull_none>, 879 - <1 27 RK_FUNC_2 &pcfg_pull_none>, 880 - <1 28 RK_FUNC_2 &pcfg_pull_none>, 881 - <1 29 RK_FUNC_2 &pcfg_pull_none>, 882 - <1 30 RK_FUNC_2 &pcfg_pull_none>, 883 - <1 31 RK_FUNC_2 &pcfg_pull_none>; 876 + rockchip,pins = <1 RK_PD0 2 &pcfg_pull_none>, 877 + <1 RK_PD1 2 &pcfg_pull_none>, 878 + <1 RK_PD2 2 &pcfg_pull_none>, 879 + <1 RK_PD3 2 &pcfg_pull_none>, 880 + <1 RK_PD4 2 &pcfg_pull_none>, 881 + <1 RK_PD5 2 &pcfg_pull_none>, 882 + <1 RK_PD6 2 &pcfg_pull_none>, 883 + <1 RK_PD7 2 &pcfg_pull_none>; 884 884 }; 885 885 }; 886 886 887 887 gmac { 888 888 rgmii_pins: rgmii-pins { 889 - rockchip,pins = <2 14 RK_FUNC_1 &pcfg_pull_none>, 890 - <2 12 RK_FUNC_1 &pcfg_pull_none>, 891 - <2 25 RK_FUNC_1 &pcfg_pull_none>, 892 - <2 19 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 893 - <2 18 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 894 - <2 22 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 895 - <2 23 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 896 - <2 9 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 897 - <2 13 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 898 - <2 17 RK_FUNC_1 &pcfg_pull_none>, 899 - <2 16 RK_FUNC_1 &pcfg_pull_none>, 900 - <2 21 RK_FUNC_2 &pcfg_pull_none>, 901 - <2 20 RK_FUNC_2 &pcfg_pull_none>, 902 - <2 11 RK_FUNC_1 &pcfg_pull_none>, 903 - <2 8 RK_FUNC_1 &pcfg_pull_none>; 889 + rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none>, 890 + <2 RK_PB4 1 &pcfg_pull_none>, 891 + <2 RK_PD1 1 &pcfg_pull_none>, 892 + <2 RK_PC3 1 &pcfg_pull_none_drv_12ma>, 893 + <2 RK_PC2 1 &pcfg_pull_none_drv_12ma>, 894 + <2 RK_PC6 1 &pcfg_pull_none_drv_12ma>, 895 + <2 RK_PC7 1 &pcfg_pull_none_drv_12ma>, 896 + <2 RK_PB1 1 &pcfg_pull_none_drv_12ma>, 897 + <2 RK_PB5 1 &pcfg_pull_none_drv_12ma>, 898 + <2 RK_PC1 1 &pcfg_pull_none>, 899 + <2 RK_PC0 1 &pcfg_pull_none>, 900 + <2 RK_PC5 2 &pcfg_pull_none>, 901 + <2 RK_PC4 2 &pcfg_pull_none>, 902 + <2 RK_PB3 1 &pcfg_pull_none>, 903 + <2 RK_PB0 1 &pcfg_pull_none>; 904 904 }; 905 905 906 906 rmii_pins: rmii-pins { 907 - rockchip,pins = <2 14 RK_FUNC_1 &pcfg_pull_none>, 908 - <2 12 RK_FUNC_1 &pcfg_pull_none>, 909 - <2 25 RK_FUNC_1 &pcfg_pull_none>, 910 - <2 19 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 911 - <2 18 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 912 - <2 13 RK_FUNC_1 &pcfg_pull_none_drv_12ma>, 913 - <2 17 RK_FUNC_1 &pcfg_pull_none>, 914 - <2 16 RK_FUNC_1 &pcfg_pull_none>, 915 - <2 8 RK_FUNC_1 &pcfg_pull_none>, 916 - <2 15 RK_FUNC_1 &pcfg_pull_none>; 907 + rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none>, 908 + <2 RK_PB4 1 &pcfg_pull_none>, 909 + <2 RK_PD1 1 &pcfg_pull_none>, 910 + <2 RK_PC3 1 &pcfg_pull_none_drv_12ma>, 911 + <2 RK_PC2 1 &pcfg_pull_none_drv_12ma>, 912 + <2 RK_PB5 1 &pcfg_pull_none_drv_12ma>, 913 + <2 RK_PC1 1 &pcfg_pull_none>, 914 + <2 RK_PC0 1 &pcfg_pull_none>, 915 + <2 RK_PB0 1 &pcfg_pull_none>, 916 + <2 RK_PB7 1 &pcfg_pull_none>; 917 917 }; 918 918 919 919 phy_pins: phy-pins { 920 - rockchip,pins = <2 14 RK_FUNC_2 &pcfg_pull_none>, 921 - <2 8 RK_FUNC_2 &pcfg_pull_none>; 920 + rockchip,pins = <2 RK_PB6 2 &pcfg_pull_none>, 921 + <2 RK_PB0 2 &pcfg_pull_none>; 922 922 }; 923 923 }; 924 924 925 925 i2c0 { 926 926 i2c0_xfer: i2c0-xfer { 927 - rockchip,pins = <0 0 RK_FUNC_1 &pcfg_pull_none>, 928 - <0 1 RK_FUNC_1 &pcfg_pull_none>; 927 + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>, 928 + <0 RK_PA1 1 &pcfg_pull_none>; 929 929 }; 930 930 }; 931 931 932 932 i2c1 { 933 933 i2c1_xfer: i2c1-xfer { 934 - rockchip,pins = <0 2 RK_FUNC_1 &pcfg_pull_none>, 935 - <0 3 RK_FUNC_1 &pcfg_pull_none>; 934 + rockchip,pins = <0 RK_PA2 1 &pcfg_pull_none>, 935 + <0 RK_PA3 1 &pcfg_pull_none>; 936 936 }; 937 937 }; 938 938 939 939 i2c2 { 940 940 i2c2_xfer: i2c2-xfer { 941 - rockchip,pins = <2 20 RK_FUNC_1 &pcfg_pull_none>, 942 - <2 21 RK_FUNC_1 &pcfg_pull_none>; 941 + rockchip,pins = <2 RK_PC4 1 &pcfg_pull_none>, 942 + <2 RK_PC5 1 &pcfg_pull_none>; 943 943 }; 944 944 }; 945 945 946 946 i2c3 { 947 947 i2c3_xfer: i2c3-xfer { 948 - rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>, 949 - <0 7 RK_FUNC_1 &pcfg_pull_none>; 948 + rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>, 949 + <0 RK_PA7 1 &pcfg_pull_none>; 950 950 }; 951 951 }; 952 952 953 953 spi-0 { 954 954 spi0_clk: spi0-clk { 955 - rockchip,pins = <0 9 RK_FUNC_2 &pcfg_pull_up>; 955 + rockchip,pins = <0 RK_PB1 2 &pcfg_pull_up>; 956 956 }; 957 957 spi0_cs0: spi0-cs0 { 958 - rockchip,pins = <0 14 RK_FUNC_2 &pcfg_pull_up>; 958 + rockchip,pins = <0 RK_PB6 2 &pcfg_pull_up>; 959 959 }; 960 960 spi0_tx: spi0-tx { 961 - rockchip,pins = <0 11 RK_FUNC_2 &pcfg_pull_up>; 961 + rockchip,pins = <0 RK_PB3 2 &pcfg_pull_up>; 962 962 }; 963 963 spi0_rx: spi0-rx { 964 - rockchip,pins = <0 13 RK_FUNC_2 &pcfg_pull_up>; 964 + rockchip,pins = <0 RK_PB5 2 &pcfg_pull_up>; 965 965 }; 966 966 spi0_cs1: spi0-cs1 { 967 - rockchip,pins = <1 12 RK_FUNC_1 &pcfg_pull_up>; 967 + rockchip,pins = <1 RK_PB4 1 &pcfg_pull_up>; 968 968 }; 969 969 }; 970 970 971 971 spi-1 { 972 972 spi1_clk: spi1-clk { 973 - rockchip,pins = <0 23 RK_FUNC_2 &pcfg_pull_up>; 973 + rockchip,pins = <0 RK_PC7 2 &pcfg_pull_up>; 974 974 }; 975 975 spi1_cs0: spi1-cs0 { 976 - rockchip,pins = <2 2 RK_FUNC_2 &pcfg_pull_up>; 976 + rockchip,pins = <2 RK_PA2 2 &pcfg_pull_up>; 977 977 }; 978 978 spi1_rx: spi1-rx { 979 - rockchip,pins = <2 0 RK_FUNC_2 &pcfg_pull_up>; 979 + rockchip,pins = <2 RK_PA0 2 &pcfg_pull_up>; 980 980 }; 981 981 spi1_tx: spi1-tx { 982 - rockchip,pins = <2 1 RK_FUNC_2 &pcfg_pull_up>; 982 + rockchip,pins = <2 RK_PA1 2 &pcfg_pull_up>; 983 983 }; 984 984 spi1_cs1: spi1-cs1 { 985 - rockchip,pins = <2 3 RK_FUNC_2 &pcfg_pull_up>; 985 + rockchip,pins = <2 RK_PA3 2 &pcfg_pull_up>; 986 986 }; 987 987 }; 988 988 989 989 i2s1 { 990 990 i2s1_bus: i2s1-bus { 991 - rockchip,pins = <0 8 RK_FUNC_1 &pcfg_pull_none>, 992 - <0 9 RK_FUNC_1 &pcfg_pull_none>, 993 - <0 11 RK_FUNC_1 &pcfg_pull_none>, 994 - <0 12 RK_FUNC_1 &pcfg_pull_none>, 995 - <0 13 RK_FUNC_1 &pcfg_pull_none>, 996 - <0 14 RK_FUNC_1 &pcfg_pull_none>, 997 - <1 2 RK_FUNC_2 &pcfg_pull_none>, 998 - <1 4 RK_FUNC_2 &pcfg_pull_none>, 999 - <1 5 RK_FUNC_2 &pcfg_pull_none>; 991 + rockchip,pins = <0 RK_PB0 1 &pcfg_pull_none>, 992 + <0 RK_PB1 1 &pcfg_pull_none>, 993 + <0 RK_PB3 1 &pcfg_pull_none>, 994 + <0 RK_PB4 1 &pcfg_pull_none>, 995 + <0 RK_PB5 1 &pcfg_pull_none>, 996 + <0 RK_PB6 1 &pcfg_pull_none>, 997 + <1 RK_PA2 2 &pcfg_pull_none>, 998 + <1 RK_PA4 2 &pcfg_pull_none>, 999 + <1 RK_PA5 2 &pcfg_pull_none>; 1000 1000 }; 1001 1001 }; 1002 1002 1003 1003 pwm0 { 1004 1004 pwm0_pin: pwm0-pin { 1005 - rockchip,pins = <3 21 RK_FUNC_1 &pcfg_pull_none>; 1005 + rockchip,pins = <3 RK_PC5 1 &pcfg_pull_none>; 1006 1006 }; 1007 1007 }; 1008 1008 1009 1009 pwm1 { 1010 1010 pwm1_pin: pwm1-pin { 1011 - rockchip,pins = <0 30 RK_FUNC_2 &pcfg_pull_none>; 1011 + rockchip,pins = <0 RK_PD6 2 &pcfg_pull_none>; 1012 1012 }; 1013 1013 }; 1014 1014 1015 1015 pwm2 { 1016 1016 pwm2_pin: pwm2-pin { 1017 - rockchip,pins = <1 12 RK_FUNC_2 &pcfg_pull_none>; 1017 + rockchip,pins = <1 RK_PB4 2 &pcfg_pull_none>; 1018 1018 }; 1019 1019 }; 1020 1020 1021 1021 pwm3 { 1022 1022 pwm3_pin: pwm3-pin { 1023 - rockchip,pins = <1 11 RK_FUNC_2 &pcfg_pull_none>; 1023 + rockchip,pins = <1 RK_PB3 2 &pcfg_pull_none>; 1024 1024 }; 1025 1025 }; 1026 1026 1027 1027 spdif { 1028 1028 spdif_tx: spdif-tx { 1029 - rockchip,pins = <3 31 RK_FUNC_2 &pcfg_pull_none>; 1029 + rockchip,pins = <3 RK_PD7 2 &pcfg_pull_none>; 1030 1030 }; 1031 1031 }; 1032 1032 1033 1033 tsadc { 1034 1034 otp_gpio: otp-gpio { 1035 - rockchip,pins = <0 24 RK_FUNC_GPIO &pcfg_pull_none>; 1035 + rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 1036 1036 }; 1037 1037 1038 1038 otp_out: otp-out { 1039 - rockchip,pins = <0 24 RK_FUNC_2 &pcfg_pull_none>; 1039 + rockchip,pins = <0 RK_PD0 2 &pcfg_pull_none>; 1040 1040 }; 1041 1041 }; 1042 1042 1043 1043 uart0 { 1044 1044 uart0_xfer: uart0-xfer { 1045 - rockchip,pins = <2 26 RK_FUNC_1 &pcfg_pull_none>, 1046 - <2 27 RK_FUNC_1 &pcfg_pull_none>; 1045 + rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>, 1046 + <2 RK_PD3 1 &pcfg_pull_none>; 1047 1047 }; 1048 1048 1049 1049 uart0_cts: uart0-cts { 1050 - rockchip,pins = <2 29 RK_FUNC_1 &pcfg_pull_none>; 1050 + rockchip,pins = <2 RK_PD5 1 &pcfg_pull_none>; 1051 1051 }; 1052 1052 1053 1053 uart0_rts: uart0-rts { 1054 - rockchip,pins = <0 17 RK_FUNC_1 &pcfg_pull_none>; 1054 + rockchip,pins = <0 RK_PC1 1 &pcfg_pull_none>; 1055 1055 }; 1056 1056 }; 1057 1057 1058 1058 uart1 { 1059 1059 uart1_xfer: uart1-xfer { 1060 - rockchip,pins = <1 9 RK_FUNC_1 &pcfg_pull_none>, 1061 - <1 10 RK_FUNC_1 &pcfg_pull_none>; 1060 + rockchip,pins = <1 RK_PB1 1 &pcfg_pull_none>, 1061 + <1 RK_PB2 1 &pcfg_pull_none>; 1062 1062 }; 1063 1063 1064 1064 uart1_cts: uart1-cts { 1065 - rockchip,pins = <1 8 RK_FUNC_1 &pcfg_pull_none>; 1065 + rockchip,pins = <1 RK_PB0 1 &pcfg_pull_none>; 1066 1066 }; 1067 1067 1068 1068 uart1_rts: uart1-rts { 1069 - rockchip,pins = <1 11 RK_FUNC_1 &pcfg_pull_none>; 1069 + rockchip,pins = <1 RK_PB3 1 &pcfg_pull_none>; 1070 1070 }; 1071 1071 }; 1072 1072 1073 1073 uart2 { 1074 1074 uart2_xfer: uart2-xfer { 1075 - rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>, 1076 - <1 19 RK_FUNC_2 &pcfg_pull_none>; 1075 + rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>, 1076 + <1 RK_PC3 2 &pcfg_pull_none>; 1077 1077 }; 1078 1078 1079 1079 uart21_xfer: uart21-xfer { 1080 - rockchip,pins = <1 10 RK_FUNC_2 &pcfg_pull_up>, 1081 - <1 9 RK_FUNC_2 &pcfg_pull_none>; 1080 + rockchip,pins = <1 RK_PB2 2 &pcfg_pull_up>, 1081 + <1 RK_PB1 2 &pcfg_pull_none>; 1082 1082 }; 1083 1083 1084 1084 uart2_cts: uart2-cts { 1085 - rockchip,pins = <0 25 RK_FUNC_1 &pcfg_pull_none>; 1085 + rockchip,pins = <0 RK_PD1 1 &pcfg_pull_none>; 1086 1086 }; 1087 1087 1088 1088 uart2_rts: uart2-rts { 1089 - rockchip,pins = <0 24 RK_FUNC_1 &pcfg_pull_none>; 1089 + rockchip,pins = <0 RK_PD0 1 &pcfg_pull_none>; 1090 1090 }; 1091 1091 }; 1092 1092 };
+2 -2
arch/arm/boot/dts/rk3288-evb-act8846.dts
··· 175 175 &pinctrl { 176 176 lcd { 177 177 lcd_en: lcd-en { 178 - rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_none>; 178 + rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 179 179 }; 180 180 }; 181 181 182 182 wifi { 183 183 wifi_pwr: wifi-pwr { 184 - rockchip,pins = <7 9 RK_FUNC_GPIO &pcfg_pull_none>; 184 + rockchip,pins = <7 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 185 185 }; 186 186 }; 187 187 };
+13 -13
arch/arm/boot/dts/rk3288-evb.dtsi
··· 314 314 315 315 backlight { 316 316 bl_en: bl-en { 317 - rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>; 317 + rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 318 318 }; 319 319 }; 320 320 321 321 buttons { 322 322 pwrbtn: pwrbtn { 323 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 323 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 324 324 }; 325 325 }; 326 326 327 327 lcd { 328 328 lcd_cs: lcd-cs { 329 - rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>; 329 + rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; 330 330 }; 331 331 }; 332 332 333 333 pmic { 334 334 pmic_int: pmic-int { 335 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 335 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 336 336 }; 337 337 }; 338 338 ··· 342 342 * high-speed mode on EVB board so bump up to 8ma. 343 343 */ 344 344 sdmmc_bus4: sdmmc-bus4 { 345 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 346 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 347 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 348 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; 345 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, 346 + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, 347 + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, 348 + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; 349 349 }; 350 350 351 351 sdmmc_clk: sdmmc-clk { 352 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 352 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; 353 353 }; 354 354 355 355 sdmmc_cmd: sdmmc-cmd { 356 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; 356 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; 357 357 }; 358 358 359 359 sdmmc_pwr: sdmmc-pwr { 360 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 360 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 361 361 }; 362 362 }; 363 363 364 364 usb { 365 365 host_vbus_drv: host-vbus-drv { 366 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 366 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 367 367 }; 368 368 }; 369 369 370 370 eth_phy { 371 371 eth_phy_pwr: eth-phy-pwr { 372 - rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>; 372 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 373 373 }; 374 374 }; 375 375 };
+5 -5
arch/arm/boot/dts/rk3288-fennec.dts
··· 278 278 279 279 gmac { 280 280 phy_int: phy-int { 281 - rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>; 281 + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 282 282 }; 283 283 284 284 phy_pmeb: phy-pmeb { 285 - rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>; 285 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 286 286 }; 287 287 288 288 phy_rst: phy-rst { 289 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 289 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 290 290 }; 291 291 }; 292 292 293 293 pmic { 294 294 pmic_int: pmic-int { 295 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 295 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 296 296 }; 297 297 }; 298 298 299 299 usbphy { 300 300 host_drv: host-drv { 301 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 301 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 302 302 }; 303 303 }; 304 304 };
+2 -2
arch/arm/boot/dts/rk3288-firefly-beta.dts
··· 18 18 &pinctrl { 19 19 act8846 { 20 20 pmic_vsel: pmic-vsel { 21 - rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>; 21 + rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>; 22 22 }; 23 23 }; 24 24 25 25 ir { 26 26 ir_int: ir-int { 27 - rockchip,pins = <7 5 RK_FUNC_GPIO &pcfg_pull_up>; 27 + rockchip,pins = <7 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 28 28 }; 29 29 }; 30 30 };
+5 -5
arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi
··· 224 224 225 225 act8846 { 226 226 pwr_hold: pwr-hold { 227 - rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>; 227 + rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_output_high>; 228 228 }; 229 229 230 230 pmic_vsel: pmic-vsel { 231 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>; 231 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_output_low>; 232 232 }; 233 233 }; 234 234 235 235 gmac { 236 236 phy_int: phy-int { 237 - rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>; 237 + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 238 238 }; 239 239 240 240 phy_pmeb: phy-pmeb { 241 - rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>; 241 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 242 242 }; 243 243 244 244 phy_rst: phy-rst { 245 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 245 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 246 246 }; 247 247 }; 248 248 };
+18 -18
arch/arm/boot/dts/rk3288-firefly-reload.dts
··· 306 306 &pinctrl { 307 307 ir { 308 308 ir_int: ir-int { 309 - rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>; 309 + rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 310 310 }; 311 311 }; 312 312 313 313 dvp { 314 314 dvp_pwr: dvp-pwr { 315 - rockchip,pins = <0 11 RK_FUNC_GPIO &pcfg_pull_none>; 315 + rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 316 316 }; 317 317 318 318 cif_pwr: cif-pwr { 319 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_none>; 319 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 320 320 }; 321 321 }; 322 322 323 323 hym8563 { 324 324 rtc_int: rtc-int { 325 - rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>; 325 + rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 326 326 }; 327 327 }; 328 328 329 329 keys { 330 330 pwr_key: pwr-key { 331 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 331 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 332 332 }; 333 333 }; 334 334 335 335 leds { 336 336 power_led: power-led { 337 - rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>; 337 + rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 338 338 }; 339 339 340 340 work_led: work-led { 341 - rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>; 341 + rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 342 342 }; 343 343 }; 344 344 ··· 348 348 * high-speed mode on firefly board so bump up to 12ma. 349 349 */ 350 350 sdmmc_bus4: sdmmc-bus4 { 351 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 352 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 353 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 354 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 351 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>, 352 + <6 RK_PC1 1 &pcfg_pull_up_drv_12ma>, 353 + <6 RK_PC2 1 &pcfg_pull_up_drv_12ma>, 354 + <6 RK_PC3 1 &pcfg_pull_up_drv_12ma>; 355 355 }; 356 356 357 357 sdmmc_clk: sdmmc-clk { 358 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>; 358 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>; 359 359 }; 360 360 361 361 sdmmc_cmd: sdmmc-cmd { 362 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 362 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>; 363 363 }; 364 364 365 365 sdmmc_pwr: sdmmc-pwr { 366 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 366 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 367 367 }; 368 368 }; 369 369 370 370 sdio { 371 371 wifi_enable: wifi-enable { 372 - rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>; 372 + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 373 373 }; 374 374 }; 375 375 376 376 usb_host { 377 377 host_vbus_drv: host-vbus-drv { 378 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 378 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 379 379 }; 380 380 381 381 usbhub_rst: usbhub-rst { 382 - rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>; 382 + rockchip,pins = <8 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>; 383 383 }; 384 384 }; 385 385 386 386 usb_otg { 387 387 otg_vbus_drv: otg-vbus-drv { 388 - rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; 388 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 389 389 }; 390 390 }; 391 391 };
+2 -2
arch/arm/boot/dts/rk3288-firefly.dts
··· 18 18 &pinctrl { 19 19 act8846 { 20 20 pmic_vsel: pmic-vsel { 21 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_output_low>; 21 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_output_low>; 22 22 }; 23 23 }; 24 24 25 25 ir { 26 26 ir_int: ir-int { 27 - rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>; 27 + rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 28 28 }; 29 29 }; 30 30 };
+19 -19
arch/arm/boot/dts/rk3288-firefly.dtsi
··· 392 392 393 393 act8846 { 394 394 pwr_hold: pwr-hold { 395 - rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_output_high>; 395 + rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_output_high>; 396 396 }; 397 397 }; 398 398 399 399 dvp { 400 400 dvp_pwr: dvp-pwr { 401 - rockchip,pins = <0 11 RK_FUNC_GPIO &pcfg_pull_none>; 401 + rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 402 402 }; 403 403 }; 404 404 405 405 gmac { 406 406 phy_int: phy-int { 407 - rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>; 407 + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 408 408 }; 409 409 410 410 phy_pmeb: phy-pmeb { 411 - rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>; 411 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 412 412 }; 413 413 414 414 phy_rst: phy-rst { 415 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 415 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 416 416 }; 417 417 }; 418 418 419 419 hym8563 { 420 420 rtc_int: rtc-int { 421 - rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_up>; 421 + rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 422 422 }; 423 423 }; 424 424 425 425 keys { 426 426 pwr_key: pwr-key { 427 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 427 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 428 428 }; 429 429 }; 430 430 431 431 leds { 432 432 power_led: power-led { 433 - rockchip,pins = <8 2 RK_FUNC_GPIO &pcfg_pull_none>; 433 + rockchip,pins = <8 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 434 434 }; 435 435 436 436 work_led: work-led { 437 - rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_none>; 437 + rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 438 438 }; 439 439 }; 440 440 ··· 444 444 * high-speed mode on firefly board so bump up to 12ma. 445 445 */ 446 446 sdmmc_bus4: sdmmc-bus4 { 447 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 448 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 449 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 450 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 447 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>, 448 + <6 RK_PC1 1 &pcfg_pull_up_drv_12ma>, 449 + <6 RK_PC2 1 &pcfg_pull_up_drv_12ma>, 450 + <6 RK_PC3 1 &pcfg_pull_up_drv_12ma>; 451 451 }; 452 452 453 453 sdmmc_clk: sdmmc-clk { 454 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>; 454 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>; 455 455 }; 456 456 457 457 sdmmc_cmd: sdmmc-cmd { 458 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 458 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>; 459 459 }; 460 460 461 461 sdmmc_pwr: sdmmc-pwr { 462 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 462 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 463 463 }; 464 464 }; 465 465 466 466 usb_host { 467 467 host_vbus_drv: host-vbus-drv { 468 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 468 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 469 469 }; 470 470 471 471 usbhub_rst: usbhub-rst { 472 - rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_output_high>; 472 + rockchip,pins = <8 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>; 473 473 }; 474 474 }; 475 475 476 476 usb_otg { 477 477 otg_vbus_drv: otg-vbus-drv { 478 - rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; 478 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 479 479 }; 480 480 }; 481 481 };
+14 -14
arch/arm/boot/dts/rk3288-miqi.dts
··· 296 296 297 297 act8846 { 298 298 pmic_int: pmic-int { 299 - rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>; 299 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 300 300 }; 301 301 302 302 pmic_sleep: pmic-sleep { 303 - rockchip,pins = <0 0 RK_FUNC_GPIO &pcfg_output_low>; 303 + rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_output_low>; 304 304 }; 305 305 306 306 pmic_vsel: pmic-vsel { 307 - rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>; 307 + rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>; 308 308 }; 309 309 }; 310 310 311 311 gmac { 312 312 phy_int: phy-int { 313 - rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>; 313 + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 314 314 }; 315 315 316 316 phy_pmeb: phy-pmeb { 317 - rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>; 317 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 318 318 }; 319 319 320 320 phy_rst: phy-rst { 321 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 321 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 322 322 }; 323 323 }; 324 324 ··· 328 328 * high-speed mode on firefly board so bump up to 12ma. 329 329 */ 330 330 sdmmc_bus4: sdmmc-bus4 { 331 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 332 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 333 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 334 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 331 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>, 332 + <6 RK_PC1 1 &pcfg_pull_up_drv_12ma>, 333 + <6 RK_PC2 1 &pcfg_pull_up_drv_12ma>, 334 + <6 RK_PC3 1 &pcfg_pull_up_drv_12ma>; 335 335 }; 336 336 337 337 sdmmc_clk: sdmmc-clk { 338 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>; 338 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>; 339 339 }; 340 340 341 341 sdmmc_cmd: sdmmc-cmd { 342 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 342 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>; 343 343 }; 344 344 345 345 sdmmc_pwr: sdmmc-pwr { 346 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 346 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 347 347 }; 348 348 }; 349 349 350 350 usb_host { 351 351 host_vbus_drv: host-vbus-drv { 352 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 352 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 353 353 }; 354 354 }; 355 355 };
+14 -14
arch/arm/boot/dts/rk3288-phycore-rdk.dts
··· 160 160 buttons { 161 161 user_button_pins: user-button-pins { 162 162 /* button 1 */ 163 - rockchip,pins = <8 3 RK_FUNC_GPIO &pcfg_pull_up>, 163 + rockchip,pins = <8 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>, 164 164 /* button 2 */ 165 - <8 0 RK_FUNC_GPIO &pcfg_pull_up>; 165 + <8 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 166 166 }; 167 167 }; 168 168 169 169 rv4162 { 170 170 i2c_rtc_int: i2c-rtc-int { 171 - rockchip,pins = <5 10 RK_FUNC_GPIO &pcfg_pull_up>; 171 + rockchip,pins = <5 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 172 172 }; 173 173 }; 174 174 ··· 178 178 * high-speed mode on pcm-947 board so bump up to 12 mA. 179 179 */ 180 180 sdmmc_bus4: sdmmc-bus4 { 181 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 182 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 183 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_12ma>, 184 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 181 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_12ma>, 182 + <6 RK_PC1 1 &pcfg_pull_up_drv_12ma>, 183 + <6 RK_PC2 1 &pcfg_pull_up_drv_12ma>, 184 + <6 RK_PC3 1 &pcfg_pull_up_drv_12ma>; 185 185 }; 186 186 187 187 sdmmc_clk: sdmmc-clk { 188 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_12ma>; 188 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_12ma>; 189 189 }; 190 190 191 191 sdmmc_cmd: sdmmc-cmd { 192 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_12ma>; 192 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_12ma>; 193 193 }; 194 194 195 195 sdmmc_pwr: sdmmc-pwr { 196 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 196 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 197 197 }; 198 198 }; 199 199 200 200 touchscreen { 201 201 ts_irq_pin: ts-irq-pin { 202 - rockchip,pins = <5 15 RK_FUNC_GPIO &pcfg_pull_none>; 202 + rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 203 203 }; 204 204 }; 205 205 206 206 usb_host { 207 207 host0_vbus_drv: host0-vbus-drv { 208 - rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>; 208 + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 209 209 }; 210 210 211 211 host1_vbus_drv: host1-vbus-drv { 212 - rockchip,pins = <2 0 RK_FUNC_GPIO &pcfg_pull_none>; 212 + rockchip,pins = <2 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 213 213 }; 214 214 }; 215 215 216 216 usb_otg { 217 217 otg_vbus_drv: otg-vbus-drv { 218 - rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>; 218 + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 219 219 }; 220 220 }; 221 221 };
+15 -15
arch/arm/boot/dts/rk3288-phycore-som.dtsi
··· 342 342 * We also have external pulls, so disable the internal ones. 343 343 */ 344 344 emmc_clk: emmc-clk { 345 - rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none_12ma>; 345 + rockchip,pins = <3 RK_PC2 2 &pcfg_pull_none_12ma>; 346 346 }; 347 347 348 348 emmc_cmd: emmc-cmd { 349 - rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none_12ma>; 349 + rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none_12ma>; 350 350 }; 351 351 352 352 emmc_bus8: emmc-bus8 { 353 - rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_none_12ma>, 354 - <3 1 RK_FUNC_2 &pcfg_pull_none_12ma>, 355 - <3 2 RK_FUNC_2 &pcfg_pull_none_12ma>, 356 - <3 3 RK_FUNC_2 &pcfg_pull_none_12ma>, 357 - <3 4 RK_FUNC_2 &pcfg_pull_none_12ma>, 358 - <3 5 RK_FUNC_2 &pcfg_pull_none_12ma>, 359 - <3 6 RK_FUNC_2 &pcfg_pull_none_12ma>, 360 - <3 7 RK_FUNC_2 &pcfg_pull_none_12ma>; 353 + rockchip,pins = <3 RK_PA0 2 &pcfg_pull_none_12ma>, 354 + <3 RK_PA1 2 &pcfg_pull_none_12ma>, 355 + <3 RK_PA2 2 &pcfg_pull_none_12ma>, 356 + <3 RK_PA3 2 &pcfg_pull_none_12ma>, 357 + <3 RK_PA4 2 &pcfg_pull_none_12ma>, 358 + <3 RK_PA5 2 &pcfg_pull_none_12ma>, 359 + <3 RK_PA6 2 &pcfg_pull_none_12ma>, 360 + <3 RK_PA7 2 &pcfg_pull_none_12ma>; 361 361 }; 362 362 }; 363 363 364 364 gmac { 365 365 phy_int: phy-int { 366 - rockchip,pins = <4 2 RK_FUNC_GPIO &pcfg_pull_up>; 366 + rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 367 367 }; 368 368 369 369 phy_rst: phy-rst { 370 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 370 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 371 371 }; 372 372 }; 373 373 374 374 leds { 375 375 user_led: user-led { 376 - rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_output_high>; 376 + rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_output_high>; 377 377 }; 378 378 }; 379 379 380 380 pmic { 381 381 pmic_int: pmic-int { 382 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 382 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 383 383 }; 384 384 385 385 /* Pin for switching state between sleep and non-sleep state */ 386 386 pmic_sleep: pmic-sleep { 387 - rockchip,pins = <RK_GPIO0 0 RK_FUNC_GPIO &pcfg_pull_up>; 387 + rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 388 388 }; 389 389 }; 390 390 };
+7 -7
arch/arm/boot/dts/rk3288-r89.dts
··· 265 265 266 266 act8846 { 267 267 pmic_vsel: pmic-vsel { 268 - rockchip,pins = <7 1 RK_FUNC_GPIO &pcfg_output_low>; 268 + rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>; 269 269 }; 270 270 271 271 pwr_hold: pwr-hold { 272 - rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_output_high>; 272 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_output_high>; 273 273 }; 274 274 }; 275 275 276 276 buttons { 277 277 pwrbtn: pwrbtn { 278 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 278 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 279 279 }; 280 280 }; 281 281 282 282 ir { 283 283 ir_int: ir-int { 284 - rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>; 284 + rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 285 285 }; 286 286 }; 287 287 288 288 pmic { 289 289 pmic_int: pmic-int { 290 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 290 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 291 291 }; 292 292 }; 293 293 294 294 usb { 295 295 host_vbus_drv: host-vbus-drv { 296 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 296 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 297 297 }; 298 298 299 299 otg_vbus_drv: otg-vbus-drv { 300 - rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; 300 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 301 301 }; 302 302 }; 303 303 };
+2 -2
arch/arm/boot/dts/rk3288-rock2-som.dtsi
··· 231 231 232 232 emmc { 233 233 emmc_reset: emmc-reset { 234 - rockchip,pins = <3 9 RK_FUNC_GPIO &pcfg_pull_none>; 234 + rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 235 235 }; 236 236 }; 237 237 238 238 gmac { 239 239 phy_rst: phy-rst { 240 - rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>; 240 + rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>; 241 241 }; 242 242 }; 243 243 };
+9 -9
arch/arm/boot/dts/rk3288-rock2-square.dts
··· 204 204 &pinctrl { 205 205 ir { 206 206 ir_int: ir-int { 207 - rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_up>; 207 + rockchip,pins = <8 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>; 208 208 }; 209 209 }; 210 210 211 211 keys { 212 212 pwr_key: pwr-key { 213 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 213 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 214 214 }; 215 215 }; 216 216 217 217 pmic { 218 218 pmic_int: pmic-int { 219 - rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>; 219 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 220 220 }; 221 221 }; 222 222 223 223 headphone { 224 224 hp_det: hp-det { 225 - rockchip,pins = <7 7 RK_FUNC_GPIO &pcfg_pull_none>; 225 + rockchip,pins = <7 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; 226 226 }; 227 227 228 228 phone_ctl: phone-ctl { 229 - rockchip,pins = <8 0 RK_FUNC_GPIO &pcfg_pull_up>; 229 + rockchip,pins = <8 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; 230 230 }; 231 231 }; 232 232 233 233 usb { 234 234 host_vbus_drv: host-vbus-drv { 235 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 235 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 236 236 }; 237 237 }; 238 238 239 239 sata { 240 240 sata_pwr_en: sata-pwr-en { 241 - rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_pull_none>; 241 + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 242 242 }; 243 243 }; 244 244 245 245 sdmmc { 246 246 sdmmc_pwr: sdmmc-pwr { 247 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 247 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 248 248 }; 249 249 }; 250 250 251 251 sdio { 252 252 wifi_enable: wifi-enable { 253 - rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>; 253 + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 254 254 }; 255 255 }; 256 256 };
+15 -15
arch/arm/boot/dts/rk3288-tinker.dtsi
··· 363 363 364 364 backlight { 365 365 bl_en: bl-en { 366 - rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>; 366 + rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 367 367 }; 368 368 }; 369 369 370 370 buttons { 371 371 pwrbtn: pwrbtn { 372 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 372 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 373 373 }; 374 374 }; 375 375 376 376 eth_phy { 377 377 eth_phy_pwr: eth-phy-pwr { 378 - rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_none>; 378 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 379 379 }; 380 380 }; 381 381 382 382 pmic { 383 383 pmic_int: pmic-int { 384 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO \ 384 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO \ 385 385 &pcfg_pull_up>; 386 386 }; 387 387 388 388 dvs_1: dvs-1 { 389 - rockchip,pins = <RK_GPIO0 11 RK_FUNC_GPIO \ 389 + rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO \ 390 390 &pcfg_pull_down>; 391 391 }; 392 392 393 393 dvs_2: dvs-2 { 394 - rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO \ 394 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO \ 395 395 &pcfg_pull_down>; 396 396 }; 397 397 }; 398 398 399 399 sdmmc { 400 400 sdmmc_bus4: sdmmc-bus4 { 401 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 402 - <6 17 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 403 - <6 18 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, 404 - <6 19 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; 401 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up_drv_8ma>, 402 + <6 RK_PC1 1 &pcfg_pull_up_drv_8ma>, 403 + <6 RK_PC2 1 &pcfg_pull_up_drv_8ma>, 404 + <6 RK_PC3 1 &pcfg_pull_up_drv_8ma>; 405 405 }; 406 406 407 407 sdmmc_clk: sdmmc-clk { 408 - rockchip,pins = <6 20 RK_FUNC_1 \ 408 + rockchip,pins = <6 RK_PC4 1 \ 409 409 &pcfg_pull_none_drv_8ma>; 410 410 }; 411 411 412 412 sdmmc_cmd: sdmmc-cmd { 413 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; 413 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up_drv_8ma>; 414 414 }; 415 415 416 416 sdmmc_pwr: sdmmc-pwr { 417 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 417 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 418 418 }; 419 419 }; 420 420 421 421 usb { 422 422 host_vbus_drv: host-vbus-drv { 423 - rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>; 423 + rockchip,pins = <0 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 424 424 }; 425 425 426 426 pwr_3g: pwr-3g { 427 - rockchip,pins = <7 8 RK_FUNC_GPIO &pcfg_pull_none>; 427 + rockchip,pins = <7 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 428 428 }; 429 429 }; 430 430
+4 -4
arch/arm/boot/dts/rk3288-veyron-analog-audio.dtsi
··· 73 73 &pinctrl { 74 74 codec { 75 75 hp_det: hp-det { 76 - rockchip,pins = <6 5 RK_FUNC_GPIO &pcfg_pull_up>; 76 + rockchip,pins = <6 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 77 77 }; 78 78 79 79 /* ··· 82 82 * we've got a ts3a227e chip but the driver requires it. 83 83 */ 84 84 int_codec: int-codec { 85 - rockchip,pins = <6 7 RK_FUNC_GPIO &pcfg_pull_down>; 85 + rockchip,pins = <6 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; 86 86 }; 87 87 88 88 mic_det: mic-det { 89 - rockchip,pins = <6 11 RK_FUNC_GPIO &pcfg_pull_up>; 89 + rockchip,pins = <6 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>; 90 90 }; 91 91 }; 92 92 93 93 headset { 94 94 ts3a227e_int_l: ts3a227e-int-l { 95 - rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_up>; 95 + rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 96 96 }; 97 97 }; 98 98 };
+4 -4
arch/arm/boot/dts/rk3288-veyron-brain.dts
··· 42 42 &pinctrl { 43 43 hdmi { 44 44 vcc50_hdmi_en: vcc50-hdmi-en { 45 - rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>; 45 + rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 46 46 }; 47 47 }; 48 48 49 49 pmic { 50 50 dvs_1: dvs-1 { 51 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_down>; 51 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_down>; 52 52 }; 53 53 54 54 dvs_2: dvs-2 { 55 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 55 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 56 56 }; 57 57 }; 58 58 59 59 usb-host { 60 60 usb2_pwr_en: usb2-pwr-en { 61 - rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; 61 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 62 62 }; 63 63 }; 64 64 };
+9 -9
arch/arm/boot/dts/rk3288-veyron-chromebook.dtsi
··· 244 244 245 245 backlight { 246 246 bl_en: bl-en { 247 - rockchip,pins = <7 2 RK_FUNC_GPIO &pcfg_pull_none>; 247 + rockchip,pins = <7 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 248 248 }; 249 249 }; 250 250 251 251 buttons { 252 252 ap_lid_int_l: ap-lid-int-l { 253 - rockchip,pins = <0 6 RK_FUNC_GPIO &pcfg_pull_up>; 253 + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>; 254 254 }; 255 255 }; 256 256 257 257 charger { 258 258 ac_present_ap: ac-present-ap { 259 - rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>; 259 + rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 260 260 }; 261 261 }; 262 262 263 263 cros-ec { 264 264 ec_int: ec-int { 265 - rockchip,pins = <7 7 RK_FUNC_GPIO &pcfg_pull_none>; 265 + rockchip,pins = <7 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; 266 266 }; 267 267 }; 268 268 269 269 suspend { 270 270 suspend_l_wake: suspend-l-wake { 271 - rockchip,pins = <0 17 RK_FUNC_GPIO &pcfg_output_low>; 271 + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_output_low>; 272 272 }; 273 273 274 274 suspend_l_sleep: suspend-l-sleep { 275 - rockchip,pins = <0 17 RK_FUNC_GPIO &pcfg_output_high>; 275 + rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_output_high>; 276 276 }; 277 277 }; 278 278 279 279 trackpad { 280 280 trackpad_int: trackpad-int { 281 - rockchip,pins = <7 3 RK_FUNC_GPIO &pcfg_pull_up>; 281 + rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 282 282 }; 283 283 }; 284 284 285 285 usb-host { 286 286 host1_pwr_en: host1-pwr-en { 287 - rockchip,pins = <0 11 RK_FUNC_GPIO &pcfg_pull_none>; 287 + rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 288 288 }; 289 289 290 290 usbotg_pwren_h: usbotg-pwren-h { 291 - rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; 291 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 292 292 }; 293 293 }; 294 294 };
+7 -7
arch/arm/boot/dts/rk3288-veyron-jaq.dts
··· 138 138 &pinctrl { 139 139 backlight { 140 140 bl_pwr_en: bl_pwr_en { 141 - rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>; 141 + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 142 142 }; 143 143 }; 144 144 145 145 buck-5v { 146 146 drv_5v: drv-5v { 147 - rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_none>; 147 + rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 148 148 }; 149 149 }; 150 150 151 151 hdmi { 152 152 vcc50_hdmi_en: vcc50-hdmi-en { 153 - rockchip,pins = <5 19 RK_FUNC_GPIO &pcfg_pull_none>; 153 + rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 154 154 }; 155 155 }; 156 156 157 157 lcd { 158 158 lcd_enable_h: lcd-en { 159 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_pull_none>; 159 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 160 160 }; 161 161 162 162 avdd_1v8_disp_en: avdd-1v8-disp-en { 163 - rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>; 163 + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 164 164 }; 165 165 }; 166 166 167 167 pmic { 168 168 dvs_1: dvs-1 { 169 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>; 169 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 170 170 }; 171 171 172 172 dvs_2: dvs-2 { 173 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 173 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 174 174 }; 175 175 }; 176 176 };
+7 -7
arch/arm/boot/dts/rk3288-veyron-jerry.dts
··· 106 106 &pinctrl { 107 107 backlight { 108 108 bl_pwr_en: bl_pwr_en { 109 - rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>; 109 + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 110 110 }; 111 111 }; 112 112 113 113 buck-5v { 114 114 drv_5v: drv-5v { 115 - rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_none>; 115 + rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 116 116 }; 117 117 }; 118 118 119 119 hdmi { 120 120 vcc50_hdmi_en: vcc50-hdmi-en { 121 - rockchip,pins = <5 19 RK_FUNC_GPIO &pcfg_pull_none>; 121 + rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 122 122 }; 123 123 }; 124 124 125 125 lcd { 126 126 lcd_enable_h: lcd-en { 127 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_pull_none>; 127 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 128 128 }; 129 129 130 130 avdd_1v8_disp_en: avdd-1v8-disp-en { 131 - rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>; 131 + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 132 132 }; 133 133 }; 134 134 135 135 pmic { 136 136 dvs_1: dvs-1 { 137 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>; 137 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 138 138 }; 139 139 140 140 dvs_2: dvs-2 { 141 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 141 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 142 142 }; 143 143 }; 144 144 };
+3 -3
arch/arm/boot/dts/rk3288-veyron-mickey.dts
··· 186 186 &pinctrl { 187 187 hdmi { 188 188 power_hdmi_on: power-hdmi-on { 189 - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; 189 + rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 190 190 }; 191 191 }; 192 192 193 193 pmic { 194 194 dvs_1: dvs-1 { 195 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>; 195 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 196 196 }; 197 197 198 198 dvs_2: dvs-2 { 199 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 199 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 200 200 }; 201 201 }; 202 202 };
+1 -1
arch/arm/boot/dts/rk3288-veyron-mighty.dts
··· 28 28 &pinctrl { 29 29 sdmmc { 30 30 sdmmc_wp_gpio: sdmmc-wp-gpio { 31 - rockchip,pins = <7 10 RK_FUNC_GPIO &pcfg_pull_up>; 31 + rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 32 32 }; 33 33 }; 34 34 };
+12 -12
arch/arm/boot/dts/rk3288-veyron-minnie.dts
··· 191 191 &pinctrl { 192 192 backlight { 193 193 bl_pwr_en: bl_pwr_en { 194 - rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>; 194 + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 195 195 }; 196 196 }; 197 197 198 198 buck-5v { 199 199 drv_5v: drv-5v { 200 - rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_none>; 200 + rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 201 201 }; 202 202 }; 203 203 204 204 buttons { 205 205 volum_down_l: volum-down-l { 206 - rockchip,pins = <5 11 RK_FUNC_GPIO &pcfg_pull_up>; 206 + rockchip,pins = <5 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>; 207 207 }; 208 208 209 209 volum_up_l: volum-up-l { 210 - rockchip,pins = <5 10 RK_FUNC_GPIO &pcfg_pull_up>; 210 + rockchip,pins = <5 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 211 211 }; 212 212 }; 213 213 214 214 hdmi { 215 215 vcc50_hdmi_en: vcc50-hdmi-en { 216 - rockchip,pins = <5 19 RK_FUNC_GPIO &pcfg_pull_none>; 216 + rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 217 217 }; 218 218 }; 219 219 220 220 lcd { 221 221 lcd_enable_h: lcd-en { 222 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_pull_none>; 222 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 223 223 }; 224 224 225 225 avdd_1v8_disp_en: avdd-1v8-disp-en { 226 - rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>; 226 + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 227 227 }; 228 228 }; 229 229 230 230 pmic { 231 231 dvs_1: dvs-1 { 232 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>; 232 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 233 233 }; 234 234 235 235 dvs_2: dvs-2 { 236 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 236 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 237 237 }; 238 238 }; 239 239 240 240 prochot { 241 241 gpio_prochot: gpio-prochot { 242 - rockchip,pins = <2 8 RK_FUNC_GPIO &pcfg_pull_none>; 242 + rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 243 243 }; 244 244 }; 245 245 246 246 touchscreen { 247 247 touch_int: touch-int { 248 - rockchip,pins = <2 14 RK_FUNC_GPIO &pcfg_pull_none>; 248 + rockchip,pins = <2 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 249 249 }; 250 250 251 251 touch_rst: touch-rst { 252 - rockchip,pins = <2 15 RK_FUNC_GPIO &pcfg_pull_none>; 252 + rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 253 253 }; 254 254 }; 255 255 };
+3 -3
arch/arm/boot/dts/rk3288-veyron-pinky.dts
··· 55 55 &pinctrl { 56 56 buttons { 57 57 pwr_key_h: pwr-key-h { 58 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_none>; 58 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 59 59 }; 60 60 }; 61 61 62 62 emmc { 63 63 emmc_reset: emmc-reset { 64 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_up>; 64 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; 65 65 }; 66 66 }; 67 67 68 68 sdmmc { 69 69 sdmmc_wp_gpio: sdmmc-wp-gpio { 70 - rockchip,pins = <7 10 RK_FUNC_GPIO &pcfg_pull_up>; 70 + rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; 71 71 }; 72 72 }; 73 73 };
+8 -8
arch/arm/boot/dts/rk3288-veyron-sdmmc.dtsi
··· 16 16 * We also have external pulls, so disable the internal ones. 17 17 */ 18 18 sdmmc_bus4: sdmmc-bus4 { 19 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 20 - <6 17 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 21 - <6 18 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 22 - <6 19 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 19 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_none_drv_8ma>, 20 + <6 RK_PC1 1 &pcfg_pull_none_drv_8ma>, 21 + <6 RK_PC2 1 &pcfg_pull_none_drv_8ma>, 22 + <6 RK_PC3 1 &pcfg_pull_none_drv_8ma>; 23 23 }; 24 24 25 25 sdmmc_clk: sdmmc-clk { 26 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 26 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none_drv_8ma>; 27 27 }; 28 28 29 29 sdmmc_cmd: sdmmc-cmd { 30 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 30 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_none_drv_8ma>; 31 31 }; 32 32 33 33 /* ··· 37 37 * think there's a card inserted 38 38 */ 39 39 sdmmc_cd_disabled: sdmmc-cd-disabled { 40 - rockchip,pins = <6 22 RK_FUNC_GPIO &pcfg_pull_none>; 40 + rockchip,pins = <6 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 41 41 }; 42 42 43 43 /* This is where we actually hook up CD */ 44 44 sdmmc_cd_gpio: sdmmc-cd-gpio { 45 - rockchip,pins = <7 5 RK_FUNC_GPIO &pcfg_pull_none>; 45 + rockchip,pins = <7 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 46 46 }; 47 47 }; 48 48 };
+7 -7
arch/arm/boot/dts/rk3288-veyron-speedy.dts
··· 104 104 &pinctrl { 105 105 backlight { 106 106 bl_pwr_en: bl_pwr_en { 107 - rockchip,pins = <2 12 RK_FUNC_GPIO &pcfg_pull_none>; 107 + rockchip,pins = <2 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 108 108 }; 109 109 }; 110 110 111 111 buck-5v { 112 112 drv_5v: drv-5v { 113 - rockchip,pins = <7 21 RK_FUNC_GPIO &pcfg_pull_none>; 113 + rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 114 114 }; 115 115 }; 116 116 117 117 hdmi { 118 118 vcc50_hdmi_en: vcc50-hdmi-en { 119 - rockchip,pins = <5 19 RK_FUNC_GPIO &pcfg_pull_none>; 119 + rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 120 120 }; 121 121 }; 122 122 123 123 lcd { 124 124 lcd_enable_h: lcd-en { 125 - rockchip,pins = <7 14 RK_FUNC_GPIO &pcfg_pull_none>; 125 + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 126 126 }; 127 127 128 128 avdd_1v8_disp_en: avdd-1v8-disp-en { 129 - rockchip,pins = <2 13 RK_FUNC_GPIO &pcfg_pull_none>; 129 + rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 130 130 }; 131 131 }; 132 132 133 133 pmic { 134 134 dvs_1: dvs-1 { 135 - rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>; 135 + rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 136 136 }; 137 137 138 138 dvs_2: dvs-2 { 139 - rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>; 139 + rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>; 140 140 }; 141 141 }; 142 142 };
+25 -25
arch/arm/boot/dts/rk3288-veyron.dtsi
··· 480 480 481 481 buttons { 482 482 pwr_key_l: pwr-key-l { 483 - rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; 483 + rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; 484 484 }; 485 485 }; 486 486 487 487 emmc { 488 488 emmc_reset: emmc-reset { 489 - rockchip,pins = <2 9 RK_FUNC_GPIO &pcfg_pull_none>; 489 + rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 490 490 }; 491 491 492 492 /* ··· 494 494 * We also have external pulls, so disable the internal ones. 495 495 */ 496 496 emmc_clk: emmc-clk { 497 - rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; 497 + rockchip,pins = <3 RK_PC2 2 &pcfg_pull_none_drv_8ma>; 498 498 }; 499 499 500 500 emmc_cmd: emmc-cmd { 501 - rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; 501 + rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none_drv_8ma>; 502 502 }; 503 503 504 504 emmc_bus8: emmc-bus8 { 505 - rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 506 - <3 1 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 507 - <3 2 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 508 - <3 3 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 509 - <3 4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 510 - <3 5 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 511 - <3 6 RK_FUNC_2 &pcfg_pull_none_drv_8ma>, 512 - <3 7 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; 505 + rockchip,pins = <3 RK_PA0 2 &pcfg_pull_none_drv_8ma>, 506 + <3 RK_PA1 2 &pcfg_pull_none_drv_8ma>, 507 + <3 RK_PA2 2 &pcfg_pull_none_drv_8ma>, 508 + <3 RK_PA3 2 &pcfg_pull_none_drv_8ma>, 509 + <3 RK_PA4 2 &pcfg_pull_none_drv_8ma>, 510 + <3 RK_PA5 2 &pcfg_pull_none_drv_8ma>, 511 + <3 RK_PA6 2 &pcfg_pull_none_drv_8ma>, 512 + <3 RK_PA7 2 &pcfg_pull_none_drv_8ma>; 513 513 }; 514 514 }; 515 515 516 516 pmic { 517 517 pmic_int_l: pmic-int-l { 518 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 518 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 519 519 }; 520 520 }; 521 521 522 522 reboot { 523 523 ap_warm_reset_h: ap-warm-reset-h { 524 - rockchip,pins = <RK_GPIO0 13 RK_FUNC_GPIO &pcfg_pull_none>; 524 + rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 525 525 }; 526 526 }; 527 527 528 528 recovery-switch { 529 529 rec_mode_l: rec-mode-l { 530 - rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>; 530 + rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 531 531 }; 532 532 }; 533 533 534 534 sdio0 { 535 535 wifi_enable_h: wifienable-h { 536 - rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>; 536 + rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; 537 537 }; 538 538 539 539 /* NOTE: mislabelled on schematic; should be bt_enable_h */ 540 540 bt_enable_l: bt-enable-l { 541 - rockchip,pins = <4 29 RK_FUNC_GPIO &pcfg_pull_none>; 541 + rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 542 542 }; 543 543 544 544 /* ··· 546 546 * We also have external pulls, so disable the internal ones. 547 547 */ 548 548 sdio0_bus4: sdio0-bus4 { 549 - rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 550 - <4 21 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 551 - <4 22 RK_FUNC_1 &pcfg_pull_none_drv_8ma>, 552 - <4 23 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 549 + rockchip,pins = <4 RK_PC4 1 &pcfg_pull_none_drv_8ma>, 550 + <4 RK_PC5 1 &pcfg_pull_none_drv_8ma>, 551 + <4 RK_PC6 1 &pcfg_pull_none_drv_8ma>, 552 + <4 RK_PC7 1 &pcfg_pull_none_drv_8ma>; 553 553 }; 554 554 555 555 sdio0_cmd: sdio0-cmd { 556 - rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 556 + rockchip,pins = <4 RK_PD0 1 &pcfg_pull_none_drv_8ma>; 557 557 }; 558 558 559 559 sdio0_clk: sdio0-clk { 560 - rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 560 + rockchip,pins = <4 RK_PD1 1 &pcfg_pull_none_drv_8ma>; 561 561 }; 562 562 }; 563 563 564 564 tpm { 565 565 tpm_int_h: tpm-int-h { 566 - rockchip,pins = <7 4 RK_FUNC_GPIO &pcfg_pull_none>; 566 + rockchip,pins = <7 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; 567 567 }; 568 568 }; 569 569 570 570 write-protect { 571 571 fw_wp_ap: fw-wp-ap { 572 - rockchip,pins = <7 6 RK_FUNC_GPIO &pcfg_pull_none>; 572 + rockchip,pins = <7 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 573 573 }; 574 574 }; 575 575 };
+3 -3
arch/arm/boot/dts/rk3288-vyasa.dts
··· 448 448 449 449 pmic { 450 450 pmic_int: pmic-int { 451 - rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>; 451 + rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 452 452 }; 453 453 }; 454 454 455 455 usb_host { 456 456 phy_pwr_en: phy-pwr-en { 457 - rockchip,pins = <RK_GPIO2 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>; 457 + rockchip,pins = <2 RK_PB1 RK_FUNC_GPIO &pcfg_output_high>; 458 458 }; 459 459 460 460 usb2_pwr_en: usb2-pwr-en { ··· 464 464 465 465 usb_otg { 466 466 otg_vbus_drv: otg-vbus-drv { 467 - rockchip,pins = <RK_GPIO0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 467 + rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; 468 468 469 469 }; 470 470 };
+143 -143
arch/arm/boot/dts/rk3288.dtsi
··· 1532 1532 1533 1533 hdmi { 1534 1534 hdmi_cec_c0: hdmi-cec-c0 { 1535 - rockchip,pins = <7 RK_PC0 RK_FUNC_2 &pcfg_pull_none>; 1535 + rockchip,pins = <7 RK_PC0 2 &pcfg_pull_none>; 1536 1536 }; 1537 1537 1538 1538 hdmi_cec_c7: hdmi-cec-c7 { 1539 - rockchip,pins = <7 RK_PC7 RK_FUNC_4 &pcfg_pull_none>; 1539 + rockchip,pins = <7 RK_PC7 4 &pcfg_pull_none>; 1540 1540 }; 1541 1541 1542 1542 hdmi_ddc: hdmi-ddc { 1543 - rockchip,pins = <7 19 RK_FUNC_2 &pcfg_pull_none>, 1544 - <7 20 RK_FUNC_2 &pcfg_pull_none>; 1543 + rockchip,pins = <7 RK_PC3 2 &pcfg_pull_none>, 1544 + <7 RK_PC4 2 &pcfg_pull_none>; 1545 1545 }; 1546 1546 }; 1547 1547 ··· 1564 1564 1565 1565 sleep { 1566 1566 global_pwroff: global-pwroff { 1567 - rockchip,pins = <0 0 RK_FUNC_1 &pcfg_pull_none>; 1567 + rockchip,pins = <0 RK_PA0 1 &pcfg_pull_none>; 1568 1568 }; 1569 1569 1570 1570 ddrio_pwroff: ddrio-pwroff { 1571 - rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>; 1571 + rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>; 1572 1572 }; 1573 1573 1574 1574 ddr0_retention: ddr0-retention { 1575 - rockchip,pins = <0 2 RK_FUNC_1 &pcfg_pull_up>; 1575 + rockchip,pins = <0 RK_PA2 1 &pcfg_pull_up>; 1576 1576 }; 1577 1577 1578 1578 ddr1_retention: ddr1-retention { 1579 - rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_up>; 1579 + rockchip,pins = <0 RK_PA3 1 &pcfg_pull_up>; 1580 1580 }; 1581 1581 }; 1582 1582 1583 1583 edp { 1584 1584 edp_hpd: edp-hpd { 1585 - rockchip,pins = <7 11 RK_FUNC_2 &pcfg_pull_down>; 1585 + rockchip,pins = <7 RK_PB3 2 &pcfg_pull_down>; 1586 1586 }; 1587 1587 }; 1588 1588 1589 1589 i2c0 { 1590 1590 i2c0_xfer: i2c0-xfer { 1591 - rockchip,pins = <0 15 RK_FUNC_1 &pcfg_pull_none>, 1592 - <0 16 RK_FUNC_1 &pcfg_pull_none>; 1591 + rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>, 1592 + <0 RK_PC0 1 &pcfg_pull_none>; 1593 1593 }; 1594 1594 }; 1595 1595 1596 1596 i2c1 { 1597 1597 i2c1_xfer: i2c1-xfer { 1598 - rockchip,pins = <8 4 RK_FUNC_1 &pcfg_pull_none>, 1599 - <8 5 RK_FUNC_1 &pcfg_pull_none>; 1598 + rockchip,pins = <8 RK_PA4 1 &pcfg_pull_none>, 1599 + <8 RK_PA5 1 &pcfg_pull_none>; 1600 1600 }; 1601 1601 }; 1602 1602 1603 1603 i2c2 { 1604 1604 i2c2_xfer: i2c2-xfer { 1605 - rockchip,pins = <6 9 RK_FUNC_1 &pcfg_pull_none>, 1606 - <6 10 RK_FUNC_1 &pcfg_pull_none>; 1605 + rockchip,pins = <6 RK_PB1 1 &pcfg_pull_none>, 1606 + <6 RK_PB2 1 &pcfg_pull_none>; 1607 1607 }; 1608 1608 }; 1609 1609 1610 1610 i2c3 { 1611 1611 i2c3_xfer: i2c3-xfer { 1612 - rockchip,pins = <2 16 RK_FUNC_1 &pcfg_pull_none>, 1613 - <2 17 RK_FUNC_1 &pcfg_pull_none>; 1612 + rockchip,pins = <2 RK_PC0 1 &pcfg_pull_none>, 1613 + <2 RK_PC1 1 &pcfg_pull_none>; 1614 1614 }; 1615 1615 }; 1616 1616 1617 1617 i2c4 { 1618 1618 i2c4_xfer: i2c4-xfer { 1619 - rockchip,pins = <7 17 RK_FUNC_1 &pcfg_pull_none>, 1620 - <7 18 RK_FUNC_1 &pcfg_pull_none>; 1619 + rockchip,pins = <7 RK_PC1 1 &pcfg_pull_none>, 1620 + <7 RK_PC2 1 &pcfg_pull_none>; 1621 1621 }; 1622 1622 }; 1623 1623 1624 1624 i2c5 { 1625 1625 i2c5_xfer: i2c5-xfer { 1626 - rockchip,pins = <7 19 RK_FUNC_1 &pcfg_pull_none>, 1627 - <7 20 RK_FUNC_1 &pcfg_pull_none>; 1626 + rockchip,pins = <7 RK_PC3 1 &pcfg_pull_none>, 1627 + <7 RK_PC4 1 &pcfg_pull_none>; 1628 1628 }; 1629 1629 }; 1630 1630 1631 1631 i2s0 { 1632 1632 i2s0_bus: i2s0-bus { 1633 - rockchip,pins = <6 0 RK_FUNC_1 &pcfg_pull_none>, 1634 - <6 1 RK_FUNC_1 &pcfg_pull_none>, 1635 - <6 2 RK_FUNC_1 &pcfg_pull_none>, 1636 - <6 3 RK_FUNC_1 &pcfg_pull_none>, 1637 - <6 4 RK_FUNC_1 &pcfg_pull_none>, 1638 - <6 8 RK_FUNC_1 &pcfg_pull_none>; 1633 + rockchip,pins = <6 RK_PA0 1 &pcfg_pull_none>, 1634 + <6 RK_PA1 1 &pcfg_pull_none>, 1635 + <6 RK_PA2 1 &pcfg_pull_none>, 1636 + <6 RK_PA3 1 &pcfg_pull_none>, 1637 + <6 RK_PA4 1 &pcfg_pull_none>, 1638 + <6 RK_PB0 1 &pcfg_pull_none>; 1639 1639 }; 1640 1640 }; 1641 1641 1642 1642 lcdc { 1643 1643 lcdc_ctl: lcdc-ctl { 1644 - rockchip,pins = <1 24 RK_FUNC_1 &pcfg_pull_none>, 1645 - <1 25 RK_FUNC_1 &pcfg_pull_none>, 1646 - <1 26 RK_FUNC_1 &pcfg_pull_none>, 1647 - <1 27 RK_FUNC_1 &pcfg_pull_none>; 1644 + rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>, 1645 + <1 RK_PD1 1 &pcfg_pull_none>, 1646 + <1 RK_PD2 1 &pcfg_pull_none>, 1647 + <1 RK_PD3 1 &pcfg_pull_none>; 1648 1648 }; 1649 1649 }; 1650 1650 1651 1651 sdmmc { 1652 1652 sdmmc_clk: sdmmc-clk { 1653 - rockchip,pins = <6 20 RK_FUNC_1 &pcfg_pull_none>; 1653 + rockchip,pins = <6 RK_PC4 1 &pcfg_pull_none>; 1654 1654 }; 1655 1655 1656 1656 sdmmc_cmd: sdmmc-cmd { 1657 - rockchip,pins = <6 21 RK_FUNC_1 &pcfg_pull_up>; 1657 + rockchip,pins = <6 RK_PC5 1 &pcfg_pull_up>; 1658 1658 }; 1659 1659 1660 1660 sdmmc_cd: sdmmc-cd { 1661 - rockchip,pins = <6 22 RK_FUNC_1 &pcfg_pull_up>; 1661 + rockchip,pins = <6 RK_PC6 1 &pcfg_pull_up>; 1662 1662 }; 1663 1663 1664 1664 sdmmc_bus1: sdmmc-bus1 { 1665 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>; 1665 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up>; 1666 1666 }; 1667 1667 1668 1668 sdmmc_bus4: sdmmc-bus4 { 1669 - rockchip,pins = <6 16 RK_FUNC_1 &pcfg_pull_up>, 1670 - <6 17 RK_FUNC_1 &pcfg_pull_up>, 1671 - <6 18 RK_FUNC_1 &pcfg_pull_up>, 1672 - <6 19 RK_FUNC_1 &pcfg_pull_up>; 1669 + rockchip,pins = <6 RK_PC0 1 &pcfg_pull_up>, 1670 + <6 RK_PC1 1 &pcfg_pull_up>, 1671 + <6 RK_PC2 1 &pcfg_pull_up>, 1672 + <6 RK_PC3 1 &pcfg_pull_up>; 1673 1673 }; 1674 1674 }; 1675 1675 1676 1676 sdio0 { 1677 1677 sdio0_bus1: sdio0-bus1 { 1678 - rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>; 1678 + rockchip,pins = <4 RK_PC4 1 &pcfg_pull_up>; 1679 1679 }; 1680 1680 1681 1681 sdio0_bus4: sdio0-bus4 { 1682 - rockchip,pins = <4 20 RK_FUNC_1 &pcfg_pull_up>, 1683 - <4 21 RK_FUNC_1 &pcfg_pull_up>, 1684 - <4 22 RK_FUNC_1 &pcfg_pull_up>, 1685 - <4 23 RK_FUNC_1 &pcfg_pull_up>; 1682 + rockchip,pins = <4 RK_PC4 1 &pcfg_pull_up>, 1683 + <4 RK_PC5 1 &pcfg_pull_up>, 1684 + <4 RK_PC6 1 &pcfg_pull_up>, 1685 + <4 RK_PC7 1 &pcfg_pull_up>; 1686 1686 }; 1687 1687 1688 1688 sdio0_cmd: sdio0-cmd { 1689 - rockchip,pins = <4 24 RK_FUNC_1 &pcfg_pull_up>; 1689 + rockchip,pins = <4 RK_PD0 1 &pcfg_pull_up>; 1690 1690 }; 1691 1691 1692 1692 sdio0_clk: sdio0-clk { 1693 - rockchip,pins = <4 25 RK_FUNC_1 &pcfg_pull_none>; 1693 + rockchip,pins = <4 RK_PD1 1 &pcfg_pull_none>; 1694 1694 }; 1695 1695 1696 1696 sdio0_cd: sdio0-cd { 1697 - rockchip,pins = <4 26 RK_FUNC_1 &pcfg_pull_up>; 1697 + rockchip,pins = <4 RK_PD2 1 &pcfg_pull_up>; 1698 1698 }; 1699 1699 1700 1700 sdio0_wp: sdio0-wp { 1701 - rockchip,pins = <4 27 RK_FUNC_1 &pcfg_pull_up>; 1701 + rockchip,pins = <4 RK_PD3 1 &pcfg_pull_up>; 1702 1702 }; 1703 1703 1704 1704 sdio0_pwr: sdio0-pwr { 1705 - rockchip,pins = <4 28 RK_FUNC_1 &pcfg_pull_up>; 1705 + rockchip,pins = <4 RK_PD4 1 &pcfg_pull_up>; 1706 1706 }; 1707 1707 1708 1708 sdio0_bkpwr: sdio0-bkpwr { 1709 - rockchip,pins = <4 29 RK_FUNC_1 &pcfg_pull_up>; 1709 + rockchip,pins = <4 RK_PD5 1 &pcfg_pull_up>; 1710 1710 }; 1711 1711 1712 1712 sdio0_int: sdio0-int { 1713 - rockchip,pins = <4 30 RK_FUNC_1 &pcfg_pull_up>; 1713 + rockchip,pins = <4 RK_PD6 1 &pcfg_pull_up>; 1714 1714 }; 1715 1715 }; 1716 1716 1717 1717 sdio1 { 1718 1718 sdio1_bus1: sdio1-bus1 { 1719 - rockchip,pins = <3 24 4 &pcfg_pull_up>; 1719 + rockchip,pins = <3 RK_PD0 4 &pcfg_pull_up>; 1720 1720 }; 1721 1721 1722 1722 sdio1_bus4: sdio1-bus4 { 1723 - rockchip,pins = <3 24 4 &pcfg_pull_up>, 1724 - <3 25 4 &pcfg_pull_up>, 1725 - <3 26 4 &pcfg_pull_up>, 1726 - <3 27 4 &pcfg_pull_up>; 1723 + rockchip,pins = <3 RK_PD0 4 &pcfg_pull_up>, 1724 + <3 RK_PD1 4 &pcfg_pull_up>, 1725 + <3 RK_PD2 4 &pcfg_pull_up>, 1726 + <3 RK_PD3 4 &pcfg_pull_up>; 1727 1727 }; 1728 1728 1729 1729 sdio1_cd: sdio1-cd { 1730 - rockchip,pins = <3 28 4 &pcfg_pull_up>; 1730 + rockchip,pins = <3 RK_PD4 4 &pcfg_pull_up>; 1731 1731 }; 1732 1732 1733 1733 sdio1_wp: sdio1-wp { 1734 - rockchip,pins = <3 29 4 &pcfg_pull_up>; 1734 + rockchip,pins = <3 RK_PD5 4 &pcfg_pull_up>; 1735 1735 }; 1736 1736 1737 1737 sdio1_bkpwr: sdio1-bkpwr { 1738 - rockchip,pins = <3 30 4 &pcfg_pull_up>; 1738 + rockchip,pins = <3 RK_PD6 4 &pcfg_pull_up>; 1739 1739 }; 1740 1740 1741 1741 sdio1_int: sdio1-int { 1742 - rockchip,pins = <3 31 4 &pcfg_pull_up>; 1742 + rockchip,pins = <3 RK_PD7 4 &pcfg_pull_up>; 1743 1743 }; 1744 1744 1745 1745 sdio1_cmd: sdio1-cmd { 1746 - rockchip,pins = <4 6 4 &pcfg_pull_up>; 1746 + rockchip,pins = <4 RK_PA6 4 &pcfg_pull_up>; 1747 1747 }; 1748 1748 1749 1749 sdio1_clk: sdio1-clk { 1750 - rockchip,pins = <4 7 4 &pcfg_pull_none>; 1750 + rockchip,pins = <4 RK_PA7 4 &pcfg_pull_none>; 1751 1751 }; 1752 1752 1753 1753 sdio1_pwr: sdio1-pwr { 1754 - rockchip,pins = <4 9 4 &pcfg_pull_up>; 1754 + rockchip,pins = <4 RK_PB1 4 &pcfg_pull_up>; 1755 1755 }; 1756 1756 }; 1757 1757 1758 1758 emmc { 1759 1759 emmc_clk: emmc-clk { 1760 - rockchip,pins = <3 18 RK_FUNC_2 &pcfg_pull_none>; 1760 + rockchip,pins = <3 RK_PC2 2 &pcfg_pull_none>; 1761 1761 }; 1762 1762 1763 1763 emmc_cmd: emmc-cmd { 1764 - rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_up>; 1764 + rockchip,pins = <3 RK_PC0 2 &pcfg_pull_up>; 1765 1765 }; 1766 1766 1767 1767 emmc_pwr: emmc-pwr { 1768 - rockchip,pins = <3 9 RK_FUNC_2 &pcfg_pull_up>; 1768 + rockchip,pins = <3 RK_PB1 2 &pcfg_pull_up>; 1769 1769 }; 1770 1770 1771 1771 emmc_bus1: emmc-bus1 { 1772 - rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>; 1772 + rockchip,pins = <3 RK_PA0 2 &pcfg_pull_up>; 1773 1773 }; 1774 1774 1775 1775 emmc_bus4: emmc-bus4 { 1776 - rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>, 1777 - <3 1 RK_FUNC_2 &pcfg_pull_up>, 1778 - <3 2 RK_FUNC_2 &pcfg_pull_up>, 1779 - <3 3 RK_FUNC_2 &pcfg_pull_up>; 1776 + rockchip,pins = <3 RK_PA0 2 &pcfg_pull_up>, 1777 + <3 RK_PA1 2 &pcfg_pull_up>, 1778 + <3 RK_PA2 2 &pcfg_pull_up>, 1779 + <3 RK_PA3 2 &pcfg_pull_up>; 1780 1780 }; 1781 1781 1782 1782 emmc_bus8: emmc-bus8 { 1783 - rockchip,pins = <3 0 RK_FUNC_2 &pcfg_pull_up>, 1784 - <3 1 RK_FUNC_2 &pcfg_pull_up>, 1785 - <3 2 RK_FUNC_2 &pcfg_pull_up>, 1786 - <3 3 RK_FUNC_2 &pcfg_pull_up>, 1787 - <3 4 RK_FUNC_2 &pcfg_pull_up>, 1788 - <3 5 RK_FUNC_2 &pcfg_pull_up>, 1789 - <3 6 RK_FUNC_2 &pcfg_pull_up>, 1790 - <3 7 RK_FUNC_2 &pcfg_pull_up>; 1783 + rockchip,pins = <3 RK_PA0 2 &pcfg_pull_up>, 1784 + <3 RK_PA1 2 &pcfg_pull_up>, 1785 + <3 RK_PA2 2 &pcfg_pull_up>, 1786 + <3 RK_PA3 2 &pcfg_pull_up>, 1787 + <3 RK_PA4 2 &pcfg_pull_up>, 1788 + <3 RK_PA5 2 &pcfg_pull_up>, 1789 + <3 RK_PA6 2 &pcfg_pull_up>, 1790 + <3 RK_PA7 2 &pcfg_pull_up>; 1791 1791 }; 1792 1792 }; 1793 1793 1794 1794 spi0 { 1795 1795 spi0_clk: spi0-clk { 1796 - rockchip,pins = <5 12 RK_FUNC_1 &pcfg_pull_up>; 1796 + rockchip,pins = <5 RK_PB4 1 &pcfg_pull_up>; 1797 1797 }; 1798 1798 spi0_cs0: spi0-cs0 { 1799 - rockchip,pins = <5 13 RK_FUNC_1 &pcfg_pull_up>; 1799 + rockchip,pins = <5 RK_PB5 1 &pcfg_pull_up>; 1800 1800 }; 1801 1801 spi0_tx: spi0-tx { 1802 - rockchip,pins = <5 14 RK_FUNC_1 &pcfg_pull_up>; 1802 + rockchip,pins = <5 RK_PB6 1 &pcfg_pull_up>; 1803 1803 }; 1804 1804 spi0_rx: spi0-rx { 1805 - rockchip,pins = <5 15 RK_FUNC_1 &pcfg_pull_up>; 1805 + rockchip,pins = <5 RK_PB7 1 &pcfg_pull_up>; 1806 1806 }; 1807 1807 spi0_cs1: spi0-cs1 { 1808 - rockchip,pins = <5 16 RK_FUNC_1 &pcfg_pull_up>; 1808 + rockchip,pins = <5 RK_PC0 1 &pcfg_pull_up>; 1809 1809 }; 1810 1810 }; 1811 1811 spi1 { 1812 1812 spi1_clk: spi1-clk { 1813 - rockchip,pins = <7 12 RK_FUNC_2 &pcfg_pull_up>; 1813 + rockchip,pins = <7 RK_PB4 2 &pcfg_pull_up>; 1814 1814 }; 1815 1815 spi1_cs0: spi1-cs0 { 1816 - rockchip,pins = <7 13 RK_FUNC_2 &pcfg_pull_up>; 1816 + rockchip,pins = <7 RK_PB5 2 &pcfg_pull_up>; 1817 1817 }; 1818 1818 spi1_rx: spi1-rx { 1819 - rockchip,pins = <7 14 RK_FUNC_2 &pcfg_pull_up>; 1819 + rockchip,pins = <7 RK_PB6 2 &pcfg_pull_up>; 1820 1820 }; 1821 1821 spi1_tx: spi1-tx { 1822 - rockchip,pins = <7 15 RK_FUNC_2 &pcfg_pull_up>; 1822 + rockchip,pins = <7 RK_PB7 2 &pcfg_pull_up>; 1823 1823 }; 1824 1824 }; 1825 1825 1826 1826 spi2 { 1827 1827 spi2_cs1: spi2-cs1 { 1828 - rockchip,pins = <8 3 RK_FUNC_1 &pcfg_pull_up>; 1828 + rockchip,pins = <8 RK_PA3 1 &pcfg_pull_up>; 1829 1829 }; 1830 1830 spi2_clk: spi2-clk { 1831 - rockchip,pins = <8 6 RK_FUNC_1 &pcfg_pull_up>; 1831 + rockchip,pins = <8 RK_PA6 1 &pcfg_pull_up>; 1832 1832 }; 1833 1833 spi2_cs0: spi2-cs0 { 1834 - rockchip,pins = <8 7 RK_FUNC_1 &pcfg_pull_up>; 1834 + rockchip,pins = <8 RK_PA7 1 &pcfg_pull_up>; 1835 1835 }; 1836 1836 spi2_rx: spi2-rx { 1837 - rockchip,pins = <8 8 RK_FUNC_1 &pcfg_pull_up>; 1837 + rockchip,pins = <8 RK_PB0 1 &pcfg_pull_up>; 1838 1838 }; 1839 1839 spi2_tx: spi2-tx { 1840 - rockchip,pins = <8 9 RK_FUNC_1 &pcfg_pull_up>; 1840 + rockchip,pins = <8 RK_PB1 1 &pcfg_pull_up>; 1841 1841 }; 1842 1842 }; 1843 1843 1844 1844 uart0 { 1845 1845 uart0_xfer: uart0-xfer { 1846 - rockchip,pins = <4 16 RK_FUNC_1 &pcfg_pull_up>, 1847 - <4 17 RK_FUNC_1 &pcfg_pull_none>; 1846 + rockchip,pins = <4 RK_PC0 1 &pcfg_pull_up>, 1847 + <4 RK_PC1 1 &pcfg_pull_none>; 1848 1848 }; 1849 1849 1850 1850 uart0_cts: uart0-cts { 1851 - rockchip,pins = <4 18 RK_FUNC_1 &pcfg_pull_up>; 1851 + rockchip,pins = <4 RK_PC2 1 &pcfg_pull_up>; 1852 1852 }; 1853 1853 1854 1854 uart0_rts: uart0-rts { 1855 - rockchip,pins = <4 19 RK_FUNC_1 &pcfg_pull_none>; 1855 + rockchip,pins = <4 RK_PC3 1 &pcfg_pull_none>; 1856 1856 }; 1857 1857 }; 1858 1858 1859 1859 uart1 { 1860 1860 uart1_xfer: uart1-xfer { 1861 - rockchip,pins = <5 8 RK_FUNC_1 &pcfg_pull_up>, 1862 - <5 9 RK_FUNC_1 &pcfg_pull_none>; 1861 + rockchip,pins = <5 RK_PB0 1 &pcfg_pull_up>, 1862 + <5 RK_PB1 1 &pcfg_pull_none>; 1863 1863 }; 1864 1864 1865 1865 uart1_cts: uart1-cts { 1866 - rockchip,pins = <5 10 RK_FUNC_1 &pcfg_pull_up>; 1866 + rockchip,pins = <5 RK_PB2 1 &pcfg_pull_up>; 1867 1867 }; 1868 1868 1869 1869 uart1_rts: uart1-rts { 1870 - rockchip,pins = <5 11 RK_FUNC_1 &pcfg_pull_none>; 1870 + rockchip,pins = <5 RK_PB3 1 &pcfg_pull_none>; 1871 1871 }; 1872 1872 }; 1873 1873 1874 1874 uart2 { 1875 1875 uart2_xfer: uart2-xfer { 1876 - rockchip,pins = <7 22 RK_FUNC_1 &pcfg_pull_up>, 1877 - <7 23 RK_FUNC_1 &pcfg_pull_none>; 1876 + rockchip,pins = <7 RK_PC6 1 &pcfg_pull_up>, 1877 + <7 RK_PC7 1 &pcfg_pull_none>; 1878 1878 }; 1879 1879 /* no rts / cts for uart2 */ 1880 1880 }; 1881 1881 1882 1882 uart3 { 1883 1883 uart3_xfer: uart3-xfer { 1884 - rockchip,pins = <7 7 RK_FUNC_1 &pcfg_pull_up>, 1885 - <7 8 RK_FUNC_1 &pcfg_pull_none>; 1884 + rockchip,pins = <7 RK_PA7 1 &pcfg_pull_up>, 1885 + <7 RK_PB0 1 &pcfg_pull_none>; 1886 1886 }; 1887 1887 1888 1888 uart3_cts: uart3-cts { 1889 - rockchip,pins = <7 9 RK_FUNC_1 &pcfg_pull_up>; 1889 + rockchip,pins = <7 RK_PB1 1 &pcfg_pull_up>; 1890 1890 }; 1891 1891 1892 1892 uart3_rts: uart3-rts { 1893 - rockchip,pins = <7 10 RK_FUNC_1 &pcfg_pull_none>; 1893 + rockchip,pins = <7 RK_PB2 1 &pcfg_pull_none>; 1894 1894 }; 1895 1895 }; 1896 1896 1897 1897 uart4 { 1898 1898 uart4_xfer: uart4-xfer { 1899 - rockchip,pins = <5 15 3 &pcfg_pull_up>, 1900 - <5 14 3 &pcfg_pull_none>; 1899 + rockchip,pins = <5 RK_PB7 3 &pcfg_pull_up>, 1900 + <5 RK_PB6 3 &pcfg_pull_none>; 1901 1901 }; 1902 1902 1903 1903 uart4_cts: uart4-cts { 1904 - rockchip,pins = <5 12 3 &pcfg_pull_up>; 1904 + rockchip,pins = <5 RK_PB4 3 &pcfg_pull_up>; 1905 1905 }; 1906 1906 1907 1907 uart4_rts: uart4-rts { 1908 - rockchip,pins = <5 13 3 &pcfg_pull_none>; 1908 + rockchip,pins = <5 RK_PB5 3 &pcfg_pull_none>; 1909 1909 }; 1910 1910 }; 1911 1911 1912 1912 tsadc { 1913 1913 otp_gpio: otp-gpio { 1914 - rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_none>; 1914 + rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 1915 1915 }; 1916 1916 1917 1917 otp_out: otp-out { 1918 - rockchip,pins = <0 10 RK_FUNC_1 &pcfg_pull_none>; 1918 + rockchip,pins = <0 RK_PB2 1 &pcfg_pull_none>; 1919 1919 }; 1920 1920 }; 1921 1921 1922 1922 pwm0 { 1923 1923 pwm0_pin: pwm0-pin { 1924 - rockchip,pins = <7 0 RK_FUNC_1 &pcfg_pull_none>; 1924 + rockchip,pins = <7 RK_PA0 1 &pcfg_pull_none>; 1925 1925 }; 1926 1926 }; 1927 1927 1928 1928 pwm1 { 1929 1929 pwm1_pin: pwm1-pin { 1930 - rockchip,pins = <7 1 RK_FUNC_1 &pcfg_pull_none>; 1930 + rockchip,pins = <7 RK_PA1 1 &pcfg_pull_none>; 1931 1931 }; 1932 1932 }; 1933 1933 1934 1934 pwm2 { 1935 1935 pwm2_pin: pwm2-pin { 1936 - rockchip,pins = <7 22 3 &pcfg_pull_none>; 1936 + rockchip,pins = <7 RK_PC6 3 &pcfg_pull_none>; 1937 1937 }; 1938 1938 }; 1939 1939 1940 1940 pwm3 { 1941 1941 pwm3_pin: pwm3-pin { 1942 - rockchip,pins = <7 23 3 &pcfg_pull_none>; 1942 + rockchip,pins = <7 RK_PC7 3 &pcfg_pull_none>; 1943 1943 }; 1944 1944 }; 1945 1945 1946 1946 gmac { 1947 1947 rgmii_pins: rgmii-pins { 1948 - rockchip,pins = <3 30 3 &pcfg_pull_none>, 1949 - <3 31 3 &pcfg_pull_none>, 1950 - <3 26 3 &pcfg_pull_none>, 1951 - <3 27 3 &pcfg_pull_none>, 1952 - <3 28 3 &pcfg_pull_none_12ma>, 1953 - <3 29 3 &pcfg_pull_none_12ma>, 1954 - <3 24 3 &pcfg_pull_none_12ma>, 1955 - <3 25 3 &pcfg_pull_none_12ma>, 1956 - <4 0 3 &pcfg_pull_none>, 1957 - <4 5 3 &pcfg_pull_none>, 1958 - <4 6 3 &pcfg_pull_none>, 1959 - <4 9 3 &pcfg_pull_none_12ma>, 1960 - <4 4 3 &pcfg_pull_none_12ma>, 1961 - <4 1 3 &pcfg_pull_none>, 1962 - <4 3 3 &pcfg_pull_none>; 1948 + rockchip,pins = <3 RK_PD6 3 &pcfg_pull_none>, 1949 + <3 RK_PD7 3 &pcfg_pull_none>, 1950 + <3 RK_PD2 3 &pcfg_pull_none>, 1951 + <3 RK_PD3 3 &pcfg_pull_none>, 1952 + <3 RK_PD4 3 &pcfg_pull_none_12ma>, 1953 + <3 RK_PD5 3 &pcfg_pull_none_12ma>, 1954 + <3 RK_PD0 3 &pcfg_pull_none_12ma>, 1955 + <3 RK_PD1 3 &pcfg_pull_none_12ma>, 1956 + <4 RK_PA0 3 &pcfg_pull_none>, 1957 + <4 RK_PA5 3 &pcfg_pull_none>, 1958 + <4 RK_PA6 3 &pcfg_pull_none>, 1959 + <4 RK_PB1 3 &pcfg_pull_none_12ma>, 1960 + <4 RK_PA4 3 &pcfg_pull_none_12ma>, 1961 + <4 RK_PA1 3 &pcfg_pull_none>, 1962 + <4 RK_PA3 3 &pcfg_pull_none>; 1963 1963 }; 1964 1964 1965 1965 rmii_pins: rmii-pins { 1966 - rockchip,pins = <3 30 3 &pcfg_pull_none>, 1967 - <3 31 3 &pcfg_pull_none>, 1968 - <3 28 3 &pcfg_pull_none>, 1969 - <3 29 3 &pcfg_pull_none>, 1970 - <4 0 3 &pcfg_pull_none>, 1971 - <4 5 3 &pcfg_pull_none>, 1972 - <4 4 3 &pcfg_pull_none>, 1973 - <4 1 3 &pcfg_pull_none>, 1974 - <4 2 3 &pcfg_pull_none>, 1975 - <4 3 3 &pcfg_pull_none>; 1966 + rockchip,pins = <3 RK_PD6 3 &pcfg_pull_none>, 1967 + <3 RK_PD7 3 &pcfg_pull_none>, 1968 + <3 RK_PD4 3 &pcfg_pull_none>, 1969 + <3 RK_PD5 3 &pcfg_pull_none>, 1970 + <4 RK_PA0 3 &pcfg_pull_none>, 1971 + <4 RK_PA5 3 &pcfg_pull_none>, 1972 + <4 RK_PA4 3 &pcfg_pull_none>, 1973 + <4 RK_PA1 3 &pcfg_pull_none>, 1974 + <4 RK_PA2 3 &pcfg_pull_none>, 1975 + <4 RK_PA3 3 &pcfg_pull_none>; 1976 1976 }; 1977 1977 }; 1978 1978 1979 1979 spdif { 1980 1980 spdif_tx: spdif-tx { 1981 - rockchip,pins = <RK_GPIO6 11 RK_FUNC_1 &pcfg_pull_none>; 1981 + rockchip,pins = <6 RK_PB3 1 &pcfg_pull_none>; 1982 1982 }; 1983 1983 }; 1984 1984 };
+69 -69
arch/arm/boot/dts/rv1108.dtsi
··· 682 682 683 683 emmc { 684 684 emmc_bus8: emmc-bus8 { 685 - rockchip,pins = <2 RK_PA0 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 686 - <2 RK_PA1 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 687 - <2 RK_PA2 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 688 - <2 RK_PA3 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 689 - <2 RK_PA4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 690 - <2 RK_PA5 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 691 - <2 RK_PA6 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, 692 - <2 RK_PA7 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; 685 + rockchip,pins = <2 RK_PA0 2 &pcfg_pull_up_drv_8ma>, 686 + <2 RK_PA1 2 &pcfg_pull_up_drv_8ma>, 687 + <2 RK_PA2 2 &pcfg_pull_up_drv_8ma>, 688 + <2 RK_PA3 2 &pcfg_pull_up_drv_8ma>, 689 + <2 RK_PA4 2 &pcfg_pull_up_drv_8ma>, 690 + <2 RK_PA5 2 &pcfg_pull_up_drv_8ma>, 691 + <2 RK_PA6 2 &pcfg_pull_up_drv_8ma>, 692 + <2 RK_PA7 2 &pcfg_pull_up_drv_8ma>; 693 693 }; 694 694 695 695 emmc_clk: emmc-clk { 696 - rockchip,pins = <2 RK_PB6 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; 696 + rockchip,pins = <2 RK_PB6 1 &pcfg_pull_none_drv_8ma>; 697 697 }; 698 698 699 699 emmc_cmd: emmc-cmd { 700 - rockchip,pins = <2 RK_PB4 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; 700 + rockchip,pins = <2 RK_PB4 2 &pcfg_pull_up_drv_8ma>; 701 701 }; 702 702 }; 703 703 704 704 gmac { 705 705 rmii_pins: rmii-pins { 706 - rockchip,pins = <1 RK_PC5 RK_FUNC_2 &pcfg_pull_none>, 707 - <1 RK_PC3 RK_FUNC_2 &pcfg_pull_none>, 708 - <1 RK_PC4 RK_FUNC_2 &pcfg_pull_none>, 709 - <1 RK_PB2 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, 710 - <1 RK_PB3 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, 711 - <1 RK_PB4 RK_FUNC_3 &pcfg_pull_none_drv_12ma>, 712 - <1 RK_PB5 RK_FUNC_3 &pcfg_pull_none>, 713 - <1 RK_PB6 RK_FUNC_3 &pcfg_pull_none>, 714 - <1 RK_PB7 RK_FUNC_3 &pcfg_pull_none>, 715 - <1 RK_PC2 RK_FUNC_3 &pcfg_pull_none>; 706 + rockchip,pins = <1 RK_PC5 2 &pcfg_pull_none>, 707 + <1 RK_PC3 2 &pcfg_pull_none>, 708 + <1 RK_PC4 2 &pcfg_pull_none>, 709 + <1 RK_PB2 3 &pcfg_pull_none_drv_12ma>, 710 + <1 RK_PB3 3 &pcfg_pull_none_drv_12ma>, 711 + <1 RK_PB4 3 &pcfg_pull_none_drv_12ma>, 712 + <1 RK_PB5 3 &pcfg_pull_none>, 713 + <1 RK_PB6 3 &pcfg_pull_none>, 714 + <1 RK_PB7 3 &pcfg_pull_none>, 715 + <1 RK_PC2 3 &pcfg_pull_none>; 716 716 }; 717 717 }; 718 718 719 719 i2c0 { 720 720 i2c0_xfer: i2c0-xfer { 721 - rockchip,pins = <0 RK_PB1 RK_FUNC_1 &pcfg_pull_none_smt>, 722 - <0 RK_PB2 RK_FUNC_1 &pcfg_pull_none_smt>; 721 + rockchip,pins = <0 RK_PB1 1 &pcfg_pull_none_smt>, 722 + <0 RK_PB2 1 &pcfg_pull_none_smt>; 723 723 }; 724 724 }; 725 725 726 726 i2c1 { 727 727 i2c1_xfer: i2c1-xfer { 728 - rockchip,pins = <2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>, 729 - <2 RK_PD4 RK_FUNC_1 &pcfg_pull_up>; 728 + rockchip,pins = <2 RK_PD3 1 &pcfg_pull_up>, 729 + <2 RK_PD4 1 &pcfg_pull_up>; 730 730 }; 731 731 }; 732 732 733 733 i2c2m1 { 734 734 i2c2m1_xfer: i2c2m1-xfer { 735 - rockchip,pins = <0 RK_PC2 RK_FUNC_2 &pcfg_pull_none>, 736 - <0 RK_PC6 RK_FUNC_3 &pcfg_pull_none>; 735 + rockchip,pins = <0 RK_PC2 2 &pcfg_pull_none>, 736 + <0 RK_PC6 3 &pcfg_pull_none>; 737 737 }; 738 738 739 739 i2c2m1_gpio: i2c2m1-gpio { ··· 744 744 745 745 i2c2m05v { 746 746 i2c2m05v_xfer: i2c2m05v-xfer { 747 - rockchip,pins = <1 RK_PD5 RK_FUNC_2 &pcfg_pull_none>, 748 - <1 RK_PD4 RK_FUNC_2 &pcfg_pull_none>; 747 + rockchip,pins = <1 RK_PD5 2 &pcfg_pull_none>, 748 + <1 RK_PD4 2 &pcfg_pull_none>; 749 749 }; 750 750 751 751 i2c2m05v_gpio: i2c2m05v-gpio { ··· 756 756 757 757 i2c3 { 758 758 i2c3_xfer: i2c3-xfer { 759 - rockchip,pins = <0 RK_PB6 RK_FUNC_1 &pcfg_pull_none>, 760 - <0 RK_PC4 RK_FUNC_2 &pcfg_pull_none>; 759 + rockchip,pins = <0 RK_PB6 1 &pcfg_pull_none>, 760 + <0 RK_PC4 2 &pcfg_pull_none>; 761 761 }; 762 762 }; 763 763 764 764 pwm0 { 765 765 pwm0_pin: pwm0-pin { 766 - rockchip,pins = <0 RK_PC5 RK_FUNC_1 &pcfg_pull_none>; 766 + rockchip,pins = <0 RK_PC5 1 &pcfg_pull_none>; 767 767 }; 768 768 }; 769 769 770 770 pwm1 { 771 771 pwm1_pin: pwm1-pin { 772 - rockchip,pins = <0 RK_PC4 RK_FUNC_1 &pcfg_pull_none>; 772 + rockchip,pins = <0 RK_PC4 1 &pcfg_pull_none>; 773 773 }; 774 774 }; 775 775 776 776 pwm2 { 777 777 pwm2_pin: pwm2-pin { 778 - rockchip,pins = <0 RK_PC6 RK_FUNC_1 &pcfg_pull_none>; 778 + rockchip,pins = <0 RK_PC6 1 &pcfg_pull_none>; 779 779 }; 780 780 }; 781 781 782 782 pwm3 { 783 783 pwm3_pin: pwm3-pin { 784 - rockchip,pins = <0 RK_PC0 RK_FUNC_1 &pcfg_pull_none>; 784 + rockchip,pins = <0 RK_PC0 1 &pcfg_pull_none>; 785 785 }; 786 786 }; 787 787 788 788 pwm4 { 789 789 pwm4_pin: pwm4-pin { 790 - rockchip,pins = <1 RK_PC1 RK_FUNC_3 &pcfg_pull_none>; 790 + rockchip,pins = <1 RK_PC1 3 &pcfg_pull_none>; 791 791 }; 792 792 }; 793 793 794 794 pwm5 { 795 795 pwm5_pin: pwm5-pin { 796 - rockchip,pins = <1 RK_PA7 RK_FUNC_2 &pcfg_pull_none>; 796 + rockchip,pins = <1 RK_PA7 2 &pcfg_pull_none>; 797 797 }; 798 798 }; 799 799 800 800 pwm6 { 801 801 pwm6_pin: pwm6-pin { 802 - rockchip,pins = <1 RK_PB0 RK_FUNC_2 &pcfg_pull_none>; 802 + rockchip,pins = <1 RK_PB0 2 &pcfg_pull_none>; 803 803 }; 804 804 }; 805 805 806 806 pwm7 { 807 807 pwm7_pin: pwm7-pin { 808 - rockchip,pins = <1 RK_PB1 RK_FUNC_2 &pcfg_pull_none>; 808 + rockchip,pins = <1 RK_PB1 2 &pcfg_pull_none>; 809 809 }; 810 810 }; 811 811 812 812 sdmmc { 813 813 sdmmc_clk: sdmmc-clk { 814 - rockchip,pins = <3 RK_PC4 RK_FUNC_1 &pcfg_pull_none_drv_4ma>; 814 + rockchip,pins = <3 RK_PC4 1 &pcfg_pull_none_drv_4ma>; 815 815 }; 816 816 817 817 sdmmc_cmd: sdmmc-cmd { 818 - rockchip,pins = <3 RK_PC5 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; 818 + rockchip,pins = <3 RK_PC5 1 &pcfg_pull_up_drv_4ma>; 819 819 }; 820 820 821 821 sdmmc_cd: sdmmc-cd { 822 - rockchip,pins = <0 RK_PA1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; 822 + rockchip,pins = <0 RK_PA1 1 &pcfg_pull_up_drv_4ma>; 823 823 }; 824 824 825 825 sdmmc_bus1: sdmmc-bus1 { 826 - rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; 826 + rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>; 827 827 }; 828 828 829 829 sdmmc_bus4: sdmmc-bus4 { 830 - rockchip,pins = <3 RK_PC3 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, 831 - <3 RK_PC2 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, 832 - <3 RK_PC1 RK_FUNC_1 &pcfg_pull_up_drv_4ma>, 833 - <3 RK_PC0 RK_FUNC_1 &pcfg_pull_up_drv_4ma>; 830 + rockchip,pins = <3 RK_PC3 1 &pcfg_pull_up_drv_4ma>, 831 + <3 RK_PC2 1 &pcfg_pull_up_drv_4ma>, 832 + <3 RK_PC1 1 &pcfg_pull_up_drv_4ma>, 833 + <3 RK_PC0 1 &pcfg_pull_up_drv_4ma>; 834 834 }; 835 835 }; 836 836 837 837 spim0 { 838 838 spim0_clk: spim0-clk { 839 - rockchip,pins = <1 RK_PD0 RK_FUNC_2 &pcfg_pull_up>; 839 + rockchip,pins = <1 RK_PD0 2 &pcfg_pull_up>; 840 840 }; 841 841 842 842 spim0_cs0: spim0-cs0 { 843 - rockchip,pins = <1 RK_PD1 RK_FUNC_2 &pcfg_pull_up>; 843 + rockchip,pins = <1 RK_PD1 2 &pcfg_pull_up>; 844 844 }; 845 845 846 846 spim0_tx: spim0-tx { 847 - rockchip,pins = <1 RK_PD3 RK_FUNC_2 &pcfg_pull_up>; 847 + rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>; 848 848 }; 849 849 850 850 spim0_rx: spim0-rx { 851 - rockchip,pins = <1 RK_PD2 RK_FUNC_2 &pcfg_pull_up>; 851 + rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>; 852 852 }; 853 853 }; 854 854 855 855 spim1 { 856 856 spim1_clk: spim1-clk { 857 - rockchip,pins = <0 RK_PA3 RK_FUNC_1 &pcfg_pull_up>; 857 + rockchip,pins = <0 RK_PA3 1 &pcfg_pull_up>; 858 858 }; 859 859 860 860 spim1_cs0: spim1-cs0 { 861 - rockchip,pins = <0 RK_PA4 RK_FUNC_1 &pcfg_pull_up>; 861 + rockchip,pins = <0 RK_PA4 1 &pcfg_pull_up>; 862 862 }; 863 863 864 864 spim1_rx: spim1-rx { 865 - rockchip,pins = <0 RK_PB0 RK_FUNC_1 &pcfg_pull_up>; 865 + rockchip,pins = <0 RK_PB0 1 &pcfg_pull_up>; 866 866 }; 867 867 868 868 spim1_tx: spim1-tx { 869 - rockchip,pins = <0 RK_PA7 RK_FUNC_1 &pcfg_pull_up>; 869 + rockchip,pins = <0 RK_PA7 1 &pcfg_pull_up>; 870 870 }; 871 871 }; 872 872 873 873 tsadc { 874 874 otp_out: otp-out { 875 - rockchip,pins = <0 RK_PB7 RK_FUNC_1 &pcfg_pull_none>; 875 + rockchip,pins = <0 RK_PB7 1 &pcfg_pull_none>; 876 876 }; 877 877 878 878 otp_gpio: otp-gpio { ··· 882 882 883 883 uart0 { 884 884 uart0_xfer: uart0-xfer { 885 - rockchip,pins = <3 RK_PA6 RK_FUNC_1 &pcfg_pull_up>, 886 - <3 RK_PA5 RK_FUNC_1 &pcfg_pull_none>; 885 + rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>, 886 + <3 RK_PA5 1 &pcfg_pull_none>; 887 887 }; 888 888 889 889 uart0_cts: uart0-cts { 890 - rockchip,pins = <3 RK_PA4 RK_FUNC_1 &pcfg_pull_none>; 890 + rockchip,pins = <3 RK_PA4 1 &pcfg_pull_none>; 891 891 }; 892 892 893 893 uart0_rts: uart0-rts { 894 - rockchip,pins = <3 RK_PA3 RK_FUNC_1 &pcfg_pull_none>; 894 + rockchip,pins = <3 RK_PA3 1 &pcfg_pull_none>; 895 895 }; 896 896 897 897 uart0_rts_gpio: uart0-rts-gpio { ··· 901 901 902 902 uart1 { 903 903 uart1_xfer: uart1-xfer { 904 - rockchip,pins = <1 RK_PD3 RK_FUNC_1 &pcfg_pull_up>, 905 - <1 RK_PD2 RK_FUNC_1 &pcfg_pull_none>; 904 + rockchip,pins = <1 RK_PD3 1 &pcfg_pull_up>, 905 + <1 RK_PD2 1 &pcfg_pull_none>; 906 906 }; 907 907 908 908 uart1_cts: uart1-cts { 909 - rockchip,pins = <1 RK_PD0 RK_FUNC_1 &pcfg_pull_none>; 909 + rockchip,pins = <1 RK_PD0 1 &pcfg_pull_none>; 910 910 }; 911 911 912 912 uart1_rts: uart1-rts { 913 - rockchip,pins = <1 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; 913 + rockchip,pins = <1 RK_PD1 1 &pcfg_pull_none>; 914 914 }; 915 915 }; 916 916 917 917 uart2m0 { 918 918 uart2m0_xfer: uart2m0-xfer { 919 - rockchip,pins = <2 RK_PD2 RK_FUNC_1 &pcfg_pull_up>, 920 - <2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; 919 + rockchip,pins = <2 RK_PD2 1 &pcfg_pull_up>, 920 + <2 RK_PD1 1 &pcfg_pull_none>; 921 921 }; 922 922 }; 923 923 924 924 uart2m1 { 925 925 uart2m1_xfer: uart2m1-xfer { 926 - rockchip,pins = <3 RK_PC3 RK_FUNC_2 &pcfg_pull_up>, 927 - <3 RK_PC2 RK_FUNC_2 &pcfg_pull_none>; 926 + rockchip,pins = <3 RK_PC3 2 &pcfg_pull_up>, 927 + <3 RK_PC2 2 &pcfg_pull_none>; 928 928 }; 929 929 }; 930 930 931 931 uart2_5v { 932 932 uart2_5v_cts: uart2_5v-cts { 933 - rockchip,pins = <1 RK_PD4 RK_FUNC_1 &pcfg_pull_none>; 933 + rockchip,pins = <1 RK_PD4 1 &pcfg_pull_none>; 934 934 }; 935 935 936 936 uart2_5v_rts: uart2_5v-rts { 937 - rockchip,pins = <1 RK_PD5 RK_FUNC_1 &pcfg_pull_none>; 937 + rockchip,pins = <1 RK_PD5 1 &pcfg_pull_none>; 938 938 }; 939 939 }; 940 940 };