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

pinctrl: atlas7: support atlas7 step B changes

The the pin groups and pin functions have been changed
in atlas7 step B soc. We have to update the driver
to support step B chip.

Changes:
1. add 5 jtag pins to IOC_TOP:
"jtag_tdo", "jtag_tms","jtag_tck", "jtag_tdi", "jtag_trstn"
these 5 pins can be mutiplex with other functions, so we
have to conver these 5 pins in pinmux.
2. add pin groups for audio digmic, audio spdif, can transceiver
en, can transceiver stb, i2s0, i2s1 and jtag.
3. serval pins can be located to more PADs:
audio_uart0_urfs, audio_uart1_urfs, audio_uart2_urfs,
audio_uart2_urxd, audio_uart2_usclk, audio_uart2_utfs,
audio_uart2_utxd, can0_rxd, can0_txd, can1_rxd, can1_txd
jtag_ntrst, jtag_swdiotms, jtag_tck, jtag_tdi, jtag_tdo,
pw_cko0, pw_cko1, pw_i2s01, pw_pwm0, pw_pwm1, sd2_cdb,
sd2_wpb, uart2_cts, uart2_rts, uart2_rxd, uart2_txd,
uart3_cts, uart3_rts, uart3_rxd, uart3_txd, uart4_cts,
uart4_rts, usb0_drvvbus, usb1_drvvbus.

Because of Changes#3, some functions should have more than one
pin groups. So we have to split the original pin group to serval
pin groups.

For example:
audio_uart0 has 5 pins, on STEPA, each of these 5 pins only has
one related PAD. But on STEPB, audio_uart0_urfs has 4 related
PAD.
So we place the 4 pins with one PAD into a single pin group:
audio_uart0_basic_group.
and place urfs pin wtih different PADs to 4 different pin groups:
audio_uart0_urfs_group0, ..., audio_uart0_urfs_group3

A full audio_uart0 pin group can be:
pinctrl-0 = <&audio_uart0_basic_group &audio_uart0_urfs_group0>;
If audio_uart0 pin group encountered some confiction, we only have
to change the urfs group:
pinctrl-0 = <&audio_uart0_basic_group &audio_uart0_urfs_group2>;

Signed-off-by: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Wei Chen and committed by
Linus Walleij
3fa508cd 3c6531c7

