Lines Matching full:static

208 static const struct pinctrl_pin_desc s900_pads[] = {
417 static unsigned int lvds_oxx_uart4_mfp_pads[] = { LVDS_OAP, LVDS_OAN };
418 static unsigned int lvds_oxx_uart4_mfp_funcs[] = { S900_MUX_ERAM,
421 static unsigned int rmii_mdc_mfp_pads[] = { ETH_MDC };
422 static unsigned int rmii_mdc_mfp_funcs[] = { S900_MUX_ETH_RMII,
426 static unsigned int rmii_mdio_mfp_pads[] = { ETH_MDIO };
427 static unsigned int rmii_mdio_mfp_funcs[] = { S900_MUX_ETH_RMII,
432 static unsigned int sirq0_mfp_pads[] = { SIRQ0 };
433 static unsigned int sirq0_mfp_funcs[] = { S900_MUX_SIRQ0,
435 static unsigned int sirq1_mfp_pads[] = { SIRQ1 };
436 static unsigned int sirq1_mfp_funcs[] = { S900_MUX_SIRQ1,
439 static unsigned int rmii_txd0_mfp_pads[] = { ETH_TXD0 };
440 static unsigned int rmii_txd0_mfp_funcs[] = { S900_MUX_ETH_RMII,
446 static unsigned int rmii_txd1_mfp_pads[] = { ETH_TXD1 };
447 static unsigned int rmii_txd1_mfp_funcs[] = { S900_MUX_ETH_RMII,
454 static unsigned int rmii_txen_mfp_pads[] = { ETH_TXEN };
455 static unsigned int rmii_txen_mfp_funcs[] = { S900_MUX_ETH_RMII,
463 static unsigned int rmii_rxer_mfp_pads[] = { ETH_RXER };
464 static unsigned int rmii_rxer_mfp_funcs[] = { S900_MUX_ETH_RMII,
472 static unsigned int rmii_crs_dv_mfp_pads[] = { ETH_CRS_DV };
473 static unsigned int rmii_crs_dv_mfp_funcs[] = { S900_MUX_ETH_RMII,
478 static unsigned int rmii_rxd1_mfp_pads[] = { ETH_RXD1 };
479 static unsigned int rmii_rxd1_mfp_funcs[] = { S900_MUX_ETH_RMII,
486 static unsigned int rmii_rxd0_mfp_pads[] = { ETH_RXD0 };
487 static unsigned int rmii_rxd0_mfp_funcs[] = { S900_MUX_ETH_RMII,
495 static unsigned int rmii_ref_clk_mfp_pads[] = { ETH_REF_CLK };
496 static unsigned int rmii_ref_clk_mfp_funcs[] = { S900_MUX_ETH_RMII,
501 static unsigned int i2s_d0_mfp_pads[] = { I2S_D0 };
502 static unsigned int i2s_d0_mfp_funcs[] = { S900_MUX_I2S0,
504 static unsigned int i2s_d1_mfp_pads[] = { I2S_D1 };
505 static unsigned int i2s_d1_mfp_funcs[] = { S900_MUX_I2S1,
509 static unsigned int i2s_lr_m_clk0_mfp_pads[] = { I2S_LRCLK0,
511 static unsigned int i2s_lr_m_clk0_mfp_funcs[] = { S900_MUX_I2S0,
516 static unsigned int i2s_bclk0_mfp_pads[] = { I2S_BCLK0 };
517 static unsigned int i2s_bclk0_mfp_funcs[] = { S900_MUX_I2S0,
519 static unsigned int i2s_bclk1_mclk1_mfp_pads[] = { I2S_BCLK1,
522 static unsigned int i2s_bclk1_mclk1_mfp_funcs[] = { S900_MUX_I2S1,
525 static unsigned int pcm1_in_out_mfp_pads[] = { PCM1_IN,
527 static unsigned int pcm1_in_out_mfp_funcs[] = { S900_MUX_PCM1,
531 static unsigned int pcm1_clk_mfp_pads[] = { PCM1_CLK };
532 static unsigned int pcm1_clk_mfp_funcs[] = { S900_MUX_PCM1,
536 static unsigned int pcm1_sync_mfp_pads[] = { PCM1_SYNC };
537 static unsigned int pcm1_sync_mfp_funcs[] = { S900_MUX_PCM1,
542 static unsigned int eram_a5_mfp_pads[] = { ERAM_A5 };
543 static unsigned int eram_a5_mfp_funcs[] = { S900_MUX_UART4,
549 static unsigned int eram_a6_mfp_pads[] = { ERAM_A6 };
550 static unsigned int eram_a6_mfp_funcs[] = { S900_MUX_UART4,
557 static unsigned int eram_a7_mfp_pads[] = { ERAM_A7 };
558 static unsigned int eram_a7_mfp_funcs[] = { S900_MUX_RESERVED,
565 static unsigned int eram_a8_mfp_pads[] = { ERAM_A8 };
566 static unsigned int eram_a8_mfp_funcs[] = { S900_MUX_RESERVED,
572 static unsigned int eram_a9_mfp_pads[] = { ERAM_A9 };
573 static unsigned int eram_a9_mfp_funcs[] = { S900_MUX_USB20,
579 static unsigned int eram_a10_mfp_pads[] = { ERAM_A10 };
580 static unsigned int eram_a10_mfp_funcs[] = { S900_MUX_USB30,
589 static unsigned int eram_a11_mfp_pads[] = { ERAM_A11 };
590 static unsigned int eram_a11_mfp_funcs[] = { S900_MUX_RESERVED,
599 static unsigned int lvds_oep_odn_mfp_pads[] = { LVDS_OEP,
603 static unsigned int lvds_oep_odn_mfp_funcs[] = { S900_MUX_LVDS,
605 static unsigned int lvds_ocp_obn_mfp_pads[] = { LVDS_OCP,
609 static unsigned int lvds_ocp_obn_mfp_funcs[] = { S900_MUX_LVDS,
611 static unsigned int lvds_oap_oan_mfp_pads[] = { LVDS_OAP,
613 static unsigned int lvds_oap_oan_mfp_funcs[] = { S900_MUX_LVDS,
616 static unsigned int lvds_e_mfp_pads[] = { LVDS_EEP,
626 static unsigned int lvds_e_mfp_funcs[] = { S900_MUX_LVDS,
629 static unsigned int spi0_sclk_mosi_mfp_pads[] = { SPI0_SCLK,
631 static unsigned int spi0_sclk_mosi_mfp_funcs[] = { S900_MUX_SPI0,
636 static unsigned int spi0_ss_mfp_pads[] = { SPI0_SS };
637 static unsigned int spi0_ss_mfp_funcs[] = { S900_MUX_SPI0,
643 static unsigned int spi0_miso_mfp_pads[] = { SPI0_MISO };
644 static unsigned int spi0_miso_mfp_funcs[] = { S900_MUX_SPI0,
651 static unsigned int uart2_rtsb_mfp_pads[] = { UART2_RTSB };
652 static unsigned int uart2_rtsb_mfp_funcs[] = { S900_MUX_UART2,
655 static unsigned int uart2_ctsb_mfp_pads[] = { UART2_CTSB };
656 static unsigned int uart2_ctsb_mfp_funcs[] = { S900_MUX_UART2,
659 static unsigned int uart3_rtsb_mfp_pads[] = { UART3_RTSB };
660 static unsigned int uart3_rtsb_mfp_funcs[] = { S900_MUX_UART3,
663 static unsigned int uart3_ctsb_mfp_pads[] = { UART3_CTSB };
664 static unsigned int uart3_ctsb_mfp_funcs[] = { S900_MUX_UART3,
667 static unsigned int sd0_d0_mfp_pads[] = { SD0_D0 };
668 static unsigned int sd0_d0_mfp_funcs[] = { S900_MUX_SD0,
676 static unsigned int sd0_d1_mfp_pads[] = { SD0_D1 };
677 static unsigned int sd0_d1_mfp_funcs[] = { S900_MUX_SD0,
684 static unsigned int sd0_d2_d3_mfp_pads[] = { SD0_D2,
686 static unsigned int sd0_d2_d3_mfp_funcs[] = { S900_MUX_SD0,
694 static unsigned int sd1_d0_d3_mfp_pads[] = { SD1_D0, SD1_D1,
696 static unsigned int sd1_d0_d3_mfp_funcs[] = { S900_MUX_SD1,
699 static unsigned int sd0_cmd_mfp_pads[] = { SD0_CMD };
700 static unsigned int sd0_cmd_mfp_funcs[] = { S900_MUX_SD0,
705 static unsigned int sd0_clk_mfp_pads[] = { SD0_CLK };
706 static unsigned int sd0_clk_mfp_funcs[] = { S900_MUX_SD0,
711 static unsigned int sd1_cmd_clk_mfp_pads[] = { SD1_CMD, SD1_CLK };
712 static unsigned int sd1_cmd_clk_mfp_funcs[] = { S900_MUX_SD1,
715 static unsigned int uart0_rx_mfp_pads[] = { UART0_RX };
716 static unsigned int uart0_rx_mfp_funcs[] = { S900_MUX_UART0,
723 static unsigned int nand0_d0_ceb3_mfp_pads[] = { NAND0_D0, NAND0_D1,
728 static unsigned int nand0_d0_ceb3_mfp_funcs[] = { S900_MUX_NAND0,
731 static unsigned int uart0_tx_mfp_pads[] = { UART0_TX };
732 static unsigned int uart0_tx_mfp_funcs[] = { S900_MUX_UART0,
740 static unsigned int i2c0_mfp_pads[] = { I2C0_SCLK, I2C0_SDATA };
741 static unsigned int i2c0_mfp_funcs[] = { S900_MUX_I2C0,
747 static unsigned int csi0_cn_cp_mfp_pads[] = { CSI0_CN, CSI0_CP };
748 static unsigned int csi0_cn_cp_mfp_funcs[] = { S900_MUX_SENS0,
751 static unsigned int csi0_dn0_dp3_mfp_pads[] = { CSI0_DN0, CSI0_DP0,
756 static unsigned int csi0_dn0_dp3_mfp_funcs[] = { S900_MUX_MIPI_CSI0,
759 static unsigned int csi1_dn0_cp_mfp_pads[] = { CSI1_DN0, CSI1_DP0,
762 static unsigned int csi1_dn0_cp_mfp_funcs[] = { S900_MUX_MIPI_CSI1,
765 static unsigned int dsi_dp3_dn1_mfp_pads[] = { DSI_DP3, DSI_DN2,
767 static unsigned int dsi_dp3_dn1_mfp_funcs[] = { S900_MUX_MIPI_DSI,
769 static unsigned int dsi_cp_dn0_mfp_pads[] = { DSI_CP, DSI_CN,
771 static unsigned int dsi_cp_dn0_mfp_funcs[] = { S900_MUX_MIPI_DSI,
773 static unsigned int dsi_dp2_dn2_mfp_pads[] = { DSI_DP2, DSI_DN2 };
774 static unsigned int dsi_dp2_dn2_mfp_funcs[] = { S900_MUX_MIPI_DSI,
777 static unsigned int nand1_d0_ceb1_mfp_pads[] = { NAND1_D0, NAND1_D1,
782 static unsigned int nand1_d0_ceb1_mfp_funcs[] = { S900_MUX_NAND1,
785 static unsigned int nand1_ceb3_mfp_pads[] = { NAND1_CEB3 };
786 static unsigned int nand1_ceb3_mfp_funcs[] = { S900_MUX_NAND1,
788 static unsigned int nand1_ceb0_mfp_pads[] = { NAND1_CEB0 };
789 static unsigned int nand1_ceb0_mfp_funcs[] = { S900_MUX_NAND1,
792 static unsigned int csi1_dn0_dp0_mfp_pads[] = { CSI1_DN0, CSI1_DP0 };
793 static unsigned int csi1_dn0_dp0_mfp_funcs[] = { S900_MUX_SENS0,
796 static unsigned int uart4_rx_tx_mfp_pads[] = { UART4_RX, UART4_TX };
797 static unsigned int uart4_rx_tx_mfp_funcs[] = { S900_MUX_UART4,
801 static unsigned int sgpio3_drv_pads[] = { SGPIO3 };
802 static unsigned int sgpio2_drv_pads[] = { SGPIO2 };
803 static unsigned int sgpio1_drv_pads[] = { SGPIO1 };
804 static unsigned int sgpio0_drv_pads[] = { SGPIO0 };
805 static unsigned int rmii_tx_d0_d1_drv_pads[] = { ETH_TXD0, ETH_TXD1 };
806 static unsigned int rmii_txen_rxer_drv_pads[] = { ETH_TXEN, ETH_RXER };
807 static unsigned int rmii_crs_dv_drv_pads[] = { ETH_CRS_DV };
808 static unsigned int rmii_rx_d1_d0_drv_pads[] = { ETH_RXD1, ETH_RXD0 };
809 static unsigned int rmii_ref_clk_drv_pads[] = { ETH_REF_CLK };
810 static unsigned int rmii_mdc_mdio_drv_pads[] = { ETH_MDC, ETH_MDIO };
811 static unsigned int sirq_0_1_drv_pads[] = { SIRQ0, SIRQ1 };
812 static unsigned int sirq2_drv_pads[] = { SIRQ2 };
813 static unsigned int i2s_d0_d1_drv_pads[] = { I2S_D0, I2S_D1 };
814 static unsigned int i2s_lr_m_clk0_drv_pads[] = { I2S_LRCLK0, I2S_MCLK0 };
815 static unsigned int i2s_blk1_mclk1_drv_pads[] = { I2S_BCLK0, I2S_BCLK1,
817 static unsigned int pcm1_in_out_drv_pads[] = { PCM1_IN, PCM1_CLK,
820 static unsigned int lvds_oap_oan_drv_pads[] = { LVDS_OAP, LVDS_OAN };
821 static unsigned int lvds_oep_odn_drv_pads[] = { LVDS_OEP, LVDS_OEN,
823 static unsigned int lvds_ocp_obn_drv_pads[] = { LVDS_OCP, LVDS_OCN,
825 static unsigned int lvds_e_drv_pads[] = { LVDS_EEP, LVDS_EEN,
829 static unsigned int sd0_d3_d0_drv_pads[] = { SD0_D3, SD0_D2,
831 static unsigned int sd1_d3_d0_drv_pads[] = { SD1_D3, SD1_D2,
833 static unsigned int sd0_sd1_cmd_clk_drv_pads[] = { SD0_CLK, SD0_CMD,
835 static unsigned int spi0_sclk_mosi_drv_pads[] = { SPI0_SCLK, SPI0_MOSI };
836 static unsigned int spi0_ss_miso_drv_pads[] = { SPI0_SS, SPI0_MISO };
837 static unsigned int uart0_rx_tx_drv_pads[] = { UART0_RX, UART0_TX };
838 static unsigned int uart4_rx_tx_drv_pads[] = { UART4_RX, UART4_TX };
839 static unsigned int uart2_drv_pads[] = { UART2_RX, UART2_TX,
841 static unsigned int uart3_drv_pads[] = { UART3_RX, UART3_TX,
844 static unsigned int i2c0_drv_pads[] = { I2C0_SCLK, I2C0_SDATA };
845 static unsigned int i2c1_drv_pads[] = { I2C1_SCLK, I2C1_SDATA };
846 static unsigned int i2c2_drv_pads[] = { I2C2_SCLK, I2C2_SDATA };
847 static unsigned int sensor0_drv_pads[] = { SENSOR0_PCLK,
851 static unsigned int sgpio3_sr_pads[] = { SGPIO3 };
852 static unsigned int sgpio2_sr_pads[] = { SGPIO2 };
853 static unsigned int sgpio1_sr_pads[] = { SGPIO1 };
854 static unsigned int sgpio0_sr_pads[] = { SGPIO0 };
855 static unsigned int rmii_tx_d0_d1_sr_pads[] = { ETH_TXD0, ETH_TXD1 };
856 static unsigned int rmii_txen_rxer_sr_pads[] = { ETH_TXEN, ETH_RXER };
857 static unsigned int rmii_crs_dv_sr_pads[] = { ETH_CRS_DV };
858 static unsigned int rmii_rx_d1_d0_sr_pads[] = { ETH_RXD1, ETH_RXD0 };
859 static unsigned int rmii_ref_clk_sr_pads[] = { ETH_REF_CLK };
860 static unsigned int rmii_mdc_mdio_sr_pads[] = { ETH_MDC, ETH_MDIO };
861 static unsigned int sirq_0_1_sr_pads[] = { SIRQ0, SIRQ1 };
862 static unsigned int sirq2_sr_pads[] = { SIRQ2 };
863 static unsigned int i2s_do_d1_sr_pads[] = { I2S_D0, I2S_D1 };
864 static unsigned int i2s_lr_m_clk0_sr_pads[] = { I2S_LRCLK0, I2S_MCLK0 };
865 static unsigned int i2s_bclk0_mclk1_sr_pads[] = { I2S_BCLK0, I2S_BCLK1,
867 static unsigned int pcm1_in_out_sr_pads[] = { PCM1_IN, PCM1_CLK,
870 static unsigned int sd1_d3_d0_sr_pads[] = { SD1_D3, SD1_D2,
872 static unsigned int sd0_sd1_clk_cmd_sr_pads[] = { SD0_CLK, SD0_CMD,
874 static unsigned int spi0_sclk_mosi_sr_pads[] = { SPI0_SCLK, SPI0_MOSI };
875 static unsigned int spi0_ss_miso_sr_pads[] = { SPI0_SS, SPI0_MISO };
876 static unsigned int uart0_rx_tx_sr_pads[] = { UART0_RX, UART0_TX };
877 static unsigned int uart4_rx_tx_sr_pads[] = { UART4_RX, UART4_TX };
878 static unsigned int uart2_sr_pads[] = { UART2_RX, UART2_TX,
880 static unsigned int uart3_sr_pads[] = { UART3_RX, UART3_TX,
883 static unsigned int i2c0_sr_pads[] = { I2C0_SCLK, I2C0_SDATA };
884 static unsigned int i2c1_sr_pads[] = { I2C1_SCLK, I2C1_SDATA };
885 static unsigned int i2c2_sr_pads[] = { I2C2_SCLK, I2C2_SDATA };
886 static unsigned int sensor0_sr_pads[] = { SENSOR0_PCLK,
891 static const struct owl_pingroup s900_groups[] = {
1018 static const char * const eram_groups[] = {
1041 static const char * const eth_rmii_groups[] = {
1055 static const char * const eth_smii_groups[] = {
1062 static const char * const spi0_groups[] = {
1071 static const char * const spi1_groups[] = {
1080 static const char * const spi2_groups[] = {
1087 static const char * const spi3_groups[] = {
1092 static const char * const sens0_groups[] = {
1110 static const char * const uart0_groups[] = {
1117 static const char * const uart1_groups[] = {
1122 static const char * const uart2_groups[] = {
1142 static const char * const uart3_groups[] = {
1148 static const char * const uart4_groups[] = {
1162 static const char * const uart5_groups[] = {
1173 static const char * const uart6_groups[] = {
1178 static const char * const i2s0_groups[] = {
1185 static const char * const i2s1_groups[] = {
1195 static const char * const pcm0_groups[] = {
1206 static const char * const pcm1_groups[] = {
1220 static const char * const jtag_groups[] = {
1232 static const char * const pwm0_groups[] = {
1240 static const char * const pwm1_groups[] = {
1249 static const char * const pwm2_groups[] = {
1256 static const char * const pwm3_groups[] = {
1262 static const char * const pwm4_groups[] = {
1267 static const char * const pwm5_groups[] = {
1272 static const char * const sd0_groups[] = {
1280 static const char * const sd1_groups[] = {
1286 static const char * const sd2_groups[] = {
1290 static const char * const sd3_groups[] = {
1294 static const char * const i2c0_groups[] = {
1298 static const char * const i2c1_groups[] = {
1303 static const char * const i2c2_groups[] = {
1307 static const char * const i2c3_groups[] = {
1312 static const char * const i2c4_groups[] = {
1316 static const char * const i2c5_groups[] = {
1322 static const char * const lvds_groups[] = {
1329 static const char * const usb20_groups[] = {
1333 static const char * const usb30_groups[] = {
1337 static const char * const gpu_groups[] = {
1345 static const char * const mipi_csi0_groups[] = {
1349 static const char * const mipi_csi1_groups[] = {
1353 static const char * const mipi_dsi_groups[] = {
1360 static const char * const nand0_groups[] = {
1365 static const char * const nand1_groups[] = {
1372 static const char * const spdif_groups[] = {
1376 static const char * const sirq0_groups[] = {
1381 static const char * const sirq1_groups[] = {
1386 static const char * const sirq2_groups[] = {
1390 static const struct owl_pinmux_func s900_functions[] = {
1443 static PAD_PULLCTL_CONF(ETH_RXER, 0, 18, 2);
1444 static PAD_PULLCTL_CONF(SIRQ0, 0, 16, 2);
1445 static PAD_PULLCTL_CONF(SIRQ1, 0, 14, 2);
1446 static PAD_PULLCTL_CONF(SIRQ2, 0, 12, 2);
1447 static PAD_PULLCTL_CONF(I2C0_SDATA, 0, 10, 2);
1448 static PAD_PULLCTL_CONF(I2C0_SCLK, 0, 8, 2);
1449 static PAD_PULLCTL_CONF(ERAM_A5, 0, 6, 2);
1450 static PAD_PULLCTL_CONF(ERAM_A6, 0, 4, 2);
1451 static PAD_PULLCTL_CONF(ERAM_A7, 0, 2, 2);
1452 static PAD_PULLCTL_CONF(ERAM_A10, 0, 0, 2);
1455 static PAD_PULLCTL_CONF(PCM1_IN, 1, 30, 2);
1456 static PAD_PULLCTL_CONF(PCM1_OUT, 1, 28, 2);
1457 static PAD_PULLCTL_CONF(SD0_D0, 1, 26, 2);
1458 static PAD_PULLCTL_CONF(SD0_D1, 1, 24, 2);
1459 static PAD_PULLCTL_CONF(SD0_D2, 1, 22, 2);
1460 static PAD_PULLCTL_CONF(SD0_D3, 1, 20, 2);
1461 static PAD_PULLCTL_CONF(SD0_CMD, 1, 18, 2);
1462 static PAD_PULLCTL_CONF(SD0_CLK, 1, 16, 2);
1463 static PAD_PULLCTL_CONF(SD1_CMD, 1, 14, 2);
1464 static PAD_PULLCTL_CONF(SD1_D0, 1, 12, 2);
1465 static PAD_PULLCTL_CONF(SD1_D1, 1, 10, 2);
1466 static PAD_PULLCTL_CONF(SD1_D2, 1, 8, 2);
1467 static PAD_PULLCTL_CONF(SD1_D3, 1, 6, 2);
1468 static PAD_PULLCTL_CONF(UART0_RX, 1, 4, 2);
1469 static PAD_PULLCTL_CONF(UART0_TX, 1, 2, 2);
1472 static PAD_PULLCTL_CONF(I2C2_SDATA, 2, 26, 2);
1473 static PAD_PULLCTL_CONF(I2C2_SCLK, 2, 24, 2);
1474 static PAD_PULLCTL_CONF(SPI0_SCLK, 2, 22, 2);
1475 static PAD_PULLCTL_CONF(SPI0_MOSI, 2, 20, 2);
1476 static PAD_PULLCTL_CONF(I2C1_SDATA, 2, 18, 2);
1477 static PAD_PULLCTL_CONF(I2C1_SCLK, 2, 16, 2);
1478 static PAD_PULLCTL_CONF(NAND0_D0, 2, 15, 1);
1479 static PAD_PULLCTL_CONF(NAND0_D1, 2, 15, 1);
1480 static PAD_PULLCTL_CONF(NAND0_D2, 2, 15, 1);
1481 static PAD_PULLCTL_CONF(NAND0_D3, 2, 15, 1);
1482 static PAD_PULLCTL_CONF(NAND0_D4, 2, 15, 1);
1483 static PAD_PULLCTL_CONF(NAND0_D5, 2, 15, 1);
1484 static PAD_PULLCTL_CONF(NAND0_D6, 2, 15, 1);
1485 static PAD_PULLCTL_CONF(NAND0_D7, 2, 15, 1);
1486 static PAD_PULLCTL_CONF(NAND0_DQSN, 2, 14, 1);
1487 static PAD_PULLCTL_CONF(NAND0_DQS, 2, 13, 1);
1488 static PAD_PULLCTL_CONF(NAND1_D0, 2, 12, 1);
1489 static PAD_PULLCTL_CONF(NAND1_D1, 2, 12, 1);
1490 static PAD_PULLCTL_CONF(NAND1_D2, 2, 12, 1);
1491 static PAD_PULLCTL_CONF(NAND1_D3, 2, 12, 1);
1492 static PAD_PULLCTL_CONF(NAND1_D4, 2, 12, 1);
1493 static PAD_PULLCTL_CONF(NAND1_D5, 2, 12, 1);
1494 static PAD_PULLCTL_CONF(NAND1_D6, 2, 12, 1);
1495 static PAD_PULLCTL_CONF(NAND1_D7, 2, 12, 1);
1496 static PAD_PULLCTL_CONF(NAND1_DQSN, 2, 11, 1);
1497 static PAD_PULLCTL_CONF(NAND1_DQS, 2, 10, 1);
1498 static PAD_PULLCTL_CONF(SGPIO2, 2, 8, 2);
1499 static PAD_PULLCTL_CONF(SGPIO3, 2, 6, 2);
1500 static PAD_PULLCTL_CONF(UART4_RX, 2, 4, 2);
1501 static PAD_PULLCTL_CONF(UART4_TX, 2, 2, 2);
1504 static PAD_ST_CONF(I2C0_SDATA, 0, 30, 1);
1505 static PAD_ST_CONF(UART0_RX, 0, 29, 1);
1506 static PAD_ST_CONF(ETH_MDC, 0, 28, 1);
1507 static PAD_ST_CONF(I2S_MCLK1, 0, 23, 1);
1508 static PAD_ST_CONF(ETH_REF_CLK, 0, 22, 1);
1509 static PAD_ST_CONF(ETH_TXEN, 0, 21, 1);
1510 static PAD_ST_CONF(ETH_TXD0, 0, 20, 1);
1511 static PAD_ST_CONF(I2S_LRCLK1, 0, 19, 1);
1512 static PAD_ST_CONF(SGPIO2, 0, 18, 1);
1513 static PAD_ST_CONF(SGPIO3, 0, 17, 1);
1514 static PAD_ST_CONF(UART4_TX, 0, 16, 1);
1515 static PAD_ST_CONF(I2S_D1, 0, 15, 1);
1516 static PAD_ST_CONF(UART0_TX, 0, 14, 1);
1517 static PAD_ST_CONF(SPI0_SCLK, 0, 13, 1);
1518 static PAD_ST_CONF(SD0_CLK, 0, 12, 1);
1519 static PAD_ST_CONF(ERAM_A5, 0, 11, 1);
1520 static PAD_ST_CONF(I2C0_SCLK, 0, 7, 1);
1521 static PAD_ST_CONF(ERAM_A9, 0, 6, 1);
1522 static PAD_ST_CONF(LVDS_OEP, 0, 5, 1);
1523 static PAD_ST_CONF(LVDS_ODN, 0, 4, 1);
1524 static PAD_ST_CONF(LVDS_OAP, 0, 3, 1);
1525 static PAD_ST_CONF(I2S_BCLK1, 0, 2, 1);
1528 static PAD_ST_CONF(I2S_LRCLK0, 1, 29, 1);
1529 static PAD_ST_CONF(UART4_RX, 1, 28, 1);
1530 static PAD_ST_CONF(UART3_CTSB, 1, 27, 1);
1531 static PAD_ST_CONF(UART3_RTSB, 1, 26, 1);
1532 static PAD_ST_CONF(UART3_RX, 1, 25, 1);
1533 static PAD_ST_CONF(UART2_RTSB, 1, 24, 1);
1534 static PAD_ST_CONF(UART2_CTSB, 1, 23, 1);
1535 static PAD_ST_CONF(UART2_RX, 1, 22, 1);
1536 static PAD_ST_CONF(ETH_RXD0, 1, 21, 1);
1537 static PAD_ST_CONF(ETH_RXD1, 1, 20, 1);
1538 static PAD_ST_CONF(ETH_CRS_DV, 1, 19, 1);
1539 static PAD_ST_CONF(ETH_RXER, 1, 18, 1);
1540 static PAD_ST_CONF(ETH_TXD1, 1, 17, 1);
1541 static PAD_ST_CONF(LVDS_OCP, 1, 16, 1);
1542 static PAD_ST_CONF(LVDS_OBP, 1, 15, 1);
1543 static PAD_ST_CONF(LVDS_OBN, 1, 14, 1);
1544 static PAD_ST_CONF(PCM1_OUT, 1, 12, 1);
1545 static PAD_ST_CONF(PCM1_CLK, 1, 11, 1);
1546 static PAD_ST_CONF(PCM1_IN, 1, 10, 1);
1547 static PAD_ST_CONF(PCM1_SYNC, 1, 9, 1);
1548 static PAD_ST_CONF(I2C1_SCLK, 1, 8, 1);
1549 static PAD_ST_CONF(I2C1_SDATA, 1, 7, 1);
1550 static PAD_ST_CONF(I2C2_SCLK, 1, 6, 1);
1551 static PAD_ST_CONF(I2C2_SDATA, 1, 5, 1);
1552 static PAD_ST_CONF(SPI0_MOSI, 1, 4, 1);
1553 static PAD_ST_CONF(SPI0_MISO, 1, 3, 1);
1554 static PAD_ST_CONF(SPI0_SS, 1, 2, 1);
1555 static PAD_ST_CONF(I2S_BCLK0, 1, 1, 1);
1556 static PAD_ST_CONF(I2S_MCLK0, 1, 0, 1);
1559 static const struct owl_padinfo s900_padinfo[NUM_PADS] = {
1712 static const struct owl_gpio_port s900_gpio_ports[] = {
1728 static int s900_pad_pinconf_arg2val(const struct owl_padinfo *info, in s900_pad_pinconf_arg2val()
1755 static int s900_pad_pinconf_val2arg(const struct owl_padinfo *padinfo, in s900_pad_pinconf_val2arg()
1782 static struct owl_pinctrl_soc_data s900_pinctrl_data = {
1797 static int s900_pinctrl_probe(struct platform_device *pdev) in s900_pinctrl_probe()
1802 static const struct of_device_id s900_pinctrl_of_match[] = {
1807 static struct platform_driver s900_pinctrl_driver = {
1815 static int __init s900_pinctrl_init(void) in s900_pinctrl_init()
1821 static void __exit s900_pinctrl_exit(void) in s900_pinctrl_exit()