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

Merge branch 'sh-pfc-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers into devel

+1949 -262
+68 -68
drivers/pinctrl/sh-pfc/pfc-emev2.c
··· 258 258 259 259 /* GPSR0 */ 260 260 /* V9 */ 261 - PINMUX_DATA(JT_SEL_MARK, FN_JT_SEL), 261 + PINMUX_SINGLE(JT_SEL), 262 262 /* U9 */ 263 - PINMUX_DATA(ERR_RST_REQB_MARK, FN_ERR_RST_REQB), 263 + PINMUX_SINGLE(ERR_RST_REQB), 264 264 /* V8 */ 265 - PINMUX_DATA(REF_CLKO_MARK, FN_REF_CLKO), 265 + PINMUX_SINGLE(REF_CLKO), 266 266 /* U8 */ 267 - PINMUX_DATA(EXT_CLKI_MARK, FN_EXT_CLKI), 267 + PINMUX_SINGLE(EXT_CLKI), 268 268 /* B22*/ 269 269 PINMUX_IPSR_NOFN(LCD3_1_0_PORT18, LCD3_PXCLK, SEL_LCD3_1_0_00), 270 270 PINMUX_IPSR_NOFN(LCD3_1_0_PORT18, YUV3_CLK_O, SEL_LCD3_1_0_01), 271 271 /* C21 */ 272 - PINMUX_DATA(LCD3_PXCLKB_MARK, FN_LCD3_PXCLKB), 272 + PINMUX_SINGLE(LCD3_PXCLKB), 273 273 /* A21 */ 274 274 PINMUX_IPSR_NOFN(LCD3_1_0_PORT20, LCD3_CLK_I, SEL_LCD3_1_0_00), 275 275 PINMUX_IPSR_NOFN(LCD3_1_0_PORT20, YUV3_CLK_I, SEL_LCD3_1_0_01), ··· 285 285 286 286 /* GPSR1 */ 287 287 /* A20 */ 288 - PINMUX_DATA(LCD3_R0_MARK, FN_LCD3_R0), 288 + PINMUX_SINGLE(LCD3_R0), 289 289 /* B20 */ 290 - PINMUX_DATA(LCD3_R1_MARK, FN_LCD3_R1), 290 + PINMUX_SINGLE(LCD3_R1), 291 291 /* A19 */ 292 - PINMUX_DATA(LCD3_R2_MARK, FN_LCD3_R2), 292 + PINMUX_SINGLE(LCD3_R2), 293 293 /* B19 */ 294 - PINMUX_DATA(LCD3_R3_MARK, FN_LCD3_R3), 294 + PINMUX_SINGLE(LCD3_R3), 295 295 /* C19 */ 296 - PINMUX_DATA(LCD3_R4_MARK, FN_LCD3_R4), 296 + PINMUX_SINGLE(LCD3_R4), 297 297 /* B18 */ 298 - PINMUX_DATA(LCD3_R5_MARK, FN_LCD3_R5), 298 + PINMUX_SINGLE(LCD3_R5), 299 299 /* C18 */ 300 300 PINMUX_IPSR_NOFN(LCD3_9_8_PORT38, LCD3_R6, SEL_LCD3_9_8_00), 301 301 PINMUX_IPSR_NOFN(LCD3_9_8_PORT38, TP33_CLK, SEL_LCD3_9_8_10), ··· 367 367 PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, YUV3_D15, SEL_LCD3_11_10_01), 368 368 PINMUX_IPSR_NOFN(LCD3_11_10_PORT43, TP33_DATA15, SEL_LCD3_11_10_10), 369 369 /* AA9 */ 370 - PINMUX_DATA(IIC0_SCL_MARK, FN_IIC0_SCL), 370 + PINMUX_SINGLE(IIC0_SCL), 371 371 /* AA8 */ 372 - PINMUX_DATA(IIC0_SDA_MARK, FN_IIC0_SDA), 372 + PINMUX_SINGLE(IIC0_SDA), 373 373 /* Y9 */ 374 374 PINMUX_IPSR_NOFN(IIC_1_0_PORT46, IIC1_SCL, SEL_IIC_1_0_00), 375 375 PINMUX_IPSR_NOFN(IIC_1_0_PORT46, UART3_RX, SEL_IIC_1_0_01), ··· 377 377 PINMUX_IPSR_NOFN(IIC_1_0_PORT47, IIC1_SDA, SEL_IIC_1_0_00), 378 378 PINMUX_IPSR_NOFN(IIC_1_0_PORT47, UART3_TX, SEL_IIC_1_0_01), 379 379 /* AC19 */ 380 - PINMUX_DATA(SD_CKI_MARK, FN_SD_CKI), 380 + PINMUX_SINGLE(SD_CKI), 381 381 /* AB18 */ 382 - PINMUX_DATA(SDI0_CKO_MARK, FN_SDI0_CKO), 382 + PINMUX_SINGLE(SDI0_CKO), 383 383 /* AC18 */ 384 - PINMUX_DATA(SDI0_CKI_MARK, FN_SDI0_CKI), 384 + PINMUX_SINGLE(SDI0_CKI), 385 385 /* Y12 */ 386 - PINMUX_DATA(SDI0_CMD_MARK, FN_SDI0_CMD), 386 + PINMUX_SINGLE(SDI0_CMD), 387 387 /* AA13 */ 388 - PINMUX_DATA(SDI0_DATA0_MARK, FN_SDI0_DATA0), 388 + PINMUX_SINGLE(SDI0_DATA0), 389 389 /* Y13 */ 390 - PINMUX_DATA(SDI0_DATA1_MARK, FN_SDI0_DATA1), 390 + PINMUX_SINGLE(SDI0_DATA1), 391 391 /* AA14 */ 392 - PINMUX_DATA(SDI0_DATA2_MARK, FN_SDI0_DATA2), 392 + PINMUX_SINGLE(SDI0_DATA2), 393 393 /* Y14 */ 394 - PINMUX_DATA(SDI0_DATA3_MARK, FN_SDI0_DATA3), 394 + PINMUX_SINGLE(SDI0_DATA3), 395 395 /* AA15 */ 396 - PINMUX_DATA(SDI0_DATA4_MARK, FN_SDI0_DATA4), 396 + PINMUX_SINGLE(SDI0_DATA4), 397 397 /* Y15 */ 398 - PINMUX_DATA(SDI0_DATA5_MARK, FN_SDI0_DATA5), 398 + PINMUX_SINGLE(SDI0_DATA5), 399 399 /* AA16 */ 400 - PINMUX_DATA(SDI0_DATA6_MARK, FN_SDI0_DATA6), 400 + PINMUX_SINGLE(SDI0_DATA6), 401 401 /* Y16 */ 402 - PINMUX_DATA(SDI0_DATA7_MARK, FN_SDI0_DATA7), 402 + PINMUX_SINGLE(SDI0_DATA7), 403 403 /* AB22 */ 404 - PINMUX_DATA(SDI1_CKO_MARK, FN_SDI1_CKO), 404 + PINMUX_SINGLE(SDI1_CKO), 405 405 /* AA23 */ 406 - PINMUX_DATA(SDI1_CKI_MARK, FN_SDI1_CKI), 406 + PINMUX_SINGLE(SDI1_CKI), 407 407 /* AC21 */ 408 - PINMUX_DATA(SDI1_CMD_MARK, FN_SDI1_CMD), 408 + PINMUX_SINGLE(SDI1_CMD), 409 409 410 410 /* GPSR2 */ 411 411 /* AB21 */ 412 - PINMUX_DATA(SDI1_DATA0_MARK, FN_SDI1_DATA0), 412 + PINMUX_SINGLE(SDI1_DATA0), 413 413 /* AB20 */ 414 - PINMUX_DATA(SDI1_DATA1_MARK, FN_SDI1_DATA1), 414 + PINMUX_SINGLE(SDI1_DATA1), 415 415 /* AB19 */ 416 - PINMUX_DATA(SDI1_DATA2_MARK, FN_SDI1_DATA2), 416 + PINMUX_SINGLE(SDI1_DATA2), 417 417 /* AA19 */ 418 - PINMUX_DATA(SDI1_DATA3_MARK, FN_SDI1_DATA3), 418 + PINMUX_SINGLE(SDI1_DATA3), 419 419 /* J23 */ 420 - PINMUX_DATA(AB_CLK_MARK, FN_AB_CLK), 420 + PINMUX_SINGLE(AB_CLK), 421 421 /* D21 */ 422 - PINMUX_DATA(AB_CSB0_MARK, FN_AB_CSB0), 422 + PINMUX_SINGLE(AB_CSB0), 423 423 /* E21 */ 424 - PINMUX_DATA(AB_CSB1_MARK, FN_AB_CSB1), 424 + PINMUX_SINGLE(AB_CSB1), 425 425 /* F20 */ 426 426 PINMUX_IPSR_NOFN(AB_1_0_PORT71, AB_CSB2, SEL_AB_1_0_00), 427 427 PINMUX_IPSR_NOFN(AB_1_0_PORT71, CF_CSB0, SEL_AB_1_0_10), ··· 514 514 515 515 /* GPSR3 */ 516 516 /* M21 */ 517 - PINMUX_DATA(AB_A20_MARK, FN_AB_A20), 517 + PINMUX_SINGLE(AB_A20), 518 518 /* N21 */ 519 519 PINMUX_IPSR_NOFN(AB_9_8_PORT97, AB_A21, SEL_AB_9_8_00), 520 520 PINMUX_IPSR_NOFN(AB_9_8_PORT97, SDI2_CKO, SEL_AB_9_8_01), ··· 541 541 PINMUX_IPSR_NOFN(AB_13_12_PORT104, AB_A28, SEL_AB_13_12_00), 542 542 PINMUX_IPSR_NOFN(AB_13_12_PORT104, AB_BEN1, SEL_AB_13_12_10), 543 543 /* B8 */ 544 - PINMUX_DATA(USI0_CS1_MARK, FN_USI0_CS1), 544 + PINMUX_SINGLE(USI0_CS1), 545 545 /* B9 */ 546 - PINMUX_DATA(USI0_CS2_MARK, FN_USI0_CS2), 546 + PINMUX_SINGLE(USI0_CS2), 547 547 /* C10 */ 548 - PINMUX_DATA(USI1_DI_MARK, FN_USI1_DI), 548 + PINMUX_SINGLE(USI1_DI), 549 549 /* D10 */ 550 - PINMUX_DATA(USI1_DO_MARK, FN_USI1_DO), 550 + PINMUX_SINGLE(USI1_DO), 551 551 /* AB5 */ 552 552 PINMUX_IPSR_NOFN(USI_1_0_PORT109, USI2_CLK, SEL_USI_1_0_00), 553 553 PINMUX_IPSR_NOFN(USI_1_0_PORT109, DTV_BCLK_B, SEL_USI_1_0_01), ··· 587 587 PINMUX_IPSR_NOFN(USI_9_8_PORT121, PWM1, SEL_USI_9_8_00), 588 588 PINMUX_IPSR_NOFN(USI_9_8_PORT121, USI4_DO, SEL_USI_9_8_01), 589 589 /* V20 */ 590 - PINMUX_DATA(NTSC_CLK_MARK, FN_NTSC_CLK), 590 + PINMUX_SINGLE(NTSC_CLK), 591 591 /* P20 */ 592 - PINMUX_DATA(NTSC_DATA0_MARK, FN_NTSC_DATA0), 592 + PINMUX_SINGLE(NTSC_DATA0), 593 593 /* P18 */ 594 - PINMUX_DATA(NTSC_DATA1_MARK, FN_NTSC_DATA1), 594 + PINMUX_SINGLE(NTSC_DATA1), 595 595 /* R20 */ 596 - PINMUX_DATA(NTSC_DATA2_MARK, FN_NTSC_DATA2), 596 + PINMUX_SINGLE(NTSC_DATA2), 597 597 /* R18 */ 598 - PINMUX_DATA(NTSC_DATA3_MARK, FN_NTSC_DATA3), 598 + PINMUX_SINGLE(NTSC_DATA3), 599 599 /* T20 */ 600 - PINMUX_DATA(NTSC_DATA4_MARK, FN_NTSC_DATA4), 600 + PINMUX_SINGLE(NTSC_DATA4), 601 601 602 602 /* GPRS3 */ 603 603 /* T18 */ 604 - PINMUX_DATA(NTSC_DATA5_MARK, FN_NTSC_DATA5), 604 + PINMUX_SINGLE(NTSC_DATA5), 605 605 /* U20 */ 606 - PINMUX_DATA(NTSC_DATA6_MARK, FN_NTSC_DATA6), 606 + PINMUX_SINGLE(NTSC_DATA6), 607 607 /* U18 */ 608 - PINMUX_DATA(NTSC_DATA7_MARK, FN_NTSC_DATA7), 608 + PINMUX_SINGLE(NTSC_DATA7), 609 609 /* W23 */ 610 - PINMUX_DATA(CAM_CLKO_MARK, FN_CAM_CLKO), 610 + PINMUX_SINGLE(CAM_CLKO), 611 611 /* Y23 */ 612 - PINMUX_DATA(CAM_CLKI_MARK, FN_CAM_CLKI), 612 + PINMUX_SINGLE(CAM_CLKI), 613 613 /* W22 */ 614 - PINMUX_DATA(CAM_VS_MARK, FN_CAM_VS), 614 + PINMUX_SINGLE(CAM_VS), 615 615 /* V21 */ 616 - PINMUX_DATA(CAM_HS_MARK, FN_CAM_HS), 616 + PINMUX_SINGLE(CAM_HS), 617 617 /* T21 */ 618 - PINMUX_DATA(CAM_YUV0_MARK, FN_CAM_YUV0), 618 + PINMUX_SINGLE(CAM_YUV0), 619 619 /* T22 */ 620 - PINMUX_DATA(CAM_YUV1_MARK, FN_CAM_YUV1), 620 + PINMUX_SINGLE(CAM_YUV1), 621 621 /* T23 */ 622 - PINMUX_DATA(CAM_YUV2_MARK, FN_CAM_YUV2), 622 + PINMUX_SINGLE(CAM_YUV2), 623 623 /* U21 */ 624 - PINMUX_DATA(CAM_YUV3_MARK, FN_CAM_YUV3), 624 + PINMUX_SINGLE(CAM_YUV3), 625 625 /* U22 */ 626 - PINMUX_DATA(CAM_YUV4_MARK, FN_CAM_YUV4), 626 + PINMUX_SINGLE(CAM_YUV4), 627 627 /* U23 */ 628 - PINMUX_DATA(CAM_YUV5_MARK, FN_CAM_YUV5), 628 + PINMUX_SINGLE(CAM_YUV5), 629 629 /* V22 */ 630 - PINMUX_DATA(CAM_YUV6_MARK, FN_CAM_YUV6), 630 + PINMUX_SINGLE(CAM_YUV6), 631 631 /* V23 */ 632 - PINMUX_DATA(CAM_YUV7_MARK, FN_CAM_YUV7), 632 + PINMUX_SINGLE(CAM_YUV7), 633 633 /* K22 */ 634 634 PINMUX_IPSR_NOFN(HSI_1_0_PORT143, USI5_CLK_B, SEL_HSI_1_0_01), 635 635 /* K23 */ ··· 647 647 /* M22 */ 648 648 PINMUX_IPSR_NOFN(HSI_1_0_PORT150, USI5_DI_B, SEL_HSI_1_0_01), 649 649 /* D13 */ 650 - PINMUX_DATA(JT_TDO_MARK, FN_JT_TDO), 650 + PINMUX_SINGLE(JT_TDO), 651 651 /* F13 */ 652 - PINMUX_DATA(JT_TDOEN_MARK, FN_JT_TDOEN), 652 + PINMUX_SINGLE(JT_TDOEN), 653 653 /* AA12 */ 654 - PINMUX_DATA(USB_VBUS_MARK, FN_USB_VBUS), 654 + PINMUX_SINGLE(USB_VBUS), 655 655 /* A12 */ 656 - PINMUX_DATA(LOWPWR_MARK, FN_LOWPWR), 656 + PINMUX_SINGLE(LOWPWR), 657 657 /* Y11 */ 658 - PINMUX_DATA(UART1_RX_MARK, FN_UART1_RX), 658 + PINMUX_SINGLE(UART1_RX), 659 659 /* Y10 */ 660 - PINMUX_DATA(UART1_TX_MARK, FN_UART1_TX), 660 + PINMUX_SINGLE(UART1_TX), 661 661 /* AA10 */ 662 662 PINMUX_IPSR_NOFN(UART_1_0_PORT157, UART1_CTSB, SEL_UART_1_0_00), 663 663 PINMUX_IPSR_NOFN(UART_1_0_PORT157, UART2_RX, SEL_UART_1_0_01), ··· 749 749 }; 750 750 751 751 static const unsigned int cf_data8_pins[] = { 752 - /* CF_D[0:8] */ 752 + /* CF_D[0:7] */ 753 753 77, 78, 79, 80, 754 754 81, 82, 83, 84, 755 755 };
+1 -1
drivers/pinctrl/sh-pfc/pfc-r8a7740.c
··· 2214 2214 LCD1_D8_MARK, 2215 2215 }; 2216 2216 static const unsigned int lcd1_data12_pins[] = { 2217 - /* D[0:12] */ 2217 + /* D[0:11] */ 2218 2218 4, 3, 2, 1, 0, 91, 92, 23, 2219 2219 93, 94, 21, 201, 2220 2220 };
+11 -11
drivers/pinctrl/sh-pfc/pfc-r8a7778.c
··· 548 548 static const u16 pinmux_data[] = { 549 549 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 550 550 551 - PINMUX_DATA(PENC0_MARK, FN_PENC0), 552 - PINMUX_DATA(PENC1_MARK, FN_PENC1), 553 - PINMUX_DATA(A1_MARK, FN_A1), 554 - PINMUX_DATA(A2_MARK, FN_A2), 555 - PINMUX_DATA(A3_MARK, FN_A3), 556 - PINMUX_DATA(WE0_MARK, FN_WE0), 557 - PINMUX_DATA(AUDIO_CLKA_MARK, FN_AUDIO_CLKA), 558 - PINMUX_DATA(AUDIO_CLKB_MARK, FN_AUDIO_CLKB), 559 - PINMUX_DATA(SSI_SCK34_MARK, FN_SSI_SCK34), 560 - PINMUX_DATA(AVS1_MARK, FN_AVS1), 561 - PINMUX_DATA(AVS2_MARK, FN_AVS2), 551 + PINMUX_SINGLE(PENC0), 552 + PINMUX_SINGLE(PENC1), 553 + PINMUX_SINGLE(A1), 554 + PINMUX_SINGLE(A2), 555 + PINMUX_SINGLE(A3), 556 + PINMUX_SINGLE(WE0), 557 + PINMUX_SINGLE(AUDIO_CLKA), 558 + PINMUX_SINGLE(AUDIO_CLKB), 559 + PINMUX_SINGLE(SSI_SCK34), 560 + PINMUX_SINGLE(AVS1), 561 + PINMUX_SINGLE(AVS2), 562 562 563 563 /* IPSR0 */ 564 564 PINMUX_IPSR_DATA(IP0_1_0, PRESETOUT),
+7 -14
drivers/pinctrl/sh-pfc/pfc-r8a7779.c
··· 23 23 24 24 #include "sh_pfc.h" 25 25 26 - #define PORT_GP_9(bank, fn, sfx) \ 27 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 28 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 29 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 30 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 31 - PORT_GP_1(bank, 8, fn, sfx) 32 - 33 26 #define CPU_ALL_PORT(fn, sfx) \ 34 27 PORT_GP_32(0, fn, sfx), \ 35 28 PORT_GP_32(1, fn, sfx), \ ··· 602 609 static const u16 pinmux_data[] = { 603 610 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 604 611 605 - PINMUX_DATA(AVS1_MARK, FN_AVS1), 606 - PINMUX_DATA(AVS1_MARK, FN_AVS1), 607 - PINMUX_DATA(A17_MARK, FN_A17), 608 - PINMUX_DATA(A18_MARK, FN_A18), 609 - PINMUX_DATA(A19_MARK, FN_A19), 612 + PINMUX_SINGLE(AVS1), 613 + PINMUX_SINGLE(AVS1), 614 + PINMUX_SINGLE(A17), 615 + PINMUX_SINGLE(A18), 616 + PINMUX_SINGLE(A19), 610 617 611 - PINMUX_DATA(USB_PENC0_MARK, FN_USB_PENC0), 612 - PINMUX_DATA(USB_PENC1_MARK, FN_USB_PENC1), 618 + PINMUX_SINGLE(USB_PENC0), 619 + PINMUX_SINGLE(USB_PENC1), 613 620 614 621 PINMUX_IPSR_DATA(IP0_2_0, USB_PENC2), 615 622 PINMUX_IPSR_MSEL(IP0_2_0, SCK0, SEL_SCIF0_0),
+9 -26
drivers/pinctrl/sh-pfc/pfc-r8a7790.c
··· 26 26 #include "core.h" 27 27 #include "sh_pfc.h" 28 28 29 - #define PORT_GP_30(bank, fn, sfx) \ 30 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 31 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 32 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 33 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 34 - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 35 - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 36 - PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 37 - PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ 38 - PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ 39 - PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 40 - PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 41 - PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 42 - PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx), \ 43 - PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx), \ 44 - PORT_GP_1(bank, 28, fn, sfx), PORT_GP_1(bank, 29, fn, sfx) 45 - 46 29 #define CPU_ALL_PORT(fn, sfx) \ 47 30 PORT_GP_32(0, fn, sfx), \ 48 31 PORT_GP_30(1, fn, sfx), \ ··· 789 806 static const u16 pinmux_data[] = { 790 807 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 791 808 792 - PINMUX_DATA(VI1_DATA7_VI1_B7_MARK, FN_VI1_DATA7_VI1_B7), 793 - PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN), 794 - PINMUX_DATA(USB0_OVC_VBUS_MARK, FN_USB0_OVC_VBUS), 795 - PINMUX_DATA(USB2_PWEN_MARK, FN_USB2_PWEN), 796 - PINMUX_DATA(USB2_OVC_MARK, FN_USB2_OVC), 797 - PINMUX_DATA(AVS1_MARK, FN_AVS1), 798 - PINMUX_DATA(AVS2_MARK, FN_AVS2), 799 - PINMUX_DATA(DU_DOTCLKIN0_MARK, FN_DU_DOTCLKIN0), 800 - PINMUX_DATA(DU_DOTCLKIN2_MARK, FN_DU_DOTCLKIN2), 809 + PINMUX_SINGLE(VI1_DATA7_VI1_B7), 810 + PINMUX_SINGLE(USB0_PWEN), 811 + PINMUX_SINGLE(USB0_OVC_VBUS), 812 + PINMUX_SINGLE(USB2_PWEN), 813 + PINMUX_SINGLE(USB2_OVC), 814 + PINMUX_SINGLE(AVS1), 815 + PINMUX_SINGLE(AVS2), 816 + PINMUX_SINGLE(DU_DOTCLKIN0), 817 + PINMUX_SINGLE(DU_DOTCLKIN2), 801 818 802 819 PINMUX_IPSR_DATA(IP0_2_0, D0), 803 820 PINMUX_IPSR_MSEL(IP0_2_0, MSIOF3_SCK_B, SEL_SOF3_1),
+42 -32
drivers/pinctrl/sh-pfc/pfc-r8a7791.c
··· 13 13 #include "core.h" 14 14 #include "sh_pfc.h" 15 15 16 - #define PORT_GP_26(bank, fn, sfx) \ 17 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 18 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 19 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 20 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 21 - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 22 - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 23 - PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 24 - PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ 25 - PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ 26 - PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 27 - PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 28 - PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 29 - PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx) 30 - 31 16 #define CPU_ALL_PORT(fn, sfx) \ 32 17 PORT_GP_32(0, fn, sfx), \ 33 18 PORT_GP_26(1, fn, sfx), \ ··· 772 787 static const u16 pinmux_data[] = { 773 788 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 774 789 775 - PINMUX_DATA(EX_CS0_N_MARK, FN_EX_CS0_N), 776 - PINMUX_DATA(RD_N_MARK, FN_RD_N), 777 - PINMUX_DATA(AUDIO_CLKA_MARK, FN_AUDIO_CLKA), 778 - PINMUX_DATA(VI0_CLK_MARK, FN_VI0_CLK), 779 - PINMUX_DATA(VI0_DATA0_VI0_B0_MARK, FN_VI0_DATA0_VI0_B0), 780 - PINMUX_DATA(VI0_DATA1_VI0_B1_MARK, FN_VI0_DATA1_VI0_B1), 781 - PINMUX_DATA(VI0_DATA2_VI0_B2_MARK, FN_VI0_DATA2_VI0_B2), 782 - PINMUX_DATA(VI0_DATA4_VI0_B4_MARK, FN_VI0_DATA4_VI0_B4), 783 - PINMUX_DATA(VI0_DATA5_VI0_B5_MARK, FN_VI0_DATA5_VI0_B5), 784 - PINMUX_DATA(VI0_DATA6_VI0_B6_MARK, FN_VI0_DATA6_VI0_B6), 785 - PINMUX_DATA(VI0_DATA7_VI0_B7_MARK, FN_VI0_DATA7_VI0_B7), 786 - PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN), 787 - PINMUX_DATA(USB0_OVC_MARK, FN_USB0_OVC), 788 - PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN), 789 - PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC), 790 - PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN), 791 - PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK), 790 + PINMUX_SINGLE(EX_CS0_N), 791 + PINMUX_SINGLE(RD_N), 792 + PINMUX_SINGLE(AUDIO_CLKA), 793 + PINMUX_SINGLE(VI0_CLK), 794 + PINMUX_SINGLE(VI0_DATA0_VI0_B0), 795 + PINMUX_SINGLE(VI0_DATA1_VI0_B1), 796 + PINMUX_SINGLE(VI0_DATA2_VI0_B2), 797 + PINMUX_SINGLE(VI0_DATA4_VI0_B4), 798 + PINMUX_SINGLE(VI0_DATA5_VI0_B5), 799 + PINMUX_SINGLE(VI0_DATA6_VI0_B6), 800 + PINMUX_SINGLE(VI0_DATA7_VI0_B7), 801 + PINMUX_SINGLE(USB0_PWEN), 802 + PINMUX_SINGLE(USB0_OVC), 803 + PINMUX_SINGLE(USB1_PWEN), 804 + PINMUX_SINGLE(USB1_OVC), 805 + PINMUX_SINGLE(DU0_DOTCLKIN), 806 + PINMUX_SINGLE(SD1_CLK), 792 807 793 808 /* IPSR0 */ 794 809 PINMUX_IPSR_DATA(IP0_0, D0), ··· 3587 3602 static const unsigned int scifb2_data_d_mux[] = { 3588 3603 SCIFB2_RXD_D_MARK, SCIFB2_TXD_D_MARK, 3589 3604 }; 3605 + 3606 + /* - SCIF Clock ------------------------------------------------------------- */ 3607 + static const unsigned int scif_clk_pins[] = { 3608 + /* SCIF_CLK */ 3609 + RCAR_GP_PIN(2, 29), 3610 + }; 3611 + static const unsigned int scif_clk_mux[] = { 3612 + SCIF_CLK_MARK, 3613 + }; 3614 + static const unsigned int scif_clk_b_pins[] = { 3615 + /* SCIF_CLK */ 3616 + RCAR_GP_PIN(7, 19), 3617 + }; 3618 + static const unsigned int scif_clk_b_mux[] = { 3619 + SCIF_CLK_B_MARK, 3620 + }; 3621 + 3590 3622 /* - SDHI0 ------------------------------------------------------------------ */ 3591 3623 static const unsigned int sdhi0_data1_pins[] = { 3592 3624 /* D0 */ ··· 4512 4510 SH_PFC_PIN_GROUP(scifb2_data_c), 4513 4511 SH_PFC_PIN_GROUP(scifb2_clk_c), 4514 4512 SH_PFC_PIN_GROUP(scifb2_data_d), 4513 + SH_PFC_PIN_GROUP(scif_clk), 4514 + SH_PFC_PIN_GROUP(scif_clk_b), 4515 4515 SH_PFC_PIN_GROUP(sdhi0_data1), 4516 4516 SH_PFC_PIN_GROUP(sdhi0_data4), 4517 4517 SH_PFC_PIN_GROUP(sdhi0_ctrl), ··· 4980 4976 "scifb2_data_d", 4981 4977 }; 4982 4978 4979 + static const char * const scif_clk_groups[] = { 4980 + "scif_clk", 4981 + "scif_clk_b", 4982 + }; 4983 + 4983 4984 static const char * const sdhi0_groups[] = { 4984 4985 "sdhi0_data1", 4985 4986 "sdhi0_data4", ··· 5135 5126 SH_PFC_FUNCTION(scifb0), 5136 5127 SH_PFC_FUNCTION(scifb1), 5137 5128 SH_PFC_FUNCTION(scifb2), 5129 + SH_PFC_FUNCTION(scif_clk), 5138 5130 SH_PFC_FUNCTION(sdhi0), 5139 5131 SH_PFC_FUNCTION(sdhi1), 5140 5132 SH_PFC_FUNCTION(sdhi2),
+22 -41
drivers/pinctrl/sh-pfc/pfc-r8a7794.c
··· 15 15 #include "core.h" 16 16 #include "sh_pfc.h" 17 17 18 - #define PORT_GP_26(bank, fn, sfx) \ 19 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 20 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 21 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 22 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 23 - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 24 - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 25 - PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 26 - PORT_GP_1(bank, 14, fn, sfx), PORT_GP_1(bank, 15, fn, sfx), \ 27 - PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx), \ 28 - PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 29 - PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 30 - PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 31 - PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx) 32 - 33 - #define PORT_GP_28(bank, fn, sfx) \ 34 - PORT_GP_26(bank, fn, sfx), \ 35 - PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx) 36 - 37 18 #define CPU_ALL_PORT(fn, sfx) \ 38 19 PORT_GP_32(0, fn, sfx), \ 39 20 PORT_GP_26(1, fn, sfx), \ ··· 599 618 static const u16 pinmux_data[] = { 600 619 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 601 620 602 - PINMUX_DATA(A2_MARK, FN_A2), 603 - PINMUX_DATA(WE0_N_MARK, FN_WE0_N), 604 - PINMUX_DATA(WE1_N_MARK, FN_WE1_N), 605 - PINMUX_DATA(DACK0_MARK, FN_DACK0), 606 - PINMUX_DATA(USB0_PWEN_MARK, FN_USB0_PWEN), 607 - PINMUX_DATA(USB0_OVC_MARK, FN_USB0_OVC), 608 - PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN), 609 - PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC), 610 - PINMUX_DATA(SD0_CLK_MARK, FN_SD0_CLK), 611 - PINMUX_DATA(SD0_CMD_MARK, FN_SD0_CMD), 612 - PINMUX_DATA(SD0_DATA0_MARK, FN_SD0_DATA0), 613 - PINMUX_DATA(SD0_DATA1_MARK, FN_SD0_DATA1), 614 - PINMUX_DATA(SD0_DATA2_MARK, FN_SD0_DATA2), 615 - PINMUX_DATA(SD0_DATA3_MARK, FN_SD0_DATA3), 616 - PINMUX_DATA(SD0_CD_MARK, FN_SD0_CD), 617 - PINMUX_DATA(SD0_WP_MARK, FN_SD0_WP), 618 - PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK), 619 - PINMUX_DATA(SD1_CMD_MARK, FN_SD1_CMD), 620 - PINMUX_DATA(SD1_DATA0_MARK, FN_SD1_DATA0), 621 - PINMUX_DATA(SD1_DATA1_MARK, FN_SD1_DATA1), 622 - PINMUX_DATA(SD1_DATA2_MARK, FN_SD1_DATA2), 623 - PINMUX_DATA(SD1_DATA3_MARK, FN_SD1_DATA3), 621 + PINMUX_SINGLE(A2), 622 + PINMUX_SINGLE(WE0_N), 623 + PINMUX_SINGLE(WE1_N), 624 + PINMUX_SINGLE(DACK0), 625 + PINMUX_SINGLE(USB0_PWEN), 626 + PINMUX_SINGLE(USB0_OVC), 627 + PINMUX_SINGLE(USB1_PWEN), 628 + PINMUX_SINGLE(USB1_OVC), 629 + PINMUX_SINGLE(SD0_CLK), 630 + PINMUX_SINGLE(SD0_CMD), 631 + PINMUX_SINGLE(SD0_DATA0), 632 + PINMUX_SINGLE(SD0_DATA1), 633 + PINMUX_SINGLE(SD0_DATA2), 634 + PINMUX_SINGLE(SD0_DATA3), 635 + PINMUX_SINGLE(SD0_CD), 636 + PINMUX_SINGLE(SD0_WP), 637 + PINMUX_SINGLE(SD1_CLK), 638 + PINMUX_SINGLE(SD1_CMD), 639 + PINMUX_SINGLE(SD1_DATA0), 640 + PINMUX_SINGLE(SD1_DATA1), 641 + PINMUX_SINGLE(SD1_DATA2), 642 + PINMUX_SINGLE(SD1_DATA3), 624 643 625 644 /* IPSR0 */ 626 645 PINMUX_IPSR_DATA(IP0_0, SD1_CD),
+1166 -41
drivers/pinctrl/sh-pfc/pfc-r8a7795.c
··· 13 13 #include "core.h" 14 14 #include "sh_pfc.h" 15 15 16 - #define PORT_GP_3(bank, fn, sfx) \ 17 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 18 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx) 19 - 20 - #define PORT_GP_14(bank, fn, sfx) \ 21 - PORT_GP_3(bank, fn, sfx), \ 22 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 23 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 24 - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 25 - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx), \ 26 - PORT_GP_1(bank, 12, fn, sfx), PORT_GP_1(bank, 13, fn, sfx), \ 27 - PORT_GP_1(bank, 14, fn, sfx) 28 - 29 - #define PORT_GP_15(bank, fn, sfx) \ 30 - PORT_GP_14(bank, fn, sfx), PORT_GP_1(bank, 15, fn, sfx) 31 - 32 - #define PORT_GP_17(bank, fn, sfx) \ 33 - PORT_GP_15(bank, fn, sfx), \ 34 - PORT_GP_1(bank, 16, fn, sfx), PORT_GP_1(bank, 17, fn, sfx) 35 - 36 - #define PORT_GP_25(bank, fn, sfx) \ 37 - PORT_GP_17(bank, fn, sfx), \ 38 - PORT_GP_1(bank, 18, fn, sfx), PORT_GP_1(bank, 19, fn, sfx), \ 39 - PORT_GP_1(bank, 20, fn, sfx), PORT_GP_1(bank, 21, fn, sfx), \ 40 - PORT_GP_1(bank, 22, fn, sfx), PORT_GP_1(bank, 23, fn, sfx), \ 41 - PORT_GP_1(bank, 24, fn, sfx), PORT_GP_1(bank, 25, fn, sfx) 42 - 43 - #define PORT_GP_27(bank, fn, sfx) \ 44 - PORT_GP_25(bank, fn, sfx), \ 45 - PORT_GP_1(bank, 26, fn, sfx), PORT_GP_1(bank, 27, fn, sfx) 46 - 47 16 #define CPU_ALL_PORT(fn, sfx) \ 48 - PORT_GP_15(0, fn, sfx), \ 49 - PORT_GP_27(1, fn, sfx), \ 50 - PORT_GP_14(2, fn, sfx), \ 51 - PORT_GP_15(3, fn, sfx), \ 52 - PORT_GP_17(4, fn, sfx), \ 53 - PORT_GP_25(5, fn, sfx), \ 17 + PORT_GP_16(0, fn, sfx), \ 18 + PORT_GP_28(1, fn, sfx), \ 19 + PORT_GP_15(2, fn, sfx), \ 20 + PORT_GP_16(3, fn, sfx), \ 21 + PORT_GP_18(4, fn, sfx), \ 22 + PORT_GP_26(5, fn, sfx), \ 54 23 PORT_GP_32(6, fn, sfx), \ 55 - PORT_GP_3(7, fn, sfx) 24 + PORT_GP_4(7, fn, sfx) 56 25 /* 57 26 * F_() : just information 58 27 * FM() : macro for FN_xxx / xxx_MARK ··· 464 495 #define MOD_SEL1_13 FM(SEL_SCIF3_0) FM(SEL_SCIF3_1) 465 496 #define MOD_SEL1_12 FM(SEL_SCIF2_0) FM(SEL_SCIF2_1) 466 497 #define MOD_SEL1_11 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) 467 - #define MOD_SEL1_10 FM(SEL_SCIF_0) FM(SEL_SCIF_1) 498 + #define MOD_SEL1_10 FM(SEL_SATA_0) FM(SEL_SATA_1) 468 499 #define MOD_SEL1_9 FM(SEL_REMOCON_0) FM(SEL_REMOCON_1) 469 500 #define MOD_SEL1_6 FM(SEL_RCAN0_0) FM(SEL_RCAN0_1) 470 501 #define MOD_SEL1_5 FM(SEL_PWM6_0) FM(SEL_PWM6_1) ··· 548 579 549 580 static const u16 pinmux_data[] = { 550 581 PINMUX_DATA_GP_ALL(), 582 + 583 + PINMUX_SINGLE(AVS1), 584 + PINMUX_SINGLE(AVS2), 585 + PINMUX_SINGLE(HDMI0_CEC), 586 + PINMUX_SINGLE(HDMI1_CEC), 587 + PINMUX_SINGLE(MSIOF0_RXD), 588 + PINMUX_SINGLE(MSIOF0_SCK), 589 + PINMUX_SINGLE(MSIOF0_TXD), 590 + PINMUX_SINGLE(SD2_CMD), 591 + PINMUX_SINGLE(SD3_CLK), 592 + PINMUX_SINGLE(SD3_CMD), 593 + PINMUX_SINGLE(SD3_DAT0), 594 + PINMUX_SINGLE(SD3_DAT1), 595 + PINMUX_SINGLE(SD3_DAT2), 596 + PINMUX_SINGLE(SD3_DAT3), 597 + PINMUX_SINGLE(SD3_DS), 598 + PINMUX_SINGLE(SSI_SCK5), 599 + PINMUX_SINGLE(SSI_SDATA5), 600 + PINMUX_SINGLE(SSI_WS5), 551 601 552 602 /* IPSR0 */ 553 603 PINMUX_IPSR_DATA(IP0_3_0, AVB_MDC), ··· 1021 1033 PINMUX_IPSR_DATA(IP9_19_16, SD2_DAT3), 1022 1034 1023 1035 PINMUX_IPSR_DATA(IP9_23_20, SD2_DS), 1024 - PINMUX_IPSR_MSEL(IP9_23_20, SATA_DEVSLP_B, SEL_SCIF_1), 1036 + PINMUX_IPSR_MSEL(IP9_23_20, SATA_DEVSLP_B, SEL_SATA_1), 1025 1037 1026 1038 PINMUX_IPSR_DATA(IP9_27_24, SD3_DAT4), 1027 1039 PINMUX_IPSR_MSEL(IP9_27_24, SD2_CD_A, SEL_SDHI2_0), ··· 1281 1293 1282 1294 PINMUX_IPSR_DATA(IP15_11_8, SSI_SDATA6), 1283 1295 PINMUX_IPSR_MSEL(IP15_11_8, SIM0_CLK_D, SEL_SIMCARD_3), 1284 - PINMUX_IPSR_MSEL(IP15_11_8, SATA_DEVSLP_A, SEL_SCIF_0), 1296 + PINMUX_IPSR_MSEL(IP15_11_8, SATA_DEVSLP_A, SEL_SATA_0), 1285 1297 1286 1298 PINMUX_IPSR_DATA(IP15_15_12, SSI_SCK78), 1287 1299 PINMUX_IPSR_MSEL(IP15_15_12, HRX2_B, SEL_HSCIF2_1), ··· 1600 1612 AVB_AVTP_CAPTURE_B_MARK, 1601 1613 }; 1602 1614 1615 + /* - HSCIF0 ----------------------------------------------------------------- */ 1616 + static const unsigned int hscif0_data_pins[] = { 1617 + /* RX, TX */ 1618 + RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), 1619 + }; 1620 + static const unsigned int hscif0_data_mux[] = { 1621 + HRX0_MARK, HTX0_MARK, 1622 + }; 1623 + static const unsigned int hscif0_clk_pins[] = { 1624 + /* SCK */ 1625 + RCAR_GP_PIN(5, 12), 1626 + }; 1627 + static const unsigned int hscif0_clk_mux[] = { 1628 + HSCK0_MARK, 1629 + }; 1630 + static const unsigned int hscif0_ctrl_pins[] = { 1631 + /* RTS, CTS */ 1632 + RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15), 1633 + }; 1634 + static const unsigned int hscif0_ctrl_mux[] = { 1635 + HRTS0_N_MARK, HCTS0_N_MARK, 1636 + }; 1637 + /* - HSCIF1 ----------------------------------------------------------------- */ 1638 + static const unsigned int hscif1_data_a_pins[] = { 1639 + /* RX, TX */ 1640 + RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6), 1641 + }; 1642 + static const unsigned int hscif1_data_a_mux[] = { 1643 + HRX1_A_MARK, HTX1_A_MARK, 1644 + }; 1645 + static const unsigned int hscif1_clk_a_pins[] = { 1646 + /* SCK */ 1647 + RCAR_GP_PIN(6, 21), 1648 + }; 1649 + static const unsigned int hscif1_clk_a_mux[] = { 1650 + HSCK1_A_MARK, 1651 + }; 1652 + static const unsigned int hscif1_ctrl_a_pins[] = { 1653 + /* RTS, CTS */ 1654 + RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7), 1655 + }; 1656 + static const unsigned int hscif1_ctrl_a_mux[] = { 1657 + HRTS1_N_A_MARK, HCTS1_N_A_MARK, 1658 + }; 1659 + 1660 + static const unsigned int hscif1_data_b_pins[] = { 1661 + /* RX, TX */ 1662 + RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2), 1663 + }; 1664 + static const unsigned int hscif1_data_b_mux[] = { 1665 + HRX1_B_MARK, HTX1_B_MARK, 1666 + }; 1667 + static const unsigned int hscif1_clk_b_pins[] = { 1668 + /* SCK */ 1669 + RCAR_GP_PIN(5, 0), 1670 + }; 1671 + static const unsigned int hscif1_clk_b_mux[] = { 1672 + HSCK1_B_MARK, 1673 + }; 1674 + static const unsigned int hscif1_ctrl_b_pins[] = { 1675 + /* RTS, CTS */ 1676 + RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3), 1677 + }; 1678 + static const unsigned int hscif1_ctrl_b_mux[] = { 1679 + HRTS1_N_B_MARK, HCTS1_N_B_MARK, 1680 + }; 1681 + /* - HSCIF2 ----------------------------------------------------------------- */ 1682 + static const unsigned int hscif2_data_a_pins[] = { 1683 + /* RX, TX */ 1684 + RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 1685 + }; 1686 + static const unsigned int hscif2_data_a_mux[] = { 1687 + HRX2_A_MARK, HTX2_A_MARK, 1688 + }; 1689 + static const unsigned int hscif2_clk_a_pins[] = { 1690 + /* SCK */ 1691 + RCAR_GP_PIN(6, 10), 1692 + }; 1693 + static const unsigned int hscif2_clk_a_mux[] = { 1694 + HSCK2_A_MARK, 1695 + }; 1696 + static const unsigned int hscif2_ctrl_a_pins[] = { 1697 + /* RTS, CTS */ 1698 + RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6), 1699 + }; 1700 + static const unsigned int hscif2_ctrl_a_mux[] = { 1701 + HRTS2_N_A_MARK, HCTS2_N_A_MARK, 1702 + }; 1703 + 1704 + static const unsigned int hscif2_data_b_pins[] = { 1705 + /* RX, TX */ 1706 + RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 1707 + }; 1708 + static const unsigned int hscif2_data_b_mux[] = { 1709 + HRX2_B_MARK, HTX2_B_MARK, 1710 + }; 1711 + static const unsigned int hscif2_clk_b_pins[] = { 1712 + /* SCK */ 1713 + RCAR_GP_PIN(6, 21), 1714 + }; 1715 + static const unsigned int hscif2_clk_b_mux[] = { 1716 + HSCK1_B_MARK, 1717 + }; 1718 + static const unsigned int hscif2_ctrl_b_pins[] = { 1719 + /* RTS, CTS */ 1720 + RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 19), 1721 + }; 1722 + static const unsigned int hscif2_ctrl_b_mux[] = { 1723 + HRTS2_N_B_MARK, HCTS2_N_B_MARK, 1724 + }; 1725 + /* - HSCIF3 ----------------------------------------------------------------- */ 1726 + static const unsigned int hscif3_data_a_pins[] = { 1727 + /* RX, TX */ 1728 + RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 1729 + }; 1730 + static const unsigned int hscif3_data_a_mux[] = { 1731 + HRX3_A_MARK, HTX3_A_MARK, 1732 + }; 1733 + static const unsigned int hscif3_clk_pins[] = { 1734 + /* SCK */ 1735 + RCAR_GP_PIN(1, 22), 1736 + }; 1737 + static const unsigned int hscif3_clk_mux[] = { 1738 + HSCK3_MARK, 1739 + }; 1740 + static const unsigned int hscif3_ctrl_pins[] = { 1741 + /* RTS, CTS */ 1742 + RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), 1743 + }; 1744 + static const unsigned int hscif3_ctrl_mux[] = { 1745 + HRTS3_N_MARK, HCTS3_N_MARK, 1746 + }; 1747 + 1748 + static const unsigned int hscif3_data_b_pins[] = { 1749 + /* RX, TX */ 1750 + RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 1751 + }; 1752 + static const unsigned int hscif3_data_b_mux[] = { 1753 + HRX3_B_MARK, HTX3_B_MARK, 1754 + }; 1755 + static const unsigned int hscif3_data_c_pins[] = { 1756 + /* RX, TX */ 1757 + RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 1758 + }; 1759 + static const unsigned int hscif3_data_c_mux[] = { 1760 + HRX3_C_MARK, HTX3_C_MARK, 1761 + }; 1762 + static const unsigned int hscif3_data_d_pins[] = { 1763 + /* RX, TX */ 1764 + RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), 1765 + }; 1766 + static const unsigned int hscif3_data_d_mux[] = { 1767 + HRX3_D_MARK, HTX3_D_MARK, 1768 + }; 1769 + /* - HSCIF4 ----------------------------------------------------------------- */ 1770 + static const unsigned int hscif4_data_a_pins[] = { 1771 + /* RX, TX */ 1772 + RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), 1773 + }; 1774 + static const unsigned int hscif4_data_a_mux[] = { 1775 + HRX4_A_MARK, HTX4_A_MARK, 1776 + }; 1777 + static const unsigned int hscif4_clk_pins[] = { 1778 + /* SCK */ 1779 + RCAR_GP_PIN(1, 11), 1780 + }; 1781 + static const unsigned int hscif4_clk_mux[] = { 1782 + HSCK4_MARK, 1783 + }; 1784 + static const unsigned int hscif4_ctrl_pins[] = { 1785 + /* RTS, CTS */ 1786 + RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), 1787 + }; 1788 + static const unsigned int hscif4_ctrl_mux[] = { 1789 + HRTS4_N_MARK, HCTS3_N_MARK, 1790 + }; 1791 + 1792 + static const unsigned int hscif4_data_b_pins[] = { 1793 + /* RX, TX */ 1794 + RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), 1795 + }; 1796 + static const unsigned int hscif4_data_b_mux[] = { 1797 + HRX4_B_MARK, HTX4_B_MARK, 1798 + }; 1799 + 1603 1800 /* - I2C -------------------------------------------------------------------- */ 1604 1801 static const unsigned int i2c1_a_pins[] = { 1605 1802 /* SDA, SCL */ ··· 1834 1661 }; 1835 1662 static const unsigned int i2c6_c_mux[] = { 1836 1663 SDA6_C_MARK, SCL6_C_MARK, 1664 + }; 1665 + 1666 + /* - MSIOF0 ----------------------------------------------------------------- */ 1667 + static const unsigned int msiof0_clk_pins[] = { 1668 + /* SCK */ 1669 + RCAR_GP_PIN(5, 17), 1670 + }; 1671 + static const unsigned int msiof0_clk_mux[] = { 1672 + MSIOF0_SCK_MARK, 1673 + }; 1674 + static const unsigned int msiof0_sync_pins[] = { 1675 + /* SYNC */ 1676 + RCAR_GP_PIN(5, 18), 1677 + }; 1678 + static const unsigned int msiof0_sync_mux[] = { 1679 + MSIOF0_SYNC_MARK, 1680 + }; 1681 + static const unsigned int msiof0_ss1_pins[] = { 1682 + /* SS1 */ 1683 + RCAR_GP_PIN(5, 19), 1684 + }; 1685 + static const unsigned int msiof0_ss1_mux[] = { 1686 + MSIOF0_SS1_MARK, 1687 + }; 1688 + static const unsigned int msiof0_ss2_pins[] = { 1689 + /* SS2 */ 1690 + RCAR_GP_PIN(5, 21), 1691 + }; 1692 + static const unsigned int msiof0_ss2_mux[] = { 1693 + MSIOF0_SS2_MARK, 1694 + }; 1695 + static const unsigned int msiof0_txd_pins[] = { 1696 + /* TXD */ 1697 + RCAR_GP_PIN(5, 20), 1698 + }; 1699 + static const unsigned int msiof0_txd_mux[] = { 1700 + MSIOF0_TXD_MARK, 1701 + }; 1702 + static const unsigned int msiof0_rxd_pins[] = { 1703 + /* RXD */ 1704 + RCAR_GP_PIN(5, 22), 1705 + }; 1706 + static const unsigned int msiof0_rxd_mux[] = { 1707 + MSIOF0_RXD_MARK, 1708 + }; 1709 + /* - MSIOF1 ----------------------------------------------------------------- */ 1710 + static const unsigned int msiof1_clk_a_pins[] = { 1711 + /* SCK */ 1712 + RCAR_GP_PIN(6, 8), 1713 + }; 1714 + static const unsigned int msiof1_clk_a_mux[] = { 1715 + MSIOF1_SCK_A_MARK, 1716 + }; 1717 + static const unsigned int msiof1_sync_a_pins[] = { 1718 + /* SYNC */ 1719 + RCAR_GP_PIN(6, 9), 1720 + }; 1721 + static const unsigned int msiof1_sync_a_mux[] = { 1722 + MSIOF1_SYNC_A_MARK, 1723 + }; 1724 + static const unsigned int msiof1_ss1_a_pins[] = { 1725 + /* SS1 */ 1726 + RCAR_GP_PIN(6, 5), 1727 + }; 1728 + static const unsigned int msiof1_ss1_a_mux[] = { 1729 + MSIOF1_SS1_A_MARK, 1730 + }; 1731 + static const unsigned int msiof1_ss2_a_pins[] = { 1732 + /* SS2 */ 1733 + RCAR_GP_PIN(6, 6), 1734 + }; 1735 + static const unsigned int msiof1_ss2_a_mux[] = { 1736 + MSIOF1_SS2_A_MARK, 1737 + }; 1738 + static const unsigned int msiof1_txd_a_pins[] = { 1739 + /* TXD */ 1740 + RCAR_GP_PIN(6, 7), 1741 + }; 1742 + static const unsigned int msiof1_txd_a_mux[] = { 1743 + MSIOF1_TXD_A_MARK, 1744 + }; 1745 + static const unsigned int msiof1_rxd_a_pins[] = { 1746 + /* RXD */ 1747 + RCAR_GP_PIN(6, 10), 1748 + }; 1749 + static const unsigned int msiof1_rxd_a_mux[] = { 1750 + MSIOF1_RXD_A_MARK, 1751 + }; 1752 + static const unsigned int msiof1_clk_b_pins[] = { 1753 + /* SCK */ 1754 + RCAR_GP_PIN(5, 9), 1755 + }; 1756 + static const unsigned int msiof1_clk_b_mux[] = { 1757 + MSIOF1_SCK_B_MARK, 1758 + }; 1759 + static const unsigned int msiof1_sync_b_pins[] = { 1760 + /* SYNC */ 1761 + RCAR_GP_PIN(5, 3), 1762 + }; 1763 + static const unsigned int msiof1_sync_b_mux[] = { 1764 + MSIOF1_SYNC_B_MARK, 1765 + }; 1766 + static const unsigned int msiof1_ss1_b_pins[] = { 1767 + /* SS1 */ 1768 + RCAR_GP_PIN(5, 4), 1769 + }; 1770 + static const unsigned int msiof1_ss1_b_mux[] = { 1771 + MSIOF1_SS1_B_MARK, 1772 + }; 1773 + static const unsigned int msiof1_ss2_b_pins[] = { 1774 + /* SS2 */ 1775 + RCAR_GP_PIN(5, 0), 1776 + }; 1777 + static const unsigned int msiof1_ss2_b_mux[] = { 1778 + MSIOF1_SS2_B_MARK, 1779 + }; 1780 + static const unsigned int msiof1_txd_b_pins[] = { 1781 + /* TXD */ 1782 + RCAR_GP_PIN(5, 8), 1783 + }; 1784 + static const unsigned int msiof1_txd_b_mux[] = { 1785 + MSIOF1_TXD_B_MARK, 1786 + }; 1787 + static const unsigned int msiof1_rxd_b_pins[] = { 1788 + /* RXD */ 1789 + RCAR_GP_PIN(5, 7), 1790 + }; 1791 + static const unsigned int msiof1_rxd_b_mux[] = { 1792 + MSIOF1_RXD_B_MARK, 1793 + }; 1794 + static const unsigned int msiof1_clk_c_pins[] = { 1795 + /* SCK */ 1796 + RCAR_GP_PIN(6, 17), 1797 + }; 1798 + static const unsigned int msiof1_clk_c_mux[] = { 1799 + MSIOF1_SCK_C_MARK, 1800 + }; 1801 + static const unsigned int msiof1_sync_c_pins[] = { 1802 + /* SYNC */ 1803 + RCAR_GP_PIN(6, 18), 1804 + }; 1805 + static const unsigned int msiof1_sync_c_mux[] = { 1806 + MSIOF1_SYNC_C_MARK, 1807 + }; 1808 + static const unsigned int msiof1_ss1_c_pins[] = { 1809 + /* SS1 */ 1810 + RCAR_GP_PIN(6, 21), 1811 + }; 1812 + static const unsigned int msiof1_ss1_c_mux[] = { 1813 + MSIOF1_SS1_C_MARK, 1814 + }; 1815 + static const unsigned int msiof1_ss2_c_pins[] = { 1816 + /* SS2 */ 1817 + RCAR_GP_PIN(6, 27), 1818 + }; 1819 + static const unsigned int msiof1_ss2_c_mux[] = { 1820 + MSIOF1_SS2_C_MARK, 1821 + }; 1822 + static const unsigned int msiof1_txd_c_pins[] = { 1823 + /* TXD */ 1824 + RCAR_GP_PIN(6, 20), 1825 + }; 1826 + static const unsigned int msiof1_txd_c_mux[] = { 1827 + MSIOF1_TXD_C_MARK, 1828 + }; 1829 + static const unsigned int msiof1_rxd_c_pins[] = { 1830 + /* RXD */ 1831 + RCAR_GP_PIN(6, 19), 1832 + }; 1833 + static const unsigned int msiof1_rxd_c_mux[] = { 1834 + MSIOF1_RXD_C_MARK, 1835 + }; 1836 + static const unsigned int msiof1_clk_d_pins[] = { 1837 + /* SCK */ 1838 + RCAR_GP_PIN(5, 12), 1839 + }; 1840 + static const unsigned int msiof1_clk_d_mux[] = { 1841 + MSIOF1_SCK_D_MARK, 1842 + }; 1843 + static const unsigned int msiof1_sync_d_pins[] = { 1844 + /* SYNC */ 1845 + RCAR_GP_PIN(5, 15), 1846 + }; 1847 + static const unsigned int msiof1_sync_d_mux[] = { 1848 + MSIOF1_SYNC_D_MARK, 1849 + }; 1850 + static const unsigned int msiof1_ss1_d_pins[] = { 1851 + /* SS1 */ 1852 + RCAR_GP_PIN(5, 16), 1853 + }; 1854 + static const unsigned int msiof1_ss1_d_mux[] = { 1855 + MSIOF1_SS1_D_MARK, 1856 + }; 1857 + static const unsigned int msiof1_ss2_d_pins[] = { 1858 + /* SS2 */ 1859 + RCAR_GP_PIN(5, 21), 1860 + }; 1861 + static const unsigned int msiof1_ss2_d_mux[] = { 1862 + MSIOF1_SS2_D_MARK, 1863 + }; 1864 + static const unsigned int msiof1_txd_d_pins[] = { 1865 + /* TXD */ 1866 + RCAR_GP_PIN(5, 14), 1867 + }; 1868 + static const unsigned int msiof1_txd_d_mux[] = { 1869 + MSIOF1_TXD_D_MARK, 1870 + }; 1871 + static const unsigned int msiof1_rxd_d_pins[] = { 1872 + /* RXD */ 1873 + RCAR_GP_PIN(5, 13), 1874 + }; 1875 + static const unsigned int msiof1_rxd_d_mux[] = { 1876 + MSIOF1_RXD_D_MARK, 1877 + }; 1878 + static const unsigned int msiof1_clk_e_pins[] = { 1879 + /* SCK */ 1880 + RCAR_GP_PIN(3, 0), 1881 + }; 1882 + static const unsigned int msiof1_clk_e_mux[] = { 1883 + MSIOF1_SCK_E_MARK, 1884 + }; 1885 + static const unsigned int msiof1_sync_e_pins[] = { 1886 + /* SYNC */ 1887 + RCAR_GP_PIN(3, 1), 1888 + }; 1889 + static const unsigned int msiof1_sync_e_mux[] = { 1890 + MSIOF1_SYNC_E_MARK, 1891 + }; 1892 + static const unsigned int msiof1_ss1_e_pins[] = { 1893 + /* SS1 */ 1894 + RCAR_GP_PIN(3, 4), 1895 + }; 1896 + static const unsigned int msiof1_ss1_e_mux[] = { 1897 + MSIOF1_SS1_E_MARK, 1898 + }; 1899 + static const unsigned int msiof1_ss2_e_pins[] = { 1900 + /* SS2 */ 1901 + RCAR_GP_PIN(3, 5), 1902 + }; 1903 + static const unsigned int msiof1_ss2_e_mux[] = { 1904 + MSIOF1_SS2_E_MARK, 1905 + }; 1906 + static const unsigned int msiof1_txd_e_pins[] = { 1907 + /* TXD */ 1908 + RCAR_GP_PIN(3, 3), 1909 + }; 1910 + static const unsigned int msiof1_txd_e_mux[] = { 1911 + MSIOF1_TXD_E_MARK, 1912 + }; 1913 + static const unsigned int msiof1_rxd_e_pins[] = { 1914 + /* RXD */ 1915 + RCAR_GP_PIN(3, 2), 1916 + }; 1917 + static const unsigned int msiof1_rxd_e_mux[] = { 1918 + MSIOF1_RXD_E_MARK, 1919 + }; 1920 + static const unsigned int msiof1_clk_f_pins[] = { 1921 + /* SCK */ 1922 + RCAR_GP_PIN(5, 23), 1923 + }; 1924 + static const unsigned int msiof1_clk_f_mux[] = { 1925 + MSIOF1_SCK_F_MARK, 1926 + }; 1927 + static const unsigned int msiof1_sync_f_pins[] = { 1928 + /* SYNC */ 1929 + RCAR_GP_PIN(5, 24), 1930 + }; 1931 + static const unsigned int msiof1_sync_f_mux[] = { 1932 + MSIOF1_SYNC_F_MARK, 1933 + }; 1934 + static const unsigned int msiof1_ss1_f_pins[] = { 1935 + /* SS1 */ 1936 + RCAR_GP_PIN(6, 1), 1937 + }; 1938 + static const unsigned int msiof1_ss1_f_mux[] = { 1939 + MSIOF1_SS1_F_MARK, 1940 + }; 1941 + static const unsigned int msiof1_ss2_f_pins[] = { 1942 + /* SS2 */ 1943 + RCAR_GP_PIN(6, 2), 1944 + }; 1945 + static const unsigned int msiof1_ss2_f_mux[] = { 1946 + MSIOF1_SS2_F_MARK, 1947 + }; 1948 + static const unsigned int msiof1_txd_f_pins[] = { 1949 + /* TXD */ 1950 + RCAR_GP_PIN(6, 0), 1951 + }; 1952 + static const unsigned int msiof1_txd_f_mux[] = { 1953 + MSIOF1_TXD_F_MARK, 1954 + }; 1955 + static const unsigned int msiof1_rxd_f_pins[] = { 1956 + /* RXD */ 1957 + RCAR_GP_PIN(5, 25), 1958 + }; 1959 + static const unsigned int msiof1_rxd_f_mux[] = { 1960 + MSIOF1_RXD_F_MARK, 1961 + }; 1962 + static const unsigned int msiof1_clk_g_pins[] = { 1963 + /* SCK */ 1964 + RCAR_GP_PIN(3, 6), 1965 + }; 1966 + static const unsigned int msiof1_clk_g_mux[] = { 1967 + MSIOF1_SCK_G_MARK, 1968 + }; 1969 + static const unsigned int msiof1_sync_g_pins[] = { 1970 + /* SYNC */ 1971 + RCAR_GP_PIN(3, 7), 1972 + }; 1973 + static const unsigned int msiof1_sync_g_mux[] = { 1974 + MSIOF1_SYNC_G_MARK, 1975 + }; 1976 + static const unsigned int msiof1_ss1_g_pins[] = { 1977 + /* SS1 */ 1978 + RCAR_GP_PIN(3, 10), 1979 + }; 1980 + static const unsigned int msiof1_ss1_g_mux[] = { 1981 + MSIOF1_SS1_G_MARK, 1982 + }; 1983 + static const unsigned int msiof1_ss2_g_pins[] = { 1984 + /* SS2 */ 1985 + RCAR_GP_PIN(3, 11), 1986 + }; 1987 + static const unsigned int msiof1_ss2_g_mux[] = { 1988 + MSIOF1_SS2_G_MARK, 1989 + }; 1990 + static const unsigned int msiof1_txd_g_pins[] = { 1991 + /* TXD */ 1992 + RCAR_GP_PIN(3, 9), 1993 + }; 1994 + static const unsigned int msiof1_txd_g_mux[] = { 1995 + MSIOF1_TXD_G_MARK, 1996 + }; 1997 + static const unsigned int msiof1_rxd_g_pins[] = { 1998 + /* RXD */ 1999 + RCAR_GP_PIN(3, 8), 2000 + }; 2001 + static const unsigned int msiof1_rxd_g_mux[] = { 2002 + MSIOF1_RXD_G_MARK, 2003 + }; 2004 + /* - MSIOF2 ----------------------------------------------------------------- */ 2005 + static const unsigned int msiof2_clk_a_pins[] = { 2006 + /* SCK */ 2007 + RCAR_GP_PIN(1, 9), 2008 + }; 2009 + static const unsigned int msiof2_clk_a_mux[] = { 2010 + MSIOF2_SCK_A_MARK, 2011 + }; 2012 + static const unsigned int msiof2_sync_a_pins[] = { 2013 + /* SYNC */ 2014 + RCAR_GP_PIN(1, 8), 2015 + }; 2016 + static const unsigned int msiof2_sync_a_mux[] = { 2017 + MSIOF2_SYNC_A_MARK, 2018 + }; 2019 + static const unsigned int msiof2_ss1_a_pins[] = { 2020 + /* SS1 */ 2021 + RCAR_GP_PIN(1, 6), 2022 + }; 2023 + static const unsigned int msiof2_ss1_a_mux[] = { 2024 + MSIOF2_SS1_A_MARK, 2025 + }; 2026 + static const unsigned int msiof2_ss2_a_pins[] = { 2027 + /* SS2 */ 2028 + RCAR_GP_PIN(1, 7), 2029 + }; 2030 + static const unsigned int msiof2_ss2_a_mux[] = { 2031 + MSIOF2_SS2_A_MARK, 2032 + }; 2033 + static const unsigned int msiof2_txd_a_pins[] = { 2034 + /* TXD */ 2035 + RCAR_GP_PIN(1, 11), 2036 + }; 2037 + static const unsigned int msiof2_txd_a_mux[] = { 2038 + MSIOF2_TXD_A_MARK, 2039 + }; 2040 + static const unsigned int msiof2_rxd_a_pins[] = { 2041 + /* RXD */ 2042 + RCAR_GP_PIN(1, 10), 2043 + }; 2044 + static const unsigned int msiof2_rxd_a_mux[] = { 2045 + MSIOF2_RXD_A_MARK, 2046 + }; 2047 + static const unsigned int msiof2_clk_b_pins[] = { 2048 + /* SCK */ 2049 + RCAR_GP_PIN(0, 4), 2050 + }; 2051 + static const unsigned int msiof2_clk_b_mux[] = { 2052 + MSIOF2_SCK_B_MARK, 2053 + }; 2054 + static const unsigned int msiof2_sync_b_pins[] = { 2055 + /* SYNC */ 2056 + RCAR_GP_PIN(0, 5), 2057 + }; 2058 + static const unsigned int msiof2_sync_b_mux[] = { 2059 + MSIOF2_SYNC_B_MARK, 2060 + }; 2061 + static const unsigned int msiof2_ss1_b_pins[] = { 2062 + /* SS1 */ 2063 + RCAR_GP_PIN(0, 0), 2064 + }; 2065 + static const unsigned int msiof2_ss1_b_mux[] = { 2066 + MSIOF2_SS1_B_MARK, 2067 + }; 2068 + static const unsigned int msiof2_ss2_b_pins[] = { 2069 + /* SS2 */ 2070 + RCAR_GP_PIN(0, 1), 2071 + }; 2072 + static const unsigned int msiof2_ss2_b_mux[] = { 2073 + MSIOF2_SS2_B_MARK, 2074 + }; 2075 + static const unsigned int msiof2_txd_b_pins[] = { 2076 + /* TXD */ 2077 + RCAR_GP_PIN(0, 7), 2078 + }; 2079 + static const unsigned int msiof2_txd_b_mux[] = { 2080 + MSIOF2_TXD_B_MARK, 2081 + }; 2082 + static const unsigned int msiof2_rxd_b_pins[] = { 2083 + /* RXD */ 2084 + RCAR_GP_PIN(0, 6), 2085 + }; 2086 + static const unsigned int msiof2_rxd_b_mux[] = { 2087 + MSIOF2_RXD_B_MARK, 2088 + }; 2089 + static const unsigned int msiof2_clk_c_pins[] = { 2090 + /* SCK */ 2091 + RCAR_GP_PIN(2, 12), 2092 + }; 2093 + static const unsigned int msiof2_clk_c_mux[] = { 2094 + MSIOF2_SCK_C_MARK, 2095 + }; 2096 + static const unsigned int msiof2_sync_c_pins[] = { 2097 + /* SYNC */ 2098 + RCAR_GP_PIN(2, 11), 2099 + }; 2100 + static const unsigned int msiof2_sync_c_mux[] = { 2101 + MSIOF2_SYNC_C_MARK, 2102 + }; 2103 + static const unsigned int msiof2_ss1_c_pins[] = { 2104 + /* SS1 */ 2105 + RCAR_GP_PIN(2, 10), 2106 + }; 2107 + static const unsigned int msiof2_ss1_c_mux[] = { 2108 + MSIOF2_SS1_C_MARK, 2109 + }; 2110 + static const unsigned int msiof2_ss2_c_pins[] = { 2111 + /* SS2 */ 2112 + RCAR_GP_PIN(2, 9), 2113 + }; 2114 + static const unsigned int msiof2_ss2_c_mux[] = { 2115 + MSIOF2_SS2_C_MARK, 2116 + }; 2117 + static const unsigned int msiof2_txd_c_pins[] = { 2118 + /* TXD */ 2119 + RCAR_GP_PIN(2, 14), 2120 + }; 2121 + static const unsigned int msiof2_txd_c_mux[] = { 2122 + MSIOF2_TXD_C_MARK, 2123 + }; 2124 + static const unsigned int msiof2_rxd_c_pins[] = { 2125 + /* RXD */ 2126 + RCAR_GP_PIN(2, 13), 2127 + }; 2128 + static const unsigned int msiof2_rxd_c_mux[] = { 2129 + MSIOF2_RXD_C_MARK, 2130 + }; 2131 + static const unsigned int msiof2_clk_d_pins[] = { 2132 + /* SCK */ 2133 + RCAR_GP_PIN(0, 8), 2134 + }; 2135 + static const unsigned int msiof2_clk_d_mux[] = { 2136 + MSIOF2_SCK_D_MARK, 2137 + }; 2138 + static const unsigned int msiof2_sync_d_pins[] = { 2139 + /* SYNC */ 2140 + RCAR_GP_PIN(0, 9), 2141 + }; 2142 + static const unsigned int msiof2_sync_d_mux[] = { 2143 + MSIOF2_SYNC_D_MARK, 2144 + }; 2145 + static const unsigned int msiof2_ss1_d_pins[] = { 2146 + /* SS1 */ 2147 + RCAR_GP_PIN(0, 12), 2148 + }; 2149 + static const unsigned int msiof2_ss1_d_mux[] = { 2150 + MSIOF2_SS1_D_MARK, 2151 + }; 2152 + static const unsigned int msiof2_ss2_d_pins[] = { 2153 + /* SS2 */ 2154 + RCAR_GP_PIN(0, 13), 2155 + }; 2156 + static const unsigned int msiof2_ss2_d_mux[] = { 2157 + MSIOF2_SS2_D_MARK, 2158 + }; 2159 + static const unsigned int msiof2_txd_d_pins[] = { 2160 + /* TXD */ 2161 + RCAR_GP_PIN(0, 11), 2162 + }; 2163 + static const unsigned int msiof2_txd_d_mux[] = { 2164 + MSIOF2_TXD_D_MARK, 2165 + }; 2166 + static const unsigned int msiof2_rxd_d_pins[] = { 2167 + /* RXD */ 2168 + RCAR_GP_PIN(0, 10), 2169 + }; 2170 + static const unsigned int msiof2_rxd_d_mux[] = { 2171 + MSIOF2_RXD_D_MARK, 2172 + }; 2173 + /* - MSIOF3 ----------------------------------------------------------------- */ 2174 + static const unsigned int msiof3_clk_a_pins[] = { 2175 + /* SCK */ 2176 + RCAR_GP_PIN(0, 0), 2177 + }; 2178 + static const unsigned int msiof3_clk_a_mux[] = { 2179 + MSIOF3_SCK_A_MARK, 2180 + }; 2181 + static const unsigned int msiof3_sync_a_pins[] = { 2182 + /* SYNC */ 2183 + RCAR_GP_PIN(0, 1), 2184 + }; 2185 + static const unsigned int msiof3_sync_a_mux[] = { 2186 + MSIOF3_SYNC_A_MARK, 2187 + }; 2188 + static const unsigned int msiof3_ss1_a_pins[] = { 2189 + /* SS1 */ 2190 + RCAR_GP_PIN(0, 14), 2191 + }; 2192 + static const unsigned int msiof3_ss1_a_mux[] = { 2193 + MSIOF3_SS1_A_MARK, 2194 + }; 2195 + static const unsigned int msiof3_ss2_a_pins[] = { 2196 + /* SS2 */ 2197 + RCAR_GP_PIN(0, 15), 2198 + }; 2199 + static const unsigned int msiof3_ss2_a_mux[] = { 2200 + MSIOF3_SS2_A_MARK, 2201 + }; 2202 + static const unsigned int msiof3_txd_a_pins[] = { 2203 + /* TXD */ 2204 + RCAR_GP_PIN(0, 3), 2205 + }; 2206 + static const unsigned int msiof3_txd_a_mux[] = { 2207 + MSIOF3_TXD_A_MARK, 2208 + }; 2209 + static const unsigned int msiof3_rxd_a_pins[] = { 2210 + /* RXD */ 2211 + RCAR_GP_PIN(0, 2), 2212 + }; 2213 + static const unsigned int msiof3_rxd_a_mux[] = { 2214 + MSIOF3_RXD_A_MARK, 2215 + }; 2216 + static const unsigned int msiof3_clk_b_pins[] = { 2217 + /* SCK */ 2218 + RCAR_GP_PIN(1, 2), 2219 + }; 2220 + static const unsigned int msiof3_clk_b_mux[] = { 2221 + MSIOF3_SCK_B_MARK, 2222 + }; 2223 + static const unsigned int msiof3_sync_b_pins[] = { 2224 + /* SYNC */ 2225 + RCAR_GP_PIN(1, 0), 2226 + }; 2227 + static const unsigned int msiof3_sync_b_mux[] = { 2228 + MSIOF3_SYNC_B_MARK, 2229 + }; 2230 + static const unsigned int msiof3_ss1_b_pins[] = { 2231 + /* SS1 */ 2232 + RCAR_GP_PIN(1, 4), 2233 + }; 2234 + static const unsigned int msiof3_ss1_b_mux[] = { 2235 + MSIOF3_SS1_B_MARK, 2236 + }; 2237 + static const unsigned int msiof3_ss2_b_pins[] = { 2238 + /* SS2 */ 2239 + RCAR_GP_PIN(1, 5), 2240 + }; 2241 + static const unsigned int msiof3_ss2_b_mux[] = { 2242 + MSIOF3_SS2_B_MARK, 2243 + }; 2244 + static const unsigned int msiof3_txd_b_pins[] = { 2245 + /* TXD */ 2246 + RCAR_GP_PIN(1, 1), 2247 + }; 2248 + static const unsigned int msiof3_txd_b_mux[] = { 2249 + MSIOF3_TXD_B_MARK, 2250 + }; 2251 + static const unsigned int msiof3_rxd_b_pins[] = { 2252 + /* RXD */ 2253 + RCAR_GP_PIN(1, 3), 2254 + }; 2255 + static const unsigned int msiof3_rxd_b_mux[] = { 2256 + MSIOF3_RXD_B_MARK, 2257 + }; 2258 + static const unsigned int msiof3_clk_c_pins[] = { 2259 + /* SCK */ 2260 + RCAR_GP_PIN(1, 12), 2261 + }; 2262 + static const unsigned int msiof3_clk_c_mux[] = { 2263 + MSIOF3_SCK_C_MARK, 2264 + }; 2265 + static const unsigned int msiof3_sync_c_pins[] = { 2266 + /* SYNC */ 2267 + RCAR_GP_PIN(1, 13), 2268 + }; 2269 + static const unsigned int msiof3_sync_c_mux[] = { 2270 + MSIOF3_SYNC_C_MARK, 2271 + }; 2272 + static const unsigned int msiof3_txd_c_pins[] = { 2273 + /* TXD */ 2274 + RCAR_GP_PIN(1, 15), 2275 + }; 2276 + static const unsigned int msiof3_txd_c_mux[] = { 2277 + MSIOF3_TXD_C_MARK, 2278 + }; 2279 + static const unsigned int msiof3_rxd_c_pins[] = { 2280 + /* RXD */ 2281 + RCAR_GP_PIN(1, 14), 2282 + }; 2283 + static const unsigned int msiof3_rxd_c_mux[] = { 2284 + MSIOF3_RXD_C_MARK, 2285 + }; 2286 + static const unsigned int msiof3_clk_d_pins[] = { 2287 + /* SCK */ 2288 + RCAR_GP_PIN(1, 22), 2289 + }; 2290 + static const unsigned int msiof3_clk_d_mux[] = { 2291 + MSIOF3_SCK_D_MARK, 2292 + }; 2293 + static const unsigned int msiof3_sync_d_pins[] = { 2294 + /* SYNC */ 2295 + RCAR_GP_PIN(1, 23), 2296 + }; 2297 + static const unsigned int msiof3_sync_d_mux[] = { 2298 + MSIOF3_SYNC_D_MARK, 2299 + }; 2300 + static const unsigned int msiof3_ss1_d_pins[] = { 2301 + /* SS1 */ 2302 + RCAR_GP_PIN(1, 26), 2303 + }; 2304 + static const unsigned int msiof3_ss1_d_mux[] = { 2305 + MSIOF3_SS1_D_MARK, 2306 + }; 2307 + static const unsigned int msiof3_txd_d_pins[] = { 2308 + /* TXD */ 2309 + RCAR_GP_PIN(1, 25), 2310 + }; 2311 + static const unsigned int msiof3_txd_d_mux[] = { 2312 + MSIOF3_TXD_D_MARK, 2313 + }; 2314 + static const unsigned int msiof3_rxd_d_pins[] = { 2315 + /* RXD */ 2316 + RCAR_GP_PIN(1, 24), 2317 + }; 2318 + static const unsigned int msiof3_rxd_d_mux[] = { 2319 + MSIOF3_RXD_D_MARK, 1837 2320 }; 1838 2321 1839 2322 /* - SCIF0 ------------------------------------------------------------------ */ ··· 2673 1844 }; 2674 1845 static const unsigned int scif5_clk_mux[] = { 2675 1846 SCK5_MARK, 1847 + }; 1848 + 1849 + /* - SCIF Clock ------------------------------------------------------------- */ 1850 + static const unsigned int scif_clk_a_pins[] = { 1851 + /* SCIF_CLK */ 1852 + RCAR_GP_PIN(6, 23), 1853 + }; 1854 + static const unsigned int scif_clk_a_mux[] = { 1855 + SCIF_CLK_A_MARK, 1856 + }; 1857 + static const unsigned int scif_clk_b_pins[] = { 1858 + /* SCIF_CLK */ 1859 + RCAR_GP_PIN(5, 9), 1860 + }; 1861 + static const unsigned int scif_clk_b_mux[] = { 1862 + SCIF_CLK_B_MARK, 2676 1863 }; 2677 1864 2678 1865 /* - SSI -------------------------------------------------------------------- */ ··· 2895 2050 SH_PFC_PIN_GROUP(avb_avtp_capture_a), 2896 2051 SH_PFC_PIN_GROUP(avb_avtp_match_b), 2897 2052 SH_PFC_PIN_GROUP(avb_avtp_capture_b), 2053 + SH_PFC_PIN_GROUP(hscif0_data), 2054 + SH_PFC_PIN_GROUP(hscif0_clk), 2055 + SH_PFC_PIN_GROUP(hscif0_ctrl), 2056 + SH_PFC_PIN_GROUP(hscif1_data_a), 2057 + SH_PFC_PIN_GROUP(hscif1_clk_a), 2058 + SH_PFC_PIN_GROUP(hscif1_ctrl_a), 2059 + SH_PFC_PIN_GROUP(hscif1_data_b), 2060 + SH_PFC_PIN_GROUP(hscif1_clk_b), 2061 + SH_PFC_PIN_GROUP(hscif1_ctrl_b), 2062 + SH_PFC_PIN_GROUP(hscif2_data_a), 2063 + SH_PFC_PIN_GROUP(hscif2_clk_a), 2064 + SH_PFC_PIN_GROUP(hscif2_ctrl_a), 2065 + SH_PFC_PIN_GROUP(hscif2_data_b), 2066 + SH_PFC_PIN_GROUP(hscif2_clk_b), 2067 + SH_PFC_PIN_GROUP(hscif2_ctrl_b), 2068 + SH_PFC_PIN_GROUP(hscif3_data_a), 2069 + SH_PFC_PIN_GROUP(hscif3_clk), 2070 + SH_PFC_PIN_GROUP(hscif3_ctrl), 2071 + SH_PFC_PIN_GROUP(hscif3_data_b), 2072 + SH_PFC_PIN_GROUP(hscif3_data_c), 2073 + SH_PFC_PIN_GROUP(hscif3_data_d), 2074 + SH_PFC_PIN_GROUP(hscif4_data_a), 2075 + SH_PFC_PIN_GROUP(hscif4_clk), 2076 + SH_PFC_PIN_GROUP(hscif4_ctrl), 2077 + SH_PFC_PIN_GROUP(hscif4_data_b), 2898 2078 SH_PFC_PIN_GROUP(i2c1_a), 2899 2079 SH_PFC_PIN_GROUP(i2c1_b), 2900 2080 SH_PFC_PIN_GROUP(i2c2_a), ··· 2927 2057 SH_PFC_PIN_GROUP(i2c6_a), 2928 2058 SH_PFC_PIN_GROUP(i2c6_b), 2929 2059 SH_PFC_PIN_GROUP(i2c6_c), 2060 + SH_PFC_PIN_GROUP(msiof0_clk), 2061 + SH_PFC_PIN_GROUP(msiof0_sync), 2062 + SH_PFC_PIN_GROUP(msiof0_ss1), 2063 + SH_PFC_PIN_GROUP(msiof0_ss2), 2064 + SH_PFC_PIN_GROUP(msiof0_txd), 2065 + SH_PFC_PIN_GROUP(msiof0_rxd), 2066 + SH_PFC_PIN_GROUP(msiof1_clk_a), 2067 + SH_PFC_PIN_GROUP(msiof1_sync_a), 2068 + SH_PFC_PIN_GROUP(msiof1_ss1_a), 2069 + SH_PFC_PIN_GROUP(msiof1_ss2_a), 2070 + SH_PFC_PIN_GROUP(msiof1_txd_a), 2071 + SH_PFC_PIN_GROUP(msiof1_rxd_a), 2072 + SH_PFC_PIN_GROUP(msiof1_clk_b), 2073 + SH_PFC_PIN_GROUP(msiof1_sync_b), 2074 + SH_PFC_PIN_GROUP(msiof1_ss1_b), 2075 + SH_PFC_PIN_GROUP(msiof1_ss2_b), 2076 + SH_PFC_PIN_GROUP(msiof1_txd_b), 2077 + SH_PFC_PIN_GROUP(msiof1_rxd_b), 2078 + SH_PFC_PIN_GROUP(msiof1_clk_c), 2079 + SH_PFC_PIN_GROUP(msiof1_sync_c), 2080 + SH_PFC_PIN_GROUP(msiof1_ss1_c), 2081 + SH_PFC_PIN_GROUP(msiof1_ss2_c), 2082 + SH_PFC_PIN_GROUP(msiof1_txd_c), 2083 + SH_PFC_PIN_GROUP(msiof1_rxd_c), 2084 + SH_PFC_PIN_GROUP(msiof1_clk_d), 2085 + SH_PFC_PIN_GROUP(msiof1_sync_d), 2086 + SH_PFC_PIN_GROUP(msiof1_ss1_d), 2087 + SH_PFC_PIN_GROUP(msiof1_ss2_d), 2088 + SH_PFC_PIN_GROUP(msiof1_txd_d), 2089 + SH_PFC_PIN_GROUP(msiof1_rxd_d), 2090 + SH_PFC_PIN_GROUP(msiof1_clk_e), 2091 + SH_PFC_PIN_GROUP(msiof1_sync_e), 2092 + SH_PFC_PIN_GROUP(msiof1_ss1_e), 2093 + SH_PFC_PIN_GROUP(msiof1_ss2_e), 2094 + SH_PFC_PIN_GROUP(msiof1_txd_e), 2095 + SH_PFC_PIN_GROUP(msiof1_rxd_e), 2096 + SH_PFC_PIN_GROUP(msiof1_clk_f), 2097 + SH_PFC_PIN_GROUP(msiof1_sync_f), 2098 + SH_PFC_PIN_GROUP(msiof1_ss1_f), 2099 + SH_PFC_PIN_GROUP(msiof1_ss2_f), 2100 + SH_PFC_PIN_GROUP(msiof1_txd_f), 2101 + SH_PFC_PIN_GROUP(msiof1_rxd_f), 2102 + SH_PFC_PIN_GROUP(msiof1_clk_g), 2103 + SH_PFC_PIN_GROUP(msiof1_sync_g), 2104 + SH_PFC_PIN_GROUP(msiof1_ss1_g), 2105 + SH_PFC_PIN_GROUP(msiof1_ss2_g), 2106 + SH_PFC_PIN_GROUP(msiof1_txd_g), 2107 + SH_PFC_PIN_GROUP(msiof1_rxd_g), 2108 + SH_PFC_PIN_GROUP(msiof2_clk_a), 2109 + SH_PFC_PIN_GROUP(msiof2_sync_a), 2110 + SH_PFC_PIN_GROUP(msiof2_ss1_a), 2111 + SH_PFC_PIN_GROUP(msiof2_ss2_a), 2112 + SH_PFC_PIN_GROUP(msiof2_txd_a), 2113 + SH_PFC_PIN_GROUP(msiof2_rxd_a), 2114 + SH_PFC_PIN_GROUP(msiof2_clk_b), 2115 + SH_PFC_PIN_GROUP(msiof2_sync_b), 2116 + SH_PFC_PIN_GROUP(msiof2_ss1_b), 2117 + SH_PFC_PIN_GROUP(msiof2_ss2_b), 2118 + SH_PFC_PIN_GROUP(msiof2_txd_b), 2119 + SH_PFC_PIN_GROUP(msiof2_rxd_b), 2120 + SH_PFC_PIN_GROUP(msiof2_clk_c), 2121 + SH_PFC_PIN_GROUP(msiof2_sync_c), 2122 + SH_PFC_PIN_GROUP(msiof2_ss1_c), 2123 + SH_PFC_PIN_GROUP(msiof2_ss2_c), 2124 + SH_PFC_PIN_GROUP(msiof2_txd_c), 2125 + SH_PFC_PIN_GROUP(msiof2_rxd_c), 2126 + SH_PFC_PIN_GROUP(msiof2_clk_d), 2127 + SH_PFC_PIN_GROUP(msiof2_sync_d), 2128 + SH_PFC_PIN_GROUP(msiof2_ss1_d), 2129 + SH_PFC_PIN_GROUP(msiof2_ss2_d), 2130 + SH_PFC_PIN_GROUP(msiof2_txd_d), 2131 + SH_PFC_PIN_GROUP(msiof2_rxd_d), 2132 + SH_PFC_PIN_GROUP(msiof3_clk_a), 2133 + SH_PFC_PIN_GROUP(msiof3_sync_a), 2134 + SH_PFC_PIN_GROUP(msiof3_ss1_a), 2135 + SH_PFC_PIN_GROUP(msiof3_ss2_a), 2136 + SH_PFC_PIN_GROUP(msiof3_txd_a), 2137 + SH_PFC_PIN_GROUP(msiof3_rxd_a), 2138 + SH_PFC_PIN_GROUP(msiof3_clk_b), 2139 + SH_PFC_PIN_GROUP(msiof3_sync_b), 2140 + SH_PFC_PIN_GROUP(msiof3_ss1_b), 2141 + SH_PFC_PIN_GROUP(msiof3_ss2_b), 2142 + SH_PFC_PIN_GROUP(msiof3_txd_b), 2143 + SH_PFC_PIN_GROUP(msiof3_rxd_b), 2144 + SH_PFC_PIN_GROUP(msiof3_clk_c), 2145 + SH_PFC_PIN_GROUP(msiof3_sync_c), 2146 + SH_PFC_PIN_GROUP(msiof3_txd_c), 2147 + SH_PFC_PIN_GROUP(msiof3_rxd_c), 2148 + SH_PFC_PIN_GROUP(msiof3_clk_d), 2149 + SH_PFC_PIN_GROUP(msiof3_sync_d), 2150 + SH_PFC_PIN_GROUP(msiof3_ss1_d), 2151 + SH_PFC_PIN_GROUP(msiof3_txd_d), 2152 + SH_PFC_PIN_GROUP(msiof3_rxd_d), 2930 2153 SH_PFC_PIN_GROUP(scif0_data), 2931 2154 SH_PFC_PIN_GROUP(scif0_clk), 2932 2155 SH_PFC_PIN_GROUP(scif0_ctrl), ··· 3045 2082 SH_PFC_PIN_GROUP(scif4_ctrl_c), 3046 2083 SH_PFC_PIN_GROUP(scif5_data), 3047 2084 SH_PFC_PIN_GROUP(scif5_clk), 2085 + SH_PFC_PIN_GROUP(scif_clk_a), 2086 + SH_PFC_PIN_GROUP(scif_clk_b), 3048 2087 SH_PFC_PIN_GROUP(ssi0_data), 3049 2088 SH_PFC_PIN_GROUP(ssi01239_ctrl), 3050 2089 SH_PFC_PIN_GROUP(ssi1_data_a), ··· 3106 2141 "avb_avtp_capture_b", 3107 2142 }; 3108 2143 2144 + static const char * const hscif0_groups[] = { 2145 + "hscif0_data", 2146 + "hscif0_clk", 2147 + "hscif0_ctrl", 2148 + }; 2149 + 2150 + static const char * const hscif1_groups[] = { 2151 + "hscif1_data_a", 2152 + "hscif1_clk_a", 2153 + "hscif1_ctrl_a", 2154 + "hscif1_data_b", 2155 + "hscif1_clk_b", 2156 + "hscif1_ctrl_b", 2157 + }; 2158 + 2159 + static const char * const hscif2_groups[] = { 2160 + "hscif2_data_a", 2161 + "hscif2_clk_a", 2162 + "hscif2_ctrl_a", 2163 + "hscif2_data_b", 2164 + "hscif2_clk_b", 2165 + "hscif2_ctrl_b", 2166 + }; 2167 + 2168 + static const char * const hscif3_groups[] = { 2169 + "hscif3_data_a", 2170 + "hscif3_clk", 2171 + "hscif3_ctrl", 2172 + "hscif3_data_b", 2173 + "hscif3_data_c", 2174 + "hscif3_data_d", 2175 + }; 2176 + 2177 + static const char * const hscif4_groups[] = { 2178 + "hscif4_data_a", 2179 + "hscif4_clk", 2180 + "hscif4_ctrl", 2181 + "hscif4_data_b", 2182 + }; 2183 + 3109 2184 static const char * const i2c1_groups[] = { 3110 2185 "i2c1_a", 3111 2186 "i2c1_b", ··· 3160 2155 "i2c6_a", 3161 2156 "i2c6_b", 3162 2157 "i2c6_c", 2158 + }; 2159 + 2160 + static const char * const msiof0_groups[] = { 2161 + "msiof0_clk", 2162 + "msiof0_sync", 2163 + "msiof0_ss1", 2164 + "msiof0_ss2", 2165 + "msiof0_txd", 2166 + "msiof0_rxd", 2167 + }; 2168 + 2169 + static const char * const msiof1_groups[] = { 2170 + "msiof1_clk_a", 2171 + "msiof1_sync_a", 2172 + "msiof1_ss1_a", 2173 + "msiof1_ss2_a", 2174 + "msiof1_txd_a", 2175 + "msiof1_rxd_a", 2176 + "msiof1_clk_b", 2177 + "msiof1_sync_b", 2178 + "msiof1_ss1_b", 2179 + "msiof1_ss2_b", 2180 + "msiof1_txd_b", 2181 + "msiof1_rxd_b", 2182 + "msiof1_clk_c", 2183 + "msiof1_sync_c", 2184 + "msiof1_ss1_c", 2185 + "msiof1_ss2_c", 2186 + "msiof1_txd_c", 2187 + "msiof1_rxd_c", 2188 + "msiof1_clk_d", 2189 + "msiof1_sync_d", 2190 + "msiof1_ss1_d", 2191 + "msiof1_ss2_d", 2192 + "msiof1_txd_d", 2193 + "msiof1_rxd_d", 2194 + "msiof1_clk_e", 2195 + "msiof1_sync_e", 2196 + "msiof1_ss1_e", 2197 + "msiof1_ss2_e", 2198 + "msiof1_txd_e", 2199 + "msiof1_rxd_e", 2200 + "msiof1_clk_f", 2201 + "msiof1_sync_f", 2202 + "msiof1_ss1_f", 2203 + "msiof1_ss2_f", 2204 + "msiof1_txd_f", 2205 + "msiof1_rxd_f", 2206 + "msiof1_clk_g", 2207 + "msiof1_sync_g", 2208 + "msiof1_ss1_g", 2209 + "msiof1_ss2_g", 2210 + "msiof1_txd_g", 2211 + "msiof1_rxd_g", 2212 + }; 2213 + 2214 + static const char * const msiof2_groups[] = { 2215 + "msiof2_clk_a", 2216 + "msiof2_sync_a", 2217 + "msiof2_ss1_a", 2218 + "msiof2_ss2_a", 2219 + "msiof2_txd_a", 2220 + "msiof2_rxd_a", 2221 + "msiof2_clk_b", 2222 + "msiof2_sync_b", 2223 + "msiof2_ss1_b", 2224 + "msiof2_ss2_b", 2225 + "msiof2_txd_b", 2226 + "msiof2_rxd_b", 2227 + "msiof2_clk_c", 2228 + "msiof2_sync_c", 2229 + "msiof2_ss1_c", 2230 + "msiof2_ss2_c", 2231 + "msiof2_txd_c", 2232 + "msiof2_rxd_c", 2233 + "msiof2_clk_d", 2234 + "msiof2_sync_d", 2235 + "msiof2_ss1_d", 2236 + "msiof2_ss2_d", 2237 + "msiof2_txd_d", 2238 + "msiof2_rxd_d", 2239 + }; 2240 + 2241 + static const char * const msiof3_groups[] = { 2242 + "msiof3_clk_a", 2243 + "msiof3_sync_a", 2244 + "msiof3_ss1_a", 2245 + "msiof3_ss2_a", 2246 + "msiof3_txd_a", 2247 + "msiof3_rxd_a", 2248 + "msiof3_clk_b", 2249 + "msiof3_sync_b", 2250 + "msiof3_ss1_b", 2251 + "msiof3_ss2_b", 2252 + "msiof3_txd_b", 2253 + "msiof3_rxd_b", 2254 + "msiof3_clk_c", 2255 + "msiof3_sync_c", 2256 + "msiof3_txd_c", 2257 + "msiof3_rxd_c", 2258 + "msiof3_clk_d", 2259 + "msiof3_sync_d", 2260 + "msiof3_ss1_d", 2261 + "msiof3_txd_d", 2262 + "msiof3_rxd_d", 3163 2263 }; 3164 2264 3165 2265 static const char * const scif0_groups[] = { ··· 3310 2200 "scif5_clk", 3311 2201 }; 3312 2202 2203 + static const char * const scif_clk_groups[] = { 2204 + "scif_clk_a", 2205 + "scif_clk_b", 2206 + }; 2207 + 3313 2208 static const char * const ssi_groups[] = { 3314 2209 "ssi0_data", 3315 2210 "ssi01239_ctrl", ··· 3346 2231 static const struct sh_pfc_function pinmux_functions[] = { 3347 2232 SH_PFC_FUNCTION(audio_clk), 3348 2233 SH_PFC_FUNCTION(avb), 2234 + SH_PFC_FUNCTION(hscif0), 2235 + SH_PFC_FUNCTION(hscif1), 2236 + SH_PFC_FUNCTION(hscif2), 2237 + SH_PFC_FUNCTION(hscif3), 2238 + SH_PFC_FUNCTION(hscif4), 3349 2239 SH_PFC_FUNCTION(i2c1), 3350 2240 SH_PFC_FUNCTION(i2c2), 3351 2241 SH_PFC_FUNCTION(i2c6), 2242 + SH_PFC_FUNCTION(msiof0), 2243 + SH_PFC_FUNCTION(msiof1), 2244 + SH_PFC_FUNCTION(msiof2), 2245 + SH_PFC_FUNCTION(msiof3), 3352 2246 SH_PFC_FUNCTION(scif0), 3353 2247 SH_PFC_FUNCTION(scif1), 3354 2248 SH_PFC_FUNCTION(scif2), 3355 2249 SH_PFC_FUNCTION(scif3), 3356 2250 SH_PFC_FUNCTION(scif4), 3357 2251 SH_PFC_FUNCTION(scif5), 2252 + SH_PFC_FUNCTION(scif_clk), 3358 2253 SH_PFC_FUNCTION(ssi), 3359 2254 }; 3360 2255
+547 -1
drivers/pinctrl/sh-pfc/pfc-sh73a0.c
··· 2059 2059 LCD2D8_MARK, 2060 2060 }; 2061 2061 static const unsigned int lcd2_data12_pins[] = { 2062 - /* D[0:12] */ 2062 + /* D[0:11] */ 2063 2063 128, 129, 142, 143, 144, 145, 138, 139, 2064 2064 140, 141, 130, 131, 2065 2065 }; ··· 2198 2198 static const unsigned int mmc0_ctrl_1_mux[] = { 2199 2199 MMCCMD1_MARK, MMCCLK1_MARK, 2200 2200 }; 2201 + /* - MSIOF0 ----------------------------------------------------------------- */ 2202 + static const unsigned int msiof0_rsck_pins[] = { 2203 + /* RSCK */ 2204 + 66, 2205 + }; 2206 + static const unsigned int msiof0_rsck_mux[] = { 2207 + MSIOF0_RSCK_MARK, 2208 + }; 2209 + static const unsigned int msiof0_tsck_pins[] = { 2210 + /* TSCK */ 2211 + 64, 2212 + }; 2213 + static const unsigned int msiof0_tsck_mux[] = { 2214 + MSIOF0_TSCK_MARK, 2215 + }; 2216 + static const unsigned int msiof0_rsync_pins[] = { 2217 + /* RSYNC */ 2218 + 67, 2219 + }; 2220 + static const unsigned int msiof0_rsync_mux[] = { 2221 + MSIOF0_RSYNC_MARK, 2222 + }; 2223 + static const unsigned int msiof0_tsync_pins[] = { 2224 + /* TSYNC */ 2225 + 63, 2226 + }; 2227 + static const unsigned int msiof0_tsync_mux[] = { 2228 + MSIOF0_TSYNC_MARK, 2229 + }; 2230 + static const unsigned int msiof0_ss1_pins[] = { 2231 + /* SS1 */ 2232 + 62, 2233 + }; 2234 + static const unsigned int msiof0_ss1_mux[] = { 2235 + MSIOF0_SS1_MARK, 2236 + }; 2237 + static const unsigned int msiof0_ss2_pins[] = { 2238 + /* SS2 */ 2239 + 71, 2240 + }; 2241 + static const unsigned int msiof0_ss2_mux[] = { 2242 + MSIOF0_SS2_MARK, 2243 + }; 2244 + static const unsigned int msiof0_rxd_pins[] = { 2245 + /* RXD */ 2246 + 70, 2247 + }; 2248 + static const unsigned int msiof0_rxd_mux[] = { 2249 + MSIOF0_RXD_MARK, 2250 + }; 2251 + static const unsigned int msiof0_txd_pins[] = { 2252 + /* TXD */ 2253 + 65, 2254 + }; 2255 + static const unsigned int msiof0_txd_mux[] = { 2256 + MSIOF0_TXD_MARK, 2257 + }; 2258 + static const unsigned int msiof0_mck0_pins[] = { 2259 + /* MSCK0 */ 2260 + 68, 2261 + }; 2262 + static const unsigned int msiof0_mck0_mux[] = { 2263 + MSIOF0_MCK0_MARK, 2264 + }; 2265 + 2266 + static const unsigned int msiof0_mck1_pins[] = { 2267 + /* MSCK1 */ 2268 + 69, 2269 + }; 2270 + static const unsigned int msiof0_mck1_mux[] = { 2271 + MSIOF0_MCK1_MARK, 2272 + }; 2273 + 2274 + static const unsigned int msiof0l_rsck_pins[] = { 2275 + /* RSCK */ 2276 + 214, 2277 + }; 2278 + static const unsigned int msiof0l_rsck_mux[] = { 2279 + MSIOF0L_RSCK_MARK, 2280 + }; 2281 + static const unsigned int msiof0l_tsck_pins[] = { 2282 + /* TSCK */ 2283 + 219, 2284 + }; 2285 + static const unsigned int msiof0l_tsck_mux[] = { 2286 + MSIOF0L_TSCK_MARK, 2287 + }; 2288 + static const unsigned int msiof0l_rsync_pins[] = { 2289 + /* RSYNC */ 2290 + 215, 2291 + }; 2292 + static const unsigned int msiof0l_rsync_mux[] = { 2293 + MSIOF0L_RSYNC_MARK, 2294 + }; 2295 + static const unsigned int msiof0l_tsync_pins[] = { 2296 + /* TSYNC */ 2297 + 217, 2298 + }; 2299 + static const unsigned int msiof0l_tsync_mux[] = { 2300 + MSIOF0L_TSYNC_MARK, 2301 + }; 2302 + static const unsigned int msiof0l_ss1_a_pins[] = { 2303 + /* SS1 */ 2304 + 207, 2305 + }; 2306 + static const unsigned int msiof0l_ss1_a_mux[] = { 2307 + PORT207_MSIOF0L_SS1_MARK, 2308 + }; 2309 + static const unsigned int msiof0l_ss1_b_pins[] = { 2310 + /* SS1 */ 2311 + 210, 2312 + }; 2313 + static const unsigned int msiof0l_ss1_b_mux[] = { 2314 + PORT210_MSIOF0L_SS1_MARK, 2315 + }; 2316 + static const unsigned int msiof0l_ss2_a_pins[] = { 2317 + /* SS2 */ 2318 + 208, 2319 + }; 2320 + static const unsigned int msiof0l_ss2_a_mux[] = { 2321 + PORT208_MSIOF0L_SS2_MARK, 2322 + }; 2323 + static const unsigned int msiof0l_ss2_b_pins[] = { 2324 + /* SS2 */ 2325 + 211, 2326 + }; 2327 + static const unsigned int msiof0l_ss2_b_mux[] = { 2328 + PORT211_MSIOF0L_SS2_MARK, 2329 + }; 2330 + static const unsigned int msiof0l_rxd_pins[] = { 2331 + /* RXD */ 2332 + 221, 2333 + }; 2334 + static const unsigned int msiof0l_rxd_mux[] = { 2335 + MSIOF0L_RXD_MARK, 2336 + }; 2337 + static const unsigned int msiof0l_txd_pins[] = { 2338 + /* TXD */ 2339 + 222, 2340 + }; 2341 + static const unsigned int msiof0l_txd_mux[] = { 2342 + MSIOF0L_TXD_MARK, 2343 + }; 2344 + static const unsigned int msiof0l_mck0_pins[] = { 2345 + /* MSCK0 */ 2346 + 212, 2347 + }; 2348 + static const unsigned int msiof0l_mck0_mux[] = { 2349 + MSIOF0L_MCK0_MARK, 2350 + }; 2351 + static const unsigned int msiof0l_mck1_pins[] = { 2352 + /* MSCK1 */ 2353 + 213, 2354 + }; 2355 + static const unsigned int msiof0l_mck1_mux[] = { 2356 + MSIOF0L_MCK1_MARK, 2357 + }; 2358 + /* - MSIOF1 ----------------------------------------------------------------- */ 2359 + static const unsigned int msiof1_rsck_pins[] = { 2360 + /* RSCK */ 2361 + 234, 2362 + }; 2363 + static const unsigned int msiof1_rsck_mux[] = { 2364 + MSIOF1_RSCK_MARK, 2365 + }; 2366 + static const unsigned int msiof1_tsck_pins[] = { 2367 + /* TSCK */ 2368 + 232, 2369 + }; 2370 + static const unsigned int msiof1_tsck_mux[] = { 2371 + MSIOF1_TSCK_MARK, 2372 + }; 2373 + static const unsigned int msiof1_rsync_pins[] = { 2374 + /* RSYNC */ 2375 + 235, 2376 + }; 2377 + static const unsigned int msiof1_rsync_mux[] = { 2378 + MSIOF1_RSYNC_MARK, 2379 + }; 2380 + static const unsigned int msiof1_tsync_pins[] = { 2381 + /* TSYNC */ 2382 + 231, 2383 + }; 2384 + static const unsigned int msiof1_tsync_mux[] = { 2385 + MSIOF1_TSYNC_MARK, 2386 + }; 2387 + static const unsigned int msiof1_ss1_pins[] = { 2388 + /* SS1 */ 2389 + 238, 2390 + }; 2391 + static const unsigned int msiof1_ss1_mux[] = { 2392 + MSIOF1_SS1_MARK, 2393 + }; 2394 + static const unsigned int msiof1_ss2_pins[] = { 2395 + /* SS2 */ 2396 + 239, 2397 + }; 2398 + static const unsigned int msiof1_ss2_mux[] = { 2399 + MSIOF1_SS2_MARK, 2400 + }; 2401 + static const unsigned int msiof1_rxd_pins[] = { 2402 + /* RXD */ 2403 + 233, 2404 + }; 2405 + static const unsigned int msiof1_rxd_mux[] = { 2406 + MSIOF1_RXD_MARK, 2407 + }; 2408 + static const unsigned int msiof1_txd_pins[] = { 2409 + /* TXD */ 2410 + 230, 2411 + }; 2412 + static const unsigned int msiof1_txd_mux[] = { 2413 + MSIOF1_TXD_MARK, 2414 + }; 2415 + static const unsigned int msiof1_mck0_pins[] = { 2416 + /* MSCK0 */ 2417 + 236, 2418 + }; 2419 + static const unsigned int msiof1_mck0_mux[] = { 2420 + MSIOF1_MCK0_MARK, 2421 + }; 2422 + static const unsigned int msiof1_mck1_pins[] = { 2423 + /* MSCK1 */ 2424 + 237, 2425 + }; 2426 + static const unsigned int msiof1_mck1_mux[] = { 2427 + MSIOF1_MCK1_MARK, 2428 + }; 2429 + /* - MSIOF2 ----------------------------------------------------------------- */ 2430 + static const unsigned int msiof2_rsck_pins[] = { 2431 + /* RSCK */ 2432 + 151, 2433 + }; 2434 + static const unsigned int msiof2_rsck_mux[] = { 2435 + MSIOF2_RSCK_MARK, 2436 + }; 2437 + static const unsigned int msiof2_tsck_pins[] = { 2438 + /* TSCK */ 2439 + 135, 2440 + }; 2441 + static const unsigned int msiof2_tsck_mux[] = { 2442 + MSIOF2_TSCK_MARK, 2443 + }; 2444 + static const unsigned int msiof2_rsync_pins[] = { 2445 + /* RSYNC */ 2446 + 152, 2447 + }; 2448 + static const unsigned int msiof2_rsync_mux[] = { 2449 + MSIOF2_RSYNC_MARK, 2450 + }; 2451 + static const unsigned int msiof2_tsync_pins[] = { 2452 + /* TSYNC */ 2453 + 133, 2454 + }; 2455 + static const unsigned int msiof2_tsync_mux[] = { 2456 + MSIOF2_TSYNC_MARK, 2457 + }; 2458 + static const unsigned int msiof2_ss1_a_pins[] = { 2459 + /* SS1 */ 2460 + 131, 2461 + }; 2462 + static const unsigned int msiof2_ss1_a_mux[] = { 2463 + PORT131_MSIOF2_SS1_MARK, 2464 + }; 2465 + static const unsigned int msiof2_ss1_b_pins[] = { 2466 + /* SS1 */ 2467 + 153, 2468 + }; 2469 + static const unsigned int msiof2_ss1_b_mux[] = { 2470 + PORT153_MSIOF2_SS1_MARK, 2471 + }; 2472 + static const unsigned int msiof2_ss2_a_pins[] = { 2473 + /* SS2 */ 2474 + 132, 2475 + }; 2476 + static const unsigned int msiof2_ss2_a_mux[] = { 2477 + PORT132_MSIOF2_SS2_MARK, 2478 + }; 2479 + static const unsigned int msiof2_ss2_b_pins[] = { 2480 + /* SS2 */ 2481 + 156, 2482 + }; 2483 + static const unsigned int msiof2_ss2_b_mux[] = { 2484 + PORT156_MSIOF2_SS2_MARK, 2485 + }; 2486 + static const unsigned int msiof2_rxd_a_pins[] = { 2487 + /* RXD */ 2488 + 130, 2489 + }; 2490 + static const unsigned int msiof2_rxd_a_mux[] = { 2491 + PORT130_MSIOF2_RXD_MARK, 2492 + }; 2493 + static const unsigned int msiof2_rxd_b_pins[] = { 2494 + /* RXD */ 2495 + 157, 2496 + }; 2497 + static const unsigned int msiof2_rxd_b_mux[] = { 2498 + PORT157_MSIOF2_RXD_MARK, 2499 + }; 2500 + static const unsigned int msiof2_txd_pins[] = { 2501 + /* TXD */ 2502 + 134, 2503 + }; 2504 + static const unsigned int msiof2_txd_mux[] = { 2505 + MSIOF2_TXD_MARK, 2506 + }; 2507 + static const unsigned int msiof2_mck0_pins[] = { 2508 + /* MSCK0 */ 2509 + 154, 2510 + }; 2511 + static const unsigned int msiof2_mck0_mux[] = { 2512 + MSIOF2_MCK0_MARK, 2513 + }; 2514 + static const unsigned int msiof2_mck1_pins[] = { 2515 + /* MSCK1 */ 2516 + 155, 2517 + }; 2518 + static const unsigned int msiof2_mck1_mux[] = { 2519 + MSIOF2_MCK1_MARK, 2520 + }; 2521 + 2522 + static const unsigned int msiof2r_tsck_pins[] = { 2523 + /* TSCK */ 2524 + 248, 2525 + }; 2526 + static const unsigned int msiof2r_tsck_mux[] = { 2527 + MSIOF2R_TSCK_MARK, 2528 + }; 2529 + static const unsigned int msiof2r_tsync_pins[] = { 2530 + /* TSYNC */ 2531 + 249, 2532 + }; 2533 + static const unsigned int msiof2r_tsync_mux[] = { 2534 + MSIOF2R_TSYNC_MARK, 2535 + }; 2536 + static const unsigned int msiof2r_rxd_pins[] = { 2537 + /* RXD */ 2538 + 244, 2539 + }; 2540 + static const unsigned int msiof2r_rxd_mux[] = { 2541 + MSIOF2R_RXD_MARK, 2542 + }; 2543 + static const unsigned int msiof2r_txd_pins[] = { 2544 + /* TXD */ 2545 + 245, 2546 + }; 2547 + static const unsigned int msiof2r_txd_mux[] = { 2548 + MSIOF2R_TXD_MARK, 2549 + }; 2550 + /* - MSIOF3 (Pin function name of MSIOF3 is named BBIF1) -------------------- */ 2551 + static const unsigned int msiof3_rsck_pins[] = { 2552 + /* RSCK */ 2553 + 115, 2554 + }; 2555 + static const unsigned int msiof3_rsck_mux[] = { 2556 + BBIF1_RSCK_MARK, 2557 + }; 2558 + static const unsigned int msiof3_tsck_pins[] = { 2559 + /* TSCK */ 2560 + 112, 2561 + }; 2562 + static const unsigned int msiof3_tsck_mux[] = { 2563 + BBIF1_TSCK_MARK, 2564 + }; 2565 + static const unsigned int msiof3_rsync_pins[] = { 2566 + /* RSYNC */ 2567 + 116, 2568 + }; 2569 + static const unsigned int msiof3_rsync_mux[] = { 2570 + BBIF1_RSYNC_MARK, 2571 + }; 2572 + static const unsigned int msiof3_tsync_pins[] = { 2573 + /* TSYNC */ 2574 + 113, 2575 + }; 2576 + static const unsigned int msiof3_tsync_mux[] = { 2577 + BBIF1_TSYNC_MARK, 2578 + }; 2579 + static const unsigned int msiof3_ss1_pins[] = { 2580 + /* SS1 */ 2581 + 117, 2582 + }; 2583 + static const unsigned int msiof3_ss1_mux[] = { 2584 + BBIF1_SS1_MARK, 2585 + }; 2586 + static const unsigned int msiof3_ss2_pins[] = { 2587 + /* SS2 */ 2588 + 109, 2589 + }; 2590 + static const unsigned int msiof3_ss2_mux[] = { 2591 + BBIF1_SS2_MARK, 2592 + }; 2593 + static const unsigned int msiof3_rxd_pins[] = { 2594 + /* RXD */ 2595 + 111, 2596 + }; 2597 + static const unsigned int msiof3_rxd_mux[] = { 2598 + BBIF1_RXD_MARK, 2599 + }; 2600 + static const unsigned int msiof3_txd_pins[] = { 2601 + /* TXD */ 2602 + 114, 2603 + }; 2604 + static const unsigned int msiof3_txd_mux[] = { 2605 + BBIF1_TXD_MARK, 2606 + }; 2607 + static const unsigned int msiof3_flow_pins[] = { 2608 + /* FLOW */ 2609 + 117, 2610 + }; 2611 + static const unsigned int msiof3_flow_mux[] = { 2612 + BBIF1_FLOW_MARK, 2613 + }; 2614 + 2201 2615 /* - SCIFA0 ----------------------------------------------------------------- */ 2202 2616 static const unsigned int scifa0_data_pins[] = { 2203 2617 /* RXD, TXD */ ··· 3196 2782 SH_PFC_PIN_GROUP(mmc0_data4_1), 3197 2783 SH_PFC_PIN_GROUP(mmc0_data8_1), 3198 2784 SH_PFC_PIN_GROUP(mmc0_ctrl_1), 2785 + SH_PFC_PIN_GROUP(msiof0_rsck), 2786 + SH_PFC_PIN_GROUP(msiof0_tsck), 2787 + SH_PFC_PIN_GROUP(msiof0_rsync), 2788 + SH_PFC_PIN_GROUP(msiof0_tsync), 2789 + SH_PFC_PIN_GROUP(msiof0_ss1), 2790 + SH_PFC_PIN_GROUP(msiof0_ss2), 2791 + SH_PFC_PIN_GROUP(msiof0_rxd), 2792 + SH_PFC_PIN_GROUP(msiof0_txd), 2793 + SH_PFC_PIN_GROUP(msiof0_mck0), 2794 + SH_PFC_PIN_GROUP(msiof0_mck1), 2795 + SH_PFC_PIN_GROUP(msiof0l_rsck), 2796 + SH_PFC_PIN_GROUP(msiof0l_tsck), 2797 + SH_PFC_PIN_GROUP(msiof0l_rsync), 2798 + SH_PFC_PIN_GROUP(msiof0l_tsync), 2799 + SH_PFC_PIN_GROUP(msiof0l_ss1_a), 2800 + SH_PFC_PIN_GROUP(msiof0l_ss1_b), 2801 + SH_PFC_PIN_GROUP(msiof0l_ss2_a), 2802 + SH_PFC_PIN_GROUP(msiof0l_ss2_b), 2803 + SH_PFC_PIN_GROUP(msiof0l_rxd), 2804 + SH_PFC_PIN_GROUP(msiof0l_txd), 2805 + SH_PFC_PIN_GROUP(msiof0l_mck0), 2806 + SH_PFC_PIN_GROUP(msiof0l_mck1), 2807 + SH_PFC_PIN_GROUP(msiof1_rsck), 2808 + SH_PFC_PIN_GROUP(msiof1_tsck), 2809 + SH_PFC_PIN_GROUP(msiof1_rsync), 2810 + SH_PFC_PIN_GROUP(msiof1_tsync), 2811 + SH_PFC_PIN_GROUP(msiof1_ss1), 2812 + SH_PFC_PIN_GROUP(msiof1_ss2), 2813 + SH_PFC_PIN_GROUP(msiof1_rxd), 2814 + SH_PFC_PIN_GROUP(msiof1_txd), 2815 + SH_PFC_PIN_GROUP(msiof1_mck0), 2816 + SH_PFC_PIN_GROUP(msiof1_mck1), 2817 + SH_PFC_PIN_GROUP(msiof2_rsck), 2818 + SH_PFC_PIN_GROUP(msiof2_tsck), 2819 + SH_PFC_PIN_GROUP(msiof2_rsync), 2820 + SH_PFC_PIN_GROUP(msiof2_tsync), 2821 + SH_PFC_PIN_GROUP(msiof2_ss1_a), 2822 + SH_PFC_PIN_GROUP(msiof2_ss1_b), 2823 + SH_PFC_PIN_GROUP(msiof2_ss2_a), 2824 + SH_PFC_PIN_GROUP(msiof2_ss2_b), 2825 + SH_PFC_PIN_GROUP(msiof2_rxd_a), 2826 + SH_PFC_PIN_GROUP(msiof2_rxd_b), 2827 + SH_PFC_PIN_GROUP(msiof2_txd), 2828 + SH_PFC_PIN_GROUP(msiof2_mck0), 2829 + SH_PFC_PIN_GROUP(msiof2_mck1), 2830 + SH_PFC_PIN_GROUP(msiof2r_tsck), 2831 + SH_PFC_PIN_GROUP(msiof2r_tsync), 2832 + SH_PFC_PIN_GROUP(msiof2r_rxd), 2833 + SH_PFC_PIN_GROUP(msiof2r_txd), 2834 + SH_PFC_PIN_GROUP(msiof3_rsck), 2835 + SH_PFC_PIN_GROUP(msiof3_tsck), 2836 + SH_PFC_PIN_GROUP(msiof3_rsync), 2837 + SH_PFC_PIN_GROUP(msiof3_tsync), 2838 + SH_PFC_PIN_GROUP(msiof3_ss1), 2839 + SH_PFC_PIN_GROUP(msiof3_ss2), 2840 + SH_PFC_PIN_GROUP(msiof3_rxd), 2841 + SH_PFC_PIN_GROUP(msiof3_txd), 2842 + SH_PFC_PIN_GROUP(msiof3_flow), 3199 2843 SH_PFC_PIN_GROUP(scifa0_data), 3200 2844 SH_PFC_PIN_GROUP(scifa0_clk), 3201 2845 SH_PFC_PIN_GROUP(scifa0_ctrl), ··· 3454 2982 "mmc0_ctrl_1", 3455 2983 }; 3456 2984 2985 + static const char * const msiof0_groups[] = { 2986 + "msiof0_rsck", 2987 + "msiof0_tsck", 2988 + "msiof0_rsync", 2989 + "msiof0_tsync", 2990 + "msiof0_ss1", 2991 + "msiof0_ss2", 2992 + "msiof0_rxd", 2993 + "msiof0_txd", 2994 + "msiof0_mck0", 2995 + "msiof0_mck1", 2996 + "msiof0l_rsck", 2997 + "msiof0l_tsck", 2998 + "msiof0l_rsync", 2999 + "msiof0l_tsync", 3000 + "msiof0l_ss1_a", 3001 + "msiof0l_ss1_b", 3002 + "msiof0l_ss2_a", 3003 + "msiof0l_ss2_b", 3004 + "msiof0l_rxd", 3005 + "msiof0l_txd", 3006 + "msiof0l_mck0", 3007 + "msiof0l_mck1", 3008 + }; 3009 + 3010 + static const char * const msiof1_groups[] = { 3011 + "msiof1_rsck", 3012 + "msiof1_tsck", 3013 + "msiof1_rsync", 3014 + "msiof1_tsync", 3015 + "msiof1_ss1", 3016 + "msiof1_ss2", 3017 + "msiof1_rxd", 3018 + "msiof1_txd", 3019 + "msiof1_mck0", 3020 + "msiof1_mck1", 3021 + }; 3022 + 3023 + static const char * const msiof2_groups[] = { 3024 + "msiof2_rsck", 3025 + "msiof2_tsck", 3026 + "msiof2_rsync", 3027 + "msiof2_tsync", 3028 + "msiof2_ss1_a", 3029 + "msiof2_ss1_b", 3030 + "msiof2_ss2_a", 3031 + "msiof2_ss2_b", 3032 + "msiof2_rxd_a", 3033 + "msiof2_rxd_b", 3034 + "msiof2_txd", 3035 + "msiof2_mck0", 3036 + "msiof2_mck1", 3037 + "msiof2r_tsck", 3038 + "msiof2r_tsync", 3039 + "msiof2r_rxd", 3040 + "msiof2r_txd", 3041 + }; 3042 + 3043 + static const char * const msiof3_groups[] = { 3044 + "msiof3_rsck", 3045 + "msiof3_tsck", 3046 + "msiof3_rsync", 3047 + "msiof3_tsync", 3048 + "msiof3_ss1", 3049 + "msiof3_ss2", 3050 + "msiof3_rxd", 3051 + "msiof3_txd", 3052 + "msiof3_flow", 3053 + }; 3054 + 3457 3055 static const char * const scifa0_groups[] = { 3458 3056 "scifa0_data", 3459 3057 "scifa0_clk", ··· 3658 3116 SH_PFC_FUNCTION(lcd), 3659 3117 SH_PFC_FUNCTION(lcd2), 3660 3118 SH_PFC_FUNCTION(mmc0), 3119 + SH_PFC_FUNCTION(msiof0), 3120 + SH_PFC_FUNCTION(msiof1), 3121 + SH_PFC_FUNCTION(msiof2), 3122 + SH_PFC_FUNCTION(msiof3), 3661 3123 SH_PFC_FUNCTION(scifa0), 3662 3124 SH_PFC_FUNCTION(scifa1), 3663 3125 SH_PFC_FUNCTION(scifa2),
+12 -17
drivers/pinctrl/sh-pfc/pfc-sh7734.c
··· 14 14 15 15 #include "sh_pfc.h" 16 16 17 - #define PORT_GP_12(bank, fn, sfx) \ 18 - PORT_GP_1(bank, 0, fn, sfx), PORT_GP_1(bank, 1, fn, sfx), \ 19 - PORT_GP_1(bank, 2, fn, sfx), PORT_GP_1(bank, 3, fn, sfx), \ 20 - PORT_GP_1(bank, 4, fn, sfx), PORT_GP_1(bank, 5, fn, sfx), \ 21 - PORT_GP_1(bank, 6, fn, sfx), PORT_GP_1(bank, 7, fn, sfx), \ 22 - PORT_GP_1(bank, 8, fn, sfx), PORT_GP_1(bank, 9, fn, sfx), \ 23 - PORT_GP_1(bank, 10, fn, sfx), PORT_GP_1(bank, 11, fn, sfx) 24 - 25 17 #define CPU_ALL_PORT(fn, sfx) \ 26 18 PORT_GP_32(0, fn, sfx), \ 27 19 PORT_GP_32(1, fn, sfx), \ ··· 577 585 static const u16 pinmux_data[] = { 578 586 PINMUX_DATA_GP_ALL(), /* PINMUX_DATA(GP_M_N_DATA, GP_M_N_FN...), */ 579 587 580 - PINMUX_DATA(CLKOUT_MARK, FN_CLKOUT), 581 - PINMUX_DATA(BS_MARK, FN_BS), PINMUX_DATA(CS0_MARK, FN_CS0), 582 - PINMUX_DATA(EX_CS0_MARK, FN_EX_CS0), 583 - PINMUX_DATA(RD_MARK, FN_RD), PINMUX_DATA(WE0_MARK, FN_WE0), 584 - PINMUX_DATA(WE1_MARK, FN_WE1), 585 - PINMUX_DATA(SCL0_MARK, FN_SCL0), PINMUX_DATA(PENC0_MARK, FN_PENC0), 586 - PINMUX_DATA(USB_OVC0_MARK, FN_USB_OVC0), 587 - PINMUX_DATA(IRQ2_B_MARK, FN_IRQ2_B), 588 - PINMUX_DATA(IRQ3_B_MARK, FN_IRQ3_B), 588 + PINMUX_SINGLE(CLKOUT), 589 + PINMUX_SINGLE(BS), 590 + PINMUX_SINGLE(CS0), 591 + PINMUX_SINGLE(EX_CS0), 592 + PINMUX_SINGLE(RD), 593 + PINMUX_SINGLE(WE0), 594 + PINMUX_SINGLE(WE1), 595 + PINMUX_SINGLE(SCL0), 596 + PINMUX_SINGLE(PENC0), 597 + PINMUX_SINGLE(USB_OVC0), 598 + PINMUX_SINGLE(IRQ2_B), 599 + PINMUX_SINGLE(IRQ3_B), 589 600 590 601 /* IPSR0 */ 591 602 PINMUX_IPSR_DATA(IP0_1_0, A0),
+64 -10
drivers/pinctrl/sh-pfc/sh_pfc.h
··· 199 199 PINMUX_DATA(fn##_MARK, FN_##ms, FN_##ipsr, FN_##fn) 200 200 201 201 /* 202 + * Describe a pinmux configuration for a single-function pin with GPIO 203 + * capability. 204 + * - fn: Function name 205 + */ 206 + #define PINMUX_SINGLE(fn) \ 207 + PINMUX_DATA(fn##_MARK, FN_##fn) 208 + 209 + /* 202 210 * GP port style (32 ports banks) 203 211 */ 204 212 205 213 #define PORT_GP_CFG_1(bank, pin, fn, sfx, cfg) fn(bank, pin, GP_##bank##_##pin, sfx, cfg) 206 214 #define PORT_GP_1(bank, pin, fn, sfx) PORT_GP_CFG_1(bank, pin, fn, sfx, 0) 207 215 208 - #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ 216 + #define PORT_GP_CFG_4(bank, fn, sfx, cfg) \ 209 217 PORT_GP_CFG_1(bank, 0, fn, sfx, cfg), PORT_GP_CFG_1(bank, 1, fn, sfx, cfg), \ 210 - PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), PORT_GP_CFG_1(bank, 3, fn, sfx, cfg), \ 218 + PORT_GP_CFG_1(bank, 2, fn, sfx, cfg), PORT_GP_CFG_1(bank, 3, fn, sfx, cfg) 219 + #define PORT_GP_4(bank, fn, sfx) PORT_GP_CFG_4(bank, fn, sfx, 0) 220 + 221 + #define PORT_GP_CFG_8(bank, fn, sfx, cfg) \ 222 + PORT_GP_CFG_4(bank, fn, sfx, cfg), \ 211 223 PORT_GP_CFG_1(bank, 4, fn, sfx, cfg), PORT_GP_CFG_1(bank, 5, fn, sfx, cfg), \ 212 - PORT_GP_CFG_1(bank, 6, fn, sfx, cfg), PORT_GP_CFG_1(bank, 7, fn, sfx, cfg), \ 224 + PORT_GP_CFG_1(bank, 6, fn, sfx, cfg), PORT_GP_CFG_1(bank, 7, fn, sfx, cfg) 225 + #define PORT_GP_8(bank, fn, sfx) PORT_GP_CFG_8(bank, fn, sfx, 0) 226 + 227 + #define PORT_GP_CFG_9(bank, fn, sfx, cfg) \ 228 + PORT_GP_CFG_8(bank, fn, sfx, cfg), \ 229 + PORT_GP_CFG_1(bank, 8, fn, sfx, cfg) 230 + #define PORT_GP_9(bank, fn, sfx) PORT_GP_CFG_9(bank, fn, sfx, 0) 231 + 232 + #define PORT_GP_CFG_12(bank, fn, sfx, cfg) \ 233 + PORT_GP_CFG_8(bank, fn, sfx, cfg), \ 213 234 PORT_GP_CFG_1(bank, 8, fn, sfx, cfg), PORT_GP_CFG_1(bank, 9, fn, sfx, cfg), \ 214 - PORT_GP_CFG_1(bank, 10, fn, sfx, cfg), PORT_GP_CFG_1(bank, 11, fn, sfx, cfg), \ 215 - PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), PORT_GP_CFG_1(bank, 13, fn, sfx, cfg), \ 216 - PORT_GP_CFG_1(bank, 14, fn, sfx, cfg), PORT_GP_CFG_1(bank, 15, fn, sfx, cfg), \ 217 - PORT_GP_CFG_1(bank, 16, fn, sfx, cfg), PORT_GP_CFG_1(bank, 17, fn, sfx, cfg), \ 235 + PORT_GP_CFG_1(bank, 10, fn, sfx, cfg), PORT_GP_CFG_1(bank, 11, fn, sfx, cfg) 236 + #define PORT_GP_12(bank, fn, sfx) PORT_GP_CFG_12(bank, fn, sfx, 0) 237 + 238 + #define PORT_GP_CFG_14(bank, fn, sfx, cfg) \ 239 + PORT_GP_CFG_12(bank, fn, sfx, cfg), \ 240 + PORT_GP_CFG_1(bank, 12, fn, sfx, cfg), PORT_GP_CFG_1(bank, 13, fn, sfx, cfg) 241 + #define PORT_GP_14(bank, fn, sfx) PORT_GP_CFG_14(bank, fn, sfx, 0) 242 + 243 + #define PORT_GP_CFG_15(bank, fn, sfx, cfg) \ 244 + PORT_GP_CFG_14(bank, fn, sfx, cfg), \ 245 + PORT_GP_CFG_1(bank, 14, fn, sfx, cfg) 246 + #define PORT_GP_15(bank, fn, sfx) PORT_GP_CFG_15(bank, fn, sfx, 0) 247 + 248 + #define PORT_GP_CFG_16(bank, fn, sfx, cfg) \ 249 + PORT_GP_CFG_14(bank, fn, sfx, cfg), \ 250 + PORT_GP_CFG_1(bank, 14, fn, sfx, cfg), PORT_GP_CFG_1(bank, 15, fn, sfx, cfg) 251 + #define PORT_GP_16(bank, fn, sfx) PORT_GP_CFG_16(bank, fn, sfx, 0) 252 + 253 + #define PORT_GP_CFG_18(bank, fn, sfx, cfg) \ 254 + PORT_GP_CFG_16(bank, fn, sfx, cfg), \ 255 + PORT_GP_CFG_1(bank, 16, fn, sfx, cfg), PORT_GP_CFG_1(bank, 17, fn, sfx, cfg) 256 + #define PORT_GP_18(bank, fn, sfx) PORT_GP_CFG_18(bank, fn, sfx, 0) 257 + 258 + #define PORT_GP_CFG_26(bank, fn, sfx, cfg) \ 259 + PORT_GP_CFG_18(bank, fn, sfx, cfg), \ 218 260 PORT_GP_CFG_1(bank, 18, fn, sfx, cfg), PORT_GP_CFG_1(bank, 19, fn, sfx, cfg), \ 219 261 PORT_GP_CFG_1(bank, 20, fn, sfx, cfg), PORT_GP_CFG_1(bank, 21, fn, sfx, cfg), \ 220 262 PORT_GP_CFG_1(bank, 22, fn, sfx, cfg), PORT_GP_CFG_1(bank, 23, fn, sfx, cfg), \ 221 - PORT_GP_CFG_1(bank, 24, fn, sfx, cfg), PORT_GP_CFG_1(bank, 25, fn, sfx, cfg), \ 222 - PORT_GP_CFG_1(bank, 26, fn, sfx, cfg), PORT_GP_CFG_1(bank, 27, fn, sfx, cfg), \ 223 - PORT_GP_CFG_1(bank, 28, fn, sfx, cfg), PORT_GP_CFG_1(bank, 29, fn, sfx, cfg), \ 263 + PORT_GP_CFG_1(bank, 24, fn, sfx, cfg), PORT_GP_CFG_1(bank, 25, fn, sfx, cfg) 264 + #define PORT_GP_26(bank, fn, sfx) PORT_GP_CFG_26(bank, fn, sfx, 0) 265 + 266 + #define PORT_GP_CFG_28(bank, fn, sfx, cfg) \ 267 + PORT_GP_CFG_26(bank, fn, sfx, cfg), \ 268 + PORT_GP_CFG_1(bank, 26, fn, sfx, cfg), PORT_GP_CFG_1(bank, 27, fn, sfx, cfg) 269 + #define PORT_GP_28(bank, fn, sfx) PORT_GP_CFG_28(bank, fn, sfx, 0) 270 + 271 + #define PORT_GP_CFG_30(bank, fn, sfx, cfg) \ 272 + PORT_GP_CFG_28(bank, fn, sfx, cfg), \ 273 + PORT_GP_CFG_1(bank, 28, fn, sfx, cfg), PORT_GP_CFG_1(bank, 29, fn, sfx, cfg) 274 + #define PORT_GP_30(bank, fn, sfx) PORT_GP_CFG_30(bank, fn, sfx, 0) 275 + 276 + #define PORT_GP_CFG_32(bank, fn, sfx, cfg) \ 277 + PORT_GP_CFG_30(bank, fn, sfx, cfg), \ 224 278 PORT_GP_CFG_1(bank, 30, fn, sfx, cfg), PORT_GP_CFG_1(bank, 31, fn, sfx, cfg) 225 279 #define PORT_GP_32(bank, fn, sfx) PORT_GP_CFG_32(bank, fn, sfx, 0) 226 280