+1550 -298
+1550 -298
drivers/pinctrl/sirf/pinctrl-atlas7.c
··· 544 544 PINCTRL_PIN(156, "lvds_tx0d1n"), 545 545 PINCTRL_PIN(157, "lvds_tx0d0p"), 546 546 PINCTRL_PIN(158, "lvds_tx0d0n"), 547 + PINCTRL_PIN(159, "jtag_tdo"), 548 + PINCTRL_PIN(160, "jtag_tms"), 549 + PINCTRL_PIN(161, "jtag_tck"), 550 + PINCTRL_PIN(162, "jtag_tdi"), 551 + PINCTRL_PIN(163, "jtag_trstn"), 547 552 }; 548 553 549 554 struct atlas7_pad_config atlas7_ioc_pad_confs[] = { ··· 713 708 PADCONF(156, 7, 0x130, 0x270, -1, 0x480, 28, 14, 0, 7), 714 709 PADCONF(157, 7, 0x138, 0x278, -1, 0x480, 0, 0, 0, 8), 715 710 PADCONF(158, 7, 0x138, 0x278, -1, 0x480, 4, 2, 0, 9), 711 + PADCONF(159, 5, 0x140, 0x280, 0x380, -1, 0, 0, 0, 0), 712 + PADCONF(160, 6, 0x140, 0x280, 0x380, -1, 4, 2, 2, 0), 713 + PADCONF(161, 5, 0x140, 0x280, 0x380, -1, 8, 4, 4, 0), 714 + PADCONF(162, 6, 0x140, 0x280, 0x380, -1, 12, 6, 6, 0), 715 + PADCONF(163, 6, 0x140, 0x280, 0x380, -1, 16, 8, 8, 0), 716 716 }; 717 717 718 718 /* pin list of each pin group */ ··· 734 724 141, 142, 143, 144, 145, 146, 147, 148, }; 735 725 static const unsigned int lvds_gpio_pins[] = { 157, 158, 155, 156, 153, 154, 736 726 151, 152, 149, 150, }; 737 - static const unsigned int uart_nand_gpio_pins[] = { 44, 43, 42, 41, 40, 39, 738 - 38, 37, 46, 47, 48, 49, 50, 52, 51, 45, 133, 134, 135, 136, 739 - 137, 138, 139, 140, }; 727 + static const unsigned int jtag_uart_nand_gpio_pins[] = { 44, 43, 42, 41, 40, 728 + 39, 38, 37, 46, 47, 48, 49, 50, 52, 51, 45, 133, 134, 135, 729 + 136, 137, 138, 139, 140, 159, 160, 161, 162, 163, }; 740 730 static const unsigned int rtc_gpio_pins[] = { 0, 1, 2, 3, 4, 10, 11, 12, 13, 741 - 14, 15, 16, 17, }; 731 + 14, 15, 16, 17, 9, }; 742 732 static const unsigned int audio_ac97_pins[] = { 113, 118, 115, 114, }; 733 + static const unsigned int audio_digmic_pins0[] = { 51, }; 734 + static const unsigned int audio_digmic_pins1[] = { 122, }; 735 + static const unsigned int audio_digmic_pins2[] = { 161, }; 743 736 static const unsigned int audio_func_dbg_pins[] = { 141, 144, 44, 43, 42, 41, 744 737 40, 39, 38, 37, 74, 75, 76, 77, 78, 79, 81, 113, 114, 118, 745 738 115, 49, 50, 142, 143, 80, }; ··· 750 737 114, }; 751 738 static const unsigned int audio_i2s_2ch_pins[] = { 118, 115, 112, 113, 114, }; 752 739 static const unsigned int audio_i2s_extclk_pins[] = { 112, }; 753 - static const unsigned int audio_uart0_pins[] = { 143, 142, 141, 144, }; 754 - static const unsigned int audio_uart1_pins[] = { 147, 146, 145, 148, }; 755 - static const unsigned int audio_uart2_pins0[] = { 20, 21, 19, 18, }; 756 - static const unsigned int audio_uart2_pins1[] = { 109, 110, 101, 111, }; 757 - static const unsigned int c_can_trnsvr_pins[] = { 1, }; 758 - static const unsigned int c0_can_pins0[] = { 11, 10, }; 759 - static const unsigned int c0_can_pins1[] = { 2, 3, }; 760 - static const unsigned int c1_can_pins0[] = { 138, 137, }; 761 - static const unsigned int c1_can_pins1[] = { 147, 146, }; 762 - static const unsigned int c1_can_pins2[] = { 2, 3, }; 740 + static const unsigned int audio_spdif_out_pins0[] = { 112, }; 741 + static const unsigned int audio_spdif_out_pins1[] = { 116, }; 742 + static const unsigned int audio_spdif_out_pins2[] = { 142, }; 743 + static const unsigned int audio_uart0_basic_pins[] = { 143, 142, 141, 144, }; 744 + static const unsigned int audio_uart0_urfs_pins0[] = { 117, }; 745 + static const unsigned int audio_uart0_urfs_pins1[] = { 139, }; 746 + static const unsigned int audio_uart0_urfs_pins2[] = { 163, }; 747 + static const unsigned int audio_uart0_urfs_pins3[] = { 162, }; 748 + static const unsigned int audio_uart1_basic_pins[] = { 147, 146, 145, 148, }; 749 + static const unsigned int audio_uart1_urfs_pins0[] = { 117, }; 750 + static const unsigned int audio_uart1_urfs_pins1[] = { 140, }; 751 + static const unsigned int audio_uart1_urfs_pins2[] = { 163, }; 752 + static const unsigned int audio_uart2_urfs_pins0[] = { 139, }; 753 + static const unsigned int audio_uart2_urfs_pins1[] = { 163, }; 754 + static const unsigned int audio_uart2_urfs_pins2[] = { 96, }; 755 + static const unsigned int audio_uart2_urxd_pins0[] = { 20, }; 756 + static const unsigned int audio_uart2_urxd_pins1[] = { 109, }; 757 + static const unsigned int audio_uart2_urxd_pins2[] = { 93, }; 758 + static const unsigned int audio_uart2_usclk_pins0[] = { 19, }; 759 + static const unsigned int audio_uart2_usclk_pins1[] = { 101, }; 760 + static const unsigned int audio_uart2_usclk_pins2[] = { 91, }; 761 + static const unsigned int audio_uart2_utfs_pins0[] = { 18, }; 762 + static const unsigned int audio_uart2_utfs_pins1[] = { 111, }; 763 + static const unsigned int audio_uart2_utfs_pins2[] = { 94, }; 764 + static const unsigned int audio_uart2_utxd_pins0[] = { 21, }; 765 + static const unsigned int audio_uart2_utxd_pins1[] = { 110, }; 766 + static const unsigned int audio_uart2_utxd_pins2[] = { 92, }; 767 + static const unsigned int c_can_trnsvr_en_pins0[] = { 2, }; 768 + static const unsigned int c_can_trnsvr_en_pins1[] = { 0, }; 769 + static const unsigned int c_can_trnsvr_intr_pins[] = { 1, }; 770 + static const unsigned int c_can_trnsvr_stb_n_pins[] = { 3, }; 771 + static const unsigned int c0_can_rxd_trnsv0_pins[] = { 11, }; 772 + static const unsigned int c0_can_rxd_trnsv1_pins[] = { 2, }; 773 + static const unsigned int c0_can_txd_trnsv0_pins[] = { 10, }; 774 + static const unsigned int c0_can_txd_trnsv1_pins[] = { 3, }; 775 + static const unsigned int c1_can_rxd_pins0[] = { 138, }; 776 + static const unsigned int c1_can_rxd_pins1[] = { 147, }; 777 + static const unsigned int c1_can_rxd_pins2[] = { 2, }; 778 + static const unsigned int c1_can_rxd_pins3[] = { 162, }; 779 + static const unsigned int c1_can_txd_pins0[] = { 137, }; 780 + static const unsigned int c1_can_txd_pins1[] = { 146, }; 781 + static const unsigned int c1_can_txd_pins2[] = { 3, }; 782 + static const unsigned int c1_can_txd_pins3[] = { 161, }; 763 783 static const unsigned int ca_audio_lpc_pins[] = { 62, 63, 64, 65, 66, 67, 68, 764 784 69, 70, 71, }; 765 785 static const unsigned int ca_bt_lpc_pins[] = { 85, 86, 87, 88, 89, 90, }; ··· 850 804 static const unsigned int gn_trg_shutdown_pins3[] = { 123, }; 851 805 static const unsigned int i2c0_pins[] = { 128, 127, }; 852 806 static const unsigned int i2c1_pins[] = { 126, 125, }; 853 - static const unsigned int jtag_pins0[] = { 125, 4, 2, 0, 1, 3, }; 807 + static const unsigned int i2s0_pins[] = { 91, 93, 94, 92, }; 808 + static const unsigned int i2s1_basic_pins[] = { 95, 96, }; 809 + static const unsigned int i2s1_rxd0_pins0[] = { 61, }; 810 + static const unsigned int i2s1_rxd0_pins1[] = { 131, }; 811 + static const unsigned int i2s1_rxd0_pins2[] = { 129, }; 812 + static const unsigned int i2s1_rxd0_pins3[] = { 117, }; 813 + static const unsigned int i2s1_rxd0_pins4[] = { 83, }; 814 + static const unsigned int i2s1_rxd1_pins0[] = { 72, }; 815 + static const unsigned int i2s1_rxd1_pins1[] = { 132, }; 816 + static const unsigned int i2s1_rxd1_pins2[] = { 130, }; 817 + static const unsigned int i2s1_rxd1_pins3[] = { 118, }; 818 + static const unsigned int i2s1_rxd1_pins4[] = { 84, }; 819 + static const unsigned int jtag_jt_dbg_nsrst_pins[] = { 125, }; 820 + static const unsigned int jtag_ntrst_pins0[] = { 4, }; 821 + static const unsigned int jtag_ntrst_pins1[] = { 163, }; 822 + static const unsigned int jtag_swdiotms_pins0[] = { 2, }; 823 + static const unsigned int jtag_swdiotms_pins1[] = { 160, }; 824 + static const unsigned int jtag_tck_pins0[] = { 0, }; 825 + static const unsigned int jtag_tck_pins1[] = { 161, }; 826 + static const unsigned int jtag_tdi_pins0[] = { 1, }; 827 + static const unsigned int jtag_tdi_pins1[] = { 162, }; 828 + static const unsigned int jtag_tdo_pins0[] = { 3, }; 829 + static const unsigned int jtag_tdo_pins1[] = { 159, }; 854 830 static const unsigned int ks_kas_spi_pins0[] = { 141, 144, 143, 142, }; 855 831 static const unsigned int ld_ldd_pins[] = { 57, 58, 59, 60, 61, 62, 63, 64, 856 832 65, 66, 67, 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80, ··· 889 821 47, 46, 52, 51, 45, 49, 50, 48, 124, }; 890 822 static const unsigned int nd_df_nowp_pins[] = { 44, 43, 42, 41, 40, 39, 38, 891 823 37, 47, 46, 52, 51, 45, 49, 50, 48, }; 892 - static const unsigned int ps_pins[] = { 120, 119, }; 824 + static const unsigned int ps_pins[] = { 120, 119, 121, }; 893 825 static const unsigned int pwc_core_on_pins[] = { 8, }; 894 826 static const unsigned int pwc_ext_on_pins[] = { 6, }; 895 827 static const unsigned int pwc_gpio3_clk_pins[] = { 3, }; ··· 904 836 static const unsigned int pw_cko0_pins0[] = { 123, }; 905 837 static const unsigned int pw_cko0_pins1[] = { 101, }; 906 838 static const unsigned int pw_cko0_pins2[] = { 82, }; 839 + static const unsigned int pw_cko0_pins3[] = { 162, }; 907 840 static const unsigned int pw_cko1_pins0[] = { 124, }; 908 841 static const unsigned int pw_cko1_pins1[] = { 110, }; 842 + static const unsigned int pw_cko1_pins2[] = { 163, }; 909 843 static const unsigned int pw_i2s01_clk_pins0[] = { 125, }; 910 844 static const unsigned int pw_i2s01_clk_pins1[] = { 117, }; 911 - static const unsigned int pw_pwm0_pins[] = { 119, }; 912 - static const unsigned int pw_pwm1_pins[] = { 120, }; 845 + static const unsigned int pw_i2s01_clk_pins2[] = { 132, }; 846 + static const unsigned int pw_pwm0_pins0[] = { 119, }; 847 + static const unsigned int pw_pwm0_pins1[] = { 159, }; 848 + static const unsigned int pw_pwm1_pins0[] = { 120, }; 849 + static const unsigned int pw_pwm1_pins1[] = { 160, }; 850 + static const unsigned int pw_pwm1_pins2[] = { 131, }; 913 851 static const unsigned int pw_pwm2_pins0[] = { 121, }; 914 852 static const unsigned int pw_pwm2_pins1[] = { 98, }; 853 + static const unsigned int pw_pwm2_pins2[] = { 161, }; 915 854 static const unsigned int pw_pwm3_pins0[] = { 122, }; 916 855 static const unsigned int pw_pwm3_pins1[] = { 73, }; 917 856 static const unsigned int pw_pwm_cpu_vol_pins0[] = { 121, }; 918 857 static const unsigned int pw_pwm_cpu_vol_pins1[] = { 98, }; 858 + static const unsigned int pw_pwm_cpu_vol_pins2[] = { 161, }; 919 859 static const unsigned int pw_backlight_pins0[] = { 122, }; 920 860 static const unsigned int pw_backlight_pins1[] = { 73, }; 921 861 static const unsigned int rg_eth_mac_pins[] = { 108, 103, 104, 105, 106, 107, ··· 939 863 37, }; 940 864 static const unsigned int sd1_4bit_pins0[] = { 48, 49, 44, 43, 42, 41, }; 941 865 static const unsigned int sd1_4bit_pins1[] = { 48, 49, 40, 39, 38, 37, }; 942 - static const unsigned int sd2_pins0[] = { 124, 31, 32, 33, 34, 35, 36, 123, }; 943 - static const unsigned int sd2_no_cdb_pins0[] = { 31, 32, 33, 34, 35, 36, 123, }; 866 + static const unsigned int sd2_basic_pins[] = { 31, 32, 33, 34, 35, 36, }; 867 + static const unsigned int sd2_cdb_pins0[] = { 124, }; 868 + static const unsigned int sd2_cdb_pins1[] = { 161, }; 869 + static const unsigned int sd2_wpb_pins0[] = { 123, }; 870 + static const unsigned int sd2_wpb_pins1[] = { 163, }; 944 871 static const unsigned int sd3_pins[] = { 85, 86, 87, 88, 89, 90, }; 945 872 static const unsigned int sd5_pins[] = { 91, 92, 93, 94, 95, 96, }; 946 873 static const unsigned int sd6_pins0[] = { 79, 78, 74, 75, 76, 77, }; ··· 956 877 static const unsigned int uart0_pins[] = { 121, 120, 134, 133, }; 957 878 static const unsigned int uart0_nopause_pins[] = { 134, 133, }; 958 879 static const unsigned int uart1_pins[] = { 136, 135, }; 959 - static const unsigned int uart2_pins[] = { 11, 10, }; 960 - static const unsigned int uart3_pins0[] = { 125, 126, 138, 137, }; 961 - static const unsigned int uart3_pins1[] = { 111, 109, 84, 83, }; 962 - static const unsigned int uart3_pins2[] = { 140, 139, 138, 137, }; 963 - static const unsigned int uart3_pins3[] = { 139, 140, 84, 83, }; 964 - static const unsigned int uart3_nopause_pins0[] = { 138, 137, }; 965 - static const unsigned int uart3_nopause_pins1[] = { 84, 83, }; 966 - static const unsigned int uart4_pins0[] = { 122, 123, 140, 139, }; 967 - static const unsigned int uart4_pins1[] = { 100, 99, 140, 139, }; 968 - static const unsigned int uart4_pins2[] = { 117, 116, 140, 139, }; 969 - static const unsigned int uart4_nopause_pins[] = { 140, 139, }; 970 - static const unsigned int usb0_drvvbus_pins[] = { 51, }; 971 - static const unsigned int usb1_drvvbus_pins[] = { 134, }; 880 + static const unsigned int uart2_cts_pins0[] = { 132, }; 881 + static const unsigned int uart2_cts_pins1[] = { 162, }; 882 + static const unsigned int uart2_rts_pins0[] = { 131, }; 883 + static const unsigned int uart2_rts_pins1[] = { 161, }; 884 + static const unsigned int uart2_rxd_pins0[] = { 11, }; 885 + static const unsigned int uart2_rxd_pins1[] = { 160, }; 886 + static const unsigned int uart2_rxd_pins2[] = { 130, }; 887 + static const unsigned int uart2_txd_pins0[] = { 10, }; 888 + static const unsigned int uart2_txd_pins1[] = { 159, }; 889 + static const unsigned int uart2_txd_pins2[] = { 129, }; 890 + static const unsigned int uart3_cts_pins0[] = { 125, }; 891 + static const unsigned int uart3_cts_pins1[] = { 111, }; 892 + static const unsigned int uart3_cts_pins2[] = { 140, }; 893 + static const unsigned int uart3_rts_pins0[] = { 126, }; 894 + static const unsigned int uart3_rts_pins1[] = { 109, }; 895 + static const unsigned int uart3_rts_pins2[] = { 139, }; 896 + static const unsigned int uart3_rxd_pins0[] = { 138, }; 897 + static const unsigned int uart3_rxd_pins1[] = { 84, }; 898 + static const unsigned int uart3_rxd_pins2[] = { 162, }; 899 + static const unsigned int uart3_txd_pins0[] = { 137, }; 900 + static const unsigned int uart3_txd_pins1[] = { 83, }; 901 + static const unsigned int uart3_txd_pins2[] = { 161, }; 902 + static const unsigned int uart4_basic_pins[] = { 140, 139, }; 903 + static const unsigned int uart4_cts_pins0[] = { 122, }; 904 + static const unsigned int uart4_cts_pins1[] = { 100, }; 905 + static const unsigned int uart4_cts_pins2[] = { 117, }; 906 + static const unsigned int uart4_rts_pins0[] = { 123, }; 907 + static const unsigned int uart4_rts_pins1[] = { 99, }; 908 + static const unsigned int uart4_rts_pins2[] = { 116, }; 909 + static const unsigned int usb0_drvvbus_pins0[] = { 51, }; 910 + static const unsigned int usb0_drvvbus_pins1[] = { 162, }; 911 + static const unsigned int usb1_drvvbus_pins0[] = { 134, }; 912 + static const unsigned int usb1_drvvbus_pins1[] = { 163, }; 972 913 static const unsigned int visbus_dout_pins[] = { 57, 58, 59, 60, 61, 62, 63, 973 914 64, 65, 66, 67, 68, 69, 70, 71, 72, 53, 54, 55, 56, 85, 86, 974 915 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, }; ··· 1009 910 GROUP("sdio_i2s_gpio_grp", sdio_i2s_gpio_pins), 1010 911 GROUP("sp_rgmii_gpio_grp", sp_rgmii_gpio_pins), 1011 912 GROUP("lvds_gpio_grp", lvds_gpio_pins), 1012 - GROUP("uart_nand_gpio_grp", uart_nand_gpio_pins), 913 + GROUP("jtag_uart_nand_gpio_grp", jtag_uart_nand_gpio_pins), 1013 914 GROUP("rtc_gpio_grp", rtc_gpio_pins), 1014 915 GROUP("audio_ac97_grp", audio_ac97_pins), 916 + GROUP("audio_digmic_grp0", audio_digmic_pins0), 917 + GROUP("audio_digmic_grp1", audio_digmic_pins1), 918 + GROUP("audio_digmic_grp2", audio_digmic_pins2), 1015 919 GROUP("audio_func_dbg_grp", audio_func_dbg_pins), 1016 920 GROUP("audio_i2s_grp", audio_i2s_pins), 1017 921 GROUP("audio_i2s_2ch_grp", audio_i2s_2ch_pins), 1018 922 GROUP("audio_i2s_extclk_grp", audio_i2s_extclk_pins), 1019 - GROUP("audio_uart0_grp", audio_uart0_pins), 1020 - GROUP("audio_uart1_grp", audio_uart1_pins), 1021 - GROUP("audio_uart2_grp0", audio_uart2_pins0), 1022 - GROUP("audio_uart2_grp1", audio_uart2_pins1), 1023 - GROUP("c_can_trnsvr_grp", c_can_trnsvr_pins), 1024 - GROUP("c0_can_grp0", c0_can_pins0), 1025 - GROUP("c0_can_grp1", c0_can_pins1), 1026 - GROUP("c1_can_grp0", c1_can_pins0), 1027 - GROUP("c1_can_grp1", c1_can_pins1), 1028 - GROUP("c1_can_grp2", c1_can_pins2), 923 + GROUP("audio_spdif_out_grp0", audio_spdif_out_pins0), 924 + GROUP("audio_spdif_out_grp1", audio_spdif_out_pins1), 925 + GROUP("audio_spdif_out_grp2", audio_spdif_out_pins2), 926 + GROUP("audio_uart0_basic_grp", audio_uart0_basic_pins), 927 + GROUP("audio_uart0_urfs_grp0", audio_uart0_urfs_pins0), 928 + GROUP("audio_uart0_urfs_grp1", audio_uart0_urfs_pins1), 929 + GROUP("audio_uart0_urfs_grp2", audio_uart0_urfs_pins2), 930 + GROUP("audio_uart0_urfs_grp3", audio_uart0_urfs_pins3), 931 + GROUP("audio_uart1_basic_grp", audio_uart1_basic_pins), 932 + GROUP("audio_uart1_urfs_grp0", audio_uart1_urfs_pins0), 933 + GROUP("audio_uart1_urfs_grp1", audio_uart1_urfs_pins1), 934 + GROUP("audio_uart1_urfs_grp2", audio_uart1_urfs_pins2), 935 + GROUP("audio_uart2_urfs_grp0", audio_uart2_urfs_pins0), 936 + GROUP("audio_uart2_urfs_grp1", audio_uart2_urfs_pins1), 937 + GROUP("audio_uart2_urfs_grp2", audio_uart2_urfs_pins2), 938 + GROUP("audio_uart2_urxd_grp0", audio_uart2_urxd_pins0), 939 + GROUP("audio_uart2_urxd_grp1", audio_uart2_urxd_pins1), 940 + GROUP("audio_uart2_urxd_grp2", audio_uart2_urxd_pins2), 941 + GROUP("audio_uart2_usclk_grp0", audio_uart2_usclk_pins0), 942 + GROUP("audio_uart2_usclk_grp1", audio_uart2_usclk_pins1), 943 + GROUP("audio_uart2_usclk_grp2", audio_uart2_usclk_pins2), 944 + GROUP("audio_uart2_utfs_grp0", audio_uart2_utfs_pins0), 945 + GROUP("audio_uart2_utfs_grp1", audio_uart2_utfs_pins1), 946 + GROUP("audio_uart2_utfs_grp2", audio_uart2_utfs_pins2), 947 + GROUP("audio_uart2_utxd_grp0", audio_uart2_utxd_pins0), 948 + GROUP("audio_uart2_utxd_grp1", audio_uart2_utxd_pins1), 949 + GROUP("audio_uart2_utxd_grp2", audio_uart2_utxd_pins2), 950 + GROUP("c_can_trnsvr_en_grp0", c_can_trnsvr_en_pins0), 951 + GROUP("c_can_trnsvr_en_grp1", c_can_trnsvr_en_pins1), 952 + GROUP("c_can_trnsvr_intr_grp", c_can_trnsvr_intr_pins), 953 + GROUP("c_can_trnsvr_stb_n_grp", c_can_trnsvr_stb_n_pins), 954 + GROUP("c0_can_rxd_trnsv0_grp", c0_can_rxd_trnsv0_pins), 955 + GROUP("c0_can_rxd_trnsv1_grp", c0_can_rxd_trnsv1_pins), 956 + GROUP("c0_can_txd_trnsv0_grp", c0_can_txd_trnsv0_pins), 957 + GROUP("c0_can_txd_trnsv1_grp", c0_can_txd_trnsv1_pins), 958 + GROUP("c1_can_rxd_grp0", c1_can_rxd_pins0), 959 + GROUP("c1_can_rxd_grp1", c1_can_rxd_pins1), 960 + GROUP("c1_can_rxd_grp2", c1_can_rxd_pins2), 961 + GROUP("c1_can_rxd_grp3", c1_can_rxd_pins3), 962 + GROUP("c1_can_txd_grp0", c1_can_txd_pins0), 963 + GROUP("c1_can_txd_grp1", c1_can_txd_pins1), 964 + GROUP("c1_can_txd_grp2", c1_can_txd_pins2), 965 + GROUP("c1_can_txd_grp3", c1_can_txd_pins3), 1029 966 GROUP("ca_audio_lpc_grp", ca_audio_lpc_pins), 1030 967 GROUP("ca_bt_lpc_grp", ca_bt_lpc_pins), 1031 968 GROUP("ca_coex_grp", ca_coex_pins), ··· 1112 977 GROUP("gn_trg_shutdown_grp3", gn_trg_shutdown_pins3), 1113 978 GROUP("i2c0_grp", i2c0_pins), 1114 979 GROUP("i2c1_grp", i2c1_pins), 1115 - GROUP("jtag_grp0", jtag_pins0), 980 + GROUP("i2s0_grp", i2s0_pins), 981 + GROUP("i2s1_basic_grp", i2s1_basic_pins), 982 + GROUP("i2s1_rxd0_grp0", i2s1_rxd0_pins0), 983 + GROUP("i2s1_rxd0_grp1", i2s1_rxd0_pins1), 984 + GROUP("i2s1_rxd0_grp2", i2s1_rxd0_pins2), 985 + GROUP("i2s1_rxd0_grp3", i2s1_rxd0_pins3), 986 + GROUP("i2s1_rxd0_grp4", i2s1_rxd0_pins4), 987 + GROUP("i2s1_rxd1_grp0", i2s1_rxd1_pins0), 988 + GROUP("i2s1_rxd1_grp1", i2s1_rxd1_pins1), 989 + GROUP("i2s1_rxd1_grp2", i2s1_rxd1_pins2), 990 + GROUP("i2s1_rxd1_grp3", i2s1_rxd1_pins3), 991 + GROUP("i2s1_rxd1_grp4", i2s1_rxd1_pins4), 992 + GROUP("jtag_jt_dbg_nsrst_grp", jtag_jt_dbg_nsrst_pins), 993 + GROUP("jtag_ntrst_grp0", jtag_ntrst_pins0), 994 + GROUP("jtag_ntrst_grp1", jtag_ntrst_pins1), 995 + GROUP("jtag_swdiotms_grp0", jtag_swdiotms_pins0), 996 + GROUP("jtag_swdiotms_grp1", jtag_swdiotms_pins1), 997 + GROUP("jtag_tck_grp0", jtag_tck_pins0), 998 + GROUP("jtag_tck_grp1", jtag_tck_pins1), 999 + GROUP("jtag_tdi_grp0", jtag_tdi_pins0), 1000 + GROUP("jtag_tdi_grp1", jtag_tdi_pins1), 1001 + GROUP("jtag_tdo_grp0", jtag_tdo_pins0), 1002 + GROUP("jtag_tdo_grp1", jtag_tdo_pins1), 1116 1003 GROUP("ks_kas_spi_grp0", ks_kas_spi_pins0), 1117 1004 GROUP("ld_ldd_grp", ld_ldd_pins), 1118 1005 GROUP("ld_ldd_16bit_grp", ld_ldd_16bit_pins), ··· 1159 1002 GROUP("pw_cko0_grp0", pw_cko0_pins0), 1160 1003 GROUP("pw_cko0_grp1", pw_cko0_pins1), 1161 1004 GROUP("pw_cko0_grp2", pw_cko0_pins2), 1005 + GROUP("pw_cko0_grp3", pw_cko0_pins3), 1162 1006 GROUP("pw_cko1_grp0", pw_cko1_pins0), 1163 1007 GROUP("pw_cko1_grp1", pw_cko1_pins1), 1008 + GROUP("pw_cko1_grp2", pw_cko1_pins2), 1164 1009 GROUP("pw_i2s01_clk_grp0", pw_i2s01_clk_pins0), 1165 1010 GROUP("pw_i2s01_clk_grp1", pw_i2s01_clk_pins1), 1166 - GROUP("pw_pwm0_grp", pw_pwm0_pins), 1167 - GROUP("pw_pwm1_grp", pw_pwm1_pins), 1011 + GROUP("pw_i2s01_clk_grp2", pw_i2s01_clk_pins2), 1012 + GROUP("pw_pwm0_grp0", pw_pwm0_pins0), 1013 + GROUP("pw_pwm0_grp1", pw_pwm0_pins1), 1014 + GROUP("pw_pwm1_grp0", pw_pwm1_pins0), 1015 + GROUP("pw_pwm1_grp1", pw_pwm1_pins1), 1016 + GROUP("pw_pwm1_grp2", pw_pwm1_pins2), 1168 1017 GROUP("pw_pwm2_grp0", pw_pwm2_pins0), 1169 1018 GROUP("pw_pwm2_grp1", pw_pwm2_pins1), 1019 + GROUP("pw_pwm2_grp2", pw_pwm2_pins2), 1170 1020 GROUP("pw_pwm3_grp0", pw_pwm3_pins0), 1171 1021 GROUP("pw_pwm3_grp1", pw_pwm3_pins1), 1172 1022 GROUP("pw_pwm_cpu_vol_grp0", pw_pwm_cpu_vol_pins0), 1173 1023 GROUP("pw_pwm_cpu_vol_grp1", pw_pwm_cpu_vol_pins1), 1024 + GROUP("pw_pwm_cpu_vol_grp2", pw_pwm_cpu_vol_pins2), 1174 1025 GROUP("pw_backlight_grp0", pw_backlight_pins0), 1175 1026 GROUP("pw_backlight_grp1", pw_backlight_pins1), 1176 1027 GROUP("rg_eth_mac_grp", rg_eth_mac_pins), ··· 1191 1026 GROUP("sd1_grp", sd1_pins), 1192 1027 GROUP("sd1_4bit_grp0", sd1_4bit_pins0), 1193 1028 GROUP("sd1_4bit_grp1", sd1_4bit_pins1), 1194 - GROUP("sd2_grp0", sd2_pins0), 1195 - GROUP("sd2_no_cdb_grp0", sd2_no_cdb_pins0), 1029 + GROUP("sd2_basic_grp", sd2_basic_pins), 1030 + GROUP("sd2_cdb_grp0", sd2_cdb_pins0), 1031 + GROUP("sd2_cdb_grp1", sd2_cdb_pins1), 1032 + GROUP("sd2_wpb_grp0", sd2_wpb_pins0), 1033 + GROUP("sd2_wpb_grp1", sd2_wpb_pins1), 1196 1034 GROUP("sd3_grp", sd3_pins), 1197 1035 GROUP("sd5_grp", sd5_pins), 1198 1036 GROUP("sd6_grp0", sd6_pins0), ··· 1207 1039 GROUP("uart0_grp", uart0_pins), 1208 1040 GROUP("uart0_nopause_grp", uart0_nopause_pins), 1209 1041 GROUP("uart1_grp", uart1_pins), 1210 - GROUP("uart2_grp", uart2_pins), 1211 - GROUP("uart3_grp0", uart3_pins0), 1212 - GROUP("uart3_grp1", uart3_pins1), 1213 - GROUP("uart3_grp2", uart3_pins2), 1214 - GROUP("uart3_grp3", uart3_pins3), 1215 - GROUP("uart3_nopause_grp0", uart3_nopause_pins0), 1216 - GROUP("uart3_nopause_grp1", uart3_nopause_pins1), 1217 - GROUP("uart4_grp0", uart4_pins0), 1218 - GROUP("uart4_grp1", uart4_pins1), 1219 - GROUP("uart4_grp2", uart4_pins2), 1220 - GROUP("uart4_nopause_grp", uart4_nopause_pins), 1221 - GROUP("usb0_drvvbus_grp", usb0_drvvbus_pins), 1222 - GROUP("usb1_drvvbus_grp", usb1_drvvbus_pins), 1042 + GROUP("uart2_cts_grp0", uart2_cts_pins0), 1043 + GROUP("uart2_cts_grp1", uart2_cts_pins1), 1044 + GROUP("uart2_rts_grp0", uart2_rts_pins0), 1045 + GROUP("uart2_rts_grp1", uart2_rts_pins1), 1046 + GROUP("uart2_rxd_grp0", uart2_rxd_pins0), 1047 + GROUP("uart2_rxd_grp1", uart2_rxd_pins1), 1048 + GROUP("uart2_rxd_grp2", uart2_rxd_pins2), 1049 + GROUP("uart2_txd_grp0", uart2_txd_pins0), 1050 + GROUP("uart2_txd_grp1", uart2_txd_pins1), 1051 + GROUP("uart2_txd_grp2", uart2_txd_pins2), 1052 + GROUP("uart3_cts_grp0", uart3_cts_pins0), 1053 + GROUP("uart3_cts_grp1", uart3_cts_pins1), 1054 + GROUP("uart3_cts_grp2", uart3_cts_pins2), 1055 + GROUP("uart3_rts_grp0", uart3_rts_pins0), 1056 + GROUP("uart3_rts_grp1", uart3_rts_pins1), 1057 + GROUP("uart3_rts_grp2", uart3_rts_pins2), 1058 + GROUP("uart3_rxd_grp0", uart3_rxd_pins0), 1059 + GROUP("uart3_rxd_grp1", uart3_rxd_pins1), 1060 + GROUP("uart3_rxd_grp2", uart3_rxd_pins2), 1061 + GROUP("uart3_txd_grp0", uart3_txd_pins0), 1062 + GROUP("uart3_txd_grp1", uart3_txd_pins1), 1063 + GROUP("uart3_txd_grp2", uart3_txd_pins2), 1064 + GROUP("uart4_basic_grp", uart4_basic_pins), 1065 + GROUP("uart4_cts_grp0", uart4_cts_pins0), 1066 + GROUP("uart4_cts_grp1", uart4_cts_pins1), 1067 + GROUP("uart4_cts_grp2", uart4_cts_pins2), 1068 + GROUP("uart4_rts_grp0", uart4_rts_pins0), 1069 + GROUP("uart4_rts_grp1", uart4_rts_pins1), 1070 + GROUP("uart4_rts_grp2", uart4_rts_pins2), 1071 + GROUP("usb0_drvvbus_grp0", usb0_drvvbus_pins0), 1072 + GROUP("usb0_drvvbus_grp1", usb0_drvvbus_pins1), 1073 + GROUP("usb1_drvvbus_grp0", usb1_drvvbus_pins0), 1074 + GROUP("usb1_drvvbus_grp1", usb1_drvvbus_pins1), 1223 1075 GROUP("visbus_dout_grp", visbus_dout_pins), 1224 1076 GROUP("vi_vip1_grp", vi_vip1_pins), 1225 1077 GROUP("vi_vip1_ext_grp", vi_vip1_ext_pins), ··· 1253 1065 static const char * const sdio_i2s_gpio_grp[] = { "sdio_i2s_gpio_grp", }; 1254 1066 static const char * const sp_rgmii_gpio_grp[] = { "sp_rgmii_gpio_grp", }; 1255 1067 static const char * const lvds_gpio_grp[] = { "lvds_gpio_grp", }; 1256 - static const char * const uart_nand_gpio_grp[] = { "uart_nand_gpio_grp", }; 1068 + static const char * const jtag_uart_nand_gpio_grp[] = { 1069 + "jtag_uart_nand_gpio_grp", }; 1257 1070 static const char * const rtc_gpio_grp[] = { "rtc_gpio_grp", }; 1258 1071 static const char * const audio_ac97_grp[] = { "audio_ac97_grp", }; 1072 + static const char * const audio_digmic_grp0[] = { "audio_digmic_grp0", }; 1073 + static const char * const audio_digmic_grp1[] = { "audio_digmic_grp1", }; 1074 + static const char * const audio_digmic_grp2[] = { "audio_digmic_grp2", }; 1259 1075 static const char * const audio_func_dbg_grp[] = { "audio_func_dbg_grp", }; 1260 1076 static const char * const audio_i2s_grp[] = { "audio_i2s_grp", }; 1261 1077 static const char * const audio_i2s_2ch_grp[] = { "audio_i2s_2ch_grp", }; 1262 1078 static const char * const audio_i2s_extclk_grp[] = { "audio_i2s_extclk_grp", }; 1263 - static const char * const audio_uart0_grp[] = { "audio_uart0_grp", }; 1264 - static const char * const audio_uart1_grp[] = { "audio_uart1_grp", }; 1265 - static const char * const audio_uart2_grp0[] = { "audio_uart2_grp0", }; 1266 - static const char * const audio_uart2_grp1[] = { "audio_uart2_grp1", }; 1267 - static const char * const c_can_trnsvr_grp[] = { "c_can_trnsvr_grp", }; 1268 - static const char * const c0_can_grp0[] = { "c0_can_grp0", }; 1269 - static const char * const c0_can_grp1[] = { "c0_can_grp1", }; 1270 - static const char * const c1_can_grp0[] = { "c1_can_grp0", }; 1271 - static const char * const c1_can_grp1[] = { "c1_can_grp1", }; 1272 - static const char * const c1_can_grp2[] = { "c1_can_grp2", }; 1079 + static const char * const audio_spdif_out_grp0[] = { "audio_spdif_out_grp0", }; 1080 + static const char * const audio_spdif_out_grp1[] = { "audio_spdif_out_grp1", }; 1081 + static const char * const audio_spdif_out_grp2[] = { "audio_spdif_out_grp2", }; 1082 + static const char * const audio_uart0_basic_grp[] = { 1083 + "audio_uart0_basic_grp", }; 1084 + static const char * const audio_uart0_urfs_grp0[] = { 1085 + "audio_uart0_urfs_grp0", }; 1086 + static const char * const audio_uart0_urfs_grp1[] = { 1087 + "audio_uart0_urfs_grp1", }; 1088 + static const char * const audio_uart0_urfs_grp2[] = { 1089 + "audio_uart0_urfs_grp2", }; 1090 + static const char * const audio_uart0_urfs_grp3[] = { 1091 + "audio_uart0_urfs_grp3", }; 1092 + static const char * const audio_uart1_basic_grp[] = { 1093 + "audio_uart1_basic_grp", }; 1094 + static const char * const audio_uart1_urfs_grp0[] = { 1095 + "audio_uart1_urfs_grp0", }; 1096 + static const char * const audio_uart1_urfs_grp1[] = { 1097 + "audio_uart1_urfs_grp1", }; 1098 + static const char * const audio_uart1_urfs_grp2[] = { 1099 + "audio_uart1_urfs_grp2", }; 1100 + static const char * const audio_uart2_urfs_grp0[] = { 1101 + "audio_uart2_urfs_grp0", }; 1102 + static const char * const audio_uart2_urfs_grp1[] = { 1103 + "audio_uart2_urfs_grp1", }; 1104 + static const char * const audio_uart2_urfs_grp2[] = { 1105 + "audio_uart2_urfs_grp2", }; 1106 + static const char * const audio_uart2_urxd_grp0[] = { 1107 + "audio_uart2_urxd_grp0", }; 1108 + static const char * const audio_uart2_urxd_grp1[] = { 1109 + "audio_uart2_urxd_grp1", }; 1110 + static const char * const audio_uart2_urxd_grp2[] = { 1111 + "audio_uart2_urxd_grp2", }; 1112 + static const char * const audio_uart2_usclk_grp0[] = { 1113 + "audio_uart2_usclk_grp0", }; 1114 + static const char * const audio_uart2_usclk_grp1[] = { 1115 + "audio_uart2_usclk_grp1", }; 1116 + static const char * const audio_uart2_usclk_grp2[] = { 1117 + "audio_uart2_usclk_grp2", }; 1118 + static const char * const audio_uart2_utfs_grp0[] = { 1119 + "audio_uart2_utfs_grp0", }; 1120 + static const char * const audio_uart2_utfs_grp1[] = { 1121 + "audio_uart2_utfs_grp1", }; 1122 + static const char * const audio_uart2_utfs_grp2[] = { 1123 + "audio_uart2_utfs_grp2", }; 1124 + static const char * const audio_uart2_utxd_grp0[] = { 1125 + "audio_uart2_utxd_grp0", }; 1126 + static const char * const audio_uart2_utxd_grp1[] = { 1127 + "audio_uart2_utxd_grp1", }; 1128 + static const char * const audio_uart2_utxd_grp2[] = { 1129 + "audio_uart2_utxd_grp2", }; 1130 + static const char * const c_can_trnsvr_en_grp0[] = { "c_can_trnsvr_en_grp0", }; 1131 + static const char * const c_can_trnsvr_en_grp1[] = { "c_can_trnsvr_en_grp1", }; 1132 + static const char * const c_can_trnsvr_intr_grp[] = { 1133 + "c_can_trnsvr_intr_grp", }; 1134 + static const char * const c_can_trnsvr_stb_n_grp[] = { 1135 + "c_can_trnsvr_stb_n_grp", }; 1136 + static const char * const c0_can_rxd_trnsv0_grp[] = { 1137 + "c0_can_rxd_trnsv0_grp", }; 1138 + static const char * const c0_can_rxd_trnsv1_grp[] = { 1139 + "c0_can_rxd_trnsv1_grp", }; 1140 + static const char * const c0_can_txd_trnsv0_grp[] = { 1141 + "c0_can_txd_trnsv0_grp", }; 1142 + static const char * const c0_can_txd_trnsv1_grp[] = { 1143 + "c0_can_txd_trnsv1_grp", }; 1144 + static const char * const c1_can_rxd_grp0[] = { "c1_can_rxd_grp0", }; 1145 + static const char * const c1_can_rxd_grp1[] = { "c1_can_rxd_grp1", }; 1146 + static const char * const c1_can_rxd_grp2[] = { "c1_can_rxd_grp2", }; 1147 + static const char * const c1_can_rxd_grp3[] = { "c1_can_rxd_grp3", }; 1148 + static const char * const c1_can_txd_grp0[] = { "c1_can_txd_grp0", }; 1149 + static const char * const c1_can_txd_grp1[] = { "c1_can_txd_grp1", }; 1150 + static const char * const c1_can_txd_grp2[] = { "c1_can_txd_grp2", }; 1151 + static const char * const c1_can_txd_grp3[] = { "c1_can_txd_grp3", }; 1273 1152 static const char * const ca_audio_lpc_grp[] = { "ca_audio_lpc_grp", }; 1274 1153 static const char * const ca_bt_lpc_grp[] = { "ca_bt_lpc_grp", }; 1275 1154 static const char * const ca_coex_grp[] = { "ca_coex_grp", }; ··· 1390 1135 static const char * const gn_trg_shutdown_grp3[] = { "gn_trg_shutdown_grp3", }; 1391 1136 static const char * const i2c0_grp[] = { "i2c0_grp", }; 1392 1137 static const char * const i2c1_grp[] = { "i2c1_grp", }; 1393 - static const char * const jtag_grp0[] = { "jtag_grp0", }; 1138 + static const char * const i2s0_grp[] = { "i2s0_grp", }; 1139 + static const char * const i2s1_basic_grp[] = { "i2s1_basic_grp", }; 1140 + static const char * const i2s1_rxd0_grp0[] = { "i2s1_rxd0_grp0", }; 1141 + static const char * const i2s1_rxd0_grp1[] = { "i2s1_rxd0_grp1", }; 1142 + static const char * const i2s1_rxd0_grp2[] = { "i2s1_rxd0_grp2", }; 1143 + static const char * const i2s1_rxd0_grp3[] = { "i2s1_rxd0_grp3", }; 1144 + static const char * const i2s1_rxd0_grp4[] = { "i2s1_rxd0_grp4", }; 1145 + static const char * const i2s1_rxd1_grp0[] = { "i2s1_rxd1_grp0", }; 1146 + static const char * const i2s1_rxd1_grp1[] = { "i2s1_rxd1_grp1", }; 1147 + static const char * const i2s1_rxd1_grp2[] = { "i2s1_rxd1_grp2", }; 1148 + static const char * const i2s1_rxd1_grp3[] = { "i2s1_rxd1_grp3", }; 1149 + static const char * const i2s1_rxd1_grp4[] = { "i2s1_rxd1_grp4", }; 1150 + static const char * const jtag_jt_dbg_nsrst_grp[] = { 1151 + "jtag_jt_dbg_nsrst_grp", }; 1152 + static const char * const jtag_ntrst_grp0[] = { "jtag_ntrst_grp0", }; 1153 + static const char * const jtag_ntrst_grp1[] = { "jtag_ntrst_grp1", }; 1154 + static const char * const jtag_swdiotms_grp0[] = { "jtag_swdiotms_grp0", }; 1155 + static const char * const jtag_swdiotms_grp1[] = { "jtag_swdiotms_grp1", }; 1156 + static const char * const jtag_tck_grp0[] = { "jtag_tck_grp0", }; 1157 + static const char * const jtag_tck_grp1[] = { "jtag_tck_grp1", }; 1158 + static const char * const jtag_tdi_grp0[] = { "jtag_tdi_grp0", }; 1159 + static const char * const jtag_tdi_grp1[] = { "jtag_tdi_grp1", }; 1160 + static const char * const jtag_tdo_grp0[] = { "jtag_tdo_grp0", }; 1161 + static const char * const jtag_tdo_grp1[] = { "jtag_tdo_grp1", }; 1394 1162 static const char * const ks_kas_spi_grp0[] = { "ks_kas_spi_grp0", }; 1395 1163 static const char * const ld_ldd_grp[] = { "ld_ldd_grp", }; 1396 1164 static const char * const ld_ldd_16bit_grp[] = { "ld_ldd_16bit_grp", }; ··· 1438 1160 static const char * const pw_cko0_grp0[] = { "pw_cko0_grp0", }; 1439 1161 static const char * const pw_cko0_grp1[] = { "pw_cko0_grp1", }; 1440 1162 static const char * const pw_cko0_grp2[] = { "pw_cko0_grp2", }; 1163 + static const char * const pw_cko0_grp3[] = { "pw_cko0_grp3", }; 1441 1164 static const char * const pw_cko1_grp0[] = { "pw_cko1_grp0", }; 1442 1165 static const char * const pw_cko1_grp1[] = { "pw_cko1_grp1", }; 1166 + static const char * const pw_cko1_grp2[] = { "pw_cko1_grp2", }; 1443 1167 static const char * const pw_i2s01_clk_grp0[] = { "pw_i2s01_clk_grp0", }; 1444 1168 static const char * const pw_i2s01_clk_grp1[] = { "pw_i2s01_clk_grp1", }; 1445 - static const char * const pw_pwm0_grp[] = { "pw_pwm0_grp", }; 1446 - static const char * const pw_pwm1_grp[] = { "pw_pwm1_grp", }; 1169 + static const char * const pw_i2s01_clk_grp2[] = { "pw_i2s01_clk_grp2", }; 1170 + static const char * const pw_pwm0_grp0[] = { "pw_pwm0_grp0", }; 1171 + static const char * const pw_pwm0_grp1[] = { "pw_pwm0_grp1", }; 1172 + static const char * const pw_pwm1_grp0[] = { "pw_pwm1_grp0", }; 1173 + static const char * const pw_pwm1_grp1[] = { "pw_pwm1_grp1", }; 1174 + static const char * const pw_pwm1_grp2[] = { "pw_pwm1_grp2", }; 1447 1175 static const char * const pw_pwm2_grp0[] = { "pw_pwm2_grp0", }; 1448 1176 static const char * const pw_pwm2_grp1[] = { "pw_pwm2_grp1", }; 1177 + static const char * const pw_pwm2_grp2[] = { "pw_pwm2_grp2", }; 1449 1178 static const char * const pw_pwm3_grp0[] = { "pw_pwm3_grp0", }; 1450 1179 static const char * const pw_pwm3_grp1[] = { "pw_pwm3_grp1", }; 1451 1180 static const char * const pw_pwm_cpu_vol_grp0[] = { "pw_pwm_cpu_vol_grp0", }; 1452 1181 static const char * const pw_pwm_cpu_vol_grp1[] = { "pw_pwm_cpu_vol_grp1", }; 1182 + static const char * const pw_pwm_cpu_vol_grp2[] = { "pw_pwm_cpu_vol_grp2", }; 1453 1183 static const char * const pw_backlight_grp0[] = { "pw_backlight_grp0", }; 1454 1184 static const char * const pw_backlight_grp1[] = { "pw_backlight_grp1", }; 1455 1185 static const char * const rg_eth_mac_grp[] = { "rg_eth_mac_grp", }; ··· 1473 1187 static const char * const sd1_grp[] = { "sd1_grp", }; 1474 1188 static const char * const sd1_4bit_grp0[] = { "sd1_4bit_grp0", }; 1475 1189 static const char * const sd1_4bit_grp1[] = { "sd1_4bit_grp1", }; 1476 - static const char * const sd2_grp0[] = { "sd2_grp0", }; 1477 - static const char * const sd2_no_cdb_grp0[] = { "sd2_no_cdb_grp0", }; 1190 + static const char * const sd2_basic_grp[] = { "sd2_basic_grp", }; 1191 + static const char * const sd2_cdb_grp0[] = { "sd2_cdb_grp0", }; 1192 + static const char * const sd2_cdb_grp1[] = { "sd2_cdb_grp1", }; 1193 + static const char * const sd2_wpb_grp0[] = { "sd2_wpb_grp0", }; 1194 + static const char * const sd2_wpb_grp1[] = { "sd2_wpb_grp1", }; 1478 1195 static const char * const sd3_grp[] = { "sd3_grp", }; 1479 1196 static const char * const sd5_grp[] = { "sd5_grp", }; 1480 1197 static const char * const sd6_grp0[] = { "sd6_grp0", }; ··· 1489 1200 static const char * const uart0_grp[] = { "uart0_grp", }; 1490 1201 static const char * const uart0_nopause_grp[] = { "uart0_nopause_grp", }; 1491 1202 static const char * const uart1_grp[] = { "uart1_grp", }; 1492 - static const char * const uart2_grp[] = { "uart2_grp", }; 1493 - static const char * const uart3_grp0[] = { "uart3_grp0", }; 1494 - static const char * const uart3_grp1[] = { "uart3_grp1", }; 1495 - static const char * const uart3_grp2[] = { "uart3_grp2", }; 1496 - static const char * const uart3_grp3[] = { "uart3_grp3", }; 1497 - static const char * const uart3_nopause_grp0[] = { "uart3_nopause_grp0", }; 1498 - static const char * const uart3_nopause_grp1[] = { "uart3_nopause_grp1", }; 1499 - static const char * const uart4_grp0[] = { "uart4_grp0", }; 1500 - static const char * const uart4_grp1[] = { "uart4_grp1", }; 1501 - static const char * const uart4_grp2[] = { "uart4_grp2", }; 1502 - static const char * const uart4_nopause_grp[] = { "uart4_nopause_grp", }; 1503 - static const char * const usb0_drvvbus_grp[] = { "usb0_drvvbus_grp", }; 1504 - static const char * const usb1_drvvbus_grp[] = { "usb1_drvvbus_grp", }; 1203 + static const char * const uart2_cts_grp0[] = { "uart2_cts_grp0", }; 1204 + static const char * const uart2_cts_grp1[] = { "uart2_cts_grp1", }; 1205 + static const char * const uart2_rts_grp0[] = { "uart2_rts_grp0", }; 1206 + static const char * const uart2_rts_grp1[] = { "uart2_rts_grp1", }; 1207 + static const char * const uart2_rxd_grp0[] = { "uart2_rxd_grp0", }; 1208 + static const char * const uart2_rxd_grp1[] = { "uart2_rxd_grp1", }; 1209 + static const char * const uart2_rxd_grp2[] = { "uart2_rxd_grp2", }; 1210 + static const char * const uart2_txd_grp0[] = { "uart2_txd_grp0", }; 1211 + static const char * const uart2_txd_grp1[] = { "uart2_txd_grp1", }; 1212 + static const char * const uart2_txd_grp2[] = { "uart2_txd_grp2", }; 1213 + static const char * const uart3_cts_grp0[] = { "uart3_cts_grp0", }; 1214 + static const char * const uart3_cts_grp1[] = { "uart3_cts_grp1", }; 1215 + static const char * const uart3_cts_grp2[] = { "uart3_cts_grp2", }; 1216 + static const char * const uart3_rts_grp0[] = { "uart3_rts_grp0", }; 1217 + static const char * const uart3_rts_grp1[] = { "uart3_rts_grp1", }; 1218 + static const char * const uart3_rts_grp2[] = { "uart3_rts_grp2", }; 1219 + static const char * const uart3_rxd_grp0[] = { "uart3_rxd_grp0", }; 1220 + static const char * const uart3_rxd_grp1[] = { "uart3_rxd_grp1", }; 1221 + static const char * const uart3_rxd_grp2[] = { "uart3_rxd_grp2", }; 1222 + static const char * const uart3_txd_grp0[] = { "uart3_txd_grp0", }; 1223 + static const char * const uart3_txd_grp1[] = { "uart3_txd_grp1", }; 1224 + static const char * const uart3_txd_grp2[] = { "uart3_txd_grp2", }; 1225 + static const char * const uart4_basic_grp[] = { "uart4_basic_grp", }; 1226 + static const char * const uart4_cts_grp0[] = { "uart4_cts_grp0", }; 1227 + static const char * const uart4_cts_grp1[] = { "uart4_cts_grp1", }; 1228 + static const char * const uart4_cts_grp2[] = { "uart4_cts_grp2", }; 1229 + static const char * const uart4_rts_grp0[] = { "uart4_rts_grp0", }; 1230 + static const char * const uart4_rts_grp1[] = { "uart4_rts_grp1", }; 1231 + static const char * const uart4_rts_grp2[] = { "uart4_rts_grp2", }; 1232 + static const char * const usb0_drvvbus_grp0[] = { "usb0_drvvbus_grp0", }; 1233 + static const char * const usb0_drvvbus_grp1[] = { "usb0_drvvbus_grp1", }; 1234 + static const char * const usb1_drvvbus_grp0[] = { "usb1_drvvbus_grp0", }; 1235 + static const char * const usb1_drvvbus_grp1[] = { "usb1_drvvbus_grp1", }; 1505 1236 static const char * const visbus_dout_grp[] = { "visbus_dout_grp", }; 1506 1237 static const char * const vi_vip1_grp[] = { "vi_vip1_grp", }; 1507 1238 static const char * const vi_vip1_ext_grp[] = { "vi_vip1_ext_grp", }; ··· 1685 1376 .pad_mux_list = lvds_gpio_grp_pad_mux, 1686 1377 }; 1687 1378 1688 - static struct atlas7_pad_mux uart_nand_gpio_grp_pad_mux[] = { 1379 + static struct atlas7_pad_mux jtag_uart_nand_gpio_grp_pad_mux[] = { 1689 1380 MUX(1, 44, 0, N, N, N, N), 1690 1381 MUX(1, 43, 0, N, N, N, N), 1691 1382 MUX(1, 42, 0, N, N, N, N), ··· 1710 1401 MUX(1, 138, 0, N, N, N, N), 1711 1402 MUX(1, 139, 0, N, N, N, N), 1712 1403 MUX(1, 140, 0, N, N, N, N), 1404 + MUX(1, 159, 0, N, N, N, N), 1405 + MUX(1, 160, 0, N, N, N, N), 1406 + MUX(1, 161, 0, N, N, N, N), 1407 + MUX(1, 162, 0, N, N, N, N), 1408 + MUX(1, 163, 0, N, N, N, N), 1713 1409 }; 1714 1410 1715 - static struct atlas7_grp_mux uart_nand_gpio_grp_mux = { 1716 - .pad_mux_count = ARRAY_SIZE(uart_nand_gpio_grp_pad_mux), 1717 - .pad_mux_list = uart_nand_gpio_grp_pad_mux, 1411 + static struct atlas7_grp_mux jtag_uart_nand_gpio_grp_mux = { 1412 + .pad_mux_count = ARRAY_SIZE(jtag_uart_nand_gpio_grp_pad_mux), 1413 + .pad_mux_list = jtag_uart_nand_gpio_grp_pad_mux, 1718 1414 }; 1719 1415 1720 1416 static struct atlas7_pad_mux rtc_gpio_grp_pad_mux[] = { ··· 1736 1422 MUX(0, 15, 0, N, N, N, N), 1737 1423 MUX(0, 16, 0, N, N, N, N), 1738 1424 MUX(0, 17, 0, N, N, N, N), 1425 + MUX(0, 9, 0, N, N, N, N), 1739 1426 }; 1740 1427 1741 1428 static struct atlas7_grp_mux rtc_gpio_grp_mux = { ··· 1754 1439 static struct atlas7_grp_mux audio_ac97_grp_mux = { 1755 1440 .pad_mux_count = ARRAY_SIZE(audio_ac97_grp_pad_mux), 1756 1441 .pad_mux_list = audio_ac97_grp_pad_mux, 1442 + }; 1443 + 1444 + static struct atlas7_pad_mux audio_digmic_grp0_pad_mux[] = { 1445 + MUX(1, 51, 3, 0xa10, 20, 0xa90, 20), 1446 + }; 1447 + 1448 + static struct atlas7_grp_mux audio_digmic_grp0_mux = { 1449 + .pad_mux_count = ARRAY_SIZE(audio_digmic_grp0_pad_mux), 1450 + .pad_mux_list = audio_digmic_grp0_pad_mux, 1451 + }; 1452 + 1453 + static struct atlas7_pad_mux audio_digmic_grp1_pad_mux[] = { 1454 + MUX(1, 122, 5, 0xa10, 20, 0xa90, 20), 1455 + }; 1456 + 1457 + static struct atlas7_grp_mux audio_digmic_grp1_mux = { 1458 + .pad_mux_count = ARRAY_SIZE(audio_digmic_grp1_pad_mux), 1459 + .pad_mux_list = audio_digmic_grp1_pad_mux, 1460 + }; 1461 + 1462 + static struct atlas7_pad_mux audio_digmic_grp2_pad_mux[] = { 1463 + MUX(1, 161, 7, 0xa10, 20, 0xa90, 20), 1464 + }; 1465 + 1466 + static struct atlas7_grp_mux audio_digmic_grp2_mux = { 1467 + .pad_mux_count = ARRAY_SIZE(audio_digmic_grp2_pad_mux), 1468 + .pad_mux_list = audio_digmic_grp2_pad_mux, 1757 1469 }; 1758 1470 1759 1471 static struct atlas7_pad_mux audio_func_dbg_grp_pad_mux[] = { ··· 1854 1512 .pad_mux_list = audio_i2s_extclk_grp_pad_mux, 1855 1513 }; 1856 1514 1857 - static struct atlas7_pad_mux audio_uart0_grp_pad_mux[] = { 1515 + static struct atlas7_pad_mux audio_spdif_out_grp0_pad_mux[] = { 1516 + MUX(1, 112, 3, N, N, N, N), 1517 + }; 1518 + 1519 + static struct atlas7_grp_mux audio_spdif_out_grp0_mux = { 1520 + .pad_mux_count = ARRAY_SIZE(audio_spdif_out_grp0_pad_mux), 1521 + .pad_mux_list = audio_spdif_out_grp0_pad_mux, 1522 + }; 1523 + 1524 + static struct atlas7_pad_mux audio_spdif_out_grp1_pad_mux[] = { 1525 + MUX(1, 116, 3, N, N, N, N), 1526 + }; 1527 + 1528 + static struct atlas7_grp_mux audio_spdif_out_grp1_mux = { 1529 + .pad_mux_count = ARRAY_SIZE(audio_spdif_out_grp1_pad_mux), 1530 + .pad_mux_list = audio_spdif_out_grp1_pad_mux, 1531 + }; 1532 + 1533 + static struct atlas7_pad_mux audio_spdif_out_grp2_pad_mux[] = { 1534 + MUX(1, 142, 3, N, N, N, N), 1535 + }; 1536 + 1537 + static struct atlas7_grp_mux audio_spdif_out_grp2_mux = { 1538 + .pad_mux_count = ARRAY_SIZE(audio_spdif_out_grp2_pad_mux), 1539 + .pad_mux_list = audio_spdif_out_grp2_pad_mux, 1540 + }; 1541 + 1542 + static struct atlas7_pad_mux audio_uart0_basic_grp_pad_mux[] = { 1858 1543 MUX(1, 143, 1, N, N, N, N), 1859 1544 MUX(1, 142, 1, N, N, N, N), 1860 1545 MUX(1, 141, 1, N, N, N, N), 1861 1546 MUX(1, 144, 1, N, N, N, N), 1862 1547 }; 1863 1548 1864 - static struct atlas7_grp_mux audio_uart0_grp_mux = { 1865 - .pad_mux_count = ARRAY_SIZE(audio_uart0_grp_pad_mux), 1866 - .pad_mux_list = audio_uart0_grp_pad_mux, 1549 + static struct atlas7_grp_mux audio_uart0_basic_grp_mux = { 1550 + .pad_mux_count = ARRAY_SIZE(audio_uart0_basic_grp_pad_mux), 1551 + .pad_mux_list = audio_uart0_basic_grp_pad_mux, 1867 1552 }; 1868 1553 1869 - static struct atlas7_pad_mux audio_uart1_grp_pad_mux[] = { 1870 - MUX(1, 147, 1, N, N, N, N), 1871 - MUX(1, 146, 1, N, N, N, N), 1872 - MUX(1, 145, 1, N, N, N, N), 1873 - MUX(1, 148, 1, N, N, N, N), 1554 + static struct atlas7_pad_mux audio_uart0_urfs_grp0_pad_mux[] = { 1555 + MUX(1, 117, 5, 0xa10, 28, 0xa90, 28), 1874 1556 }; 1875 1557 1876 - static struct atlas7_grp_mux audio_uart1_grp_mux = { 1877 - .pad_mux_count = ARRAY_SIZE(audio_uart1_grp_pad_mux), 1878 - .pad_mux_list = audio_uart1_grp_pad_mux, 1558 + static struct atlas7_grp_mux audio_uart0_urfs_grp0_mux = { 1559 + .pad_mux_count = ARRAY_SIZE(audio_uart0_urfs_grp0_pad_mux), 1560 + .pad_mux_list = audio_uart0_urfs_grp0_pad_mux, 1879 1561 }; 1880 1562 1881 - static struct atlas7_pad_mux audio_uart2_grp0_pad_mux[] = { 1563 + static struct atlas7_pad_mux audio_uart0_urfs_grp1_pad_mux[] = { 1564 + MUX(1, 139, 3, 0xa10, 28, 0xa90, 28), 1565 + }; 1566 + 1567 + static struct atlas7_grp_mux audio_uart0_urfs_grp1_mux = { 1568 + .pad_mux_count = ARRAY_SIZE(audio_uart0_urfs_grp1_pad_mux), 1569 + .pad_mux_list = audio_uart0_urfs_grp1_pad_mux, 1570 + }; 1571 + 1572 + static struct atlas7_pad_mux audio_uart0_urfs_grp2_pad_mux[] = { 1573 + MUX(1, 163, 3, 0xa10, 28, 0xa90, 28), 1574 + }; 1575 + 1576 + static struct atlas7_grp_mux audio_uart0_urfs_grp2_mux = { 1577 + .pad_mux_count = ARRAY_SIZE(audio_uart0_urfs_grp2_pad_mux), 1578 + .pad_mux_list = audio_uart0_urfs_grp2_pad_mux, 1579 + }; 1580 + 1581 + static struct atlas7_pad_mux audio_uart0_urfs_grp3_pad_mux[] = { 1582 + MUX(1, 162, 6, 0xa10, 28, 0xa90, 28), 1583 + }; 1584 + 1585 + static struct atlas7_grp_mux audio_uart0_urfs_grp3_mux = { 1586 + .pad_mux_count = ARRAY_SIZE(audio_uart0_urfs_grp3_pad_mux), 1587 + .pad_mux_list = audio_uart0_urfs_grp3_pad_mux, 1588 + }; 1589 + 1590 + static struct atlas7_pad_mux audio_uart1_basic_grp_pad_mux[] = { 1591 + MUX(1, 147, 1, 0xa10, 24, 0xa90, 24), 1592 + MUX(1, 146, 1, 0xa10, 25, 0xa90, 25), 1593 + MUX(1, 145, 1, 0xa10, 23, 0xa90, 23), 1594 + MUX(1, 148, 1, 0xa10, 22, 0xa90, 22), 1595 + }; 1596 + 1597 + static struct atlas7_grp_mux audio_uart1_basic_grp_mux = { 1598 + .pad_mux_count = ARRAY_SIZE(audio_uart1_basic_grp_pad_mux), 1599 + .pad_mux_list = audio_uart1_basic_grp_pad_mux, 1600 + }; 1601 + 1602 + static struct atlas7_pad_mux audio_uart1_urfs_grp0_pad_mux[] = { 1603 + MUX(1, 117, 6, 0xa10, 29, 0xa90, 29), 1604 + }; 1605 + 1606 + static struct atlas7_grp_mux audio_uart1_urfs_grp0_mux = { 1607 + .pad_mux_count = ARRAY_SIZE(audio_uart1_urfs_grp0_pad_mux), 1608 + .pad_mux_list = audio_uart1_urfs_grp0_pad_mux, 1609 + }; 1610 + 1611 + static struct atlas7_pad_mux audio_uart1_urfs_grp1_pad_mux[] = { 1612 + MUX(1, 140, 3, 0xa10, 29, 0xa90, 29), 1613 + }; 1614 + 1615 + static struct atlas7_grp_mux audio_uart1_urfs_grp1_mux = { 1616 + .pad_mux_count = ARRAY_SIZE(audio_uart1_urfs_grp1_pad_mux), 1617 + .pad_mux_list = audio_uart1_urfs_grp1_pad_mux, 1618 + }; 1619 + 1620 + static struct atlas7_pad_mux audio_uart1_urfs_grp2_pad_mux[] = { 1621 + MUX(1, 163, 4, 0xa10, 29, 0xa90, 29), 1622 + }; 1623 + 1624 + static struct atlas7_grp_mux audio_uart1_urfs_grp2_mux = { 1625 + .pad_mux_count = ARRAY_SIZE(audio_uart1_urfs_grp2_pad_mux), 1626 + .pad_mux_list = audio_uart1_urfs_grp2_pad_mux, 1627 + }; 1628 + 1629 + static struct atlas7_pad_mux audio_uart2_urfs_grp0_pad_mux[] = { 1630 + MUX(1, 139, 4, 0xa10, 30, 0xa90, 30), 1631 + }; 1632 + 1633 + static struct atlas7_grp_mux audio_uart2_urfs_grp0_mux = { 1634 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urfs_grp0_pad_mux), 1635 + .pad_mux_list = audio_uart2_urfs_grp0_pad_mux, 1636 + }; 1637 + 1638 + static struct atlas7_pad_mux audio_uart2_urfs_grp1_pad_mux[] = { 1639 + MUX(1, 163, 6, 0xa10, 30, 0xa90, 30), 1640 + }; 1641 + 1642 + static struct atlas7_grp_mux audio_uart2_urfs_grp1_mux = { 1643 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urfs_grp1_pad_mux), 1644 + .pad_mux_list = audio_uart2_urfs_grp1_pad_mux, 1645 + }; 1646 + 1647 + static struct atlas7_pad_mux audio_uart2_urfs_grp2_pad_mux[] = { 1648 + MUX(1, 96, 3, 0xa10, 30, 0xa90, 30), 1649 + }; 1650 + 1651 + static struct atlas7_grp_mux audio_uart2_urfs_grp2_mux = { 1652 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urfs_grp2_pad_mux), 1653 + .pad_mux_list = audio_uart2_urfs_grp2_pad_mux, 1654 + }; 1655 + 1656 + static struct atlas7_pad_mux audio_uart2_urxd_grp0_pad_mux[] = { 1882 1657 MUX(1, 20, 2, 0xa00, 24, 0xa80, 24), 1883 - MUX(1, 21, 2, 0xa00, 25, 0xa80, 25), 1658 + }; 1659 + 1660 + static struct atlas7_grp_mux audio_uart2_urxd_grp0_mux = { 1661 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urxd_grp0_pad_mux), 1662 + .pad_mux_list = audio_uart2_urxd_grp0_pad_mux, 1663 + }; 1664 + 1665 + static struct atlas7_pad_mux audio_uart2_urxd_grp1_pad_mux[] = { 1666 + MUX(1, 109, 2, 0xa00, 24, 0xa80, 24), 1667 + }; 1668 + 1669 + static struct atlas7_grp_mux audio_uart2_urxd_grp1_mux = { 1670 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urxd_grp1_pad_mux), 1671 + .pad_mux_list = audio_uart2_urxd_grp1_pad_mux, 1672 + }; 1673 + 1674 + static struct atlas7_pad_mux audio_uart2_urxd_grp2_pad_mux[] = { 1675 + MUX(1, 93, 3, 0xa00, 24, 0xa80, 24), 1676 + }; 1677 + 1678 + static struct atlas7_grp_mux audio_uart2_urxd_grp2_mux = { 1679 + .pad_mux_count = ARRAY_SIZE(audio_uart2_urxd_grp2_pad_mux), 1680 + .pad_mux_list = audio_uart2_urxd_grp2_pad_mux, 1681 + }; 1682 + 1683 + static struct atlas7_pad_mux audio_uart2_usclk_grp0_pad_mux[] = { 1884 1684 MUX(1, 19, 2, 0xa00, 23, 0xa80, 23), 1685 + }; 1686 + 1687 + static struct atlas7_grp_mux audio_uart2_usclk_grp0_mux = { 1688 + .pad_mux_count = ARRAY_SIZE(audio_uart2_usclk_grp0_pad_mux), 1689 + .pad_mux_list = audio_uart2_usclk_grp0_pad_mux, 1690 + }; 1691 + 1692 + static struct atlas7_pad_mux audio_uart2_usclk_grp1_pad_mux[] = { 1693 + MUX(1, 101, 2, 0xa00, 23, 0xa80, 23), 1694 + }; 1695 + 1696 + static struct atlas7_grp_mux audio_uart2_usclk_grp1_mux = { 1697 + .pad_mux_count = ARRAY_SIZE(audio_uart2_usclk_grp1_pad_mux), 1698 + .pad_mux_list = audio_uart2_usclk_grp1_pad_mux, 1699 + }; 1700 + 1701 + static struct atlas7_pad_mux audio_uart2_usclk_grp2_pad_mux[] = { 1702 + MUX(1, 91, 3, 0xa00, 23, 0xa80, 23), 1703 + }; 1704 + 1705 + static struct atlas7_grp_mux audio_uart2_usclk_grp2_mux = { 1706 + .pad_mux_count = ARRAY_SIZE(audio_uart2_usclk_grp2_pad_mux), 1707 + .pad_mux_list = audio_uart2_usclk_grp2_pad_mux, 1708 + }; 1709 + 1710 + static struct atlas7_pad_mux audio_uart2_utfs_grp0_pad_mux[] = { 1885 1711 MUX(1, 18, 2, 0xa00, 22, 0xa80, 22), 1886 1712 }; 1887 1713 1888 - static struct atlas7_grp_mux audio_uart2_grp0_mux = { 1889 - .pad_mux_count = ARRAY_SIZE(audio_uart2_grp0_pad_mux), 1890 - .pad_mux_list = audio_uart2_grp0_pad_mux, 1714 + static struct atlas7_grp_mux audio_uart2_utfs_grp0_mux = { 1715 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utfs_grp0_pad_mux), 1716 + .pad_mux_list = audio_uart2_utfs_grp0_pad_mux, 1891 1717 }; 1892 1718 1893 - static struct atlas7_pad_mux audio_uart2_grp1_pad_mux[] = { 1894 - MUX(1, 109, 2, 0xa00, 24, 0xa80, 24), 1895 - MUX(1, 110, 2, 0xa00, 25, 0xa80, 25), 1896 - MUX(1, 101, 2, 0xa00, 23, 0xa80, 23), 1719 + static struct atlas7_pad_mux audio_uart2_utfs_grp1_pad_mux[] = { 1897 1720 MUX(1, 111, 2, 0xa00, 22, 0xa80, 22), 1898 1721 }; 1899 1722 1900 - static struct atlas7_grp_mux audio_uart2_grp1_mux = { 1901 - .pad_mux_count = ARRAY_SIZE(audio_uart2_grp1_pad_mux), 1902 - .pad_mux_list = audio_uart2_grp1_pad_mux, 1723 + static struct atlas7_grp_mux audio_uart2_utfs_grp1_mux = { 1724 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utfs_grp1_pad_mux), 1725 + .pad_mux_list = audio_uart2_utfs_grp1_pad_mux, 1903 1726 }; 1904 1727 1905 - static struct atlas7_pad_mux c_can_trnsvr_grp_pad_mux[] = { 1728 + static struct atlas7_pad_mux audio_uart2_utfs_grp2_pad_mux[] = { 1729 + MUX(1, 94, 3, 0xa00, 22, 0xa80, 22), 1730 + }; 1731 + 1732 + static struct atlas7_grp_mux audio_uart2_utfs_grp2_mux = { 1733 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utfs_grp2_pad_mux), 1734 + .pad_mux_list = audio_uart2_utfs_grp2_pad_mux, 1735 + }; 1736 + 1737 + static struct atlas7_pad_mux audio_uart2_utxd_grp0_pad_mux[] = { 1738 + MUX(1, 21, 2, 0xa00, 25, 0xa80, 25), 1739 + }; 1740 + 1741 + static struct atlas7_grp_mux audio_uart2_utxd_grp0_mux = { 1742 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utxd_grp0_pad_mux), 1743 + .pad_mux_list = audio_uart2_utxd_grp0_pad_mux, 1744 + }; 1745 + 1746 + static struct atlas7_pad_mux audio_uart2_utxd_grp1_pad_mux[] = { 1747 + MUX(1, 110, 2, 0xa00, 25, 0xa80, 25), 1748 + }; 1749 + 1750 + static struct atlas7_grp_mux audio_uart2_utxd_grp1_mux = { 1751 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utxd_grp1_pad_mux), 1752 + .pad_mux_list = audio_uart2_utxd_grp1_pad_mux, 1753 + }; 1754 + 1755 + static struct atlas7_pad_mux audio_uart2_utxd_grp2_pad_mux[] = { 1756 + MUX(1, 92, 3, 0xa00, 25, 0xa80, 25), 1757 + }; 1758 + 1759 + static struct atlas7_grp_mux audio_uart2_utxd_grp2_mux = { 1760 + .pad_mux_count = ARRAY_SIZE(audio_uart2_utxd_grp2_pad_mux), 1761 + .pad_mux_list = audio_uart2_utxd_grp2_pad_mux, 1762 + }; 1763 + 1764 + static struct atlas7_pad_mux c_can_trnsvr_en_grp0_pad_mux[] = { 1765 + MUX(0, 2, 6, N, N, N, N), 1766 + }; 1767 + 1768 + static struct atlas7_grp_mux c_can_trnsvr_en_grp0_mux = { 1769 + .pad_mux_count = ARRAY_SIZE(c_can_trnsvr_en_grp0_pad_mux), 1770 + .pad_mux_list = c_can_trnsvr_en_grp0_pad_mux, 1771 + }; 1772 + 1773 + static struct atlas7_pad_mux c_can_trnsvr_en_grp1_pad_mux[] = { 1774 + MUX(0, 0, 2, N, N, N, N), 1775 + }; 1776 + 1777 + static struct atlas7_grp_mux c_can_trnsvr_en_grp1_mux = { 1778 + .pad_mux_count = ARRAY_SIZE(c_can_trnsvr_en_grp1_pad_mux), 1779 + .pad_mux_list = c_can_trnsvr_en_grp1_pad_mux, 1780 + }; 1781 + 1782 + static struct atlas7_pad_mux c_can_trnsvr_intr_grp_pad_mux[] = { 1906 1783 MUX(0, 1, 2, N, N, N, N), 1907 1784 }; 1908 1785 1909 - static struct atlas7_grp_mux c_can_trnsvr_grp_mux = { 1910 - .pad_mux_count = ARRAY_SIZE(c_can_trnsvr_grp_pad_mux), 1911 - .pad_mux_list = c_can_trnsvr_grp_pad_mux, 1786 + static struct atlas7_grp_mux c_can_trnsvr_intr_grp_mux = { 1787 + .pad_mux_count = ARRAY_SIZE(c_can_trnsvr_intr_grp_pad_mux), 1788 + .pad_mux_list = c_can_trnsvr_intr_grp_pad_mux, 1912 1789 }; 1913 1790 1914 - static struct atlas7_pad_mux c0_can_grp0_pad_mux[] = { 1791 + static struct atlas7_pad_mux c_can_trnsvr_stb_n_grp_pad_mux[] = { 1792 + MUX(0, 3, 6, N, N, N, N), 1793 + }; 1794 + 1795 + static struct atlas7_grp_mux c_can_trnsvr_stb_n_grp_mux = { 1796 + .pad_mux_count = ARRAY_SIZE(c_can_trnsvr_stb_n_grp_pad_mux), 1797 + .pad_mux_list = c_can_trnsvr_stb_n_grp_pad_mux, 1798 + }; 1799 + 1800 + static struct atlas7_pad_mux c0_can_rxd_trnsv0_grp_pad_mux[] = { 1915 1801 MUX(0, 11, 1, 0xa08, 9, 0xa88, 9), 1802 + }; 1803 + 1804 + static struct atlas7_grp_mux c0_can_rxd_trnsv0_grp_mux = { 1805 + .pad_mux_count = ARRAY_SIZE(c0_can_rxd_trnsv0_grp_pad_mux), 1806 + .pad_mux_list = c0_can_rxd_trnsv0_grp_pad_mux, 1807 + }; 1808 + 1809 + static struct atlas7_pad_mux c0_can_rxd_trnsv1_grp_pad_mux[] = { 1810 + MUX(0, 2, 5, 0xa10, 9, 0xa90, 9), 1811 + }; 1812 + 1813 + static struct atlas7_grp_mux c0_can_rxd_trnsv1_grp_mux = { 1814 + .pad_mux_count = ARRAY_SIZE(c0_can_rxd_trnsv1_grp_pad_mux), 1815 + .pad_mux_list = c0_can_rxd_trnsv1_grp_pad_mux, 1816 + }; 1817 + 1818 + static struct atlas7_pad_mux c0_can_txd_trnsv0_grp_pad_mux[] = { 1916 1819 MUX(0, 10, 1, N, N, N, N), 1917 1820 }; 1918 1821 1919 - static struct atlas7_grp_mux c0_can_grp0_mux = { 1920 - .pad_mux_count = ARRAY_SIZE(c0_can_grp0_pad_mux), 1921 - .pad_mux_list = c0_can_grp0_pad_mux, 1822 + static struct atlas7_grp_mux c0_can_txd_trnsv0_grp_mux = { 1823 + .pad_mux_count = ARRAY_SIZE(c0_can_txd_trnsv0_grp_pad_mux), 1824 + .pad_mux_list = c0_can_txd_trnsv0_grp_pad_mux, 1922 1825 }; 1923 1826 1924 - static struct atlas7_pad_mux c0_can_grp1_pad_mux[] = { 1925 - MUX(0, 2, 5, 0xa08, 9, 0xa88, 9), 1827 + static struct atlas7_pad_mux c0_can_txd_trnsv1_grp_pad_mux[] = { 1926 1828 MUX(0, 3, 5, N, N, N, N), 1927 1829 }; 1928 1830 1929 - static struct atlas7_grp_mux c0_can_grp1_mux = { 1930 - .pad_mux_count = ARRAY_SIZE(c0_can_grp1_pad_mux), 1931 - .pad_mux_list = c0_can_grp1_pad_mux, 1831 + static struct atlas7_grp_mux c0_can_txd_trnsv1_grp_mux = { 1832 + .pad_mux_count = ARRAY_SIZE(c0_can_txd_trnsv1_grp_pad_mux), 1833 + .pad_mux_list = c0_can_txd_trnsv1_grp_pad_mux, 1932 1834 }; 1933 1835 1934 - static struct atlas7_pad_mux c1_can_grp0_pad_mux[] = { 1836 + static struct atlas7_pad_mux c1_can_rxd_grp0_pad_mux[] = { 1935 1837 MUX(1, 138, 2, 0xa00, 4, 0xa80, 4), 1838 + }; 1839 + 1840 + static struct atlas7_grp_mux c1_can_rxd_grp0_mux = { 1841 + .pad_mux_count = ARRAY_SIZE(c1_can_rxd_grp0_pad_mux), 1842 + .pad_mux_list = c1_can_rxd_grp0_pad_mux, 1843 + }; 1844 + 1845 + static struct atlas7_pad_mux c1_can_rxd_grp1_pad_mux[] = { 1846 + MUX(1, 147, 2, 0xa00, 4, 0xa80, 4), 1847 + }; 1848 + 1849 + static struct atlas7_grp_mux c1_can_rxd_grp1_mux = { 1850 + .pad_mux_count = ARRAY_SIZE(c1_can_rxd_grp1_pad_mux), 1851 + .pad_mux_list = c1_can_rxd_grp1_pad_mux, 1852 + }; 1853 + 1854 + static struct atlas7_pad_mux c1_can_rxd_grp2_pad_mux[] = { 1855 + MUX(0, 2, 2, 0xa00, 4, 0xa80, 4), 1856 + }; 1857 + 1858 + static struct atlas7_grp_mux c1_can_rxd_grp2_mux = { 1859 + .pad_mux_count = ARRAY_SIZE(c1_can_rxd_grp2_pad_mux), 1860 + .pad_mux_list = c1_can_rxd_grp2_pad_mux, 1861 + }; 1862 + 1863 + static struct atlas7_pad_mux c1_can_rxd_grp3_pad_mux[] = { 1864 + MUX(1, 162, 4, 0xa00, 4, 0xa80, 4), 1865 + }; 1866 + 1867 + static struct atlas7_grp_mux c1_can_rxd_grp3_mux = { 1868 + .pad_mux_count = ARRAY_SIZE(c1_can_rxd_grp3_pad_mux), 1869 + .pad_mux_list = c1_can_rxd_grp3_pad_mux, 1870 + }; 1871 + 1872 + static struct atlas7_pad_mux c1_can_txd_grp0_pad_mux[] = { 1936 1873 MUX(1, 137, 2, N, N, N, N), 1937 1874 }; 1938 1875 1939 - static struct atlas7_grp_mux c1_can_grp0_mux = { 1940 - .pad_mux_count = ARRAY_SIZE(c1_can_grp0_pad_mux), 1941 - .pad_mux_list = c1_can_grp0_pad_mux, 1876 + static struct atlas7_grp_mux c1_can_txd_grp0_mux = { 1877 + .pad_mux_count = ARRAY_SIZE(c1_can_txd_grp0_pad_mux), 1878 + .pad_mux_list = c1_can_txd_grp0_pad_mux, 1942 1879 }; 1943 1880 1944 - static struct atlas7_pad_mux c1_can_grp1_pad_mux[] = { 1945 - MUX(1, 147, 2, 0xa00, 4, 0xa80, 4), 1881 + static struct atlas7_pad_mux c1_can_txd_grp1_pad_mux[] = { 1946 1882 MUX(1, 146, 2, N, N, N, N), 1947 1883 }; 1948 1884 1949 - static struct atlas7_grp_mux c1_can_grp1_mux = { 1950 - .pad_mux_count = ARRAY_SIZE(c1_can_grp1_pad_mux), 1951 - .pad_mux_list = c1_can_grp1_pad_mux, 1885 + static struct atlas7_grp_mux c1_can_txd_grp1_mux = { 1886 + .pad_mux_count = ARRAY_SIZE(c1_can_txd_grp1_pad_mux), 1887 + .pad_mux_list = c1_can_txd_grp1_pad_mux, 1952 1888 }; 1953 1889 1954 - static struct atlas7_pad_mux c1_can_grp2_pad_mux[] = { 1955 - MUX(0, 2, 2, 0xa00, 4, 0xa80, 4), 1890 + static struct atlas7_pad_mux c1_can_txd_grp2_pad_mux[] = { 1956 1891 MUX(0, 3, 2, N, N, N, N), 1957 1892 }; 1958 1893 1959 - static struct atlas7_grp_mux c1_can_grp2_mux = { 1960 - .pad_mux_count = ARRAY_SIZE(c1_can_grp2_pad_mux), 1961 - .pad_mux_list = c1_can_grp2_pad_mux, 1894 + static struct atlas7_grp_mux c1_can_txd_grp2_mux = { 1895 + .pad_mux_count = ARRAY_SIZE(c1_can_txd_grp2_pad_mux), 1896 + .pad_mux_list = c1_can_txd_grp2_pad_mux, 1897 + }; 1898 + 1899 + static struct atlas7_pad_mux c1_can_txd_grp3_pad_mux[] = { 1900 + MUX(1, 161, 4, N, N, N, N), 1901 + }; 1902 + 1903 + static struct atlas7_grp_mux c1_can_txd_grp3_mux = { 1904 + .pad_mux_count = ARRAY_SIZE(c1_can_txd_grp3_pad_mux), 1905 + .pad_mux_list = c1_can_txd_grp3_pad_mux, 1962 1906 }; 1963 1907 1964 1908 static struct atlas7_pad_mux ca_audio_lpc_grp_pad_mux[] = { ··· 2826 2198 .pad_mux_list = i2c1_grp_pad_mux, 2827 2199 }; 2828 2200 2829 - static struct atlas7_pad_mux jtag_grp0_pad_mux[] = { 2201 + static struct atlas7_pad_mux i2s0_grp_pad_mux[] = { 2202 + MUX(1, 91, 2, 0xa10, 12, 0xa90, 12), 2203 + MUX(1, 93, 2, 0xa10, 13, 0xa90, 13), 2204 + MUX(1, 94, 2, 0xa10, 14, 0xa90, 14), 2205 + MUX(1, 92, 2, 0xa10, 15, 0xa90, 15), 2206 + }; 2207 + 2208 + static struct atlas7_grp_mux i2s0_grp_mux = { 2209 + .pad_mux_count = ARRAY_SIZE(i2s0_grp_pad_mux), 2210 + .pad_mux_list = i2s0_grp_pad_mux, 2211 + }; 2212 + 2213 + static struct atlas7_pad_mux i2s1_basic_grp_pad_mux[] = { 2214 + MUX(1, 95, 2, 0xa10, 16, 0xa90, 16), 2215 + MUX(1, 96, 2, 0xa10, 19, 0xa90, 19), 2216 + }; 2217 + 2218 + static struct atlas7_grp_mux i2s1_basic_grp_mux = { 2219 + .pad_mux_count = ARRAY_SIZE(i2s1_basic_grp_pad_mux), 2220 + .pad_mux_list = i2s1_basic_grp_pad_mux, 2221 + }; 2222 + 2223 + static struct atlas7_pad_mux i2s1_rxd0_grp0_pad_mux[] = { 2224 + MUX(1, 61, 4, 0xa10, 17, 0xa90, 17), 2225 + }; 2226 + 2227 + static struct atlas7_grp_mux i2s1_rxd0_grp0_mux = { 2228 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd0_grp0_pad_mux), 2229 + .pad_mux_list = i2s1_rxd0_grp0_pad_mux, 2230 + }; 2231 + 2232 + static struct atlas7_pad_mux i2s1_rxd0_grp1_pad_mux[] = { 2233 + MUX(1, 131, 4, 0xa10, 17, 0xa90, 17), 2234 + }; 2235 + 2236 + static struct atlas7_grp_mux i2s1_rxd0_grp1_mux = { 2237 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd0_grp1_pad_mux), 2238 + .pad_mux_list = i2s1_rxd0_grp1_pad_mux, 2239 + }; 2240 + 2241 + static struct atlas7_pad_mux i2s1_rxd0_grp2_pad_mux[] = { 2242 + MUX(1, 129, 2, 0xa10, 17, 0xa90, 17), 2243 + }; 2244 + 2245 + static struct atlas7_grp_mux i2s1_rxd0_grp2_mux = { 2246 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd0_grp2_pad_mux), 2247 + .pad_mux_list = i2s1_rxd0_grp2_pad_mux, 2248 + }; 2249 + 2250 + static struct atlas7_pad_mux i2s1_rxd0_grp3_pad_mux[] = { 2251 + MUX(1, 117, 7, 0xa10, 17, 0xa90, 17), 2252 + }; 2253 + 2254 + static struct atlas7_grp_mux i2s1_rxd0_grp3_mux = { 2255 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd0_grp3_pad_mux), 2256 + .pad_mux_list = i2s1_rxd0_grp3_pad_mux, 2257 + }; 2258 + 2259 + static struct atlas7_pad_mux i2s1_rxd0_grp4_pad_mux[] = { 2260 + MUX(1, 83, 4, 0xa10, 17, 0xa90, 17), 2261 + }; 2262 + 2263 + static struct atlas7_grp_mux i2s1_rxd0_grp4_mux = { 2264 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd0_grp4_pad_mux), 2265 + .pad_mux_list = i2s1_rxd0_grp4_pad_mux, 2266 + }; 2267 + 2268 + static struct atlas7_pad_mux i2s1_rxd1_grp0_pad_mux[] = { 2269 + MUX(1, 72, 4, 0xa10, 18, 0xa90, 18), 2270 + }; 2271 + 2272 + static struct atlas7_grp_mux i2s1_rxd1_grp0_mux = { 2273 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd1_grp0_pad_mux), 2274 + .pad_mux_list = i2s1_rxd1_grp0_pad_mux, 2275 + }; 2276 + 2277 + static struct atlas7_pad_mux i2s1_rxd1_grp1_pad_mux[] = { 2278 + MUX(1, 132, 4, 0xa10, 18, 0xa90, 18), 2279 + }; 2280 + 2281 + static struct atlas7_grp_mux i2s1_rxd1_grp1_mux = { 2282 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd1_grp1_pad_mux), 2283 + .pad_mux_list = i2s1_rxd1_grp1_pad_mux, 2284 + }; 2285 + 2286 + static struct atlas7_pad_mux i2s1_rxd1_grp2_pad_mux[] = { 2287 + MUX(1, 130, 2, 0xa10, 18, 0xa90, 18), 2288 + }; 2289 + 2290 + static struct atlas7_grp_mux i2s1_rxd1_grp2_mux = { 2291 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd1_grp2_pad_mux), 2292 + .pad_mux_list = i2s1_rxd1_grp2_pad_mux, 2293 + }; 2294 + 2295 + static struct atlas7_pad_mux i2s1_rxd1_grp3_pad_mux[] = { 2296 + MUX(1, 118, 7, 0xa10, 18, 0xa90, 18), 2297 + }; 2298 + 2299 + static struct atlas7_grp_mux i2s1_rxd1_grp3_mux = { 2300 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd1_grp3_pad_mux), 2301 + .pad_mux_list = i2s1_rxd1_grp3_pad_mux, 2302 + }; 2303 + 2304 + static struct atlas7_pad_mux i2s1_rxd1_grp4_pad_mux[] = { 2305 + MUX(1, 84, 4, 0xa10, 18, 0xa90, 18), 2306 + }; 2307 + 2308 + static struct atlas7_grp_mux i2s1_rxd1_grp4_mux = { 2309 + .pad_mux_count = ARRAY_SIZE(i2s1_rxd1_grp4_pad_mux), 2310 + .pad_mux_list = i2s1_rxd1_grp4_pad_mux, 2311 + }; 2312 + 2313 + static struct atlas7_pad_mux jtag_jt_dbg_nsrst_grp_pad_mux[] = { 2830 2314 MUX(1, 125, 5, 0xa08, 2, 0xa88, 2), 2315 + }; 2316 + 2317 + static struct atlas7_grp_mux jtag_jt_dbg_nsrst_grp_mux = { 2318 + .pad_mux_count = ARRAY_SIZE(jtag_jt_dbg_nsrst_grp_pad_mux), 2319 + .pad_mux_list = jtag_jt_dbg_nsrst_grp_pad_mux, 2320 + }; 2321 + 2322 + static struct atlas7_pad_mux jtag_ntrst_grp0_pad_mux[] = { 2831 2323 MUX(0, 4, 3, 0xa08, 3, 0xa88, 3), 2832 - MUX(0, 2, 3, N, N, N, N), 2833 - MUX(0, 0, 3, N, N, N, N), 2834 - MUX(0, 1, 3, N, N, N, N), 2324 + }; 2325 + 2326 + static struct atlas7_grp_mux jtag_ntrst_grp0_mux = { 2327 + .pad_mux_count = ARRAY_SIZE(jtag_ntrst_grp0_pad_mux), 2328 + .pad_mux_list = jtag_ntrst_grp0_pad_mux, 2329 + }; 2330 + 2331 + static struct atlas7_pad_mux jtag_ntrst_grp1_pad_mux[] = { 2332 + MUX(1, 163, 1, 0xa08, 3, 0xa88, 3), 2333 + }; 2334 + 2335 + static struct atlas7_grp_mux jtag_ntrst_grp1_mux = { 2336 + .pad_mux_count = ARRAY_SIZE(jtag_ntrst_grp1_pad_mux), 2337 + .pad_mux_list = jtag_ntrst_grp1_pad_mux, 2338 + }; 2339 + 2340 + static struct atlas7_pad_mux jtag_swdiotms_grp0_pad_mux[] = { 2341 + MUX(0, 2, 3, 0xa10, 10, 0xa90, 10), 2342 + }; 2343 + 2344 + static struct atlas7_grp_mux jtag_swdiotms_grp0_mux = { 2345 + .pad_mux_count = ARRAY_SIZE(jtag_swdiotms_grp0_pad_mux), 2346 + .pad_mux_list = jtag_swdiotms_grp0_pad_mux, 2347 + }; 2348 + 2349 + static struct atlas7_pad_mux jtag_swdiotms_grp1_pad_mux[] = { 2350 + MUX(1, 160, 1, 0xa10, 10, 0xa90, 10), 2351 + }; 2352 + 2353 + static struct atlas7_grp_mux jtag_swdiotms_grp1_mux = { 2354 + .pad_mux_count = ARRAY_SIZE(jtag_swdiotms_grp1_pad_mux), 2355 + .pad_mux_list = jtag_swdiotms_grp1_pad_mux, 2356 + }; 2357 + 2358 + static struct atlas7_pad_mux jtag_tck_grp0_pad_mux[] = { 2359 + MUX(0, 0, 3, 0xa10, 11, 0xa90, 11), 2360 + }; 2361 + 2362 + static struct atlas7_grp_mux jtag_tck_grp0_mux = { 2363 + .pad_mux_count = ARRAY_SIZE(jtag_tck_grp0_pad_mux), 2364 + .pad_mux_list = jtag_tck_grp0_pad_mux, 2365 + }; 2366 + 2367 + static struct atlas7_pad_mux jtag_tck_grp1_pad_mux[] = { 2368 + MUX(1, 161, 1, 0xa10, 11, 0xa90, 11), 2369 + }; 2370 + 2371 + static struct atlas7_grp_mux jtag_tck_grp1_mux = { 2372 + .pad_mux_count = ARRAY_SIZE(jtag_tck_grp1_pad_mux), 2373 + .pad_mux_list = jtag_tck_grp1_pad_mux, 2374 + }; 2375 + 2376 + static struct atlas7_pad_mux jtag_tdi_grp0_pad_mux[] = { 2377 + MUX(0, 1, 3, 0xa10, 31, 0xa90, 31), 2378 + }; 2379 + 2380 + static struct atlas7_grp_mux jtag_tdi_grp0_mux = { 2381 + .pad_mux_count = ARRAY_SIZE(jtag_tdi_grp0_pad_mux), 2382 + .pad_mux_list = jtag_tdi_grp0_pad_mux, 2383 + }; 2384 + 2385 + static struct atlas7_pad_mux jtag_tdi_grp1_pad_mux[] = { 2386 + MUX(1, 162, 1, 0xa10, 31, 0xa90, 31), 2387 + }; 2388 + 2389 + static struct atlas7_grp_mux jtag_tdi_grp1_mux = { 2390 + .pad_mux_count = ARRAY_SIZE(jtag_tdi_grp1_pad_mux), 2391 + .pad_mux_list = jtag_tdi_grp1_pad_mux, 2392 + }; 2393 + 2394 + static struct atlas7_pad_mux jtag_tdo_grp0_pad_mux[] = { 2835 2395 MUX(0, 3, 3, N, N, N, N), 2836 2396 }; 2837 2397 2838 - static struct atlas7_grp_mux jtag_grp0_mux = { 2839 - .pad_mux_count = ARRAY_SIZE(jtag_grp0_pad_mux), 2840 - .pad_mux_list = jtag_grp0_pad_mux, 2398 + static struct atlas7_grp_mux jtag_tdo_grp0_mux = { 2399 + .pad_mux_count = ARRAY_SIZE(jtag_tdo_grp0_pad_mux), 2400 + .pad_mux_list = jtag_tdo_grp0_pad_mux, 2401 + }; 2402 + 2403 + static struct atlas7_pad_mux jtag_tdo_grp1_pad_mux[] = { 2404 + MUX(1, 159, 1, N, N, N, N), 2405 + }; 2406 + 2407 + static struct atlas7_grp_mux jtag_tdo_grp1_mux = { 2408 + .pad_mux_count = ARRAY_SIZE(jtag_tdo_grp1_pad_mux), 2409 + .pad_mux_list = jtag_tdo_grp1_pad_mux, 2841 2410 }; 2842 2411 2843 2412 static struct atlas7_pad_mux ks_kas_spi_grp0_pad_mux[] = { ··· 3226 2401 static struct atlas7_pad_mux ps_grp_pad_mux[] = { 3227 2402 MUX(1, 120, 2, N, N, N, N), 3228 2403 MUX(1, 119, 2, N, N, N, N), 2404 + MUX(1, 121, 5, N, N, N, N), 3229 2405 }; 3230 2406 3231 2407 static struct atlas7_grp_mux ps_grp_mux = { ··· 3360 2534 .pad_mux_list = pw_cko0_grp2_pad_mux, 3361 2535 }; 3362 2536 2537 + static struct atlas7_pad_mux pw_cko0_grp3_pad_mux[] = { 2538 + MUX(1, 162, 5, N, N, N, N), 2539 + }; 2540 + 2541 + static struct atlas7_grp_mux pw_cko0_grp3_mux = { 2542 + .pad_mux_count = ARRAY_SIZE(pw_cko0_grp3_pad_mux), 2543 + .pad_mux_list = pw_cko0_grp3_pad_mux, 2544 + }; 2545 + 3363 2546 static struct atlas7_pad_mux pw_cko1_grp0_pad_mux[] = { 3364 2547 MUX(1, 124, 3, N, N, N, N), 3365 2548 }; ··· 3385 2550 static struct atlas7_grp_mux pw_cko1_grp1_mux = { 3386 2551 .pad_mux_count = ARRAY_SIZE(pw_cko1_grp1_pad_mux), 3387 2552 .pad_mux_list = pw_cko1_grp1_pad_mux, 2553 + }; 2554 + 2555 + static struct atlas7_pad_mux pw_cko1_grp2_pad_mux[] = { 2556 + MUX(1, 163, 5, N, N, N, N), 2557 + }; 2558 + 2559 + static struct atlas7_grp_mux pw_cko1_grp2_mux = { 2560 + .pad_mux_count = ARRAY_SIZE(pw_cko1_grp2_pad_mux), 2561 + .pad_mux_list = pw_cko1_grp2_pad_mux, 3388 2562 }; 3389 2563 3390 2564 static struct atlas7_pad_mux pw_i2s01_clk_grp0_pad_mux[] = { ··· 3414 2570 .pad_mux_list = pw_i2s01_clk_grp1_pad_mux, 3415 2571 }; 3416 2572 3417 - static struct atlas7_pad_mux pw_pwm0_grp_pad_mux[] = { 2573 + static struct atlas7_pad_mux pw_i2s01_clk_grp2_pad_mux[] = { 2574 + MUX(1, 132, 2, N, N, N, N), 2575 + }; 2576 + 2577 + static struct atlas7_grp_mux pw_i2s01_clk_grp2_mux = { 2578 + .pad_mux_count = ARRAY_SIZE(pw_i2s01_clk_grp2_pad_mux), 2579 + .pad_mux_list = pw_i2s01_clk_grp2_pad_mux, 2580 + }; 2581 + 2582 + static struct atlas7_pad_mux pw_pwm0_grp0_pad_mux[] = { 3418 2583 MUX(1, 119, 3, N, N, N, N), 3419 2584 }; 3420 2585 3421 - static struct atlas7_grp_mux pw_pwm0_grp_mux = { 3422 - .pad_mux_count = ARRAY_SIZE(pw_pwm0_grp_pad_mux), 3423 - .pad_mux_list = pw_pwm0_grp_pad_mux, 2586 + static struct atlas7_grp_mux pw_pwm0_grp0_mux = { 2587 + .pad_mux_count = ARRAY_SIZE(pw_pwm0_grp0_pad_mux), 2588 + .pad_mux_list = pw_pwm0_grp0_pad_mux, 3424 2589 }; 3425 2590 3426 - static struct atlas7_pad_mux pw_pwm1_grp_pad_mux[] = { 2591 + static struct atlas7_pad_mux pw_pwm0_grp1_pad_mux[] = { 2592 + MUX(1, 159, 5, N, N, N, N), 2593 + }; 2594 + 2595 + static struct atlas7_grp_mux pw_pwm0_grp1_mux = { 2596 + .pad_mux_count = ARRAY_SIZE(pw_pwm0_grp1_pad_mux), 2597 + .pad_mux_list = pw_pwm0_grp1_pad_mux, 2598 + }; 2599 + 2600 + static struct atlas7_pad_mux pw_pwm1_grp0_pad_mux[] = { 3427 2601 MUX(1, 120, 3, N, N, N, N), 3428 2602 }; 3429 2603 3430 - static struct atlas7_grp_mux pw_pwm1_grp_mux = { 3431 - .pad_mux_count = ARRAY_SIZE(pw_pwm1_grp_pad_mux), 3432 - .pad_mux_list = pw_pwm1_grp_pad_mux, 2604 + static struct atlas7_grp_mux pw_pwm1_grp0_mux = { 2605 + .pad_mux_count = ARRAY_SIZE(pw_pwm1_grp0_pad_mux), 2606 + .pad_mux_list = pw_pwm1_grp0_pad_mux, 2607 + }; 2608 + 2609 + static struct atlas7_pad_mux pw_pwm1_grp1_pad_mux[] = { 2610 + MUX(1, 160, 5, N, N, N, N), 2611 + }; 2612 + 2613 + static struct atlas7_grp_mux pw_pwm1_grp1_mux = { 2614 + .pad_mux_count = ARRAY_SIZE(pw_pwm1_grp1_pad_mux), 2615 + .pad_mux_list = pw_pwm1_grp1_pad_mux, 2616 + }; 2617 + 2618 + static struct atlas7_pad_mux pw_pwm1_grp2_pad_mux[] = { 2619 + MUX(1, 131, 2, N, N, N, N), 2620 + }; 2621 + 2622 + static struct atlas7_grp_mux pw_pwm1_grp2_mux = { 2623 + .pad_mux_count = ARRAY_SIZE(pw_pwm1_grp2_pad_mux), 2624 + .pad_mux_list = pw_pwm1_grp2_pad_mux, 3433 2625 }; 3434 2626 3435 2627 static struct atlas7_pad_mux pw_pwm2_grp0_pad_mux[] = { ··· 3484 2604 static struct atlas7_grp_mux pw_pwm2_grp1_mux = { 3485 2605 .pad_mux_count = ARRAY_SIZE(pw_pwm2_grp1_pad_mux), 3486 2606 .pad_mux_list = pw_pwm2_grp1_pad_mux, 2607 + }; 2608 + 2609 + static struct atlas7_pad_mux pw_pwm2_grp2_pad_mux[] = { 2610 + MUX(1, 161, 5, N, N, N, N), 2611 + }; 2612 + 2613 + static struct atlas7_grp_mux pw_pwm2_grp2_mux = { 2614 + .pad_mux_count = ARRAY_SIZE(pw_pwm2_grp2_pad_mux), 2615 + .pad_mux_list = pw_pwm2_grp2_pad_mux, 3487 2616 }; 3488 2617 3489 2618 static struct atlas7_pad_mux pw_pwm3_grp0_pad_mux[] = { ··· 3529 2640 static struct atlas7_grp_mux pw_pwm_cpu_vol_grp1_mux = { 3530 2641 .pad_mux_count = ARRAY_SIZE(pw_pwm_cpu_vol_grp1_pad_mux), 3531 2642 .pad_mux_list = pw_pwm_cpu_vol_grp1_pad_mux, 2643 + }; 2644 + 2645 + static struct atlas7_pad_mux pw_pwm_cpu_vol_grp2_pad_mux[] = { 2646 + MUX(1, 161, 5, N, N, N, N), 2647 + }; 2648 + 2649 + static struct atlas7_grp_mux pw_pwm_cpu_vol_grp2_mux = { 2650 + .pad_mux_count = ARRAY_SIZE(pw_pwm_cpu_vol_grp2_pad_mux), 2651 + .pad_mux_list = pw_pwm_cpu_vol_grp2_pad_mux, 3532 2652 }; 3533 2653 3534 2654 static struct atlas7_pad_mux pw_backlight_grp0_pad_mux[] = { ··· 3693 2795 .pad_mux_list = sd1_4bit_grp1_pad_mux, 3694 2796 }; 3695 2797 3696 - static struct atlas7_pad_mux sd2_grp0_pad_mux[] = { 2798 + static struct atlas7_pad_mux sd2_basic_grp_pad_mux[] = { 2799 + MUX(1, 31, 1, N, N, N, N), 2800 + MUX(1, 32, 1, N, N, N, N), 2801 + MUX(1, 33, 1, N, N, N, N), 2802 + MUX(1, 34, 1, N, N, N, N), 2803 + MUX(1, 35, 1, N, N, N, N), 2804 + MUX(1, 36, 1, N, N, N, N), 2805 + }; 2806 + 2807 + static struct atlas7_grp_mux sd2_basic_grp_mux = { 2808 + .pad_mux_count = ARRAY_SIZE(sd2_basic_grp_pad_mux), 2809 + .pad_mux_list = sd2_basic_grp_pad_mux, 2810 + }; 2811 + 2812 + static struct atlas7_pad_mux sd2_cdb_grp0_pad_mux[] = { 3697 2813 MUX(1, 124, 2, 0xa08, 7, 0xa88, 7), 3698 - MUX(1, 31, 1, N, N, N, N), 3699 - MUX(1, 32, 1, N, N, N, N), 3700 - MUX(1, 33, 1, N, N, N, N), 3701 - MUX(1, 34, 1, N, N, N, N), 3702 - MUX(1, 35, 1, N, N, N, N), 3703 - MUX(1, 36, 1, N, N, N, N), 3704 - MUX(1, 123, 2, N, N, N, N), 3705 2814 }; 3706 2815 3707 - static struct atlas7_grp_mux sd2_grp0_mux = { 3708 - .pad_mux_count = ARRAY_SIZE(sd2_grp0_pad_mux), 3709 - .pad_mux_list = sd2_grp0_pad_mux, 2816 + static struct atlas7_grp_mux sd2_cdb_grp0_mux = { 2817 + .pad_mux_count = ARRAY_SIZE(sd2_cdb_grp0_pad_mux), 2818 + .pad_mux_list = sd2_cdb_grp0_pad_mux, 3710 2819 }; 3711 2820 3712 - static struct atlas7_pad_mux sd2_no_cdb_grp0_pad_mux[] = { 3713 - MUX(1, 31, 1, N, N, N, N), 3714 - MUX(1, 32, 1, N, N, N, N), 3715 - MUX(1, 33, 1, N, N, N, N), 3716 - MUX(1, 34, 1, N, N, N, N), 3717 - MUX(1, 35, 1, N, N, N, N), 3718 - MUX(1, 36, 1, N, N, N, N), 3719 - MUX(1, 123, 2, N, N, N, N), 2821 + static struct atlas7_pad_mux sd2_cdb_grp1_pad_mux[] = { 2822 + MUX(1, 161, 6, 0xa08, 7, 0xa88, 7), 3720 2823 }; 3721 2824 3722 - static struct atlas7_grp_mux sd2_no_cdb_grp0_mux = { 3723 - .pad_mux_count = ARRAY_SIZE(sd2_no_cdb_grp0_pad_mux), 3724 - .pad_mux_list = sd2_no_cdb_grp0_pad_mux, 2825 + static struct atlas7_grp_mux sd2_cdb_grp1_mux = { 2826 + .pad_mux_count = ARRAY_SIZE(sd2_cdb_grp1_pad_mux), 2827 + .pad_mux_list = sd2_cdb_grp1_pad_mux, 2828 + }; 2829 + 2830 + static struct atlas7_pad_mux sd2_wpb_grp0_pad_mux[] = { 2831 + MUX(1, 123, 2, 0xa10, 6, 0xa90, 6), 2832 + }; 2833 + 2834 + static struct atlas7_grp_mux sd2_wpb_grp0_mux = { 2835 + .pad_mux_count = ARRAY_SIZE(sd2_wpb_grp0_pad_mux), 2836 + .pad_mux_list = sd2_wpb_grp0_pad_mux, 2837 + }; 2838 + 2839 + static struct atlas7_pad_mux sd2_wpb_grp1_pad_mux[] = { 2840 + MUX(1, 163, 7, 0xa10, 6, 0xa90, 6), 2841 + }; 2842 + 2843 + static struct atlas7_grp_mux sd2_wpb_grp1_mux = { 2844 + .pad_mux_count = ARRAY_SIZE(sd2_wpb_grp1_pad_mux), 2845 + .pad_mux_list = sd2_wpb_grp1_pad_mux, 3725 2846 }; 3726 2847 3727 2848 static struct atlas7_pad_mux sd3_grp_pad_mux[] = { ··· 3892 2975 .pad_mux_list = uart1_grp_pad_mux, 3893 2976 }; 3894 2977 3895 - static struct atlas7_pad_mux uart2_grp_pad_mux[] = { 3896 - MUX(0, 11, 2, N, N, N, N), 2978 + static struct atlas7_pad_mux uart2_cts_grp0_pad_mux[] = { 2979 + MUX(1, 132, 3, 0xa10, 2, 0xa90, 2), 2980 + }; 2981 + 2982 + static struct atlas7_grp_mux uart2_cts_grp0_mux = { 2983 + .pad_mux_count = ARRAY_SIZE(uart2_cts_grp0_pad_mux), 2984 + .pad_mux_list = uart2_cts_grp0_pad_mux, 2985 + }; 2986 + 2987 + static struct atlas7_pad_mux uart2_cts_grp1_pad_mux[] = { 2988 + MUX(1, 162, 2, 0xa10, 2, 0xa90, 2), 2989 + }; 2990 + 2991 + static struct atlas7_grp_mux uart2_cts_grp1_mux = { 2992 + .pad_mux_count = ARRAY_SIZE(uart2_cts_grp1_pad_mux), 2993 + .pad_mux_list = uart2_cts_grp1_pad_mux, 2994 + }; 2995 + 2996 + static struct atlas7_pad_mux uart2_rts_grp0_pad_mux[] = { 2997 + MUX(1, 131, 3, N, N, N, N), 2998 + }; 2999 + 3000 + static struct atlas7_grp_mux uart2_rts_grp0_mux = { 3001 + .pad_mux_count = ARRAY_SIZE(uart2_rts_grp0_pad_mux), 3002 + .pad_mux_list = uart2_rts_grp0_pad_mux, 3003 + }; 3004 + 3005 + static struct atlas7_pad_mux uart2_rts_grp1_pad_mux[] = { 3006 + MUX(1, 161, 2, N, N, N, N), 3007 + }; 3008 + 3009 + static struct atlas7_grp_mux uart2_rts_grp1_mux = { 3010 + .pad_mux_count = ARRAY_SIZE(uart2_rts_grp1_pad_mux), 3011 + .pad_mux_list = uart2_rts_grp1_pad_mux, 3012 + }; 3013 + 3014 + static struct atlas7_pad_mux uart2_rxd_grp0_pad_mux[] = { 3015 + MUX(0, 11, 2, 0xa10, 5, 0xa90, 5), 3016 + }; 3017 + 3018 + static struct atlas7_grp_mux uart2_rxd_grp0_mux = { 3019 + .pad_mux_count = ARRAY_SIZE(uart2_rxd_grp0_pad_mux), 3020 + .pad_mux_list = uart2_rxd_grp0_pad_mux, 3021 + }; 3022 + 3023 + static struct atlas7_pad_mux uart2_rxd_grp1_pad_mux[] = { 3024 + MUX(1, 160, 2, 0xa10, 5, 0xa90, 5), 3025 + }; 3026 + 3027 + static struct atlas7_grp_mux uart2_rxd_grp1_mux = { 3028 + .pad_mux_count = ARRAY_SIZE(uart2_rxd_grp1_pad_mux), 3029 + .pad_mux_list = uart2_rxd_grp1_pad_mux, 3030 + }; 3031 + 3032 + static struct atlas7_pad_mux uart2_rxd_grp2_pad_mux[] = { 3033 + MUX(1, 130, 3, 0xa10, 5, 0xa90, 5), 3034 + }; 3035 + 3036 + static struct atlas7_grp_mux uart2_rxd_grp2_mux = { 3037 + .pad_mux_count = ARRAY_SIZE(uart2_rxd_grp2_pad_mux), 3038 + .pad_mux_list = uart2_rxd_grp2_pad_mux, 3039 + }; 3040 + 3041 + static struct atlas7_pad_mux uart2_txd_grp0_pad_mux[] = { 3897 3042 MUX(0, 10, 2, N, N, N, N), 3898 3043 }; 3899 3044 3900 - static struct atlas7_grp_mux uart2_grp_mux = { 3901 - .pad_mux_count = ARRAY_SIZE(uart2_grp_pad_mux), 3902 - .pad_mux_list = uart2_grp_pad_mux, 3045 + static struct atlas7_grp_mux uart2_txd_grp0_mux = { 3046 + .pad_mux_count = ARRAY_SIZE(uart2_txd_grp0_pad_mux), 3047 + .pad_mux_list = uart2_txd_grp0_pad_mux, 3903 3048 }; 3904 3049 3905 - static struct atlas7_pad_mux uart3_grp0_pad_mux[] = { 3050 + static struct atlas7_pad_mux uart2_txd_grp1_pad_mux[] = { 3051 + MUX(1, 159, 2, N, N, N, N), 3052 + }; 3053 + 3054 + static struct atlas7_grp_mux uart2_txd_grp1_mux = { 3055 + .pad_mux_count = ARRAY_SIZE(uart2_txd_grp1_pad_mux), 3056 + .pad_mux_list = uart2_txd_grp1_pad_mux, 3057 + }; 3058 + 3059 + static struct atlas7_pad_mux uart2_txd_grp2_pad_mux[] = { 3060 + MUX(1, 129, 3, N, N, N, N), 3061 + }; 3062 + 3063 + static struct atlas7_grp_mux uart2_txd_grp2_mux = { 3064 + .pad_mux_count = ARRAY_SIZE(uart2_txd_grp2_pad_mux), 3065 + .pad_mux_list = uart2_txd_grp2_pad_mux, 3066 + }; 3067 + 3068 + static struct atlas7_pad_mux uart3_cts_grp0_pad_mux[] = { 3906 3069 MUX(1, 125, 2, 0xa08, 0, 0xa88, 0), 3907 - MUX(1, 126, 2, N, N, N, N), 3908 - MUX(1, 138, 1, 0xa00, 5, 0xa80, 5), 3909 - MUX(1, 137, 1, N, N, N, N), 3910 3070 }; 3911 3071 3912 - static struct atlas7_grp_mux uart3_grp0_mux = { 3913 - .pad_mux_count = ARRAY_SIZE(uart3_grp0_pad_mux), 3914 - .pad_mux_list = uart3_grp0_pad_mux, 3072 + static struct atlas7_grp_mux uart3_cts_grp0_mux = { 3073 + .pad_mux_count = ARRAY_SIZE(uart3_cts_grp0_pad_mux), 3074 + .pad_mux_list = uart3_cts_grp0_pad_mux, 3915 3075 }; 3916 3076 3917 - static struct atlas7_pad_mux uart3_grp1_pad_mux[] = { 3077 + static struct atlas7_pad_mux uart3_cts_grp1_pad_mux[] = { 3918 3078 MUX(1, 111, 4, 0xa08, 0, 0xa88, 0), 3079 + }; 3080 + 3081 + static struct atlas7_grp_mux uart3_cts_grp1_mux = { 3082 + .pad_mux_count = ARRAY_SIZE(uart3_cts_grp1_pad_mux), 3083 + .pad_mux_list = uart3_cts_grp1_pad_mux, 3084 + }; 3085 + 3086 + static struct atlas7_pad_mux uart3_cts_grp2_pad_mux[] = { 3087 + MUX(1, 140, 2, 0xa08, 0, 0xa88, 0), 3088 + }; 3089 + 3090 + static struct atlas7_grp_mux uart3_cts_grp2_mux = { 3091 + .pad_mux_count = ARRAY_SIZE(uart3_cts_grp2_pad_mux), 3092 + .pad_mux_list = uart3_cts_grp2_pad_mux, 3093 + }; 3094 + 3095 + static struct atlas7_pad_mux uart3_rts_grp0_pad_mux[] = { 3096 + MUX(1, 126, 2, N, N, N, N), 3097 + }; 3098 + 3099 + static struct atlas7_grp_mux uart3_rts_grp0_mux = { 3100 + .pad_mux_count = ARRAY_SIZE(uart3_rts_grp0_pad_mux), 3101 + .pad_mux_list = uart3_rts_grp0_pad_mux, 3102 + }; 3103 + 3104 + static struct atlas7_pad_mux uart3_rts_grp1_pad_mux[] = { 3919 3105 MUX(1, 109, 4, N, N, N, N), 3920 - MUX(1, 84, 2, 0xa00, 5, 0xa80, 5), 3921 - MUX(1, 83, 2, N, N, N, N), 3922 3106 }; 3923 3107 3924 - static struct atlas7_grp_mux uart3_grp1_mux = { 3925 - .pad_mux_count = ARRAY_SIZE(uart3_grp1_pad_mux), 3926 - .pad_mux_list = uart3_grp1_pad_mux, 3108 + static struct atlas7_grp_mux uart3_rts_grp1_mux = { 3109 + .pad_mux_count = ARRAY_SIZE(uart3_rts_grp1_pad_mux), 3110 + .pad_mux_list = uart3_rts_grp1_pad_mux, 3927 3111 }; 3928 3112 3929 - static struct atlas7_pad_mux uart3_grp2_pad_mux[] = { 3930 - MUX(1, 140, 2, 0xa08, 0, 0xa88, 0), 3113 + static struct atlas7_pad_mux uart3_rts_grp2_pad_mux[] = { 3931 3114 MUX(1, 139, 2, N, N, N, N), 3115 + }; 3116 + 3117 + static struct atlas7_grp_mux uart3_rts_grp2_mux = { 3118 + .pad_mux_count = ARRAY_SIZE(uart3_rts_grp2_pad_mux), 3119 + .pad_mux_list = uart3_rts_grp2_pad_mux, 3120 + }; 3121 + 3122 + static struct atlas7_pad_mux uart3_rxd_grp0_pad_mux[] = { 3932 3123 MUX(1, 138, 1, 0xa00, 5, 0xa80, 5), 3124 + }; 3125 + 3126 + static struct atlas7_grp_mux uart3_rxd_grp0_mux = { 3127 + .pad_mux_count = ARRAY_SIZE(uart3_rxd_grp0_pad_mux), 3128 + .pad_mux_list = uart3_rxd_grp0_pad_mux, 3129 + }; 3130 + 3131 + static struct atlas7_pad_mux uart3_rxd_grp1_pad_mux[] = { 3132 + MUX(1, 84, 2, 0xa00, 5, 0xa80, 5), 3133 + }; 3134 + 3135 + static struct atlas7_grp_mux uart3_rxd_grp1_mux = { 3136 + .pad_mux_count = ARRAY_SIZE(uart3_rxd_grp1_pad_mux), 3137 + .pad_mux_list = uart3_rxd_grp1_pad_mux, 3138 + }; 3139 + 3140 + static struct atlas7_pad_mux uart3_rxd_grp2_pad_mux[] = { 3141 + MUX(1, 162, 3, 0xa00, 5, 0xa80, 5), 3142 + }; 3143 + 3144 + static struct atlas7_grp_mux uart3_rxd_grp2_mux = { 3145 + .pad_mux_count = ARRAY_SIZE(uart3_rxd_grp2_pad_mux), 3146 + .pad_mux_list = uart3_rxd_grp2_pad_mux, 3147 + }; 3148 + 3149 + static struct atlas7_pad_mux uart3_txd_grp0_pad_mux[] = { 3933 3150 MUX(1, 137, 1, N, N, N, N), 3934 3151 }; 3935 3152 3936 - static struct atlas7_grp_mux uart3_grp2_mux = { 3937 - .pad_mux_count = ARRAY_SIZE(uart3_grp2_pad_mux), 3938 - .pad_mux_list = uart3_grp2_pad_mux, 3153 + static struct atlas7_grp_mux uart3_txd_grp0_mux = { 3154 + .pad_mux_count = ARRAY_SIZE(uart3_txd_grp0_pad_mux), 3155 + .pad_mux_list = uart3_txd_grp0_pad_mux, 3939 3156 }; 3940 3157 3941 - static struct atlas7_pad_mux uart3_grp3_pad_mux[] = { 3942 - MUX(1, 139, 2, N, N, N, N), 3943 - MUX(1, 140, 2, 0xa08, 0, 0xa88, 0), 3944 - MUX(1, 84, 2, 0xa00, 5, 0xa80, 5), 3158 + static struct atlas7_pad_mux uart3_txd_grp1_pad_mux[] = { 3945 3159 MUX(1, 83, 2, N, N, N, N), 3946 3160 }; 3947 3161 3948 - static struct atlas7_grp_mux uart3_grp3_mux = { 3949 - .pad_mux_count = ARRAY_SIZE(uart3_grp3_pad_mux), 3950 - .pad_mux_list = uart3_grp3_pad_mux, 3162 + static struct atlas7_grp_mux uart3_txd_grp1_mux = { 3163 + .pad_mux_count = ARRAY_SIZE(uart3_txd_grp1_pad_mux), 3164 + .pad_mux_list = uart3_txd_grp1_pad_mux, 3951 3165 }; 3952 3166 3953 - static struct atlas7_pad_mux uart3_nopause_grp0_pad_mux[] = { 3954 - MUX(1, 138, 1, 0xa00, 5, 0xa80, 5), 3955 - MUX(1, 137, 1, N, N, N, N), 3167 + static struct atlas7_pad_mux uart3_txd_grp2_pad_mux[] = { 3168 + MUX(1, 161, 3, N, N, N, N), 3956 3169 }; 3957 3170 3958 - static struct atlas7_grp_mux uart3_nopause_grp0_mux = { 3959 - .pad_mux_count = ARRAY_SIZE(uart3_nopause_grp0_pad_mux), 3960 - .pad_mux_list = uart3_nopause_grp0_pad_mux, 3171 + static struct atlas7_grp_mux uart3_txd_grp2_mux = { 3172 + .pad_mux_count = ARRAY_SIZE(uart3_txd_grp2_pad_mux), 3173 + .pad_mux_list = uart3_txd_grp2_pad_mux, 3961 3174 }; 3962 3175 3963 - static struct atlas7_pad_mux uart3_nopause_grp1_pad_mux[] = { 3964 - MUX(1, 84, 2, 0xa00, 5, 0xa80, 5), 3965 - MUX(1, 83, 2, N, N, N, N), 3176 + static struct atlas7_pad_mux uart4_basic_grp_pad_mux[] = { 3177 + MUX(1, 140, 1, N, N, N, N), 3178 + MUX(1, 139, 1, N, N, N, N), 3966 3179 }; 3967 3180 3968 - static struct atlas7_grp_mux uart3_nopause_grp1_mux = { 3969 - .pad_mux_count = ARRAY_SIZE(uart3_nopause_grp1_pad_mux), 3970 - .pad_mux_list = uart3_nopause_grp1_pad_mux, 3181 + static struct atlas7_grp_mux uart4_basic_grp_mux = { 3182 + .pad_mux_count = ARRAY_SIZE(uart4_basic_grp_pad_mux), 3183 + .pad_mux_list = uart4_basic_grp_pad_mux, 3971 3184 }; 3972 3185 3973 - static struct atlas7_pad_mux uart4_grp0_pad_mux[] = { 3186 + static struct atlas7_pad_mux uart4_cts_grp0_pad_mux[] = { 3974 3187 MUX(1, 122, 4, 0xa08, 1, 0xa88, 1), 3975 - MUX(1, 123, 4, N, N, N, N), 3976 - MUX(1, 140, 1, N, N, N, N), 3977 - MUX(1, 139, 1, N, N, N, N), 3978 3188 }; 3979 3189 3980 - static struct atlas7_grp_mux uart4_grp0_mux = { 3981 - .pad_mux_count = ARRAY_SIZE(uart4_grp0_pad_mux), 3982 - .pad_mux_list = uart4_grp0_pad_mux, 3190 + static struct atlas7_grp_mux uart4_cts_grp0_mux = { 3191 + .pad_mux_count = ARRAY_SIZE(uart4_cts_grp0_pad_mux), 3192 + .pad_mux_list = uart4_cts_grp0_pad_mux, 3983 3193 }; 3984 3194 3985 - static struct atlas7_pad_mux uart4_grp1_pad_mux[] = { 3195 + static struct atlas7_pad_mux uart4_cts_grp1_pad_mux[] = { 3986 3196 MUX(1, 100, 4, 0xa08, 1, 0xa88, 1), 3987 - MUX(1, 99, 4, N, N, N, N), 3988 - MUX(1, 140, 1, N, N, N, N), 3989 - MUX(1, 139, 1, N, N, N, N), 3990 3197 }; 3991 3198 3992 - static struct atlas7_grp_mux uart4_grp1_mux = { 3993 - .pad_mux_count = ARRAY_SIZE(uart4_grp1_pad_mux), 3994 - .pad_mux_list = uart4_grp1_pad_mux, 3199 + static struct atlas7_grp_mux uart4_cts_grp1_mux = { 3200 + .pad_mux_count = ARRAY_SIZE(uart4_cts_grp1_pad_mux), 3201 + .pad_mux_list = uart4_cts_grp1_pad_mux, 3995 3202 }; 3996 3203 3997 - static struct atlas7_pad_mux uart4_grp2_pad_mux[] = { 3204 + static struct atlas7_pad_mux uart4_cts_grp2_pad_mux[] = { 3998 3205 MUX(1, 117, 2, 0xa08, 1, 0xa88, 1), 3206 + }; 3207 + 3208 + static struct atlas7_grp_mux uart4_cts_grp2_mux = { 3209 + .pad_mux_count = ARRAY_SIZE(uart4_cts_grp2_pad_mux), 3210 + .pad_mux_list = uart4_cts_grp2_pad_mux, 3211 + }; 3212 + 3213 + static struct atlas7_pad_mux uart4_rts_grp0_pad_mux[] = { 3214 + MUX(1, 123, 4, N, N, N, N), 3215 + }; 3216 + 3217 + static struct atlas7_grp_mux uart4_rts_grp0_mux = { 3218 + .pad_mux_count = ARRAY_SIZE(uart4_rts_grp0_pad_mux), 3219 + .pad_mux_list = uart4_rts_grp0_pad_mux, 3220 + }; 3221 + 3222 + static struct atlas7_pad_mux uart4_rts_grp1_pad_mux[] = { 3223 + MUX(1, 99, 4, N, N, N, N), 3224 + }; 3225 + 3226 + static struct atlas7_grp_mux uart4_rts_grp1_mux = { 3227 + .pad_mux_count = ARRAY_SIZE(uart4_rts_grp1_pad_mux), 3228 + .pad_mux_list = uart4_rts_grp1_pad_mux, 3229 + }; 3230 + 3231 + static struct atlas7_pad_mux uart4_rts_grp2_pad_mux[] = { 3999 3232 MUX(1, 116, 2, N, N, N, N), 4000 - MUX(1, 140, 1, N, N, N, N), 4001 - MUX(1, 139, 1, N, N, N, N), 4002 3233 }; 4003 3234 4004 - static struct atlas7_grp_mux uart4_grp2_mux = { 4005 - .pad_mux_count = ARRAY_SIZE(uart4_grp2_pad_mux), 4006 - .pad_mux_list = uart4_grp2_pad_mux, 3235 + static struct atlas7_grp_mux uart4_rts_grp2_mux = { 3236 + .pad_mux_count = ARRAY_SIZE(uart4_rts_grp2_pad_mux), 3237 + .pad_mux_list = uart4_rts_grp2_pad_mux, 4007 3238 }; 4008 3239 4009 - static struct atlas7_pad_mux uart4_nopause_grp_pad_mux[] = { 4010 - MUX(1, 140, 1, N, N, N, N), 4011 - MUX(1, 139, 1, N, N, N, N), 4012 - }; 4013 - 4014 - static struct atlas7_grp_mux uart4_nopause_grp_mux = { 4015 - .pad_mux_count = ARRAY_SIZE(uart4_nopause_grp_pad_mux), 4016 - .pad_mux_list = uart4_nopause_grp_pad_mux, 4017 - }; 4018 - 4019 - static struct atlas7_pad_mux usb0_drvvbus_grp_pad_mux[] = { 3240 + static struct atlas7_pad_mux usb0_drvvbus_grp0_pad_mux[] = { 4020 3241 MUX(1, 51, 2, N, N, N, N), 4021 3242 }; 4022 3243 4023 - static struct atlas7_grp_mux usb0_drvvbus_grp_mux = { 4024 - .pad_mux_count = ARRAY_SIZE(usb0_drvvbus_grp_pad_mux), 4025 - .pad_mux_list = usb0_drvvbus_grp_pad_mux, 3244 + static struct atlas7_grp_mux usb0_drvvbus_grp0_mux = { 3245 + .pad_mux_count = ARRAY_SIZE(usb0_drvvbus_grp0_pad_mux), 3246 + .pad_mux_list = usb0_drvvbus_grp0_pad_mux, 4026 3247 }; 4027 3248 4028 - static struct atlas7_pad_mux usb1_drvvbus_grp_pad_mux[] = { 3249 + static struct atlas7_pad_mux usb0_drvvbus_grp1_pad_mux[] = { 3250 + MUX(1, 162, 7, N, N, N, N), 3251 + }; 3252 + 3253 + static struct atlas7_grp_mux usb0_drvvbus_grp1_mux = { 3254 + .pad_mux_count = ARRAY_SIZE(usb0_drvvbus_grp1_pad_mux), 3255 + .pad_mux_list = usb0_drvvbus_grp1_pad_mux, 3256 + }; 3257 + 3258 + static struct atlas7_pad_mux usb1_drvvbus_grp0_pad_mux[] = { 4029 3259 MUX(1, 134, 2, N, N, N, N), 4030 3260 }; 4031 3261 4032 - static struct atlas7_grp_mux usb1_drvvbus_grp_mux = { 4033 - .pad_mux_count = ARRAY_SIZE(usb1_drvvbus_grp_pad_mux), 4034 - .pad_mux_list = usb1_drvvbus_grp_pad_mux, 3262 + static struct atlas7_grp_mux usb1_drvvbus_grp0_mux = { 3263 + .pad_mux_count = ARRAY_SIZE(usb1_drvvbus_grp0_pad_mux), 3264 + .pad_mux_list = usb1_drvvbus_grp0_pad_mux, 3265 + }; 3266 + 3267 + static struct atlas7_pad_mux usb1_drvvbus_grp1_pad_mux[] = { 3268 + MUX(1, 163, 2, N, N, N, N), 3269 + }; 3270 + 3271 + static struct atlas7_grp_mux usb1_drvvbus_grp1_mux = { 3272 + .pad_mux_count = ARRAY_SIZE(usb1_drvvbus_grp1_pad_mux), 3273 + .pad_mux_list = usb1_drvvbus_grp1_pad_mux, 4035 3274 }; 4036 3275 4037 3276 static struct atlas7_pad_mux visbus_dout_grp_pad_mux[] = { ··· 4325 3252 FUNCTION("sdio_i2s_gpio", sdio_i2s_gpio_grp, &sdio_i2s_gpio_grp_mux), 4326 3253 FUNCTION("sp_rgmii_gpio", sp_rgmii_gpio_grp, &sp_rgmii_gpio_grp_mux), 4327 3254 FUNCTION("lvds_gpio", lvds_gpio_grp, &lvds_gpio_grp_mux), 4328 - FUNCTION("uart_nand_gpio", 4329 - uart_nand_gpio_grp, 4330 - &uart_nand_gpio_grp_mux), 3255 + FUNCTION("jtag_uart_nand_gpio", 3256 + jtag_uart_nand_gpio_grp, 3257 + &jtag_uart_nand_gpio_grp_mux), 4331 3258 FUNCTION("rtc_gpio", rtc_gpio_grp, &rtc_gpio_grp_mux), 4332 3259 FUNCTION("audio_ac97", audio_ac97_grp, &audio_ac97_grp_mux), 3260 + FUNCTION("audio_digmic_m0", 3261 + audio_digmic_grp0, 3262 + &audio_digmic_grp0_mux), 3263 + FUNCTION("audio_digmic_m1", 3264 + audio_digmic_grp1, 3265 + &audio_digmic_grp1_mux), 3266 + FUNCTION("audio_digmic_m2", 3267 + audio_digmic_grp2, 3268 + &audio_digmic_grp2_mux), 4333 3269 FUNCTION("audio_func_dbg", 4334 3270 audio_func_dbg_grp, 4335 3271 &audio_func_dbg_grp_mux), ··· 4347 3265 FUNCTION("audio_i2s_extclk", 4348 3266 audio_i2s_extclk_grp, 4349 3267 &audio_i2s_extclk_grp_mux), 4350 - FUNCTION("audio_uart0", audio_uart0_grp, &audio_uart0_grp_mux), 4351 - FUNCTION("audio_uart1", audio_uart1_grp, &audio_uart1_grp_mux), 4352 - FUNCTION("audio_uart2_m0", audio_uart2_grp0, &audio_uart2_grp0_mux), 4353 - FUNCTION("audio_uart2_m1", audio_uart2_grp1, &audio_uart2_grp1_mux), 4354 - FUNCTION("c_can_trnsvr", c_can_trnsvr_grp, &c_can_trnsvr_grp_mux), 4355 - FUNCTION("c0_can_m0", c0_can_grp0, &c0_can_grp0_mux), 4356 - FUNCTION("c0_can_m1", c0_can_grp1, &c0_can_grp1_mux), 4357 - FUNCTION("c1_can_m0", c1_can_grp0, &c1_can_grp0_mux), 4358 - FUNCTION("c1_can_m1", c1_can_grp1, &c1_can_grp1_mux), 4359 - FUNCTION("c1_can_m2", c1_can_grp2, &c1_can_grp2_mux), 3268 + FUNCTION("audio_spdif_out_m0", 3269 + audio_spdif_out_grp0, 3270 + &audio_spdif_out_grp0_mux), 3271 + FUNCTION("audio_spdif_out_m1", 3272 + audio_spdif_out_grp1, 3273 + &audio_spdif_out_grp1_mux), 3274 + FUNCTION("audio_spdif_out_m2", 3275 + audio_spdif_out_grp2, 3276 + &audio_spdif_out_grp2_mux), 3277 + FUNCTION("audio_uart0_basic", 3278 + audio_uart0_basic_grp, 3279 + &audio_uart0_basic_grp_mux), 3280 + FUNCTION("audio_uart0_urfs_m0", 3281 + audio_uart0_urfs_grp0, 3282 + &audio_uart0_urfs_grp0_mux), 3283 + FUNCTION("audio_uart0_urfs_m1", 3284 + audio_uart0_urfs_grp1, 3285 + &audio_uart0_urfs_grp1_mux), 3286 + FUNCTION("audio_uart0_urfs_m2", 3287 + audio_uart0_urfs_grp2, 3288 + &audio_uart0_urfs_grp2_mux), 3289 + FUNCTION("audio_uart0_urfs_m3", 3290 + audio_uart0_urfs_grp3, 3291 + &audio_uart0_urfs_grp3_mux), 3292 + FUNCTION("audio_uart1_basic", 3293 + audio_uart1_basic_grp, 3294 + &audio_uart1_basic_grp_mux), 3295 + FUNCTION("audio_uart1_urfs_m0", 3296 + audio_uart1_urfs_grp0, 3297 + &audio_uart1_urfs_grp0_mux), 3298 + FUNCTION("audio_uart1_urfs_m1", 3299 + audio_uart1_urfs_grp1, 3300 + &audio_uart1_urfs_grp1_mux), 3301 + FUNCTION("audio_uart1_urfs_m2", 3302 + audio_uart1_urfs_grp2, 3303 + &audio_uart1_urfs_grp2_mux), 3304 + FUNCTION("audio_uart2_urfs_m0", 3305 + audio_uart2_urfs_grp0, 3306 + &audio_uart2_urfs_grp0_mux), 3307 + FUNCTION("audio_uart2_urfs_m1", 3308 + audio_uart2_urfs_grp1, 3309 + &audio_uart2_urfs_grp1_mux), 3310 + FUNCTION("audio_uart2_urfs_m2", 3311 + audio_uart2_urfs_grp2, 3312 + &audio_uart2_urfs_grp2_mux), 3313 + FUNCTION("audio_uart2_urxd_m0", 3314 + audio_uart2_urxd_grp0, 3315 + &audio_uart2_urxd_grp0_mux), 3316 + FUNCTION("audio_uart2_urxd_m1", 3317 + audio_uart2_urxd_grp1, 3318 + &audio_uart2_urxd_grp1_mux), 3319 + FUNCTION("audio_uart2_urxd_m2", 3320 + audio_uart2_urxd_grp2, 3321 + &audio_uart2_urxd_grp2_mux), 3322 + FUNCTION("audio_uart2_usclk_m0", 3323 + audio_uart2_usclk_grp0, 3324 + &audio_uart2_usclk_grp0_mux), 3325 + FUNCTION("audio_uart2_usclk_m1", 3326 + audio_uart2_usclk_grp1, 3327 + &audio_uart2_usclk_grp1_mux), 3328 + FUNCTION("audio_uart2_usclk_m2", 3329 + audio_uart2_usclk_grp2, 3330 + &audio_uart2_usclk_grp2_mux), 3331 + FUNCTION("audio_uart2_utfs_m0", 3332 + audio_uart2_utfs_grp0, 3333 + &audio_uart2_utfs_grp0_mux), 3334 + FUNCTION("audio_uart2_utfs_m1", 3335 + audio_uart2_utfs_grp1, 3336 + &audio_uart2_utfs_grp1_mux), 3337 + FUNCTION("audio_uart2_utfs_m2", 3338 + audio_uart2_utfs_grp2, 3339 + &audio_uart2_utfs_grp2_mux), 3340 + FUNCTION("audio_uart2_utxd_m0", 3341 + audio_uart2_utxd_grp0, 3342 + &audio_uart2_utxd_grp0_mux), 3343 + FUNCTION("audio_uart2_utxd_m1", 3344 + audio_uart2_utxd_grp1, 3345 + &audio_uart2_utxd_grp1_mux), 3346 + FUNCTION("audio_uart2_utxd_m2", 3347 + audio_uart2_utxd_grp2, 3348 + &audio_uart2_utxd_grp2_mux), 3349 + FUNCTION("c_can_trnsvr_en_m0", 3350 + c_can_trnsvr_en_grp0, 3351 + &c_can_trnsvr_en_grp0_mux), 3352 + FUNCTION("c_can_trnsvr_en_m1", 3353 + c_can_trnsvr_en_grp1, 3354 + &c_can_trnsvr_en_grp1_mux), 3355 + FUNCTION("c_can_trnsvr_intr", 3356 + c_can_trnsvr_intr_grp, 3357 + &c_can_trnsvr_intr_grp_mux), 3358 + FUNCTION("c_can_trnsvr_stb_n", 3359 + c_can_trnsvr_stb_n_grp, 3360 + &c_can_trnsvr_stb_n_grp_mux), 3361 + FUNCTION("c0_can_rxd_trnsv0", 3362 + c0_can_rxd_trnsv0_grp, 3363 + &c0_can_rxd_trnsv0_grp_mux), 3364 + FUNCTION("c0_can_rxd_trnsv1", 3365 + c0_can_rxd_trnsv1_grp, 3366 + &c0_can_rxd_trnsv1_grp_mux), 3367 + FUNCTION("c0_can_txd_trnsv0", 3368 + c0_can_txd_trnsv0_grp, 3369 + &c0_can_txd_trnsv0_grp_mux), 3370 + FUNCTION("c0_can_txd_trnsv1", 3371 + c0_can_txd_trnsv1_grp, 3372 + &c0_can_txd_trnsv1_grp_mux), 3373 + FUNCTION("c1_can_rxd_m0", c1_can_rxd_grp0, &c1_can_rxd_grp0_mux), 3374 + FUNCTION("c1_can_rxd_m1", c1_can_rxd_grp1, &c1_can_rxd_grp1_mux), 3375 + FUNCTION("c1_can_rxd_m2", c1_can_rxd_grp2, &c1_can_rxd_grp2_mux), 3376 + FUNCTION("c1_can_rxd_m3", c1_can_rxd_grp3, &c1_can_rxd_grp3_mux), 3377 + FUNCTION("c1_can_txd_m0", c1_can_txd_grp0, &c1_can_txd_grp0_mux), 3378 + FUNCTION("c1_can_txd_m1", c1_can_txd_grp1, &c1_can_txd_grp1_mux), 3379 + FUNCTION("c1_can_txd_m2", c1_can_txd_grp2, &c1_can_txd_grp2_mux), 3380 + FUNCTION("c1_can_txd_m3", c1_can_txd_grp3, &c1_can_txd_grp3_mux), 4360 3381 FUNCTION("ca_audio_lpc", ca_audio_lpc_grp, &ca_audio_lpc_grp_mux), 4361 3382 FUNCTION("ca_bt_lpc", ca_bt_lpc_grp, &ca_bt_lpc_grp_mux), 4362 3383 FUNCTION("ca_coex", ca_coex_grp, &ca_coex_grp_mux), ··· 4562 3377 &gn_trg_shutdown_grp3_mux), 4563 3378 FUNCTION("i2c0", i2c0_grp, &i2c0_grp_mux), 4564 3379 FUNCTION("i2c1", i2c1_grp, &i2c1_grp_mux), 4565 - FUNCTION("jtag_m0", jtag_grp0, &jtag_grp0_mux), 3380 + FUNCTION("i2s0", i2s0_grp, &i2s0_grp_mux), 3381 + FUNCTION("i2s1_basic", i2s1_basic_grp, &i2s1_basic_grp_mux), 3382 + FUNCTION("i2s1_rxd0_m0", i2s1_rxd0_grp0, &i2s1_rxd0_grp0_mux), 3383 + FUNCTION("i2s1_rxd0_m1", i2s1_rxd0_grp1, &i2s1_rxd0_grp1_mux), 3384 + FUNCTION("i2s1_rxd0_m2", i2s1_rxd0_grp2, &i2s1_rxd0_grp2_mux), 3385 + FUNCTION("i2s1_rxd0_m3", i2s1_rxd0_grp3, &i2s1_rxd0_grp3_mux), 3386 + FUNCTION("i2s1_rxd0_m4", i2s1_rxd0_grp4, &i2s1_rxd0_grp4_mux), 3387 + FUNCTION("i2s1_rxd1_m0", i2s1_rxd1_grp0, &i2s1_rxd1_grp0_mux), 3388 + FUNCTION("i2s1_rxd1_m1", i2s1_rxd1_grp1, &i2s1_rxd1_grp1_mux), 3389 + FUNCTION("i2s1_rxd1_m2", i2s1_rxd1_grp2, &i2s1_rxd1_grp2_mux), 3390 + FUNCTION("i2s1_rxd1_m3", i2s1_rxd1_grp3, &i2s1_rxd1_grp3_mux), 3391 + FUNCTION("i2s1_rxd1_m4", i2s1_rxd1_grp4, &i2s1_rxd1_grp4_mux), 3392 + FUNCTION("jtag_jt_dbg_nsrst", 3393 + jtag_jt_dbg_nsrst_grp, 3394 + &jtag_jt_dbg_nsrst_grp_mux), 3395 + FUNCTION("jtag_ntrst_m0", jtag_ntrst_grp0, &jtag_ntrst_grp0_mux), 3396 + FUNCTION("jtag_ntrst_m1", jtag_ntrst_grp1, &jtag_ntrst_grp1_mux), 3397 + FUNCTION("jtag_swdiotms_m0", 3398 + jtag_swdiotms_grp0, 3399 + &jtag_swdiotms_grp0_mux), 3400 + FUNCTION("jtag_swdiotms_m1", 3401 + jtag_swdiotms_grp1, 3402 + &jtag_swdiotms_grp1_mux), 3403 + FUNCTION("jtag_tck_m0", jtag_tck_grp0, &jtag_tck_grp0_mux), 3404 + FUNCTION("jtag_tck_m1", jtag_tck_grp1, &jtag_tck_grp1_mux), 3405 + FUNCTION("jtag_tdi_m0", jtag_tdi_grp0, &jtag_tdi_grp0_mux), 3406 + FUNCTION("jtag_tdi_m1", jtag_tdi_grp1, &jtag_tdi_grp1_mux), 3407 + FUNCTION("jtag_tdo_m0", jtag_tdo_grp0, &jtag_tdo_grp0_mux), 3408 + FUNCTION("jtag_tdo_m1", jtag_tdo_grp1, &jtag_tdo_grp1_mux), 4566 3409 FUNCTION("ks_kas_spi_m0", ks_kas_spi_grp0, &ks_kas_spi_grp0_mux), 4567 3410 FUNCTION("ld_ldd", ld_ldd_grp, &ld_ldd_grp_mux), 4568 3411 FUNCTION("ld_ldd_16bit", ld_ldd_16bit_grp, &ld_ldd_16bit_grp_mux), ··· 4627 3414 FUNCTION("pw_cko0_m0", pw_cko0_grp0, &pw_cko0_grp0_mux), 4628 3415 FUNCTION("pw_cko0_m1", pw_cko0_grp1, &pw_cko0_grp1_mux), 4629 3416 FUNCTION("pw_cko0_m2", pw_cko0_grp2, &pw_cko0_grp2_mux), 3417 + FUNCTION("pw_cko0_m3", pw_cko0_grp3, &pw_cko0_grp3_mux), 4630 3418 FUNCTION("pw_cko1_m0", pw_cko1_grp0, &pw_cko1_grp0_mux), 4631 3419 FUNCTION("pw_cko1_m1", pw_cko1_grp1, &pw_cko1_grp1_mux), 3420 + FUNCTION("pw_cko1_m2", pw_cko1_grp2, &pw_cko1_grp2_mux), 4632 3421 FUNCTION("pw_i2s01_clk_m0", 4633 3422 pw_i2s01_clk_grp0, 4634 3423 &pw_i2s01_clk_grp0_mux), 4635 3424 FUNCTION("pw_i2s01_clk_m1", 4636 3425 pw_i2s01_clk_grp1, 4637 3426 &pw_i2s01_clk_grp1_mux), 4638 - FUNCTION("pw_pwm0", pw_pwm0_grp, &pw_pwm0_grp_mux), 4639 - FUNCTION("pw_pwm1", pw_pwm1_grp, &pw_pwm1_grp_mux), 3427 + FUNCTION("pw_i2s01_clk_m2", 3428 + pw_i2s01_clk_grp2, 3429 + &pw_i2s01_clk_grp2_mux), 3430 + FUNCTION("pw_pwm0_m0", pw_pwm0_grp0, &pw_pwm0_grp0_mux), 3431 + FUNCTION("pw_pwm0_m1", pw_pwm0_grp1, &pw_pwm0_grp1_mux), 3432 + FUNCTION("pw_pwm1_m0", pw_pwm1_grp0, &pw_pwm1_grp0_mux), 3433 + FUNCTION("pw_pwm1_m1", pw_pwm1_grp1, &pw_pwm1_grp1_mux), 3434 + FUNCTION("pw_pwm1_m2", pw_pwm1_grp2, &pw_pwm1_grp2_mux), 4640 3435 FUNCTION("pw_pwm2_m0", pw_pwm2_grp0, &pw_pwm2_grp0_mux), 4641 3436 FUNCTION("pw_pwm2_m1", pw_pwm2_grp1, &pw_pwm2_grp1_mux), 3437 + FUNCTION("pw_pwm2_m2", pw_pwm2_grp2, &pw_pwm2_grp2_mux), 4642 3438 FUNCTION("pw_pwm3_m0", pw_pwm3_grp0, &pw_pwm3_grp0_mux), 4643 3439 FUNCTION("pw_pwm3_m1", pw_pwm3_grp1, &pw_pwm3_grp1_mux), 4644 3440 FUNCTION("pw_pwm_cpu_vol_m0", ··· 4656 3434 FUNCTION("pw_pwm_cpu_vol_m1", 4657 3435 pw_pwm_cpu_vol_grp1, 4658 3436 &pw_pwm_cpu_vol_grp1_mux), 3437 + FUNCTION("pw_pwm_cpu_vol_m2", 3438 + pw_pwm_cpu_vol_grp2, 3439 + &pw_pwm_cpu_vol_grp2_mux), 4659 3440 FUNCTION("pw_backlight_m0", 4660 3441 pw_backlight_grp0, 4661 3442 &pw_backlight_grp0_mux), ··· 4681 3456 FUNCTION("sd1", sd1_grp, &sd1_grp_mux), 4682 3457 FUNCTION("sd1_4bit_m0", sd1_4bit_grp0, &sd1_4bit_grp0_mux), 4683 3458 FUNCTION("sd1_4bit_m1", sd1_4bit_grp1, &sd1_4bit_grp1_mux), 4684 - FUNCTION("sd2_m0", sd2_grp0, &sd2_grp0_mux), 4685 - FUNCTION("sd2_no_cdb_m0", sd2_no_cdb_grp0, &sd2_no_cdb_grp0_mux), 3459 + FUNCTION("sd2_basic", sd2_basic_grp, &sd2_basic_grp_mux), 3460 + FUNCTION("sd2_cdb_m0", sd2_cdb_grp0, &sd2_cdb_grp0_mux), 3461 + FUNCTION("sd2_cdb_m1", sd2_cdb_grp1, &sd2_cdb_grp1_mux), 3462 + FUNCTION("sd2_wpb_m0", sd2_wpb_grp0, &sd2_wpb_grp0_mux), 3463 + FUNCTION("sd2_wpb_m1", sd2_wpb_grp1, &sd2_wpb_grp1_mux), 4686 3464 FUNCTION("sd3", sd3_grp, &sd3_grp_mux), 4687 3465 FUNCTION("sd5", sd5_grp, &sd5_grp_mux), 4688 3466 FUNCTION("sd6_m0", sd6_grp0, &sd6_grp0_mux), ··· 4699 3471 FUNCTION("uart0", uart0_grp, &uart0_grp_mux), 4700 3472 FUNCTION("uart0_nopause", uart0_nopause_grp, &uart0_nopause_grp_mux), 4701 3473 FUNCTION("uart1", uart1_grp, &uart1_grp_mux), 4702 - FUNCTION("uart2", uart2_grp, &uart2_grp_mux), 4703 - FUNCTION("uart3_m0", uart3_grp0, &uart3_grp0_mux), 4704 - FUNCTION("uart3_m1", uart3_grp1, &uart3_grp1_mux), 4705 - FUNCTION("uart3_m2", uart3_grp2, &uart3_grp2_mux), 4706 - FUNCTION("uart3_m3", uart3_grp3, &uart3_grp3_mux), 4707 - FUNCTION("uart3_nopause_m0", 4708 - uart3_nopause_grp0, 4709 - &uart3_nopause_grp0_mux), 4710 - FUNCTION("uart3_nopause_m1", 4711 - uart3_nopause_grp1, 4712 - &uart3_nopause_grp1_mux), 4713 - FUNCTION("uart4_m0", uart4_grp0, &uart4_grp0_mux), 4714 - FUNCTION("uart4_m1", uart4_grp1, &uart4_grp1_mux), 4715 - FUNCTION("uart4_m2", uart4_grp2, &uart4_grp2_mux), 4716 - FUNCTION("uart4_nopause", uart4_nopause_grp, &uart4_nopause_grp_mux), 4717 - FUNCTION("usb0_drvvbus", usb0_drvvbus_grp, &usb0_drvvbus_grp_mux), 4718 - FUNCTION("usb1_drvvbus", usb1_drvvbus_grp, &usb1_drvvbus_grp_mux), 3474 + FUNCTION("uart2_cts_m0", uart2_cts_grp0, &uart2_cts_grp0_mux), 3475 + FUNCTION("uart2_cts_m1", uart2_cts_grp1, &uart2_cts_grp1_mux), 3476 + FUNCTION("uart2_rts_m0", uart2_rts_grp0, &uart2_rts_grp0_mux), 3477 + FUNCTION("uart2_rts_m1", uart2_rts_grp1, &uart2_rts_grp1_mux), 3478 + FUNCTION("uart2_rxd_m0", uart2_rxd_grp0, &uart2_rxd_grp0_mux), 3479 + FUNCTION("uart2_rxd_m1", uart2_rxd_grp1, &uart2_rxd_grp1_mux), 3480 + FUNCTION("uart2_rxd_m2", uart2_rxd_grp2, &uart2_rxd_grp2_mux), 3481 + FUNCTION("uart2_txd_m0", uart2_txd_grp0, &uart2_txd_grp0_mux), 3482 + FUNCTION("uart2_txd_m1", uart2_txd_grp1, &uart2_txd_grp1_mux), 3483 + FUNCTION("uart2_txd_m2", uart2_txd_grp2, &uart2_txd_grp2_mux), 3484 + FUNCTION("uart3_cts_m0", uart3_cts_grp0, &uart3_cts_grp0_mux), 3485 + FUNCTION("uart3_cts_m1", uart3_cts_grp1, &uart3_cts_grp1_mux), 3486 + FUNCTION("uart3_cts_m2", uart3_cts_grp2, &uart3_cts_grp2_mux), 3487 + FUNCTION("uart3_rts_m0", uart3_rts_grp0, &uart3_rts_grp0_mux), 3488 + FUNCTION("uart3_rts_m1", uart3_rts_grp1, &uart3_rts_grp1_mux), 3489 + FUNCTION("uart3_rts_m2", uart3_rts_grp2, &uart3_rts_grp2_mux), 3490 + FUNCTION("uart3_rxd_m0", uart3_rxd_grp0, &uart3_rxd_grp0_mux), 3491 + FUNCTION("uart3_rxd_m1", uart3_rxd_grp1, &uart3_rxd_grp1_mux), 3492 + FUNCTION("uart3_rxd_m2", uart3_rxd_grp2, &uart3_rxd_grp2_mux), 3493 + FUNCTION("uart3_txd_m0", uart3_txd_grp0, &uart3_txd_grp0_mux), 3494 + FUNCTION("uart3_txd_m1", uart3_txd_grp1, &uart3_txd_grp1_mux), 3495 + FUNCTION("uart3_txd_m2", uart3_txd_grp2, &uart3_txd_grp2_mux), 3496 + FUNCTION("uart4_basic", uart4_basic_grp, &uart4_basic_grp_mux), 3497 + FUNCTION("uart4_cts_m0", uart4_cts_grp0, &uart4_cts_grp0_mux), 3498 + FUNCTION("uart4_cts_m1", uart4_cts_grp1, &uart4_cts_grp1_mux), 3499 + FUNCTION("uart4_cts_m2", uart4_cts_grp2, &uart4_cts_grp2_mux), 3500 + FUNCTION("uart4_rts_m0", uart4_rts_grp0, &uart4_rts_grp0_mux), 3501 + FUNCTION("uart4_rts_m1", uart4_rts_grp1, &uart4_rts_grp1_mux), 3502 + FUNCTION("uart4_rts_m2", uart4_rts_grp2, &uart4_rts_grp2_mux), 3503 + FUNCTION("usb0_drvvbus_m0", 3504 + usb0_drvvbus_grp0, 3505 + &usb0_drvvbus_grp0_mux), 3506 + FUNCTION("usb0_drvvbus_m1", 3507 + usb0_drvvbus_grp1, 3508 + &usb0_drvvbus_grp1_mux), 3509 + FUNCTION("usb1_drvvbus_m0", 3510 + usb1_drvvbus_grp0, 3511 + &usb1_drvvbus_grp0_mux), 3512 + FUNCTION("usb1_drvvbus_m1", 3513 + usb1_drvvbus_grp1, 3514 + &usb1_drvvbus_grp1_mux), 4719 3515 FUNCTION("visbus_dout", visbus_dout_grp, &visbus_dout_grp_mux), 4720 3516 FUNCTION("vi_vip1", vi_vip1_grp, &vi_vip1_grp_mux), 4721 3517 FUNCTION("vi_vip1_ext", vi_vip1_ext_grp, &vi_vip1_ext_grp_mux),