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

pinctrl: Rename sh-pfc to renesas

The drivers/pinctrl/sh-pfc subdirectory was originally created to group
pin control drivers for various Renesas SuperH and SH-Mobile platforms.
However, the name "sh-pfc" no longer reflects its contents, as the
directory now contains pin control drivers for Renesas SuperH, ARM32,
and ARM64 SoCs.

Hence rename the subdirectory from drivers/pinctrl/sh-pfc to
drivers/pinctrl/renesas, and the related Kconfig symbol from
PINCTRL_SH_PFC to PINCTRL_RENESAS.

Rename the git branch in MAINTAINERS, too, for consistency.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200909131534.12897-3-geert+renesas@glider.be

+2273 -2273
+2 -2
MAINTAINERS
··· 13688 13688 M: Geert Uytterhoeven <geert+renesas@glider.be> 13689 13689 L: linux-renesas-soc@vger.kernel.org 13690 13690 S: Supported 13691 - T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git sh-pfc 13691 + T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git renesas-pinctrl 13692 13692 F: Documentation/devicetree/bindings/pinctrl/renesas,* 13693 - F: drivers/pinctrl/sh-pfc/ 13693 + F: drivers/pinctrl/renesas/ 13694 13694 13695 13695 PIN CONTROLLER - SAMSUNG 13696 13696 M: Tomasz Figa <tomasz.figa@gmail.com>
+1 -1
drivers/pinctrl/Kconfig
··· 383 383 source "drivers/pinctrl/nuvoton/Kconfig" 384 384 source "drivers/pinctrl/pxa/Kconfig" 385 385 source "drivers/pinctrl/qcom/Kconfig" 386 + source "drivers/pinctrl/renesas/Kconfig" 386 387 source "drivers/pinctrl/samsung/Kconfig" 387 - source "drivers/pinctrl/sh-pfc/Kconfig" 388 388 source "drivers/pinctrl/spear/Kconfig" 389 389 source "drivers/pinctrl/sprd/Kconfig" 390 390 source "drivers/pinctrl/stm32/Kconfig"
+1 -1
drivers/pinctrl/Makefile
··· 59 59 obj-$(CONFIG_ARCH_NPCM7XX) += nuvoton/ 60 60 obj-$(CONFIG_PINCTRL_PXA) += pxa/ 61 61 obj-$(CONFIG_ARCH_QCOM) += qcom/ 62 + obj-$(CONFIG_PINCTRL_RENESAS) += renesas/ 62 63 obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/ 63 - obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/ 64 64 obj-$(CONFIG_PINCTRL_SPEAR) += spear/ 65 65 obj-y += sprd/ 66 66 obj-$(CONFIG_PINCTRL_STM32) += stm32/
+1 -1
drivers/pinctrl/sh-pfc/Kconfig drivers/pinctrl/renesas/Kconfig
··· 5 5 6 6 menu "Renesas pinctrl drivers" 7 7 8 - config PINCTRL_SH_PFC 8 + config PINCTRL_RENESAS 9 9 bool "Renesas SoC pin control support" if COMPILE_TEST && !(ARCH_RENESAS || SUPERH) 10 10 default y if ARCH_RENESAS || SUPERH 11 11 select PINMUX
+2 -2
drivers/pinctrl/sh-pfc/Makefile drivers/pinctrl/renesas/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 - obj-$(CONFIG_PINCTRL_SH_PFC) += core.o pinctrl.o 2 + obj-$(CONFIG_PINCTRL_RENESAS) += core.o pinctrl.o 3 3 obj-$(CONFIG_PINCTRL_SH_PFC_GPIO) += gpio.o 4 - obj-$(CONFIG_PINCTRL_PFC_EMEV2) += pfc-emev2.o 4 + obj-$(CONFIG_PINCTRL_PFC_EMEV2) += pfc-emev2.o 5 5 obj-$(CONFIG_PINCTRL_PFC_R8A73A4) += pfc-r8a73a4.o 6 6 obj-$(CONFIG_PINCTRL_PFC_R8A7740) += pfc-r8a7740.o 7 7 obj-$(CONFIG_PINCTRL_PFC_R8A7742) += pfc-r8a7790.o
drivers/pinctrl/sh-pfc/core.c drivers/pinctrl/renesas/core.c
drivers/pinctrl/sh-pfc/core.h drivers/pinctrl/renesas/core.h
drivers/pinctrl/sh-pfc/gpio.c drivers/pinctrl/renesas/gpio.c
drivers/pinctrl/sh-pfc/pfc-emev2.c drivers/pinctrl/renesas/pfc-emev2.c
drivers/pinctrl/sh-pfc/pfc-r8a73a4.c drivers/pinctrl/renesas/pfc-r8a73a4.c
drivers/pinctrl/sh-pfc/pfc-r8a7740.c drivers/pinctrl/renesas/pfc-r8a7740.c
drivers/pinctrl/sh-pfc/pfc-r8a77470.c drivers/pinctrl/renesas/pfc-r8a77470.c
drivers/pinctrl/sh-pfc/pfc-r8a7778.c drivers/pinctrl/renesas/pfc-r8a7778.c
drivers/pinctrl/sh-pfc/pfc-r8a7779.c drivers/pinctrl/renesas/pfc-r8a7779.c
drivers/pinctrl/sh-pfc/pfc-r8a7790.c drivers/pinctrl/renesas/pfc-r8a7790.c
drivers/pinctrl/sh-pfc/pfc-r8a7791.c drivers/pinctrl/renesas/pfc-r8a7791.c
drivers/pinctrl/sh-pfc/pfc-r8a7792.c drivers/pinctrl/renesas/pfc-r8a7792.c
drivers/pinctrl/sh-pfc/pfc-r8a7794.c drivers/pinctrl/renesas/pfc-r8a7794.c
drivers/pinctrl/sh-pfc/pfc-r8a77950.c drivers/pinctrl/renesas/pfc-r8a77950.c
drivers/pinctrl/sh-pfc/pfc-r8a77951.c drivers/pinctrl/renesas/pfc-r8a77951.c
+377 -150
drivers/pinctrl/sh-pfc/pfc-r8a7796.c drivers/pinctrl/renesas/pfc-r8a77965.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * R8A7796 (R-Car M3-W/W+) support - PFC hardware block. 3 + * R8A77965 processor support - PFC hardware block. 4 4 * 5 + * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 5 6 * Copyright (C) 2016-2019 Renesas Electronics Corp. 6 7 * 7 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7795.c 8 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7796.c 8 9 * 9 10 * R-Car Gen3 processor support - PFC hardware block. 10 11 * ··· 52 51 PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ 53 52 PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ 54 53 PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ 55 - PIN_NOGP_CFG(DU_DOTCLKIN2, "DU_DOTCLKIN2", fn, CFG_FLAGS), \ 54 + PIN_NOGP_CFG(DU_DOTCLKIN3, "DU_DOTCLKIN3", fn, CFG_FLAGS), \ 56 55 PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ 57 56 PIN_NOGP_CFG(FSCLKST, "FSCLKST", fn, CFG_FLAGS), \ 58 57 PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ ··· 261 260 #define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 262 261 #define IP0_11_8 FM(AVB_PHY_INT) F_(0, 0) FM(MSIOF2_SYNC_C) FM(RX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 263 262 #define IP0_15_12 FM(AVB_LINK) F_(0, 0) FM(MSIOF2_SCK_C) FM(TX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 264 - #define IP0_19_16 FM(AVB_AVTP_MATCH_A) F_(0, 0) FM(MSIOF2_RXD_C) FM(CTS4_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 263 + #define IP0_19_16 FM(AVB_AVTP_MATCH_A) F_(0, 0) FM(MSIOF2_RXD_C) FM(CTS4_N_A) F_(0, 0) FM(FSCLKST2_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 265 264 #define IP0_23_20 FM(AVB_AVTP_CAPTURE_A) F_(0, 0) FM(MSIOF2_TXD_C) FM(RTS4_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 266 265 #define IP0_27_24 FM(IRQ0) FM(QPOLB) F_(0, 0) FM(DU_CDE) FM(VI4_DATA0_B) FM(CAN0_TX_B) FM(CANFD0_TX_B) FM(MSIOF3_SS2_E) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 267 266 #define IP0_31_28 FM(IRQ1) FM(QPOLA) F_(0, 0) FM(DU_DISP) FM(VI4_DATA1_B) FM(CAN0_RX_B) FM(CANFD0_RX_B) FM(MSIOF3_SS1_E) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 268 267 #define IP1_3_0 FM(IRQ2) FM(QCPV_QDE) F_(0, 0) FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(VI4_DATA2_B) F_(0, 0) F_(0, 0) FM(MSIOF3_SYNC_E) F_(0, 0) FM(PWM3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 269 268 #define IP1_7_4 FM(IRQ3) FM(QSTVB_QVE) F_(0, 0) FM(DU_DOTCLKOUT1) FM(VI4_DATA3_B) F_(0, 0) F_(0, 0) FM(MSIOF3_SCK_E) F_(0, 0) FM(PWM4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 270 269 #define IP1_11_8 FM(IRQ4) FM(QSTH_QHS) F_(0, 0) FM(DU_EXHSYNC_DU_HSYNC) FM(VI4_DATA4_B) F_(0, 0) F_(0, 0) FM(MSIOF3_RXD_E) F_(0, 0) FM(PWM5_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 271 - #define IP1_15_12 FM(IRQ5) FM(QSTB_QHE) F_(0, 0) FM(DU_EXVSYNC_DU_VSYNC) FM(VI4_DATA5_B) F_(0, 0) F_(0, 0) FM(MSIOF3_TXD_E) F_(0, 0) FM(PWM6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 270 + #define IP1_15_12 FM(IRQ5) FM(QSTB_QHE) F_(0, 0) FM(DU_EXVSYNC_DU_VSYNC) FM(VI4_DATA5_B) FM(FSCLKST2_N_B) F_(0, 0) FM(MSIOF3_TXD_E) F_(0, 0) FM(PWM6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 272 271 #define IP1_19_16 FM(PWM0) FM(AVB_AVTP_PPS)F_(0, 0) F_(0, 0) FM(VI4_DATA6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IECLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 273 272 #define IP1_23_20 FM(PWM1_A) F_(0, 0) F_(0, 0) FM(HRX3_D) FM(VI4_DATA7_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IERX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 274 273 #define IP1_27_24 FM(PWM2_A) F_(0, 0) F_(0, 0) FM(HTX3_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IETX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 338 337 #define IP9_15_12 FM(SD2_DAT1) F_(0, 0) FM(NFDATA11) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 339 338 #define IP9_19_16 FM(SD2_DAT2) F_(0, 0) FM(NFDATA12) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 340 339 #define IP9_23_20 FM(SD2_DAT3) F_(0, 0) FM(NFDATA13) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 341 - #define IP9_27_24 FM(SD2_DS) F_(0, 0) FM(NFALE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 340 + #define IP9_27_24 FM(SD2_DS) F_(0, 0) FM(NFALE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 342 341 #define IP9_31_28 FM(SD3_CLK) F_(0, 0) FM(NFWE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 343 342 #define IP10_3_0 FM(SD3_CMD) F_(0, 0) FM(NFRE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 344 343 #define IP10_7_4 FM(SD3_DAT0) F_(0, 0) FM(NFDATA0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 394 393 #define IP15_31_28 FM(SSI_SDATA4) FM(HSCK2_A) FM(MSIOF1_RXD_A) F_(0, 0) F_(0, 0) FM(TS_SPSYNC0_A)FM(STP_ISSYNC_0_A) FM(RIF0_D0_A) FM(RIF2_D1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 395 394 #define IP16_3_0 FM(SSI_SCK6) F_(0, 0) F_(0, 0) FM(SIM0_RST_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 396 395 #define IP16_7_4 FM(SSI_WS6) F_(0, 0) F_(0, 0) FM(SIM0_D_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 397 - #define IP16_11_8 FM(SSI_SDATA6) F_(0, 0) F_(0, 0) FM(SIM0_CLK_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 396 + #define IP16_11_8 FM(SSI_SDATA6) F_(0, 0) F_(0, 0) FM(SIM0_CLK_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 398 397 #define IP16_15_12 FM(SSI_SCK78) FM(HRX2_B) FM(MSIOF1_SCK_C) F_(0, 0) F_(0, 0) FM(TS_SCK1_A) FM(STP_ISCLK_1_A) FM(RIF1_CLK_A) FM(RIF3_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 399 398 #define IP16_19_16 FM(SSI_WS78) FM(HTX2_B) FM(MSIOF1_SYNC_C) F_(0, 0) F_(0, 0) FM(TS_SDAT1_A) FM(STP_ISD_1_A) FM(RIF1_SYNC_A) FM(RIF3_SYNC_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 400 399 #define IP16_23_20 FM(SSI_SDATA7) FM(HCTS2_N_B) FM(MSIOF1_RXD_C) F_(0, 0) F_(0, 0) FM(TS_SDEN1_A) FM(STP_ISEN_1_A) FM(RIF1_D0_A) FM(RIF3_D0_A) F_(0, 0) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 598 597 FM(AVB_RX_CTL) FM(AVB_RXC) FM(AVB_RD0) FM(AVB_RD1) FM(AVB_RD2) FM(AVB_RD3) \ 599 598 FM(AVB_TXCREFCLK) FM(AVB_MDIO) \ 600 599 FM(PRESETOUT) \ 601 - FM(DU_DOTCLKIN0) FM(DU_DOTCLKIN1) FM(DU_DOTCLKIN2) \ 600 + FM(DU_DOTCLKIN0) FM(DU_DOTCLKIN1) FM(DU_DOTCLKIN3) \ 602 601 FM(TMS) FM(TDO) FM(ASEBRK) FM(MLB_REF) FM(TDI) FM(TCK) FM(TRST) FM(EXTALR) 603 602 604 603 #define PINMUX_PHYS \ ··· 665 664 PINMUX_IPSR_GPSR(IP0_15_12, AVB_LINK), 666 665 PINMUX_IPSR_MSEL(IP0_15_12, MSIOF2_SCK_C, SEL_MSIOF2_2), 667 666 PINMUX_IPSR_MSEL(IP0_15_12, TX4_A, SEL_SCIF4_0), 667 + PINMUX_IPSR_GPSR(IP0_19_16, FSCLKST2_N_A), 668 668 669 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, AVB_AVTP_MATCH_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 670 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, MSIOF2_RXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 671 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, CTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 669 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, AVB_AVTP_MATCH_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 670 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, MSIOF2_RXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 671 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, CTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 672 672 PINMUX_IPSR_PHYS(IP0_19_16, SCL5, I2C_SEL_5_1), 673 673 674 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, AVB_AVTP_CAPTURE_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 675 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, MSIOF2_TXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 676 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, RTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 674 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, AVB_AVTP_CAPTURE_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 675 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, MSIOF2_TXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 676 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, RTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 677 677 PINMUX_IPSR_PHYS(IP0_23_20, SDA5, I2C_SEL_5_1), 678 678 679 679 PINMUX_IPSR_GPSR(IP0_27_24, IRQ0), ··· 720 718 PINMUX_IPSR_GPSR(IP1_15_12, DU_EXVSYNC_DU_VSYNC), 721 719 PINMUX_IPSR_MSEL(IP1_15_12, VI4_DATA5_B, SEL_VIN4_1), 722 720 PINMUX_IPSR_MSEL(IP1_15_12, PWM6_B, SEL_PWM6_1), 721 + PINMUX_IPSR_GPSR(IP1_15_12, FSCLKST2_N_B), 723 722 PINMUX_IPSR_MSEL(IP1_15_12, MSIOF3_TXD_E, SEL_MSIOF3_4), 724 723 725 724 PINMUX_IPSR_GPSR(IP1_19_16, PWM0), ··· 728 725 PINMUX_IPSR_MSEL(IP1_19_16, VI4_DATA6_B, SEL_VIN4_1), 729 726 PINMUX_IPSR_MSEL(IP1_19_16, IECLK_B, SEL_IEBUS_1), 730 727 731 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, PWM1_A, I2C_SEL_3_0, SEL_PWM1_0), 732 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, HRX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 733 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, VI4_DATA7_B, I2C_SEL_3_0, SEL_VIN4_1), 734 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, IERX_B, I2C_SEL_3_0, SEL_IEBUS_1), 735 - PINMUX_IPSR_PHYS(IP1_23_20, SCL3, I2C_SEL_3_1), 728 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, PWM1_A, I2C_SEL_3_0, SEL_PWM1_0), 729 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, HRX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 730 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, VI4_DATA7_B, I2C_SEL_3_0, SEL_VIN4_1), 731 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, IERX_B, I2C_SEL_3_0, SEL_IEBUS_1), 732 + PINMUX_IPSR_PHYS(IP1_23_20, SCL3, I2C_SEL_3_1), 736 733 737 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, PWM2_A, I2C_SEL_3_0, SEL_PWM2_0), 738 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, HTX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 739 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, IETX_B, I2C_SEL_3_0, SEL_IEBUS_1), 740 - PINMUX_IPSR_PHYS(IP1_27_24, SDA3, I2C_SEL_3_1), 734 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, PWM2_A, I2C_SEL_3_0, SEL_PWM2_0), 735 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, HTX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 736 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, IETX_B, I2C_SEL_3_0, SEL_IEBUS_1), 737 + PINMUX_IPSR_PHYS(IP1_27_24, SDA3, I2C_SEL_3_1), 741 738 742 739 PINMUX_IPSR_GPSR(IP1_31_28, A0), 743 740 PINMUX_IPSR_GPSR(IP1_31_28, LCDOUT16), ··· 1121 1118 1122 1119 PINMUX_IPSR_GPSR(IP9_27_24, SD2_DS), 1123 1120 PINMUX_IPSR_GPSR(IP9_27_24, NFALE), 1121 + PINMUX_IPSR_GPSR(IP9_27_24, SATA_DEVSLP_B), 1124 1122 1125 1123 PINMUX_IPSR_GPSR(IP9_31_28, SD3_CLK), 1126 1124 PINMUX_IPSR_GPSR(IP9_31_28, NFWE_N), ··· 1172 1168 PINMUX_IPSR_MSEL(IP11_15_12, SDA2_B, SEL_I2C2_1), 1173 1169 1174 1170 PINMUX_IPSR_MSEL(IP11_19_16, SD1_CD, I2C_SEL_0_0), 1175 - PINMUX_IPSR_PHYS_MSEL(IP11_19_16, NFRB_N_A, I2C_SEL_0_0, SEL_NDF_0), 1176 - PINMUX_IPSR_PHYS_MSEL(IP11_19_16, SIM0_CLK_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1171 + PINMUX_IPSR_PHYS_MSEL(IP11_19_16, NFRB_N_A, I2C_SEL_0_0, SEL_NDF_0), 1172 + PINMUX_IPSR_PHYS_MSEL(IP11_19_16, SIM0_CLK_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1177 1173 PINMUX_IPSR_PHYS(IP11_19_16, SCL0, I2C_SEL_0_1), 1178 1174 1179 1175 PINMUX_IPSR_MSEL(IP11_23_20, SD1_WP, I2C_SEL_0_0), 1180 - PINMUX_IPSR_PHYS_MSEL(IP11_23_20, NFCE_N_A, I2C_SEL_0_0, SEL_NDF_0), 1181 - PINMUX_IPSR_PHYS_MSEL(IP11_23_20, SIM0_D_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1176 + PINMUX_IPSR_PHYS_MSEL(IP11_23_20, NFCE_N_A, I2C_SEL_0_0, SEL_NDF_0), 1177 + PINMUX_IPSR_PHYS_MSEL(IP11_23_20, SIM0_D_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1182 1178 PINMUX_IPSR_PHYS(IP11_23_20, SDA0, I2C_SEL_0_1), 1183 1179 1184 1180 PINMUX_IPSR_GPSR(IP11_27_24, SCK0), ··· 1416 1412 1417 1413 PINMUX_IPSR_GPSR(IP16_11_8, SSI_SDATA6), 1418 1414 PINMUX_IPSR_MSEL(IP16_11_8, SIM0_CLK_D, SEL_SIMCARD_3), 1415 + PINMUX_IPSR_GPSR(IP16_11_8, SATA_DEVSLP_A), 1419 1416 1420 1417 PINMUX_IPSR_GPSR(IP16_15_12, SSI_SCK78), 1421 1418 PINMUX_IPSR_MSEL(IP16_15_12, HRX2_B, SEL_HSCIF2_1), ··· 1786 1781 /* TX, RX */ 1787 1782 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 1788 1783 }; 1784 + 1789 1785 static const unsigned int can0_data_a_mux[] = { 1790 1786 CAN0_TX_A_MARK, CAN0_RX_A_MARK, 1791 1787 }; 1788 + 1792 1789 static const unsigned int can0_data_b_pins[] = { 1793 1790 /* TX, RX */ 1794 1791 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), 1795 1792 }; 1793 + 1796 1794 static const unsigned int can0_data_b_mux[] = { 1797 1795 CAN0_TX_B_MARK, CAN0_RX_B_MARK, 1798 1796 }; 1797 + 1799 1798 static const unsigned int can1_data_pins[] = { 1800 1799 /* TX, RX */ 1801 1800 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 26), 1802 1801 }; 1802 + 1803 1803 static const unsigned int can1_data_mux[] = { 1804 1804 CAN1_TX_MARK, CAN1_RX_MARK, 1805 1805 }; ··· 1814 1804 /* CLK */ 1815 1805 RCAR_GP_PIN(1, 25), 1816 1806 }; 1807 + 1817 1808 static const unsigned int can_clk_mux[] = { 1818 1809 CAN_CLK_MARK, 1819 1810 }; ··· 1824 1813 /* TX, RX */ 1825 1814 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 1826 1815 }; 1816 + 1827 1817 static const unsigned int canfd0_data_a_mux[] = { 1828 1818 CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 1829 1819 }; 1820 + 1830 1821 static const unsigned int canfd0_data_b_pins[] = { 1831 1822 /* TX, RX */ 1832 1823 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), 1833 1824 }; 1825 + 1834 1826 static const unsigned int canfd0_data_b_mux[] = { 1835 1827 CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 1836 1828 }; 1829 + 1837 1830 static const unsigned int canfd1_data_pins[] = { 1838 1831 /* TX, RX */ 1839 1832 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 26), 1840 1833 }; 1834 + 1841 1835 static const unsigned int canfd1_data_mux[] = { 1842 1836 CANFD1_TX_MARK, CANFD1_RX_MARK, 1843 1837 }; ··· 1852 1836 /* CLK, SYNC */ 1853 1837 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 1854 1838 }; 1839 + 1855 1840 static const unsigned int drif0_ctrl_a_mux[] = { 1856 1841 RIF0_CLK_A_MARK, RIF0_SYNC_A_MARK, 1857 1842 }; 1843 + 1858 1844 static const unsigned int drif0_data0_a_pins[] = { 1859 1845 /* D0 */ 1860 1846 RCAR_GP_PIN(6, 10), 1861 1847 }; 1848 + 1862 1849 static const unsigned int drif0_data0_a_mux[] = { 1863 1850 RIF0_D0_A_MARK, 1864 1851 }; 1852 + 1865 1853 static const unsigned int drif0_data1_a_pins[] = { 1866 1854 /* D1 */ 1867 1855 RCAR_GP_PIN(6, 7), 1868 1856 }; 1857 + 1869 1858 static const unsigned int drif0_data1_a_mux[] = { 1870 1859 RIF0_D1_A_MARK, 1871 1860 }; 1861 + 1872 1862 static const unsigned int drif0_ctrl_b_pins[] = { 1873 1863 /* CLK, SYNC */ 1874 1864 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 4), 1875 1865 }; 1866 + 1876 1867 static const unsigned int drif0_ctrl_b_mux[] = { 1877 1868 RIF0_CLK_B_MARK, RIF0_SYNC_B_MARK, 1878 1869 }; 1870 + 1879 1871 static const unsigned int drif0_data0_b_pins[] = { 1880 1872 /* D0 */ 1881 1873 RCAR_GP_PIN(5, 1), 1882 1874 }; 1875 + 1883 1876 static const unsigned int drif0_data0_b_mux[] = { 1884 1877 RIF0_D0_B_MARK, 1885 1878 }; 1879 + 1886 1880 static const unsigned int drif0_data1_b_pins[] = { 1887 1881 /* D1 */ 1888 1882 RCAR_GP_PIN(5, 2), 1889 1883 }; 1884 + 1890 1885 static const unsigned int drif0_data1_b_mux[] = { 1891 1886 RIF0_D1_B_MARK, 1892 1887 }; 1888 + 1893 1889 static const unsigned int drif0_ctrl_c_pins[] = { 1894 1890 /* CLK, SYNC */ 1895 1891 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 15), 1896 1892 }; 1893 + 1897 1894 static const unsigned int drif0_ctrl_c_mux[] = { 1898 1895 RIF0_CLK_C_MARK, RIF0_SYNC_C_MARK, 1899 1896 }; 1897 + 1900 1898 static const unsigned int drif0_data0_c_pins[] = { 1901 1899 /* D0 */ 1902 1900 RCAR_GP_PIN(5, 13), 1903 1901 }; 1902 + 1904 1903 static const unsigned int drif0_data0_c_mux[] = { 1905 1904 RIF0_D0_C_MARK, 1906 1905 }; 1906 + 1907 1907 static const unsigned int drif0_data1_c_pins[] = { 1908 1908 /* D1 */ 1909 1909 RCAR_GP_PIN(5, 14), 1910 1910 }; 1911 + 1911 1912 static const unsigned int drif0_data1_c_mux[] = { 1912 1913 RIF0_D1_C_MARK, 1913 1914 }; 1915 + 1914 1916 /* - DRIF1 --------------------------------------------------------------- */ 1915 1917 static const unsigned int drif1_ctrl_a_pins[] = { 1916 1918 /* CLK, SYNC */ 1917 1919 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 1918 1920 }; 1921 + 1919 1922 static const unsigned int drif1_ctrl_a_mux[] = { 1920 1923 RIF1_CLK_A_MARK, RIF1_SYNC_A_MARK, 1921 1924 }; 1925 + 1922 1926 static const unsigned int drif1_data0_a_pins[] = { 1923 1927 /* D0 */ 1924 1928 RCAR_GP_PIN(6, 19), 1925 1929 }; 1930 + 1926 1931 static const unsigned int drif1_data0_a_mux[] = { 1927 1932 RIF1_D0_A_MARK, 1928 1933 }; 1934 + 1929 1935 static const unsigned int drif1_data1_a_pins[] = { 1930 1936 /* D1 */ 1931 1937 RCAR_GP_PIN(6, 20), 1932 1938 }; 1939 + 1933 1940 static const unsigned int drif1_data1_a_mux[] = { 1934 1941 RIF1_D1_A_MARK, 1935 1942 }; 1943 + 1936 1944 static const unsigned int drif1_ctrl_b_pins[] = { 1937 1945 /* CLK, SYNC */ 1938 1946 RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 3), 1939 1947 }; 1948 + 1940 1949 static const unsigned int drif1_ctrl_b_mux[] = { 1941 1950 RIF1_CLK_B_MARK, RIF1_SYNC_B_MARK, 1942 1951 }; 1952 + 1943 1953 static const unsigned int drif1_data0_b_pins[] = { 1944 1954 /* D0 */ 1945 1955 RCAR_GP_PIN(5, 7), 1946 1956 }; 1957 + 1947 1958 static const unsigned int drif1_data0_b_mux[] = { 1948 1959 RIF1_D0_B_MARK, 1949 1960 }; 1961 + 1950 1962 static const unsigned int drif1_data1_b_pins[] = { 1951 1963 /* D1 */ 1952 1964 RCAR_GP_PIN(5, 8), 1953 1965 }; 1966 + 1954 1967 static const unsigned int drif1_data1_b_mux[] = { 1955 1968 RIF1_D1_B_MARK, 1956 1969 }; 1970 + 1957 1971 static const unsigned int drif1_ctrl_c_pins[] = { 1958 1972 /* CLK, SYNC */ 1959 1973 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 11), 1960 1974 }; 1975 + 1961 1976 static const unsigned int drif1_ctrl_c_mux[] = { 1962 1977 RIF1_CLK_C_MARK, RIF1_SYNC_C_MARK, 1963 1978 }; 1979 + 1964 1980 static const unsigned int drif1_data0_c_pins[] = { 1965 1981 /* D0 */ 1966 1982 RCAR_GP_PIN(5, 6), 1967 1983 }; 1984 + 1968 1985 static const unsigned int drif1_data0_c_mux[] = { 1969 1986 RIF1_D0_C_MARK, 1970 1987 }; 1988 + 1971 1989 static const unsigned int drif1_data1_c_pins[] = { 1972 1990 /* D1 */ 1973 1991 RCAR_GP_PIN(5, 10), 1974 1992 }; 1993 + 1975 1994 static const unsigned int drif1_data1_c_mux[] = { 1976 1995 RIF1_D1_C_MARK, 1977 1996 }; 1997 + 1978 1998 /* - DRIF2 --------------------------------------------------------------- */ 1979 1999 static const unsigned int drif2_ctrl_a_pins[] = { 1980 2000 /* CLK, SYNC */ 1981 2001 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 1982 2002 }; 2003 + 1983 2004 static const unsigned int drif2_ctrl_a_mux[] = { 1984 2005 RIF2_CLK_A_MARK, RIF2_SYNC_A_MARK, 1985 2006 }; 2007 + 1986 2008 static const unsigned int drif2_data0_a_pins[] = { 1987 2009 /* D0 */ 1988 2010 RCAR_GP_PIN(6, 7), 1989 2011 }; 2012 + 1990 2013 static const unsigned int drif2_data0_a_mux[] = { 1991 2014 RIF2_D0_A_MARK, 1992 2015 }; 2016 + 1993 2017 static const unsigned int drif2_data1_a_pins[] = { 1994 2018 /* D1 */ 1995 2019 RCAR_GP_PIN(6, 10), 1996 2020 }; 2021 + 1997 2022 static const unsigned int drif2_data1_a_mux[] = { 1998 2023 RIF2_D1_A_MARK, 1999 2024 }; 2025 + 2000 2026 static const unsigned int drif2_ctrl_b_pins[] = { 2001 2027 /* CLK, SYNC */ 2002 2028 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27), 2003 2029 }; 2030 + 2004 2031 static const unsigned int drif2_ctrl_b_mux[] = { 2005 2032 RIF2_CLK_B_MARK, RIF2_SYNC_B_MARK, 2006 2033 }; 2034 + 2007 2035 static const unsigned int drif2_data0_b_pins[] = { 2008 2036 /* D0 */ 2009 2037 RCAR_GP_PIN(6, 30), 2010 2038 }; 2039 + 2011 2040 static const unsigned int drif2_data0_b_mux[] = { 2012 2041 RIF2_D0_B_MARK, 2013 2042 }; 2043 + 2014 2044 static const unsigned int drif2_data1_b_pins[] = { 2015 2045 /* D1 */ 2016 2046 RCAR_GP_PIN(6, 31), 2017 2047 }; 2048 + 2018 2049 static const unsigned int drif2_data1_b_mux[] = { 2019 2050 RIF2_D1_B_MARK, 2020 2051 }; 2052 + 2021 2053 /* - DRIF3 --------------------------------------------------------------- */ 2022 2054 static const unsigned int drif3_ctrl_a_pins[] = { 2023 2055 /* CLK, SYNC */ 2024 2056 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 2025 2057 }; 2058 + 2026 2059 static const unsigned int drif3_ctrl_a_mux[] = { 2027 2060 RIF3_CLK_A_MARK, RIF3_SYNC_A_MARK, 2028 2061 }; 2062 + 2029 2063 static const unsigned int drif3_data0_a_pins[] = { 2030 2064 /* D0 */ 2031 2065 RCAR_GP_PIN(6, 19), 2032 2066 }; 2067 + 2033 2068 static const unsigned int drif3_data0_a_mux[] = { 2034 2069 RIF3_D0_A_MARK, 2035 2070 }; 2071 + 2036 2072 static const unsigned int drif3_data1_a_pins[] = { 2037 2073 /* D1 */ 2038 2074 RCAR_GP_PIN(6, 20), 2039 2075 }; 2076 + 2040 2077 static const unsigned int drif3_data1_a_mux[] = { 2041 2078 RIF3_D1_A_MARK, 2042 2079 }; 2080 + 2043 2081 static const unsigned int drif3_ctrl_b_pins[] = { 2044 2082 /* CLK, SYNC */ 2045 2083 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25), 2046 2084 }; 2085 + 2047 2086 static const unsigned int drif3_ctrl_b_mux[] = { 2048 2087 RIF3_CLK_B_MARK, RIF3_SYNC_B_MARK, 2049 2088 }; 2089 + 2050 2090 static const unsigned int drif3_data0_b_pins[] = { 2051 2091 /* D0 */ 2052 2092 RCAR_GP_PIN(6, 28), 2053 2093 }; 2094 + 2054 2095 static const unsigned int drif3_data0_b_mux[] = { 2055 2096 RIF3_D0_B_MARK, 2056 2097 }; 2098 + 2057 2099 static const unsigned int drif3_data1_b_pins[] = { 2058 2100 /* D1 */ 2059 2101 RCAR_GP_PIN(6, 29), 2060 2102 }; 2103 + 2061 2104 static const unsigned int drif3_data1_b_mux[] = { 2062 2105 RIF3_D1_B_MARK, 2063 2106 }; ··· 2131 2056 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 5), 2132 2057 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 2), 2133 2058 }; 2059 + 2134 2060 static const unsigned int du_rgb666_mux[] = { 2135 2061 DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, DU_DR4_MARK, 2136 2062 DU_DR3_MARK, DU_DR2_MARK, ··· 2140 2064 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, DU_DB4_MARK, 2141 2065 DU_DB3_MARK, DU_DB2_MARK, 2142 2066 }; 2067 + 2143 2068 static const unsigned int du_rgb888_pins[] = { 2144 2069 /* R[7:0], G[7:0], B[7:0] */ 2145 2070 RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 13), ··· 2153 2076 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 2), 2154 2077 RCAR_GP_PIN(1, 1), RCAR_GP_PIN(1, 0), 2155 2078 }; 2079 + 2156 2080 static const unsigned int du_rgb888_mux[] = { 2157 2081 DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, DU_DR4_MARK, 2158 2082 DU_DR3_MARK, DU_DR2_MARK, DU_DR1_MARK, DU_DR0_MARK, ··· 2162 2084 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, DU_DB4_MARK, 2163 2085 DU_DB3_MARK, DU_DB2_MARK, DU_DB1_MARK, DU_DB0_MARK, 2164 2086 }; 2087 + 2165 2088 static const unsigned int du_clk_out_0_pins[] = { 2166 2089 /* CLKOUT */ 2167 2090 RCAR_GP_PIN(1, 27), 2168 2091 }; 2092 + 2169 2093 static const unsigned int du_clk_out_0_mux[] = { 2170 2094 DU_DOTCLKOUT0_MARK 2171 2095 }; 2096 + 2172 2097 static const unsigned int du_clk_out_1_pins[] = { 2173 2098 /* CLKOUT */ 2174 2099 RCAR_GP_PIN(2, 3), 2175 2100 }; 2101 + 2176 2102 static const unsigned int du_clk_out_1_mux[] = { 2177 2103 DU_DOTCLKOUT1_MARK 2178 2104 }; 2105 + 2179 2106 static const unsigned int du_sync_pins[] = { 2180 2107 /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */ 2181 2108 RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 4), 2182 2109 }; 2110 + 2183 2111 static const unsigned int du_sync_mux[] = { 2184 2112 DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK 2185 2113 }; 2114 + 2186 2115 static const unsigned int du_oddf_pins[] = { 2187 2116 /* EXDISP/EXODDF/EXCDE */ 2188 2117 RCAR_GP_PIN(2, 2), 2189 2118 }; 2119 + 2190 2120 static const unsigned int du_oddf_mux[] = { 2191 2121 DU_EXODDF_DU_ODDF_DISP_CDE_MARK, 2192 2122 }; 2123 + 2193 2124 static const unsigned int du_cde_pins[] = { 2194 2125 /* CDE */ 2195 2126 RCAR_GP_PIN(2, 0), 2196 2127 }; 2128 + 2197 2129 static const unsigned int du_cde_mux[] = { 2198 2130 DU_CDE_MARK, 2199 2131 }; 2132 + 2200 2133 static const unsigned int du_disp_pins[] = { 2201 2134 /* DISP */ 2202 2135 RCAR_GP_PIN(2, 1), 2203 2136 }; 2137 + 2204 2138 static const unsigned int du_disp_mux[] = { 2205 2139 DU_DISP_MARK, 2206 2140 }; ··· 2222 2132 /* RX, TX */ 2223 2133 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), 2224 2134 }; 2135 + 2225 2136 static const unsigned int hscif0_data_mux[] = { 2226 2137 HRX0_MARK, HTX0_MARK, 2227 2138 }; 2139 + 2228 2140 static const unsigned int hscif0_clk_pins[] = { 2229 2141 /* SCK */ 2230 2142 RCAR_GP_PIN(5, 12), 2231 2143 }; 2144 + 2232 2145 static const unsigned int hscif0_clk_mux[] = { 2233 2146 HSCK0_MARK, 2234 2147 }; 2148 + 2235 2149 static const unsigned int hscif0_ctrl_pins[] = { 2236 2150 /* RTS, CTS */ 2237 2151 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15), 2238 2152 }; 2153 + 2239 2154 static const unsigned int hscif0_ctrl_mux[] = { 2240 2155 HRTS0_N_MARK, HCTS0_N_MARK, 2241 2156 }; 2157 + 2242 2158 /* - HSCIF1 ----------------------------------------------------------------- */ 2243 2159 static const unsigned int hscif1_data_a_pins[] = { 2244 2160 /* RX, TX */ 2245 2161 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6), 2246 2162 }; 2163 + 2247 2164 static const unsigned int hscif1_data_a_mux[] = { 2248 2165 HRX1_A_MARK, HTX1_A_MARK, 2249 2166 }; 2167 + 2250 2168 static const unsigned int hscif1_clk_a_pins[] = { 2251 2169 /* SCK */ 2252 2170 RCAR_GP_PIN(6, 21), 2253 2171 }; 2172 + 2254 2173 static const unsigned int hscif1_clk_a_mux[] = { 2255 2174 HSCK1_A_MARK, 2256 2175 }; 2176 + 2257 2177 static const unsigned int hscif1_ctrl_a_pins[] = { 2258 2178 /* RTS, CTS */ 2259 2179 RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7), 2260 2180 }; 2181 + 2261 2182 static const unsigned int hscif1_ctrl_a_mux[] = { 2262 2183 HRTS1_N_A_MARK, HCTS1_N_A_MARK, 2263 2184 }; ··· 2277 2176 /* RX, TX */ 2278 2177 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2), 2279 2178 }; 2179 + 2280 2180 static const unsigned int hscif1_data_b_mux[] = { 2281 2181 HRX1_B_MARK, HTX1_B_MARK, 2282 2182 }; 2183 + 2283 2184 static const unsigned int hscif1_clk_b_pins[] = { 2284 2185 /* SCK */ 2285 2186 RCAR_GP_PIN(5, 0), 2286 2187 }; 2188 + 2287 2189 static const unsigned int hscif1_clk_b_mux[] = { 2288 2190 HSCK1_B_MARK, 2289 2191 }; 2192 + 2290 2193 static const unsigned int hscif1_ctrl_b_pins[] = { 2291 2194 /* RTS, CTS */ 2292 2195 RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3), 2293 2196 }; 2197 + 2294 2198 static const unsigned int hscif1_ctrl_b_mux[] = { 2295 2199 HRTS1_N_B_MARK, HCTS1_N_B_MARK, 2296 2200 }; 2201 + 2297 2202 /* - HSCIF2 ----------------------------------------------------------------- */ 2298 2203 static const unsigned int hscif2_data_a_pins[] = { 2299 2204 /* RX, TX */ 2300 2205 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 2301 2206 }; 2207 + 2302 2208 static const unsigned int hscif2_data_a_mux[] = { 2303 2209 HRX2_A_MARK, HTX2_A_MARK, 2304 2210 }; 2211 + 2305 2212 static const unsigned int hscif2_clk_a_pins[] = { 2306 2213 /* SCK */ 2307 2214 RCAR_GP_PIN(6, 10), 2308 2215 }; 2216 + 2309 2217 static const unsigned int hscif2_clk_a_mux[] = { 2310 2218 HSCK2_A_MARK, 2311 2219 }; 2220 + 2312 2221 static const unsigned int hscif2_ctrl_a_pins[] = { 2313 2222 /* RTS, CTS */ 2314 2223 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6), 2315 2224 }; 2225 + 2316 2226 static const unsigned int hscif2_ctrl_a_mux[] = { 2317 2227 HRTS2_N_A_MARK, HCTS2_N_A_MARK, 2318 2228 }; ··· 2332 2220 /* RX, TX */ 2333 2221 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 2334 2222 }; 2223 + 2335 2224 static const unsigned int hscif2_data_b_mux[] = { 2336 2225 HRX2_B_MARK, HTX2_B_MARK, 2337 2226 }; 2227 + 2338 2228 static const unsigned int hscif2_clk_b_pins[] = { 2339 2229 /* SCK */ 2340 2230 RCAR_GP_PIN(6, 21), 2341 2231 }; 2232 + 2342 2233 static const unsigned int hscif2_clk_b_mux[] = { 2343 2234 HSCK2_B_MARK, 2344 2235 }; 2236 + 2345 2237 static const unsigned int hscif2_ctrl_b_pins[] = { 2346 2238 /* RTS, CTS */ 2347 2239 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 19), 2348 2240 }; 2241 + 2349 2242 static const unsigned int hscif2_ctrl_b_mux[] = { 2350 2243 HRTS2_N_B_MARK, HCTS2_N_B_MARK, 2351 2244 }; ··· 2359 2242 /* RX, TX */ 2360 2243 RCAR_GP_PIN(6, 25), RCAR_GP_PIN(6, 26), 2361 2244 }; 2245 + 2362 2246 static const unsigned int hscif2_data_c_mux[] = { 2363 2247 HRX2_C_MARK, HTX2_C_MARK, 2364 2248 }; 2249 + 2365 2250 static const unsigned int hscif2_clk_c_pins[] = { 2366 2251 /* SCK */ 2367 2252 RCAR_GP_PIN(6, 24), 2368 2253 }; 2254 + 2369 2255 static const unsigned int hscif2_clk_c_mux[] = { 2370 2256 HSCK2_C_MARK, 2371 2257 }; 2258 + 2372 2259 static const unsigned int hscif2_ctrl_c_pins[] = { 2373 2260 /* RTS, CTS */ 2374 2261 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 27), 2375 2262 }; 2263 + 2376 2264 static const unsigned int hscif2_ctrl_c_mux[] = { 2377 2265 HRTS2_N_C_MARK, HCTS2_N_C_MARK, 2378 2266 }; 2267 + 2379 2268 /* - HSCIF3 ----------------------------------------------------------------- */ 2380 2269 static const unsigned int hscif3_data_a_pins[] = { 2381 2270 /* RX, TX */ 2382 2271 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 2383 2272 }; 2273 + 2384 2274 static const unsigned int hscif3_data_a_mux[] = { 2385 2275 HRX3_A_MARK, HTX3_A_MARK, 2386 2276 }; 2277 + 2387 2278 static const unsigned int hscif3_clk_pins[] = { 2388 2279 /* SCK */ 2389 2280 RCAR_GP_PIN(1, 22), 2390 2281 }; 2282 + 2391 2283 static const unsigned int hscif3_clk_mux[] = { 2392 2284 HSCK3_MARK, 2393 2285 }; 2286 + 2394 2287 static const unsigned int hscif3_ctrl_pins[] = { 2395 2288 /* RTS, CTS */ 2396 2289 RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), 2397 2290 }; 2291 + 2398 2292 static const unsigned int hscif3_ctrl_mux[] = { 2399 2293 HRTS3_N_MARK, HCTS3_N_MARK, 2400 2294 }; ··· 2414 2286 /* RX, TX */ 2415 2287 RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 2416 2288 }; 2289 + 2417 2290 static const unsigned int hscif3_data_b_mux[] = { 2418 2291 HRX3_B_MARK, HTX3_B_MARK, 2419 2292 }; 2293 + 2420 2294 static const unsigned int hscif3_data_c_pins[] = { 2421 2295 /* RX, TX */ 2422 2296 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 2423 2297 }; 2298 + 2424 2299 static const unsigned int hscif3_data_c_mux[] = { 2425 2300 HRX3_C_MARK, HTX3_C_MARK, 2426 2301 }; 2302 + 2427 2303 static const unsigned int hscif3_data_d_pins[] = { 2428 2304 /* RX, TX */ 2429 2305 RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), 2430 2306 }; 2307 + 2431 2308 static const unsigned int hscif3_data_d_mux[] = { 2432 2309 HRX3_D_MARK, HTX3_D_MARK, 2433 2310 }; 2311 + 2434 2312 /* - HSCIF4 ----------------------------------------------------------------- */ 2435 2313 static const unsigned int hscif4_data_a_pins[] = { 2436 2314 /* RX, TX */ 2437 2315 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), 2438 2316 }; 2317 + 2439 2318 static const unsigned int hscif4_data_a_mux[] = { 2440 2319 HRX4_A_MARK, HTX4_A_MARK, 2441 2320 }; 2321 + 2442 2322 static const unsigned int hscif4_clk_pins[] = { 2443 2323 /* SCK */ 2444 2324 RCAR_GP_PIN(1, 11), 2445 2325 }; 2326 + 2446 2327 static const unsigned int hscif4_clk_mux[] = { 2447 2328 HSCK4_MARK, 2448 2329 }; 2330 + 2449 2331 static const unsigned int hscif4_ctrl_pins[] = { 2450 2332 /* RTS, CTS */ 2451 2333 RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), 2452 2334 }; 2335 + 2453 2336 static const unsigned int hscif4_ctrl_mux[] = { 2454 2337 HRTS4_N_MARK, HCTS4_N_MARK, 2455 2338 }; ··· 2469 2330 /* RX, TX */ 2470 2331 RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), 2471 2332 }; 2333 + 2472 2334 static const unsigned int hscif4_data_b_mux[] = { 2473 2335 HRX4_B_MARK, HTX4_B_MARK, 2474 2336 }; ··· 2488 2348 /* SDA, SCL */ 2489 2349 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10), 2490 2350 }; 2351 + 2491 2352 static const unsigned int i2c1_a_mux[] = { 2492 2353 SDA1_A_MARK, SCL1_A_MARK, 2493 2354 }; 2355 + 2494 2356 static const unsigned int i2c1_b_pins[] = { 2495 2357 /* SDA, SCL */ 2496 2358 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 23), 2497 2359 }; 2360 + 2498 2361 static const unsigned int i2c1_b_mux[] = { 2499 2362 SDA1_B_MARK, SCL1_B_MARK, 2500 2363 }; 2364 + 2501 2365 static const unsigned int i2c2_a_pins[] = { 2502 2366 /* SDA, SCL */ 2503 2367 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 4), 2504 2368 }; 2369 + 2505 2370 static const unsigned int i2c2_a_mux[] = { 2506 2371 SDA2_A_MARK, SCL2_A_MARK, 2507 2372 }; 2373 + 2508 2374 static const unsigned int i2c2_b_pins[] = { 2509 2375 /* SDA, SCL */ 2510 2376 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12), 2511 2377 }; 2378 + 2512 2379 static const unsigned int i2c2_b_mux[] = { 2513 2380 SDA2_B_MARK, SCL2_B_MARK, 2514 2381 }; ··· 2542 2395 /* SDA, SCL */ 2543 2396 RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), 2544 2397 }; 2398 + 2545 2399 static const unsigned int i2c6_a_mux[] = { 2546 2400 SDA6_A_MARK, SCL6_A_MARK, 2547 2401 }; 2402 + 2548 2403 static const unsigned int i2c6_b_pins[] = { 2549 2404 /* SDA, SCL */ 2550 2405 RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), 2551 2406 }; 2407 + 2552 2408 static const unsigned int i2c6_b_mux[] = { 2553 2409 SDA6_B_MARK, SCL6_B_MARK, 2554 2410 }; 2411 + 2555 2412 static const unsigned int i2c6_c_pins[] = { 2556 2413 /* SDA, SCL */ 2557 2414 RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), 2558 2415 }; 2416 + 2559 2417 static const unsigned int i2c6_c_mux[] = { 2560 2418 SDA6_C_MARK, SCL6_C_MARK, 2561 2419 }; ··· 3264 3112 static const unsigned int msiof3_rxd_d_mux[] = { 3265 3113 MSIOF3_RXD_D_MARK, 3266 3114 }; 3267 - 3268 3115 static const unsigned int msiof3_clk_e_pins[] = { 3269 3116 /* SCK */ 3270 3117 RCAR_GP_PIN(2, 3), ··· 3406 3255 PWM6_B_MARK, 3407 3256 }; 3408 3257 3258 + /* - SATA --------------------------------------------------------------------*/ 3259 + static const unsigned int sata0_devslp_a_pins[] = { 3260 + /* DEVSLP */ 3261 + RCAR_GP_PIN(6, 16), 3262 + }; 3263 + 3264 + static const unsigned int sata0_devslp_a_mux[] = { 3265 + SATA_DEVSLP_A_MARK, 3266 + }; 3267 + 3268 + static const unsigned int sata0_devslp_b_pins[] = { 3269 + /* DEVSLP */ 3270 + RCAR_GP_PIN(4, 6), 3271 + }; 3272 + 3273 + static const unsigned int sata0_devslp_b_mux[] = { 3274 + SATA_DEVSLP_B_MARK, 3275 + }; 3276 + 3409 3277 /* - SCIF0 ------------------------------------------------------------------ */ 3410 3278 static const unsigned int scif0_data_pins[] = { 3411 3279 /* RX, TX */ ··· 3469 3299 static const unsigned int scif1_ctrl_mux[] = { 3470 3300 RTS1_N_MARK, CTS1_N_MARK, 3471 3301 }; 3472 - 3473 3302 static const unsigned int scif1_data_b_pins[] = { 3474 3303 /* RX, TX */ 3475 3304 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 25), ··· 3606 3437 static const unsigned int scif5_clk_a_mux[] = { 3607 3438 SCK5_A_MARK, 3608 3439 }; 3609 - 3610 3440 static const unsigned int scif5_data_b_pins[] = { 3611 3441 /* RX, TX */ 3612 3442 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 18), ··· 3620 3452 static const unsigned int scif5_clk_b_mux[] = { 3621 3453 SCK5_B_MARK, 3622 3454 }; 3623 - 3624 3455 /* - SCIF Clock ------------------------------------------------------------- */ 3625 3456 static const unsigned int scif_clk_a_pins[] = { 3626 3457 /* SCIF_CLK */ ··· 3641 3474 /* D0 */ 3642 3475 RCAR_GP_PIN(3, 2), 3643 3476 }; 3477 + 3644 3478 static const unsigned int sdhi0_data1_mux[] = { 3645 3479 SD0_DAT0_MARK, 3646 3480 }; 3481 + 3647 3482 static const unsigned int sdhi0_data4_pins[] = { 3648 3483 /* D[0:3] */ 3649 3484 RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), 3650 3485 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 5), 3651 3486 }; 3487 + 3652 3488 static const unsigned int sdhi0_data4_mux[] = { 3653 3489 SD0_DAT0_MARK, SD0_DAT1_MARK, 3654 3490 SD0_DAT2_MARK, SD0_DAT3_MARK, 3655 3491 }; 3492 + 3656 3493 static const unsigned int sdhi0_ctrl_pins[] = { 3657 3494 /* CLK, CMD */ 3658 3495 RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1), 3659 3496 }; 3497 + 3660 3498 static const unsigned int sdhi0_ctrl_mux[] = { 3661 3499 SD0_CLK_MARK, SD0_CMD_MARK, 3662 3500 }; 3501 + 3663 3502 static const unsigned int sdhi0_cd_pins[] = { 3664 3503 /* CD */ 3665 3504 RCAR_GP_PIN(3, 12), 3666 3505 }; 3506 + 3667 3507 static const unsigned int sdhi0_cd_mux[] = { 3668 3508 SD0_CD_MARK, 3669 3509 }; 3510 + 3670 3511 static const unsigned int sdhi0_wp_pins[] = { 3671 3512 /* WP */ 3672 3513 RCAR_GP_PIN(3, 13), 3673 3514 }; 3515 + 3674 3516 static const unsigned int sdhi0_wp_mux[] = { 3675 3517 SD0_WP_MARK, 3676 3518 }; 3519 + 3677 3520 /* - SDHI1 ------------------------------------------------------------------ */ 3678 3521 static const unsigned int sdhi1_data1_pins[] = { 3679 3522 /* D0 */ 3680 3523 RCAR_GP_PIN(3, 8), 3681 3524 }; 3525 + 3682 3526 static const unsigned int sdhi1_data1_mux[] = { 3683 3527 SD1_DAT0_MARK, 3684 3528 }; 3529 + 3685 3530 static const unsigned int sdhi1_data4_pins[] = { 3686 3531 /* D[0:3] */ 3687 3532 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 3688 3533 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 3689 3534 }; 3535 + 3690 3536 static const unsigned int sdhi1_data4_mux[] = { 3691 3537 SD1_DAT0_MARK, SD1_DAT1_MARK, 3692 3538 SD1_DAT2_MARK, SD1_DAT3_MARK, 3693 3539 }; 3540 + 3694 3541 static const unsigned int sdhi1_ctrl_pins[] = { 3695 3542 /* CLK, CMD */ 3696 3543 RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 3697 3544 }; 3545 + 3698 3546 static const unsigned int sdhi1_ctrl_mux[] = { 3699 3547 SD1_CLK_MARK, SD1_CMD_MARK, 3700 3548 }; 3549 + 3701 3550 static const unsigned int sdhi1_cd_pins[] = { 3702 3551 /* CD */ 3703 3552 RCAR_GP_PIN(3, 14), 3704 3553 }; 3554 + 3705 3555 static const unsigned int sdhi1_cd_mux[] = { 3706 3556 SD1_CD_MARK, 3707 3557 }; 3558 + 3708 3559 static const unsigned int sdhi1_wp_pins[] = { 3709 3560 /* WP */ 3710 3561 RCAR_GP_PIN(3, 15), 3711 3562 }; 3563 + 3712 3564 static const unsigned int sdhi1_wp_mux[] = { 3713 3565 SD1_WP_MARK, 3714 3566 }; 3567 + 3715 3568 /* - SDHI2 ------------------------------------------------------------------ */ 3716 3569 static const unsigned int sdhi2_data1_pins[] = { 3717 3570 /* D0 */ 3718 3571 RCAR_GP_PIN(4, 2), 3719 3572 }; 3573 + 3720 3574 static const unsigned int sdhi2_data1_mux[] = { 3721 3575 SD2_DAT0_MARK, 3722 3576 }; 3577 + 3723 3578 static const unsigned int sdhi2_data4_pins[] = { 3724 3579 /* D[0:3] */ 3725 3580 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3), 3726 3581 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 3727 3582 }; 3583 + 3728 3584 static const unsigned int sdhi2_data4_mux[] = { 3729 3585 SD2_DAT0_MARK, SD2_DAT1_MARK, 3730 3586 SD2_DAT2_MARK, SD2_DAT3_MARK, 3731 3587 }; 3588 + 3732 3589 static const unsigned int sdhi2_data8_pins[] = { 3733 3590 /* D[0:7] */ 3734 3591 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3), ··· 3760 3569 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 3761 3570 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 3762 3571 }; 3572 + 3763 3573 static const unsigned int sdhi2_data8_mux[] = { 3764 3574 SD2_DAT0_MARK, SD2_DAT1_MARK, 3765 3575 SD2_DAT2_MARK, SD2_DAT3_MARK, 3766 3576 SD2_DAT4_MARK, SD2_DAT5_MARK, 3767 3577 SD2_DAT6_MARK, SD2_DAT7_MARK, 3768 3578 }; 3579 + 3769 3580 static const unsigned int sdhi2_ctrl_pins[] = { 3770 3581 /* CLK, CMD */ 3771 3582 RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1), 3772 3583 }; 3584 + 3773 3585 static const unsigned int sdhi2_ctrl_mux[] = { 3774 3586 SD2_CLK_MARK, SD2_CMD_MARK, 3775 3587 }; 3588 + 3776 3589 static const unsigned int sdhi2_cd_a_pins[] = { 3777 3590 /* CD */ 3778 3591 RCAR_GP_PIN(4, 13), 3779 3592 }; 3593 + 3780 3594 static const unsigned int sdhi2_cd_a_mux[] = { 3781 3595 SD2_CD_A_MARK, 3782 3596 }; 3597 + 3783 3598 static const unsigned int sdhi2_cd_b_pins[] = { 3784 3599 /* CD */ 3785 3600 RCAR_GP_PIN(5, 10), 3786 3601 }; 3602 + 3787 3603 static const unsigned int sdhi2_cd_b_mux[] = { 3788 3604 SD2_CD_B_MARK, 3789 3605 }; 3606 + 3790 3607 static const unsigned int sdhi2_wp_a_pins[] = { 3791 3608 /* WP */ 3792 3609 RCAR_GP_PIN(4, 14), 3793 3610 }; 3611 + 3794 3612 static const unsigned int sdhi2_wp_a_mux[] = { 3795 3613 SD2_WP_A_MARK, 3796 3614 }; 3615 + 3797 3616 static const unsigned int sdhi2_wp_b_pins[] = { 3798 3617 /* WP */ 3799 3618 RCAR_GP_PIN(5, 11), 3800 3619 }; 3620 + 3801 3621 static const unsigned int sdhi2_wp_b_mux[] = { 3802 3622 SD2_WP_B_MARK, 3803 3623 }; 3624 + 3804 3625 static const unsigned int sdhi2_ds_pins[] = { 3805 3626 /* DS */ 3806 3627 RCAR_GP_PIN(4, 6), 3807 3628 }; 3629 + 3808 3630 static const unsigned int sdhi2_ds_mux[] = { 3809 3631 SD2_DS_MARK, 3810 3632 }; 3633 + 3811 3634 /* - SDHI3 ------------------------------------------------------------------ */ 3812 3635 static const unsigned int sdhi3_data1_pins[] = { 3813 3636 /* D0 */ 3814 3637 RCAR_GP_PIN(4, 9), 3815 3638 }; 3639 + 3816 3640 static const unsigned int sdhi3_data1_mux[] = { 3817 3641 SD3_DAT0_MARK, 3818 3642 }; 3643 + 3819 3644 static const unsigned int sdhi3_data4_pins[] = { 3820 3645 /* D[0:3] */ 3821 3646 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10), 3822 3647 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12), 3823 3648 }; 3649 + 3824 3650 static const unsigned int sdhi3_data4_mux[] = { 3825 3651 SD3_DAT0_MARK, SD3_DAT1_MARK, 3826 3652 SD3_DAT2_MARK, SD3_DAT3_MARK, 3827 3653 }; 3654 + 3828 3655 static const unsigned int sdhi3_data8_pins[] = { 3829 3656 /* D[0:7] */ 3830 3657 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10), ··· 3850 3641 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14), 3851 3642 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16), 3852 3643 }; 3644 + 3853 3645 static const unsigned int sdhi3_data8_mux[] = { 3854 3646 SD3_DAT0_MARK, SD3_DAT1_MARK, 3855 3647 SD3_DAT2_MARK, SD3_DAT3_MARK, 3856 3648 SD3_DAT4_MARK, SD3_DAT5_MARK, 3857 3649 SD3_DAT6_MARK, SD3_DAT7_MARK, 3858 3650 }; 3651 + 3859 3652 static const unsigned int sdhi3_ctrl_pins[] = { 3860 3653 /* CLK, CMD */ 3861 3654 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8), 3862 3655 }; 3656 + 3863 3657 static const unsigned int sdhi3_ctrl_mux[] = { 3864 3658 SD3_CLK_MARK, SD3_CMD_MARK, 3865 3659 }; 3660 + 3866 3661 static const unsigned int sdhi3_cd_pins[] = { 3867 3662 /* CD */ 3868 3663 RCAR_GP_PIN(4, 15), 3869 3664 }; 3665 + 3870 3666 static const unsigned int sdhi3_cd_mux[] = { 3871 3667 SD3_CD_MARK, 3872 3668 }; 3669 + 3873 3670 static const unsigned int sdhi3_wp_pins[] = { 3874 3671 /* WP */ 3875 3672 RCAR_GP_PIN(4, 16), 3876 3673 }; 3674 + 3877 3675 static const unsigned int sdhi3_wp_mux[] = { 3878 3676 SD3_WP_MARK, 3879 3677 }; 3678 + 3880 3679 static const unsigned int sdhi3_ds_pins[] = { 3881 3680 /* DS */ 3882 3681 RCAR_GP_PIN(4, 17), 3883 3682 }; 3683 + 3884 3684 static const unsigned int sdhi3_ds_mux[] = { 3885 3685 SD3_DS_MARK, 3886 3686 }; ··· 4076 3858 /* TCLK */ 4077 3859 RCAR_GP_PIN(6, 23), 4078 3860 }; 3861 + 4079 3862 static const unsigned int tmu_tclk1_a_mux[] = { 4080 3863 TCLK1_A_MARK, 4081 3864 }; 3865 + 4082 3866 static const unsigned int tmu_tclk1_b_pins[] = { 4083 3867 /* TCLK */ 4084 3868 RCAR_GP_PIN(5, 19), 4085 3869 }; 3870 + 4086 3871 static const unsigned int tmu_tclk1_b_mux[] = { 4087 3872 TCLK1_B_MARK, 4088 3873 }; 3874 + 4089 3875 static const unsigned int tmu_tclk2_a_pins[] = { 4090 3876 /* TCLK */ 4091 3877 RCAR_GP_PIN(6, 19), 4092 3878 }; 3879 + 4093 3880 static const unsigned int tmu_tclk2_a_mux[] = { 4094 3881 TCLK2_A_MARK, 4095 3882 }; 3883 + 4096 3884 static const unsigned int tmu_tclk2_b_pins[] = { 4097 3885 /* TCLK */ 4098 3886 RCAR_GP_PIN(6, 28), 4099 3887 }; 3888 + 4100 3889 static const unsigned int tmu_tclk2_b_mux[] = { 4101 3890 TCLK2_B_MARK, 4102 3891 }; ··· 4143 3918 /* PWEN, OVC */ 4144 3919 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25), 4145 3920 }; 3921 + 4146 3922 static const unsigned int usb0_mux[] = { 4147 3923 USB0_PWEN_MARK, USB0_OVC_MARK, 4148 3924 }; 3925 + 4149 3926 /* - USB1 ------------------------------------------------------------------- */ 4150 3927 static const unsigned int usb1_pins[] = { 4151 3928 /* PWEN, OVC */ 4152 3929 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27), 4153 3930 }; 3931 + 4154 3932 static const unsigned int usb1_mux[] = { 4155 3933 USB1_PWEN_MARK, USB1_OVC_MARK, 4156 3934 }; ··· 4163 3935 /* PWEN, OVC */ 4164 3936 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29), 4165 3937 }; 3938 + 4166 3939 static const unsigned int usb30_mux[] = { 4167 3940 USB30_PWEN_MARK, USB30_OVC_MARK, 4168 3941 }; ··· 4173 3944 RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 4174 3945 RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 4175 3946 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 4176 - RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 4177 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4178 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4179 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 4180 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 4181 - RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 3947 + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 3948 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 3949 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 3950 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 3951 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 3952 + RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4182 3953 }; 3954 + 4183 3955 static const unsigned int vin4_data18_a_mux[] = { 4184 3956 VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 4185 3957 VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 4186 3958 VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 4187 - VI4_DATA10_MARK, VI4_DATA11_MARK, 4188 - VI4_DATA12_MARK, VI4_DATA13_MARK, 4189 - VI4_DATA14_MARK, VI4_DATA15_MARK, 4190 - VI4_DATA18_MARK, VI4_DATA19_MARK, 4191 - VI4_DATA20_MARK, VI4_DATA21_MARK, 4192 - VI4_DATA22_MARK, VI4_DATA23_MARK, 3959 + VI4_DATA10_MARK, VI4_DATA11_MARK, 3960 + VI4_DATA12_MARK, VI4_DATA13_MARK, 3961 + VI4_DATA14_MARK, VI4_DATA15_MARK, 3962 + VI4_DATA18_MARK, VI4_DATA19_MARK, 3963 + VI4_DATA20_MARK, VI4_DATA21_MARK, 3964 + VI4_DATA22_MARK, VI4_DATA23_MARK, 4193 3965 }; 3966 + 3967 + static const union vin_data vin4_data_a_pins = { 3968 + .data24 = { 3969 + RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), 3970 + RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 3971 + RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 3972 + RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 3973 + RCAR_GP_PIN(1, 0), RCAR_GP_PIN(1, 1), 3974 + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 3975 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 3976 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 3977 + RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 3978 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 3979 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 3980 + RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 3981 + }, 3982 + }; 3983 + 3984 + static const union vin_data vin4_data_a_mux = { 3985 + .data24 = { 3986 + VI4_DATA0_A_MARK, VI4_DATA1_A_MARK, 3987 + VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 3988 + VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 3989 + VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 3990 + VI4_DATA8_MARK, VI4_DATA9_MARK, 3991 + VI4_DATA10_MARK, VI4_DATA11_MARK, 3992 + VI4_DATA12_MARK, VI4_DATA13_MARK, 3993 + VI4_DATA14_MARK, VI4_DATA15_MARK, 3994 + VI4_DATA16_MARK, VI4_DATA17_MARK, 3995 + VI4_DATA18_MARK, VI4_DATA19_MARK, 3996 + VI4_DATA20_MARK, VI4_DATA21_MARK, 3997 + VI4_DATA22_MARK, VI4_DATA23_MARK, 3998 + }, 3999 + }; 4000 + 4194 4001 static const unsigned int vin4_data18_b_pins[] = { 4195 4002 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), 4196 4003 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5), ··· 4238 3973 RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 4239 3974 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4240 3975 }; 3976 + 4241 3977 static const unsigned int vin4_data18_b_mux[] = { 4242 3978 VI4_DATA2_B_MARK, VI4_DATA3_B_MARK, 4243 3979 VI4_DATA4_B_MARK, VI4_DATA5_B_MARK, 4244 3980 VI4_DATA6_B_MARK, VI4_DATA7_B_MARK, 4245 - VI4_DATA10_MARK, VI4_DATA11_MARK, 4246 - VI4_DATA12_MARK, VI4_DATA13_MARK, 4247 - VI4_DATA14_MARK, VI4_DATA15_MARK, 4248 - VI4_DATA18_MARK, VI4_DATA19_MARK, 4249 - VI4_DATA20_MARK, VI4_DATA21_MARK, 4250 - VI4_DATA22_MARK, VI4_DATA23_MARK, 3981 + VI4_DATA10_MARK, VI4_DATA11_MARK, 3982 + VI4_DATA12_MARK, VI4_DATA13_MARK, 3983 + VI4_DATA14_MARK, VI4_DATA15_MARK, 3984 + VI4_DATA18_MARK, VI4_DATA19_MARK, 3985 + VI4_DATA20_MARK, VI4_DATA21_MARK, 3986 + VI4_DATA22_MARK, VI4_DATA23_MARK, 4251 3987 }; 4252 - static const union vin_data vin4_data_a_pins = { 4253 - .data24 = { 4254 - RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), 4255 - RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 4256 - RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 4257 - RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 4258 - RCAR_GP_PIN(1, 0), RCAR_GP_PIN(1, 1), 4259 - RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 4260 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4261 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4262 - RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 4263 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 4264 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 4265 - RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4266 - }, 4267 - }; 4268 - static const union vin_data vin4_data_a_mux = { 4269 - .data24 = { 4270 - VI4_DATA0_A_MARK, VI4_DATA1_A_MARK, 4271 - VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 4272 - VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 4273 - VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 4274 - VI4_DATA8_MARK, VI4_DATA9_MARK, 4275 - VI4_DATA10_MARK, VI4_DATA11_MARK, 4276 - VI4_DATA12_MARK, VI4_DATA13_MARK, 4277 - VI4_DATA14_MARK, VI4_DATA15_MARK, 4278 - VI4_DATA16_MARK, VI4_DATA17_MARK, 4279 - VI4_DATA18_MARK, VI4_DATA19_MARK, 4280 - VI4_DATA20_MARK, VI4_DATA21_MARK, 4281 - VI4_DATA22_MARK, VI4_DATA23_MARK, 4282 - }, 4283 - }; 3988 + 4284 3989 static const union vin_data vin4_data_b_pins = { 4285 3990 .data24 = { 4286 3991 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), ··· 4267 4032 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4268 4033 }, 4269 4034 }; 4035 + 4270 4036 static const union vin_data vin4_data_b_mux = { 4271 4037 .data24 = { 4272 4038 VI4_DATA0_B_MARK, VI4_DATA1_B_MARK, 4273 4039 VI4_DATA2_B_MARK, VI4_DATA3_B_MARK, 4274 4040 VI4_DATA4_B_MARK, VI4_DATA5_B_MARK, 4275 4041 VI4_DATA6_B_MARK, VI4_DATA7_B_MARK, 4276 - VI4_DATA8_MARK, VI4_DATA9_MARK, 4277 - VI4_DATA10_MARK, VI4_DATA11_MARK, 4278 - VI4_DATA12_MARK, VI4_DATA13_MARK, 4279 - VI4_DATA14_MARK, VI4_DATA15_MARK, 4280 - VI4_DATA16_MARK, VI4_DATA17_MARK, 4281 - VI4_DATA18_MARK, VI4_DATA19_MARK, 4282 - VI4_DATA20_MARK, VI4_DATA21_MARK, 4283 - VI4_DATA22_MARK, VI4_DATA23_MARK, 4042 + VI4_DATA8_MARK, VI4_DATA9_MARK, 4043 + VI4_DATA10_MARK, VI4_DATA11_MARK, 4044 + VI4_DATA12_MARK, VI4_DATA13_MARK, 4045 + VI4_DATA14_MARK, VI4_DATA15_MARK, 4046 + VI4_DATA16_MARK, VI4_DATA17_MARK, 4047 + VI4_DATA18_MARK, VI4_DATA19_MARK, 4048 + VI4_DATA20_MARK, VI4_DATA21_MARK, 4049 + VI4_DATA22_MARK, VI4_DATA23_MARK, 4284 4050 }, 4285 4051 }; 4052 + 4286 4053 static const unsigned int vin4_sync_pins[] = { 4287 - /* HSYNC#, VSYNC# */ 4288 - RCAR_GP_PIN(1, 18), RCAR_GP_PIN(1, 17), 4054 + /* VSYNC_N, HSYNC_N */ 4055 + RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18), 4289 4056 }; 4057 + 4290 4058 static const unsigned int vin4_sync_mux[] = { 4291 4059 VI4_HSYNC_N_MARK, VI4_VSYNC_N_MARK, 4292 4060 }; 4061 + 4293 4062 static const unsigned int vin4_field_pins[] = { 4294 - /* FIELD */ 4295 4063 RCAR_GP_PIN(1, 16), 4296 4064 }; 4065 + 4297 4066 static const unsigned int vin4_field_mux[] = { 4298 4067 VI4_FIELD_MARK, 4299 4068 }; 4069 + 4300 4070 static const unsigned int vin4_clkenb_pins[] = { 4301 - /* CLKENB */ 4302 4071 RCAR_GP_PIN(1, 19), 4303 4072 }; 4073 + 4304 4074 static const unsigned int vin4_clkenb_mux[] = { 4305 4075 VI4_CLKENB_MARK, 4306 4076 }; 4077 + 4307 4078 static const unsigned int vin4_clk_pins[] = { 4308 - /* CLK */ 4309 4079 RCAR_GP_PIN(1, 27), 4310 4080 }; 4081 + 4311 4082 static const unsigned int vin4_clk_mux[] = { 4312 4083 VI4_CLK_MARK, 4313 4084 }; ··· 4327 4086 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4328 4087 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), 4329 4088 RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15), 4330 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4331 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4089 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4090 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4332 4091 }, 4333 4092 }; 4093 + 4334 4094 static const union vin_data16 vin5_data_mux = { 4335 4095 .data16 = { 4336 4096 VI5_DATA0_MARK, VI5_DATA1_MARK, ··· 4344 4102 VI5_DATA14_MARK, VI5_DATA15_MARK, 4345 4103 }, 4346 4104 }; 4105 + 4347 4106 static const unsigned int vin5_sync_pins[] = { 4348 - /* HSYNC#, VSYNC# */ 4349 - RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 9), 4107 + /* VSYNC_N, HSYNC_N */ 4108 + RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 10), 4350 4109 }; 4110 + 4351 4111 static const unsigned int vin5_sync_mux[] = { 4352 4112 VI5_HSYNC_N_MARK, VI5_VSYNC_N_MARK, 4353 4113 }; 4114 + 4354 4115 static const unsigned int vin5_field_pins[] = { 4355 4116 RCAR_GP_PIN(1, 11), 4356 4117 }; 4118 + 4357 4119 static const unsigned int vin5_field_mux[] = { 4358 - /* FIELD */ 4359 4120 VI5_FIELD_MARK, 4360 4121 }; 4122 + 4361 4123 static const unsigned int vin5_clkenb_pins[] = { 4362 4124 RCAR_GP_PIN(1, 20), 4363 4125 }; 4126 + 4364 4127 static const unsigned int vin5_clkenb_mux[] = { 4365 - /* CLKENB */ 4366 4128 VI5_CLKENB_MARK, 4367 4129 }; 4130 + 4368 4131 static const unsigned int vin5_clk_pins[] = { 4369 4132 RCAR_GP_PIN(1, 21), 4370 4133 }; 4134 + 4371 4135 static const unsigned int vin5_clk_mux[] = { 4372 - /* CLK */ 4373 4136 VI5_CLK_MARK, 4374 4137 }; 4375 4138 4376 4139 static const struct { 4377 - struct sh_pfc_pin_group common[316]; 4140 + struct sh_pfc_pin_group common[318]; 4378 4141 struct sh_pfc_pin_group automotive[30]; 4379 4142 } pinmux_groups = { 4380 4143 .common = { ··· 4403 4156 SH_PFC_PIN_GROUP(avb_link), 4404 4157 SH_PFC_PIN_GROUP(avb_magic), 4405 4158 SH_PFC_PIN_GROUP(avb_phy_int), 4406 - SH_PFC_PIN_GROUP_ALIAS(avb_mdc, avb_mdio), /* Deprecated */ 4159 + SH_PFC_PIN_GROUP_ALIAS(avb_mdc, avb_mdio), /* Deprecated */ 4407 4160 SH_PFC_PIN_GROUP(avb_mdio), 4408 4161 SH_PFC_PIN_GROUP(avb_mii), 4409 4162 SH_PFC_PIN_GROUP(avb_avtp_pps), ··· 4582 4335 SH_PFC_PIN_GROUP(pwm5_b), 4583 4336 SH_PFC_PIN_GROUP(pwm6_a), 4584 4337 SH_PFC_PIN_GROUP(pwm6_b), 4338 + SH_PFC_PIN_GROUP(sata0_devslp_a), 4339 + SH_PFC_PIN_GROUP(sata0_devslp_b), 4585 4340 SH_PFC_PIN_GROUP(scif0_data), 4586 4341 SH_PFC_PIN_GROUP(scif0_clk), 4587 4342 SH_PFC_PIN_GROUP(scif0_ctrl), ··· 5070 4821 "pwm6_b", 5071 4822 }; 5072 4823 4824 + static const char * const sata0_groups[] = { 4825 + "sata0_devslp_a", 4826 + "sata0_devslp_b", 4827 + }; 4828 + 5073 4829 static const char * const scif0_groups[] = { 5074 4830 "scif0_data", 5075 4831 "scif0_clk", ··· 5087 4833 "scif1_ctrl", 5088 4834 "scif1_data_b", 5089 4835 }; 5090 - 5091 4836 static const char * const scif2_groups[] = { 5092 4837 "scif2_data_a", 5093 4838 "scif2_clk", ··· 5249 4996 }; 5250 4997 5251 4998 static const struct { 5252 - struct sh_pfc_function common[50]; 4999 + struct sh_pfc_function common[51]; 5253 5000 struct sh_pfc_function automotive[4]; 5254 5001 } pinmux_functions = { 5255 5002 .common = { ··· 5284 5031 SH_PFC_FUNCTION(pwm4), 5285 5032 SH_PFC_FUNCTION(pwm5), 5286 5033 SH_PFC_FUNCTION(pwm6), 5034 + SH_PFC_FUNCTION(sata0), 5287 5035 SH_PFC_FUNCTION(scif0), 5288 5036 SH_PFC_FUNCTION(scif1), 5289 5037 SH_PFC_FUNCTION(scif2), ··· 5998 5744 { PIN_DU_DOTCLKIN1, 0, 2 }, /* DU_DOTCLKIN1 */ 5999 5745 } }, 6000 5746 { PINMUX_DRIVE_REG("DRVCTRL12", 0xe6060330) { 6001 - { PIN_DU_DOTCLKIN2, 28, 2 }, /* DU_DOTCLKIN2 */ 5747 + { PIN_DU_DOTCLKIN3, 24, 2 }, /* DU_DOTCLKIN3 */ 6002 5748 { PIN_FSCLKST, 20, 2 }, /* FSCLKST */ 6003 5749 { PIN_TMS, 4, 2 }, /* TMS */ 6004 5750 } }, ··· 6135 5881 { /* sentinel */ }, 6136 5882 }; 6137 5883 6138 - static int r8a7796_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) 5884 + static int r8a77965_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) 6139 5885 { 6140 5886 int bit = -EINVAL; 6141 5887 ··· 6254 6000 [31] = PIN_DU_DOTCLKIN1, /* DU_DOTCLKIN1 */ 6255 6001 } }, 6256 6002 { PINMUX_BIAS_REG("PUEN3", 0xe606040c, "PUD3", 0xe606044c) { 6257 - [ 0] = PIN_DU_DOTCLKIN2, /* DU_DOTCLKIN2 */ 6258 - [ 1] = SH_PFC_PIN_NONE, 6003 + [ 0] = SH_PFC_PIN_NONE, 6004 + [ 1] = PIN_DU_DOTCLKIN3, /* DU_DOTCLKIN3 */ 6259 6005 [ 2] = PIN_FSCLKST, /* FSCLKST */ 6260 6006 [ 3] = PIN_EXTALR, /* EXTALR*/ 6261 6007 [ 4] = PIN_TRST_N, /* TRST# */ ··· 6392 6138 { /* sentinel */ }, 6393 6139 }; 6394 6140 6395 - static unsigned int r8a7796_pinmux_get_bias(struct sh_pfc *pfc, 6141 + static unsigned int r8a77965_pinmux_get_bias(struct sh_pfc *pfc, 6396 6142 unsigned int pin) 6397 6143 { 6398 6144 const struct pinmux_bias_reg *reg; ··· 6410 6156 return PIN_CONFIG_BIAS_PULL_DOWN; 6411 6157 } 6412 6158 6413 - static void r8a7796_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 6159 + static void r8a77965_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 6414 6160 unsigned int bias) 6415 6161 { 6416 6162 const struct pinmux_bias_reg *reg; ··· 6433 6179 sh_pfc_write(pfc, reg->puen, enable); 6434 6180 } 6435 6181 6436 - static const struct sh_pfc_soc_operations r8a7796_pinmux_ops = { 6437 - .pin_to_pocctrl = r8a7796_pin_to_pocctrl, 6438 - .get_bias = r8a7796_pinmux_get_bias, 6439 - .set_bias = r8a7796_pinmux_set_bias, 6182 + static const struct sh_pfc_soc_operations r8a77965_pinmux_ops = { 6183 + .pin_to_pocctrl = r8a77965_pin_to_pocctrl, 6184 + .get_bias = r8a77965_pinmux_get_bias, 6185 + .set_bias = r8a77965_pinmux_set_bias, 6440 6186 }; 6441 6187 6442 - #ifdef CONFIG_PINCTRL_PFC_R8A774A1 6443 - const struct sh_pfc_soc_info r8a774a1_pinmux_info = { 6444 - .name = "r8a774a1_pfc", 6445 - .ops = &r8a7796_pinmux_ops, 6188 + #ifdef CONFIG_PINCTRL_PFC_R8A774B1 6189 + const struct sh_pfc_soc_info r8a774b1_pinmux_info = { 6190 + .name = "r8a774b1_pfc", 6191 + .ops = &r8a77965_pinmux_ops, 6446 6192 .unlock_reg = 0xe6060000, /* PMMR */ 6447 6193 6448 6194 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, ··· 6464 6210 }; 6465 6211 #endif 6466 6212 6467 - #ifdef CONFIG_PINCTRL_PFC_R8A77960 6468 - const struct sh_pfc_soc_info r8a77960_pinmux_info = { 6469 - .name = "r8a77960_pfc", 6470 - .ops = &r8a7796_pinmux_ops, 6471 - .unlock_reg = 0xe6060000, /* PMMR */ 6472 - 6473 - .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 6474 - 6475 - .pins = pinmux_pins, 6476 - .nr_pins = ARRAY_SIZE(pinmux_pins), 6477 - .groups = pinmux_groups.common, 6478 - .nr_groups = ARRAY_SIZE(pinmux_groups.common) + 6479 - ARRAY_SIZE(pinmux_groups.automotive), 6480 - .functions = pinmux_functions.common, 6481 - .nr_functions = ARRAY_SIZE(pinmux_functions.common) + 6482 - ARRAY_SIZE(pinmux_functions.automotive), 6483 - 6484 - .cfg_regs = pinmux_config_regs, 6485 - .drive_regs = pinmux_drive_regs, 6486 - .bias_regs = pinmux_bias_regs, 6487 - .ioctrl_regs = pinmux_ioctrl_regs, 6488 - 6489 - .pinmux_data = pinmux_data, 6490 - .pinmux_data_size = ARRAY_SIZE(pinmux_data), 6491 - }; 6492 - #endif 6493 - 6494 - #ifdef CONFIG_PINCTRL_PFC_R8A77961 6495 - const struct sh_pfc_soc_info r8a77961_pinmux_info = { 6496 - .name = "r8a77961_pfc", 6497 - .ops = &r8a7796_pinmux_ops, 6213 + #ifdef CONFIG_PINCTRL_PFC_R8A77965 6214 + const struct sh_pfc_soc_info r8a77965_pinmux_info = { 6215 + .name = "r8a77965_pfc", 6216 + .ops = &r8a77965_pinmux_ops, 6498 6217 .unlock_reg = 0xe6060000, /* PMMR */ 6499 6218 6500 6219 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
+150 -377
drivers/pinctrl/sh-pfc/pfc-r8a77965.c drivers/pinctrl/renesas/pfc-r8a7796.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * R8A77965 processor support - PFC hardware block. 3 + * R8A7796 (R-Car M3-W/W+) support - PFC hardware block. 4 4 * 5 - * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 6 5 * Copyright (C) 2016-2019 Renesas Electronics Corp. 7 6 * 8 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7796.c 7 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c 9 8 * 10 9 * R-Car Gen3 processor support - PFC hardware block. 11 10 * ··· 51 52 PIN_NOGP_CFG(AVB_TX_CTL, "AVB_TX_CTL", fn, CFG_FLAGS), \ 52 53 PIN_NOGP_CFG(DU_DOTCLKIN0, "DU_DOTCLKIN0", fn, CFG_FLAGS), \ 53 54 PIN_NOGP_CFG(DU_DOTCLKIN1, "DU_DOTCLKIN1", fn, CFG_FLAGS), \ 54 - PIN_NOGP_CFG(DU_DOTCLKIN3, "DU_DOTCLKIN3", fn, CFG_FLAGS), \ 55 + PIN_NOGP_CFG(DU_DOTCLKIN2, "DU_DOTCLKIN2", fn, CFG_FLAGS), \ 55 56 PIN_NOGP_CFG(EXTALR, "EXTALR", fn, SH_PFC_PIN_CFG_PULL_UP_DOWN),\ 56 57 PIN_NOGP_CFG(FSCLKST, "FSCLKST", fn, CFG_FLAGS), \ 57 58 PIN_NOGP_CFG(MLB_REF, "MLB_REF", fn, CFG_FLAGS), \ ··· 260 261 #define IP0_7_4 FM(AVB_MAGIC) F_(0, 0) FM(MSIOF2_SS1_C) FM(SCK4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 261 262 #define IP0_11_8 FM(AVB_PHY_INT) F_(0, 0) FM(MSIOF2_SYNC_C) FM(RX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 262 263 #define IP0_15_12 FM(AVB_LINK) F_(0, 0) FM(MSIOF2_SCK_C) FM(TX4_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 263 - #define IP0_19_16 FM(AVB_AVTP_MATCH_A) F_(0, 0) FM(MSIOF2_RXD_C) FM(CTS4_N_A) F_(0, 0) FM(FSCLKST2_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 264 + #define IP0_19_16 FM(AVB_AVTP_MATCH_A) F_(0, 0) FM(MSIOF2_RXD_C) FM(CTS4_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 264 265 #define IP0_23_20 FM(AVB_AVTP_CAPTURE_A) F_(0, 0) FM(MSIOF2_TXD_C) FM(RTS4_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 265 266 #define IP0_27_24 FM(IRQ0) FM(QPOLB) F_(0, 0) FM(DU_CDE) FM(VI4_DATA0_B) FM(CAN0_TX_B) FM(CANFD0_TX_B) FM(MSIOF3_SS2_E) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 266 267 #define IP0_31_28 FM(IRQ1) FM(QPOLA) F_(0, 0) FM(DU_DISP) FM(VI4_DATA1_B) FM(CAN0_RX_B) FM(CANFD0_RX_B) FM(MSIOF3_SS1_E) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 267 268 #define IP1_3_0 FM(IRQ2) FM(QCPV_QDE) F_(0, 0) FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(VI4_DATA2_B) F_(0, 0) F_(0, 0) FM(MSIOF3_SYNC_E) F_(0, 0) FM(PWM3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 268 269 #define IP1_7_4 FM(IRQ3) FM(QSTVB_QVE) F_(0, 0) FM(DU_DOTCLKOUT1) FM(VI4_DATA3_B) F_(0, 0) F_(0, 0) FM(MSIOF3_SCK_E) F_(0, 0) FM(PWM4_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 269 270 #define IP1_11_8 FM(IRQ4) FM(QSTH_QHS) F_(0, 0) FM(DU_EXHSYNC_DU_HSYNC) FM(VI4_DATA4_B) F_(0, 0) F_(0, 0) FM(MSIOF3_RXD_E) F_(0, 0) FM(PWM5_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 270 - #define IP1_15_12 FM(IRQ5) FM(QSTB_QHE) F_(0, 0) FM(DU_EXVSYNC_DU_VSYNC) FM(VI4_DATA5_B) FM(FSCLKST2_N_B) F_(0, 0) FM(MSIOF3_TXD_E) F_(0, 0) FM(PWM6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 271 + #define IP1_15_12 FM(IRQ5) FM(QSTB_QHE) F_(0, 0) FM(DU_EXVSYNC_DU_VSYNC) FM(VI4_DATA5_B) F_(0, 0) F_(0, 0) FM(MSIOF3_TXD_E) F_(0, 0) FM(PWM6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 271 272 #define IP1_19_16 FM(PWM0) FM(AVB_AVTP_PPS)F_(0, 0) F_(0, 0) FM(VI4_DATA6_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IECLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 272 273 #define IP1_23_20 FM(PWM1_A) F_(0, 0) F_(0, 0) FM(HRX3_D) FM(VI4_DATA7_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IERX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 273 274 #define IP1_27_24 FM(PWM2_A) F_(0, 0) F_(0, 0) FM(HTX3_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(IETX_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 337 338 #define IP9_15_12 FM(SD2_DAT1) F_(0, 0) FM(NFDATA11) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 338 339 #define IP9_19_16 FM(SD2_DAT2) F_(0, 0) FM(NFDATA12) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 339 340 #define IP9_23_20 FM(SD2_DAT3) F_(0, 0) FM(NFDATA13) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 340 - #define IP9_27_24 FM(SD2_DS) F_(0, 0) FM(NFALE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 341 + #define IP9_27_24 FM(SD2_DS) F_(0, 0) FM(NFALE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 341 342 #define IP9_31_28 FM(SD3_CLK) F_(0, 0) FM(NFWE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 342 343 #define IP10_3_0 FM(SD3_CMD) F_(0, 0) FM(NFRE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 343 344 #define IP10_7_4 FM(SD3_DAT0) F_(0, 0) FM(NFDATA0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 393 394 #define IP15_31_28 FM(SSI_SDATA4) FM(HSCK2_A) FM(MSIOF1_RXD_A) F_(0, 0) F_(0, 0) FM(TS_SPSYNC0_A)FM(STP_ISSYNC_0_A) FM(RIF0_D0_A) FM(RIF2_D1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 394 395 #define IP16_3_0 FM(SSI_SCK6) F_(0, 0) F_(0, 0) FM(SIM0_RST_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 395 396 #define IP16_7_4 FM(SSI_WS6) F_(0, 0) F_(0, 0) FM(SIM0_D_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 396 - #define IP16_11_8 FM(SSI_SDATA6) F_(0, 0) F_(0, 0) FM(SIM0_CLK_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) FM(SATA_DEVSLP_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 397 + #define IP16_11_8 FM(SSI_SDATA6) F_(0, 0) F_(0, 0) FM(SIM0_CLK_D) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 397 398 #define IP16_15_12 FM(SSI_SCK78) FM(HRX2_B) FM(MSIOF1_SCK_C) F_(0, 0) F_(0, 0) FM(TS_SCK1_A) FM(STP_ISCLK_1_A) FM(RIF1_CLK_A) FM(RIF3_CLK_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 398 399 #define IP16_19_16 FM(SSI_WS78) FM(HTX2_B) FM(MSIOF1_SYNC_C) F_(0, 0) F_(0, 0) FM(TS_SDAT1_A) FM(STP_ISD_1_A) FM(RIF1_SYNC_A) FM(RIF3_SYNC_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 399 400 #define IP16_23_20 FM(SSI_SDATA7) FM(HCTS2_N_B) FM(MSIOF1_RXD_C) F_(0, 0) F_(0, 0) FM(TS_SDEN1_A) FM(STP_ISEN_1_A) FM(RIF1_D0_A) FM(RIF3_D0_A) F_(0, 0) FM(TCLK2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) ··· 597 598 FM(AVB_RX_CTL) FM(AVB_RXC) FM(AVB_RD0) FM(AVB_RD1) FM(AVB_RD2) FM(AVB_RD3) \ 598 599 FM(AVB_TXCREFCLK) FM(AVB_MDIO) \ 599 600 FM(PRESETOUT) \ 600 - FM(DU_DOTCLKIN0) FM(DU_DOTCLKIN1) FM(DU_DOTCLKIN3) \ 601 + FM(DU_DOTCLKIN0) FM(DU_DOTCLKIN1) FM(DU_DOTCLKIN2) \ 601 602 FM(TMS) FM(TDO) FM(ASEBRK) FM(MLB_REF) FM(TDI) FM(TCK) FM(TRST) FM(EXTALR) 602 603 603 604 #define PINMUX_PHYS \ ··· 664 665 PINMUX_IPSR_GPSR(IP0_15_12, AVB_LINK), 665 666 PINMUX_IPSR_MSEL(IP0_15_12, MSIOF2_SCK_C, SEL_MSIOF2_2), 666 667 PINMUX_IPSR_MSEL(IP0_15_12, TX4_A, SEL_SCIF4_0), 667 - PINMUX_IPSR_GPSR(IP0_19_16, FSCLKST2_N_A), 668 668 669 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, AVB_AVTP_MATCH_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 670 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, MSIOF2_RXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 671 - PINMUX_IPSR_PHYS_MSEL(IP0_19_16, CTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 669 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, AVB_AVTP_MATCH_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 670 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, MSIOF2_RXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 671 + PINMUX_IPSR_PHYS_MSEL(IP0_19_16, CTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 672 672 PINMUX_IPSR_PHYS(IP0_19_16, SCL5, I2C_SEL_5_1), 673 673 674 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, AVB_AVTP_CAPTURE_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 675 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, MSIOF2_TXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 676 - PINMUX_IPSR_PHYS_MSEL(IP0_23_20, RTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 674 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, AVB_AVTP_CAPTURE_A, I2C_SEL_5_0, SEL_ETHERAVB_0), 675 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, MSIOF2_TXD_C, I2C_SEL_5_0, SEL_MSIOF2_2), 676 + PINMUX_IPSR_PHYS_MSEL(IP0_23_20, RTS4_N_A, I2C_SEL_5_0, SEL_SCIF4_0), 677 677 PINMUX_IPSR_PHYS(IP0_23_20, SDA5, I2C_SEL_5_1), 678 678 679 679 PINMUX_IPSR_GPSR(IP0_27_24, IRQ0), ··· 718 720 PINMUX_IPSR_GPSR(IP1_15_12, DU_EXVSYNC_DU_VSYNC), 719 721 PINMUX_IPSR_MSEL(IP1_15_12, VI4_DATA5_B, SEL_VIN4_1), 720 722 PINMUX_IPSR_MSEL(IP1_15_12, PWM6_B, SEL_PWM6_1), 721 - PINMUX_IPSR_GPSR(IP1_15_12, FSCLKST2_N_B), 722 723 PINMUX_IPSR_MSEL(IP1_15_12, MSIOF3_TXD_E, SEL_MSIOF3_4), 723 724 724 725 PINMUX_IPSR_GPSR(IP1_19_16, PWM0), ··· 725 728 PINMUX_IPSR_MSEL(IP1_19_16, VI4_DATA6_B, SEL_VIN4_1), 726 729 PINMUX_IPSR_MSEL(IP1_19_16, IECLK_B, SEL_IEBUS_1), 727 730 728 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, PWM1_A, I2C_SEL_3_0, SEL_PWM1_0), 729 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, HRX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 730 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, VI4_DATA7_B, I2C_SEL_3_0, SEL_VIN4_1), 731 - PINMUX_IPSR_PHYS_MSEL(IP1_23_20, IERX_B, I2C_SEL_3_0, SEL_IEBUS_1), 732 - PINMUX_IPSR_PHYS(IP1_23_20, SCL3, I2C_SEL_3_1), 731 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, PWM1_A, I2C_SEL_3_0, SEL_PWM1_0), 732 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, HRX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 733 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, VI4_DATA7_B, I2C_SEL_3_0, SEL_VIN4_1), 734 + PINMUX_IPSR_PHYS_MSEL(IP1_23_20, IERX_B, I2C_SEL_3_0, SEL_IEBUS_1), 735 + PINMUX_IPSR_PHYS(IP1_23_20, SCL3, I2C_SEL_3_1), 733 736 734 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, PWM2_A, I2C_SEL_3_0, SEL_PWM2_0), 735 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, HTX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 736 - PINMUX_IPSR_PHYS_MSEL(IP1_27_24, IETX_B, I2C_SEL_3_0, SEL_IEBUS_1), 737 - PINMUX_IPSR_PHYS(IP1_27_24, SDA3, I2C_SEL_3_1), 737 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, PWM2_A, I2C_SEL_3_0, SEL_PWM2_0), 738 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, HTX3_D, I2C_SEL_3_0, SEL_HSCIF3_3), 739 + PINMUX_IPSR_PHYS_MSEL(IP1_27_24, IETX_B, I2C_SEL_3_0, SEL_IEBUS_1), 740 + PINMUX_IPSR_PHYS(IP1_27_24, SDA3, I2C_SEL_3_1), 738 741 739 742 PINMUX_IPSR_GPSR(IP1_31_28, A0), 740 743 PINMUX_IPSR_GPSR(IP1_31_28, LCDOUT16), ··· 1118 1121 1119 1122 PINMUX_IPSR_GPSR(IP9_27_24, SD2_DS), 1120 1123 PINMUX_IPSR_GPSR(IP9_27_24, NFALE), 1121 - PINMUX_IPSR_GPSR(IP9_27_24, SATA_DEVSLP_B), 1122 1124 1123 1125 PINMUX_IPSR_GPSR(IP9_31_28, SD3_CLK), 1124 1126 PINMUX_IPSR_GPSR(IP9_31_28, NFWE_N), ··· 1168 1172 PINMUX_IPSR_MSEL(IP11_15_12, SDA2_B, SEL_I2C2_1), 1169 1173 1170 1174 PINMUX_IPSR_MSEL(IP11_19_16, SD1_CD, I2C_SEL_0_0), 1171 - PINMUX_IPSR_PHYS_MSEL(IP11_19_16, NFRB_N_A, I2C_SEL_0_0, SEL_NDF_0), 1172 - PINMUX_IPSR_PHYS_MSEL(IP11_19_16, SIM0_CLK_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1175 + PINMUX_IPSR_PHYS_MSEL(IP11_19_16, NFRB_N_A, I2C_SEL_0_0, SEL_NDF_0), 1176 + PINMUX_IPSR_PHYS_MSEL(IP11_19_16, SIM0_CLK_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1173 1177 PINMUX_IPSR_PHYS(IP11_19_16, SCL0, I2C_SEL_0_1), 1174 1178 1175 1179 PINMUX_IPSR_MSEL(IP11_23_20, SD1_WP, I2C_SEL_0_0), 1176 - PINMUX_IPSR_PHYS_MSEL(IP11_23_20, NFCE_N_A, I2C_SEL_0_0, SEL_NDF_0), 1177 - PINMUX_IPSR_PHYS_MSEL(IP11_23_20, SIM0_D_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1180 + PINMUX_IPSR_PHYS_MSEL(IP11_23_20, NFCE_N_A, I2C_SEL_0_0, SEL_NDF_0), 1181 + PINMUX_IPSR_PHYS_MSEL(IP11_23_20, SIM0_D_B, I2C_SEL_0_0, SEL_SIMCARD_1), 1178 1182 PINMUX_IPSR_PHYS(IP11_23_20, SDA0, I2C_SEL_0_1), 1179 1183 1180 1184 PINMUX_IPSR_GPSR(IP11_27_24, SCK0), ··· 1412 1416 1413 1417 PINMUX_IPSR_GPSR(IP16_11_8, SSI_SDATA6), 1414 1418 PINMUX_IPSR_MSEL(IP16_11_8, SIM0_CLK_D, SEL_SIMCARD_3), 1415 - PINMUX_IPSR_GPSR(IP16_11_8, SATA_DEVSLP_A), 1416 1419 1417 1420 PINMUX_IPSR_GPSR(IP16_15_12, SSI_SCK78), 1418 1421 PINMUX_IPSR_MSEL(IP16_15_12, HRX2_B, SEL_HSCIF2_1), ··· 1781 1786 /* TX, RX */ 1782 1787 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 1783 1788 }; 1784 - 1785 1789 static const unsigned int can0_data_a_mux[] = { 1786 1790 CAN0_TX_A_MARK, CAN0_RX_A_MARK, 1787 1791 }; 1788 - 1789 1792 static const unsigned int can0_data_b_pins[] = { 1790 1793 /* TX, RX */ 1791 1794 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), 1792 1795 }; 1793 - 1794 1796 static const unsigned int can0_data_b_mux[] = { 1795 1797 CAN0_TX_B_MARK, CAN0_RX_B_MARK, 1796 1798 }; 1797 - 1798 1799 static const unsigned int can1_data_pins[] = { 1799 1800 /* TX, RX */ 1800 1801 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 26), 1801 1802 }; 1802 - 1803 1803 static const unsigned int can1_data_mux[] = { 1804 1804 CAN1_TX_MARK, CAN1_RX_MARK, 1805 1805 }; ··· 1804 1814 /* CLK */ 1805 1815 RCAR_GP_PIN(1, 25), 1806 1816 }; 1807 - 1808 1817 static const unsigned int can_clk_mux[] = { 1809 1818 CAN_CLK_MARK, 1810 1819 }; ··· 1813 1824 /* TX, RX */ 1814 1825 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 1815 1826 }; 1816 - 1817 1827 static const unsigned int canfd0_data_a_mux[] = { 1818 1828 CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 1819 1829 }; 1820 - 1821 1830 static const unsigned int canfd0_data_b_pins[] = { 1822 1831 /* TX, RX */ 1823 1832 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), 1824 1833 }; 1825 - 1826 1834 static const unsigned int canfd0_data_b_mux[] = { 1827 1835 CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 1828 1836 }; 1829 - 1830 1837 static const unsigned int canfd1_data_pins[] = { 1831 1838 /* TX, RX */ 1832 1839 RCAR_GP_PIN(1, 22), RCAR_GP_PIN(1, 26), 1833 1840 }; 1834 - 1835 1841 static const unsigned int canfd1_data_mux[] = { 1836 1842 CANFD1_TX_MARK, CANFD1_RX_MARK, 1837 1843 }; ··· 1836 1852 /* CLK, SYNC */ 1837 1853 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 1838 1854 }; 1839 - 1840 1855 static const unsigned int drif0_ctrl_a_mux[] = { 1841 1856 RIF0_CLK_A_MARK, RIF0_SYNC_A_MARK, 1842 1857 }; 1843 - 1844 1858 static const unsigned int drif0_data0_a_pins[] = { 1845 1859 /* D0 */ 1846 1860 RCAR_GP_PIN(6, 10), 1847 1861 }; 1848 - 1849 1862 static const unsigned int drif0_data0_a_mux[] = { 1850 1863 RIF0_D0_A_MARK, 1851 1864 }; 1852 - 1853 1865 static const unsigned int drif0_data1_a_pins[] = { 1854 1866 /* D1 */ 1855 1867 RCAR_GP_PIN(6, 7), 1856 1868 }; 1857 - 1858 1869 static const unsigned int drif0_data1_a_mux[] = { 1859 1870 RIF0_D1_A_MARK, 1860 1871 }; 1861 - 1862 1872 static const unsigned int drif0_ctrl_b_pins[] = { 1863 1873 /* CLK, SYNC */ 1864 1874 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 4), 1865 1875 }; 1866 - 1867 1876 static const unsigned int drif0_ctrl_b_mux[] = { 1868 1877 RIF0_CLK_B_MARK, RIF0_SYNC_B_MARK, 1869 1878 }; 1870 - 1871 1879 static const unsigned int drif0_data0_b_pins[] = { 1872 1880 /* D0 */ 1873 1881 RCAR_GP_PIN(5, 1), 1874 1882 }; 1875 - 1876 1883 static const unsigned int drif0_data0_b_mux[] = { 1877 1884 RIF0_D0_B_MARK, 1878 1885 }; 1879 - 1880 1886 static const unsigned int drif0_data1_b_pins[] = { 1881 1887 /* D1 */ 1882 1888 RCAR_GP_PIN(5, 2), 1883 1889 }; 1884 - 1885 1890 static const unsigned int drif0_data1_b_mux[] = { 1886 1891 RIF0_D1_B_MARK, 1887 1892 }; 1888 - 1889 1893 static const unsigned int drif0_ctrl_c_pins[] = { 1890 1894 /* CLK, SYNC */ 1891 1895 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 15), 1892 1896 }; 1893 - 1894 1897 static const unsigned int drif0_ctrl_c_mux[] = { 1895 1898 RIF0_CLK_C_MARK, RIF0_SYNC_C_MARK, 1896 1899 }; 1897 - 1898 1900 static const unsigned int drif0_data0_c_pins[] = { 1899 1901 /* D0 */ 1900 1902 RCAR_GP_PIN(5, 13), 1901 1903 }; 1902 - 1903 1904 static const unsigned int drif0_data0_c_mux[] = { 1904 1905 RIF0_D0_C_MARK, 1905 1906 }; 1906 - 1907 1907 static const unsigned int drif0_data1_c_pins[] = { 1908 1908 /* D1 */ 1909 1909 RCAR_GP_PIN(5, 14), 1910 1910 }; 1911 - 1912 1911 static const unsigned int drif0_data1_c_mux[] = { 1913 1912 RIF0_D1_C_MARK, 1914 1913 }; 1915 - 1916 1914 /* - DRIF1 --------------------------------------------------------------- */ 1917 1915 static const unsigned int drif1_ctrl_a_pins[] = { 1918 1916 /* CLK, SYNC */ 1919 1917 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 1920 1918 }; 1921 - 1922 1919 static const unsigned int drif1_ctrl_a_mux[] = { 1923 1920 RIF1_CLK_A_MARK, RIF1_SYNC_A_MARK, 1924 1921 }; 1925 - 1926 1922 static const unsigned int drif1_data0_a_pins[] = { 1927 1923 /* D0 */ 1928 1924 RCAR_GP_PIN(6, 19), 1929 1925 }; 1930 - 1931 1926 static const unsigned int drif1_data0_a_mux[] = { 1932 1927 RIF1_D0_A_MARK, 1933 1928 }; 1934 - 1935 1929 static const unsigned int drif1_data1_a_pins[] = { 1936 1930 /* D1 */ 1937 1931 RCAR_GP_PIN(6, 20), 1938 1932 }; 1939 - 1940 1933 static const unsigned int drif1_data1_a_mux[] = { 1941 1934 RIF1_D1_A_MARK, 1942 1935 }; 1943 - 1944 1936 static const unsigned int drif1_ctrl_b_pins[] = { 1945 1937 /* CLK, SYNC */ 1946 1938 RCAR_GP_PIN(5, 9), RCAR_GP_PIN(5, 3), 1947 1939 }; 1948 - 1949 1940 static const unsigned int drif1_ctrl_b_mux[] = { 1950 1941 RIF1_CLK_B_MARK, RIF1_SYNC_B_MARK, 1951 1942 }; 1952 - 1953 1943 static const unsigned int drif1_data0_b_pins[] = { 1954 1944 /* D0 */ 1955 1945 RCAR_GP_PIN(5, 7), 1956 1946 }; 1957 - 1958 1947 static const unsigned int drif1_data0_b_mux[] = { 1959 1948 RIF1_D0_B_MARK, 1960 1949 }; 1961 - 1962 1950 static const unsigned int drif1_data1_b_pins[] = { 1963 1951 /* D1 */ 1964 1952 RCAR_GP_PIN(5, 8), 1965 1953 }; 1966 - 1967 1954 static const unsigned int drif1_data1_b_mux[] = { 1968 1955 RIF1_D1_B_MARK, 1969 1956 }; 1970 - 1971 1957 static const unsigned int drif1_ctrl_c_pins[] = { 1972 1958 /* CLK, SYNC */ 1973 1959 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 11), 1974 1960 }; 1975 - 1976 1961 static const unsigned int drif1_ctrl_c_mux[] = { 1977 1962 RIF1_CLK_C_MARK, RIF1_SYNC_C_MARK, 1978 1963 }; 1979 - 1980 1964 static const unsigned int drif1_data0_c_pins[] = { 1981 1965 /* D0 */ 1982 1966 RCAR_GP_PIN(5, 6), 1983 1967 }; 1984 - 1985 1968 static const unsigned int drif1_data0_c_mux[] = { 1986 1969 RIF1_D0_C_MARK, 1987 1970 }; 1988 - 1989 1971 static const unsigned int drif1_data1_c_pins[] = { 1990 1972 /* D1 */ 1991 1973 RCAR_GP_PIN(5, 10), 1992 1974 }; 1993 - 1994 1975 static const unsigned int drif1_data1_c_mux[] = { 1995 1976 RIF1_D1_C_MARK, 1996 1977 }; 1997 - 1998 1978 /* - DRIF2 --------------------------------------------------------------- */ 1999 1979 static const unsigned int drif2_ctrl_a_pins[] = { 2000 1980 /* CLK, SYNC */ 2001 1981 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 2002 1982 }; 2003 - 2004 1983 static const unsigned int drif2_ctrl_a_mux[] = { 2005 1984 RIF2_CLK_A_MARK, RIF2_SYNC_A_MARK, 2006 1985 }; 2007 - 2008 1986 static const unsigned int drif2_data0_a_pins[] = { 2009 1987 /* D0 */ 2010 1988 RCAR_GP_PIN(6, 7), 2011 1989 }; 2012 - 2013 1990 static const unsigned int drif2_data0_a_mux[] = { 2014 1991 RIF2_D0_A_MARK, 2015 1992 }; 2016 - 2017 1993 static const unsigned int drif2_data1_a_pins[] = { 2018 1994 /* D1 */ 2019 1995 RCAR_GP_PIN(6, 10), 2020 1996 }; 2021 - 2022 1997 static const unsigned int drif2_data1_a_mux[] = { 2023 1998 RIF2_D1_A_MARK, 2024 1999 }; 2025 - 2026 2000 static const unsigned int drif2_ctrl_b_pins[] = { 2027 2001 /* CLK, SYNC */ 2028 2002 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27), 2029 2003 }; 2030 - 2031 2004 static const unsigned int drif2_ctrl_b_mux[] = { 2032 2005 RIF2_CLK_B_MARK, RIF2_SYNC_B_MARK, 2033 2006 }; 2034 - 2035 2007 static const unsigned int drif2_data0_b_pins[] = { 2036 2008 /* D0 */ 2037 2009 RCAR_GP_PIN(6, 30), 2038 2010 }; 2039 - 2040 2011 static const unsigned int drif2_data0_b_mux[] = { 2041 2012 RIF2_D0_B_MARK, 2042 2013 }; 2043 - 2044 2014 static const unsigned int drif2_data1_b_pins[] = { 2045 2015 /* D1 */ 2046 2016 RCAR_GP_PIN(6, 31), 2047 2017 }; 2048 - 2049 2018 static const unsigned int drif2_data1_b_mux[] = { 2050 2019 RIF2_D1_B_MARK, 2051 2020 }; 2052 - 2053 2021 /* - DRIF3 --------------------------------------------------------------- */ 2054 2022 static const unsigned int drif3_ctrl_a_pins[] = { 2055 2023 /* CLK, SYNC */ 2056 2024 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 2057 2025 }; 2058 - 2059 2026 static const unsigned int drif3_ctrl_a_mux[] = { 2060 2027 RIF3_CLK_A_MARK, RIF3_SYNC_A_MARK, 2061 2028 }; 2062 - 2063 2029 static const unsigned int drif3_data0_a_pins[] = { 2064 2030 /* D0 */ 2065 2031 RCAR_GP_PIN(6, 19), 2066 2032 }; 2067 - 2068 2033 static const unsigned int drif3_data0_a_mux[] = { 2069 2034 RIF3_D0_A_MARK, 2070 2035 }; 2071 - 2072 2036 static const unsigned int drif3_data1_a_pins[] = { 2073 2037 /* D1 */ 2074 2038 RCAR_GP_PIN(6, 20), 2075 2039 }; 2076 - 2077 2040 static const unsigned int drif3_data1_a_mux[] = { 2078 2041 RIF3_D1_A_MARK, 2079 2042 }; 2080 - 2081 2043 static const unsigned int drif3_ctrl_b_pins[] = { 2082 2044 /* CLK, SYNC */ 2083 2045 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25), 2084 2046 }; 2085 - 2086 2047 static const unsigned int drif3_ctrl_b_mux[] = { 2087 2048 RIF3_CLK_B_MARK, RIF3_SYNC_B_MARK, 2088 2049 }; 2089 - 2090 2050 static const unsigned int drif3_data0_b_pins[] = { 2091 2051 /* D0 */ 2092 2052 RCAR_GP_PIN(6, 28), 2093 2053 }; 2094 - 2095 2054 static const unsigned int drif3_data0_b_mux[] = { 2096 2055 RIF3_D0_B_MARK, 2097 2056 }; 2098 - 2099 2057 static const unsigned int drif3_data1_b_pins[] = { 2100 2058 /* D1 */ 2101 2059 RCAR_GP_PIN(6, 29), 2102 2060 }; 2103 - 2104 2061 static const unsigned int drif3_data1_b_mux[] = { 2105 2062 RIF3_D1_B_MARK, 2106 2063 }; ··· 2056 2131 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 5), 2057 2132 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 2), 2058 2133 }; 2059 - 2060 2134 static const unsigned int du_rgb666_mux[] = { 2061 2135 DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, DU_DR4_MARK, 2062 2136 DU_DR3_MARK, DU_DR2_MARK, ··· 2064 2140 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, DU_DB4_MARK, 2065 2141 DU_DB3_MARK, DU_DB2_MARK, 2066 2142 }; 2067 - 2068 2143 static const unsigned int du_rgb888_pins[] = { 2069 2144 /* R[7:0], G[7:0], B[7:0] */ 2070 2145 RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 13), ··· 2076 2153 RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 2), 2077 2154 RCAR_GP_PIN(1, 1), RCAR_GP_PIN(1, 0), 2078 2155 }; 2079 - 2080 2156 static const unsigned int du_rgb888_mux[] = { 2081 2157 DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, DU_DR4_MARK, 2082 2158 DU_DR3_MARK, DU_DR2_MARK, DU_DR1_MARK, DU_DR0_MARK, ··· 2084 2162 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, DU_DB4_MARK, 2085 2163 DU_DB3_MARK, DU_DB2_MARK, DU_DB1_MARK, DU_DB0_MARK, 2086 2164 }; 2087 - 2088 2165 static const unsigned int du_clk_out_0_pins[] = { 2089 2166 /* CLKOUT */ 2090 2167 RCAR_GP_PIN(1, 27), 2091 2168 }; 2092 - 2093 2169 static const unsigned int du_clk_out_0_mux[] = { 2094 2170 DU_DOTCLKOUT0_MARK 2095 2171 }; 2096 - 2097 2172 static const unsigned int du_clk_out_1_pins[] = { 2098 2173 /* CLKOUT */ 2099 2174 RCAR_GP_PIN(2, 3), 2100 2175 }; 2101 - 2102 2176 static const unsigned int du_clk_out_1_mux[] = { 2103 2177 DU_DOTCLKOUT1_MARK 2104 2178 }; 2105 - 2106 2179 static const unsigned int du_sync_pins[] = { 2107 2180 /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */ 2108 2181 RCAR_GP_PIN(2, 5), RCAR_GP_PIN(2, 4), 2109 2182 }; 2110 - 2111 2183 static const unsigned int du_sync_mux[] = { 2112 2184 DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK 2113 2185 }; 2114 - 2115 2186 static const unsigned int du_oddf_pins[] = { 2116 2187 /* EXDISP/EXODDF/EXCDE */ 2117 2188 RCAR_GP_PIN(2, 2), 2118 2189 }; 2119 - 2120 2190 static const unsigned int du_oddf_mux[] = { 2121 2191 DU_EXODDF_DU_ODDF_DISP_CDE_MARK, 2122 2192 }; 2123 - 2124 2193 static const unsigned int du_cde_pins[] = { 2125 2194 /* CDE */ 2126 2195 RCAR_GP_PIN(2, 0), 2127 2196 }; 2128 - 2129 2197 static const unsigned int du_cde_mux[] = { 2130 2198 DU_CDE_MARK, 2131 2199 }; 2132 - 2133 2200 static const unsigned int du_disp_pins[] = { 2134 2201 /* DISP */ 2135 2202 RCAR_GP_PIN(2, 1), 2136 2203 }; 2137 - 2138 2204 static const unsigned int du_disp_mux[] = { 2139 2205 DU_DISP_MARK, 2140 2206 }; ··· 2132 2222 /* RX, TX */ 2133 2223 RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14), 2134 2224 }; 2135 - 2136 2225 static const unsigned int hscif0_data_mux[] = { 2137 2226 HRX0_MARK, HTX0_MARK, 2138 2227 }; 2139 - 2140 2228 static const unsigned int hscif0_clk_pins[] = { 2141 2229 /* SCK */ 2142 2230 RCAR_GP_PIN(5, 12), 2143 2231 }; 2144 - 2145 2232 static const unsigned int hscif0_clk_mux[] = { 2146 2233 HSCK0_MARK, 2147 2234 }; 2148 - 2149 2235 static const unsigned int hscif0_ctrl_pins[] = { 2150 2236 /* RTS, CTS */ 2151 2237 RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15), 2152 2238 }; 2153 - 2154 2239 static const unsigned int hscif0_ctrl_mux[] = { 2155 2240 HRTS0_N_MARK, HCTS0_N_MARK, 2156 2241 }; 2157 - 2158 2242 /* - HSCIF1 ----------------------------------------------------------------- */ 2159 2243 static const unsigned int hscif1_data_a_pins[] = { 2160 2244 /* RX, TX */ 2161 2245 RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6), 2162 2246 }; 2163 - 2164 2247 static const unsigned int hscif1_data_a_mux[] = { 2165 2248 HRX1_A_MARK, HTX1_A_MARK, 2166 2249 }; 2167 - 2168 2250 static const unsigned int hscif1_clk_a_pins[] = { 2169 2251 /* SCK */ 2170 2252 RCAR_GP_PIN(6, 21), 2171 2253 }; 2172 - 2173 2254 static const unsigned int hscif1_clk_a_mux[] = { 2174 2255 HSCK1_A_MARK, 2175 2256 }; 2176 - 2177 2257 static const unsigned int hscif1_ctrl_a_pins[] = { 2178 2258 /* RTS, CTS */ 2179 2259 RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7), 2180 2260 }; 2181 - 2182 2261 static const unsigned int hscif1_ctrl_a_mux[] = { 2183 2262 HRTS1_N_A_MARK, HCTS1_N_A_MARK, 2184 2263 }; ··· 2176 2277 /* RX, TX */ 2177 2278 RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2), 2178 2279 }; 2179 - 2180 2280 static const unsigned int hscif1_data_b_mux[] = { 2181 2281 HRX1_B_MARK, HTX1_B_MARK, 2182 2282 }; 2183 - 2184 2283 static const unsigned int hscif1_clk_b_pins[] = { 2185 2284 /* SCK */ 2186 2285 RCAR_GP_PIN(5, 0), 2187 2286 }; 2188 - 2189 2287 static const unsigned int hscif1_clk_b_mux[] = { 2190 2288 HSCK1_B_MARK, 2191 2289 }; 2192 - 2193 2290 static const unsigned int hscif1_ctrl_b_pins[] = { 2194 2291 /* RTS, CTS */ 2195 2292 RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3), 2196 2293 }; 2197 - 2198 2294 static const unsigned int hscif1_ctrl_b_mux[] = { 2199 2295 HRTS1_N_B_MARK, HCTS1_N_B_MARK, 2200 2296 }; 2201 - 2202 2297 /* - HSCIF2 ----------------------------------------------------------------- */ 2203 2298 static const unsigned int hscif2_data_a_pins[] = { 2204 2299 /* RX, TX */ 2205 2300 RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9), 2206 2301 }; 2207 - 2208 2302 static const unsigned int hscif2_data_a_mux[] = { 2209 2303 HRX2_A_MARK, HTX2_A_MARK, 2210 2304 }; 2211 - 2212 2305 static const unsigned int hscif2_clk_a_pins[] = { 2213 2306 /* SCK */ 2214 2307 RCAR_GP_PIN(6, 10), 2215 2308 }; 2216 - 2217 2309 static const unsigned int hscif2_clk_a_mux[] = { 2218 2310 HSCK2_A_MARK, 2219 2311 }; 2220 - 2221 2312 static const unsigned int hscif2_ctrl_a_pins[] = { 2222 2313 /* RTS, CTS */ 2223 2314 RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6), 2224 2315 }; 2225 - 2226 2316 static const unsigned int hscif2_ctrl_a_mux[] = { 2227 2317 HRTS2_N_A_MARK, HCTS2_N_A_MARK, 2228 2318 }; ··· 2220 2332 /* RX, TX */ 2221 2333 RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18), 2222 2334 }; 2223 - 2224 2335 static const unsigned int hscif2_data_b_mux[] = { 2225 2336 HRX2_B_MARK, HTX2_B_MARK, 2226 2337 }; 2227 - 2228 2338 static const unsigned int hscif2_clk_b_pins[] = { 2229 2339 /* SCK */ 2230 2340 RCAR_GP_PIN(6, 21), 2231 2341 }; 2232 - 2233 2342 static const unsigned int hscif2_clk_b_mux[] = { 2234 2343 HSCK2_B_MARK, 2235 2344 }; 2236 - 2237 2345 static const unsigned int hscif2_ctrl_b_pins[] = { 2238 2346 /* RTS, CTS */ 2239 2347 RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 19), 2240 2348 }; 2241 - 2242 2349 static const unsigned int hscif2_ctrl_b_mux[] = { 2243 2350 HRTS2_N_B_MARK, HCTS2_N_B_MARK, 2244 2351 }; ··· 2242 2359 /* RX, TX */ 2243 2360 RCAR_GP_PIN(6, 25), RCAR_GP_PIN(6, 26), 2244 2361 }; 2245 - 2246 2362 static const unsigned int hscif2_data_c_mux[] = { 2247 2363 HRX2_C_MARK, HTX2_C_MARK, 2248 2364 }; 2249 - 2250 2365 static const unsigned int hscif2_clk_c_pins[] = { 2251 2366 /* SCK */ 2252 2367 RCAR_GP_PIN(6, 24), 2253 2368 }; 2254 - 2255 2369 static const unsigned int hscif2_clk_c_mux[] = { 2256 2370 HSCK2_C_MARK, 2257 2371 }; 2258 - 2259 2372 static const unsigned int hscif2_ctrl_c_pins[] = { 2260 2373 /* RTS, CTS */ 2261 2374 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 27), 2262 2375 }; 2263 - 2264 2376 static const unsigned int hscif2_ctrl_c_mux[] = { 2265 2377 HRTS2_N_C_MARK, HCTS2_N_C_MARK, 2266 2378 }; 2267 - 2268 2379 /* - HSCIF3 ----------------------------------------------------------------- */ 2269 2380 static const unsigned int hscif3_data_a_pins[] = { 2270 2381 /* RX, TX */ 2271 2382 RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 2272 2383 }; 2273 - 2274 2384 static const unsigned int hscif3_data_a_mux[] = { 2275 2385 HRX3_A_MARK, HTX3_A_MARK, 2276 2386 }; 2277 - 2278 2387 static const unsigned int hscif3_clk_pins[] = { 2279 2388 /* SCK */ 2280 2389 RCAR_GP_PIN(1, 22), 2281 2390 }; 2282 - 2283 2391 static const unsigned int hscif3_clk_mux[] = { 2284 2392 HSCK3_MARK, 2285 2393 }; 2286 - 2287 2394 static const unsigned int hscif3_ctrl_pins[] = { 2288 2395 /* RTS, CTS */ 2289 2396 RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), 2290 2397 }; 2291 - 2292 2398 static const unsigned int hscif3_ctrl_mux[] = { 2293 2399 HRTS3_N_MARK, HCTS3_N_MARK, 2294 2400 }; ··· 2286 2414 /* RX, TX */ 2287 2415 RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 2288 2416 }; 2289 - 2290 2417 static const unsigned int hscif3_data_b_mux[] = { 2291 2418 HRX3_B_MARK, HTX3_B_MARK, 2292 2419 }; 2293 - 2294 2420 static const unsigned int hscif3_data_c_pins[] = { 2295 2421 /* RX, TX */ 2296 2422 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 2297 2423 }; 2298 - 2299 2424 static const unsigned int hscif3_data_c_mux[] = { 2300 2425 HRX3_C_MARK, HTX3_C_MARK, 2301 2426 }; 2302 - 2303 2427 static const unsigned int hscif3_data_d_pins[] = { 2304 2428 /* RX, TX */ 2305 2429 RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8), 2306 2430 }; 2307 - 2308 2431 static const unsigned int hscif3_data_d_mux[] = { 2309 2432 HRX3_D_MARK, HTX3_D_MARK, 2310 2433 }; 2311 - 2312 2434 /* - HSCIF4 ----------------------------------------------------------------- */ 2313 2435 static const unsigned int hscif4_data_a_pins[] = { 2314 2436 /* RX, TX */ 2315 2437 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), 2316 2438 }; 2317 - 2318 2439 static const unsigned int hscif4_data_a_mux[] = { 2319 2440 HRX4_A_MARK, HTX4_A_MARK, 2320 2441 }; 2321 - 2322 2442 static const unsigned int hscif4_clk_pins[] = { 2323 2443 /* SCK */ 2324 2444 RCAR_GP_PIN(1, 11), 2325 2445 }; 2326 - 2327 2446 static const unsigned int hscif4_clk_mux[] = { 2328 2447 HSCK4_MARK, 2329 2448 }; 2330 - 2331 2449 static const unsigned int hscif4_ctrl_pins[] = { 2332 2450 /* RTS, CTS */ 2333 2451 RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), 2334 2452 }; 2335 - 2336 2453 static const unsigned int hscif4_ctrl_mux[] = { 2337 2454 HRTS4_N_MARK, HCTS4_N_MARK, 2338 2455 }; ··· 2330 2469 /* RX, TX */ 2331 2470 RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), 2332 2471 }; 2333 - 2334 2472 static const unsigned int hscif4_data_b_mux[] = { 2335 2473 HRX4_B_MARK, HTX4_B_MARK, 2336 2474 }; ··· 2348 2488 /* SDA, SCL */ 2349 2489 RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10), 2350 2490 }; 2351 - 2352 2491 static const unsigned int i2c1_a_mux[] = { 2353 2492 SDA1_A_MARK, SCL1_A_MARK, 2354 2493 }; 2355 - 2356 2494 static const unsigned int i2c1_b_pins[] = { 2357 2495 /* SDA, SCL */ 2358 2496 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 23), 2359 2497 }; 2360 - 2361 2498 static const unsigned int i2c1_b_mux[] = { 2362 2499 SDA1_B_MARK, SCL1_B_MARK, 2363 2500 }; 2364 - 2365 2501 static const unsigned int i2c2_a_pins[] = { 2366 2502 /* SDA, SCL */ 2367 2503 RCAR_GP_PIN(5, 0), RCAR_GP_PIN(5, 4), 2368 2504 }; 2369 - 2370 2505 static const unsigned int i2c2_a_mux[] = { 2371 2506 SDA2_A_MARK, SCL2_A_MARK, 2372 2507 }; 2373 - 2374 2508 static const unsigned int i2c2_b_pins[] = { 2375 2509 /* SDA, SCL */ 2376 2510 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12), 2377 2511 }; 2378 - 2379 2512 static const unsigned int i2c2_b_mux[] = { 2380 2513 SDA2_B_MARK, SCL2_B_MARK, 2381 2514 }; ··· 2395 2542 /* SDA, SCL */ 2396 2543 RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11), 2397 2544 }; 2398 - 2399 2545 static const unsigned int i2c6_a_mux[] = { 2400 2546 SDA6_A_MARK, SCL6_A_MARK, 2401 2547 }; 2402 - 2403 2548 static const unsigned int i2c6_b_pins[] = { 2404 2549 /* SDA, SCL */ 2405 2550 RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25), 2406 2551 }; 2407 - 2408 2552 static const unsigned int i2c6_b_mux[] = { 2409 2553 SDA6_B_MARK, SCL6_B_MARK, 2410 2554 }; 2411 - 2412 2555 static const unsigned int i2c6_c_pins[] = { 2413 2556 /* SDA, SCL */ 2414 2557 RCAR_GP_PIN(0, 15), RCAR_GP_PIN(0, 14), 2415 2558 }; 2416 - 2417 2559 static const unsigned int i2c6_c_mux[] = { 2418 2560 SDA6_C_MARK, SCL6_C_MARK, 2419 2561 }; ··· 3112 3264 static const unsigned int msiof3_rxd_d_mux[] = { 3113 3265 MSIOF3_RXD_D_MARK, 3114 3266 }; 3267 + 3115 3268 static const unsigned int msiof3_clk_e_pins[] = { 3116 3269 /* SCK */ 3117 3270 RCAR_GP_PIN(2, 3), ··· 3255 3406 PWM6_B_MARK, 3256 3407 }; 3257 3408 3258 - /* - SATA --------------------------------------------------------------------*/ 3259 - static const unsigned int sata0_devslp_a_pins[] = { 3260 - /* DEVSLP */ 3261 - RCAR_GP_PIN(6, 16), 3262 - }; 3263 - 3264 - static const unsigned int sata0_devslp_a_mux[] = { 3265 - SATA_DEVSLP_A_MARK, 3266 - }; 3267 - 3268 - static const unsigned int sata0_devslp_b_pins[] = { 3269 - /* DEVSLP */ 3270 - RCAR_GP_PIN(4, 6), 3271 - }; 3272 - 3273 - static const unsigned int sata0_devslp_b_mux[] = { 3274 - SATA_DEVSLP_B_MARK, 3275 - }; 3276 - 3277 3409 /* - SCIF0 ------------------------------------------------------------------ */ 3278 3410 static const unsigned int scif0_data_pins[] = { 3279 3411 /* RX, TX */ ··· 3299 3469 static const unsigned int scif1_ctrl_mux[] = { 3300 3470 RTS1_N_MARK, CTS1_N_MARK, 3301 3471 }; 3472 + 3302 3473 static const unsigned int scif1_data_b_pins[] = { 3303 3474 /* RX, TX */ 3304 3475 RCAR_GP_PIN(5, 24), RCAR_GP_PIN(5, 25), ··· 3437 3606 static const unsigned int scif5_clk_a_mux[] = { 3438 3607 SCK5_A_MARK, 3439 3608 }; 3609 + 3440 3610 static const unsigned int scif5_data_b_pins[] = { 3441 3611 /* RX, TX */ 3442 3612 RCAR_GP_PIN(5, 12), RCAR_GP_PIN(5, 18), ··· 3452 3620 static const unsigned int scif5_clk_b_mux[] = { 3453 3621 SCK5_B_MARK, 3454 3622 }; 3623 + 3455 3624 /* - SCIF Clock ------------------------------------------------------------- */ 3456 3625 static const unsigned int scif_clk_a_pins[] = { 3457 3626 /* SCIF_CLK */ ··· 3474 3641 /* D0 */ 3475 3642 RCAR_GP_PIN(3, 2), 3476 3643 }; 3477 - 3478 3644 static const unsigned int sdhi0_data1_mux[] = { 3479 3645 SD0_DAT0_MARK, 3480 3646 }; 3481 - 3482 3647 static const unsigned int sdhi0_data4_pins[] = { 3483 3648 /* D[0:3] */ 3484 3649 RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), 3485 3650 RCAR_GP_PIN(3, 4), RCAR_GP_PIN(3, 5), 3486 3651 }; 3487 - 3488 3652 static const unsigned int sdhi0_data4_mux[] = { 3489 3653 SD0_DAT0_MARK, SD0_DAT1_MARK, 3490 3654 SD0_DAT2_MARK, SD0_DAT3_MARK, 3491 3655 }; 3492 - 3493 3656 static const unsigned int sdhi0_ctrl_pins[] = { 3494 3657 /* CLK, CMD */ 3495 3658 RCAR_GP_PIN(3, 0), RCAR_GP_PIN(3, 1), 3496 3659 }; 3497 - 3498 3660 static const unsigned int sdhi0_ctrl_mux[] = { 3499 3661 SD0_CLK_MARK, SD0_CMD_MARK, 3500 3662 }; 3501 - 3502 3663 static const unsigned int sdhi0_cd_pins[] = { 3503 3664 /* CD */ 3504 3665 RCAR_GP_PIN(3, 12), 3505 3666 }; 3506 - 3507 3667 static const unsigned int sdhi0_cd_mux[] = { 3508 3668 SD0_CD_MARK, 3509 3669 }; 3510 - 3511 3670 static const unsigned int sdhi0_wp_pins[] = { 3512 3671 /* WP */ 3513 3672 RCAR_GP_PIN(3, 13), 3514 3673 }; 3515 - 3516 3674 static const unsigned int sdhi0_wp_mux[] = { 3517 3675 SD0_WP_MARK, 3518 3676 }; 3519 - 3520 3677 /* - SDHI1 ------------------------------------------------------------------ */ 3521 3678 static const unsigned int sdhi1_data1_pins[] = { 3522 3679 /* D0 */ 3523 3680 RCAR_GP_PIN(3, 8), 3524 3681 }; 3525 - 3526 3682 static const unsigned int sdhi1_data1_mux[] = { 3527 3683 SD1_DAT0_MARK, 3528 3684 }; 3529 - 3530 3685 static const unsigned int sdhi1_data4_pins[] = { 3531 3686 /* D[0:3] */ 3532 3687 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 3533 3688 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 3534 3689 }; 3535 - 3536 3690 static const unsigned int sdhi1_data4_mux[] = { 3537 3691 SD1_DAT0_MARK, SD1_DAT1_MARK, 3538 3692 SD1_DAT2_MARK, SD1_DAT3_MARK, 3539 3693 }; 3540 - 3541 3694 static const unsigned int sdhi1_ctrl_pins[] = { 3542 3695 /* CLK, CMD */ 3543 3696 RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 3544 3697 }; 3545 - 3546 3698 static const unsigned int sdhi1_ctrl_mux[] = { 3547 3699 SD1_CLK_MARK, SD1_CMD_MARK, 3548 3700 }; 3549 - 3550 3701 static const unsigned int sdhi1_cd_pins[] = { 3551 3702 /* CD */ 3552 3703 RCAR_GP_PIN(3, 14), 3553 3704 }; 3554 - 3555 3705 static const unsigned int sdhi1_cd_mux[] = { 3556 3706 SD1_CD_MARK, 3557 3707 }; 3558 - 3559 3708 static const unsigned int sdhi1_wp_pins[] = { 3560 3709 /* WP */ 3561 3710 RCAR_GP_PIN(3, 15), 3562 3711 }; 3563 - 3564 3712 static const unsigned int sdhi1_wp_mux[] = { 3565 3713 SD1_WP_MARK, 3566 3714 }; 3567 - 3568 3715 /* - SDHI2 ------------------------------------------------------------------ */ 3569 3716 static const unsigned int sdhi2_data1_pins[] = { 3570 3717 /* D0 */ 3571 3718 RCAR_GP_PIN(4, 2), 3572 3719 }; 3573 - 3574 3720 static const unsigned int sdhi2_data1_mux[] = { 3575 3721 SD2_DAT0_MARK, 3576 3722 }; 3577 - 3578 3723 static const unsigned int sdhi2_data4_pins[] = { 3579 3724 /* D[0:3] */ 3580 3725 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3), 3581 3726 RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 3582 3727 }; 3583 - 3584 3728 static const unsigned int sdhi2_data4_mux[] = { 3585 3729 SD2_DAT0_MARK, SD2_DAT1_MARK, 3586 3730 SD2_DAT2_MARK, SD2_DAT3_MARK, 3587 3731 }; 3588 - 3589 3732 static const unsigned int sdhi2_data8_pins[] = { 3590 3733 /* D[0:7] */ 3591 3734 RCAR_GP_PIN(4, 2), RCAR_GP_PIN(4, 3), ··· 3569 3760 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 3570 3761 RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 3571 3762 }; 3572 - 3573 3763 static const unsigned int sdhi2_data8_mux[] = { 3574 3764 SD2_DAT0_MARK, SD2_DAT1_MARK, 3575 3765 SD2_DAT2_MARK, SD2_DAT3_MARK, 3576 3766 SD2_DAT4_MARK, SD2_DAT5_MARK, 3577 3767 SD2_DAT6_MARK, SD2_DAT7_MARK, 3578 3768 }; 3579 - 3580 3769 static const unsigned int sdhi2_ctrl_pins[] = { 3581 3770 /* CLK, CMD */ 3582 3771 RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1), 3583 3772 }; 3584 - 3585 3773 static const unsigned int sdhi2_ctrl_mux[] = { 3586 3774 SD2_CLK_MARK, SD2_CMD_MARK, 3587 3775 }; 3588 - 3589 3776 static const unsigned int sdhi2_cd_a_pins[] = { 3590 3777 /* CD */ 3591 3778 RCAR_GP_PIN(4, 13), 3592 3779 }; 3593 - 3594 3780 static const unsigned int sdhi2_cd_a_mux[] = { 3595 3781 SD2_CD_A_MARK, 3596 3782 }; 3597 - 3598 3783 static const unsigned int sdhi2_cd_b_pins[] = { 3599 3784 /* CD */ 3600 3785 RCAR_GP_PIN(5, 10), 3601 3786 }; 3602 - 3603 3787 static const unsigned int sdhi2_cd_b_mux[] = { 3604 3788 SD2_CD_B_MARK, 3605 3789 }; 3606 - 3607 3790 static const unsigned int sdhi2_wp_a_pins[] = { 3608 3791 /* WP */ 3609 3792 RCAR_GP_PIN(4, 14), 3610 3793 }; 3611 - 3612 3794 static const unsigned int sdhi2_wp_a_mux[] = { 3613 3795 SD2_WP_A_MARK, 3614 3796 }; 3615 - 3616 3797 static const unsigned int sdhi2_wp_b_pins[] = { 3617 3798 /* WP */ 3618 3799 RCAR_GP_PIN(5, 11), 3619 3800 }; 3620 - 3621 3801 static const unsigned int sdhi2_wp_b_mux[] = { 3622 3802 SD2_WP_B_MARK, 3623 3803 }; 3624 - 3625 3804 static const unsigned int sdhi2_ds_pins[] = { 3626 3805 /* DS */ 3627 3806 RCAR_GP_PIN(4, 6), 3628 3807 }; 3629 - 3630 3808 static const unsigned int sdhi2_ds_mux[] = { 3631 3809 SD2_DS_MARK, 3632 3810 }; 3633 - 3634 3811 /* - SDHI3 ------------------------------------------------------------------ */ 3635 3812 static const unsigned int sdhi3_data1_pins[] = { 3636 3813 /* D0 */ 3637 3814 RCAR_GP_PIN(4, 9), 3638 3815 }; 3639 - 3640 3816 static const unsigned int sdhi3_data1_mux[] = { 3641 3817 SD3_DAT0_MARK, 3642 3818 }; 3643 - 3644 3819 static const unsigned int sdhi3_data4_pins[] = { 3645 3820 /* D[0:3] */ 3646 3821 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10), 3647 3822 RCAR_GP_PIN(4, 11), RCAR_GP_PIN(4, 12), 3648 3823 }; 3649 - 3650 3824 static const unsigned int sdhi3_data4_mux[] = { 3651 3825 SD3_DAT0_MARK, SD3_DAT1_MARK, 3652 3826 SD3_DAT2_MARK, SD3_DAT3_MARK, 3653 3827 }; 3654 - 3655 3828 static const unsigned int sdhi3_data8_pins[] = { 3656 3829 /* D[0:7] */ 3657 3830 RCAR_GP_PIN(4, 9), RCAR_GP_PIN(4, 10), ··· 3641 3850 RCAR_GP_PIN(4, 13), RCAR_GP_PIN(4, 14), 3642 3851 RCAR_GP_PIN(4, 15), RCAR_GP_PIN(4, 16), 3643 3852 }; 3644 - 3645 3853 static const unsigned int sdhi3_data8_mux[] = { 3646 3854 SD3_DAT0_MARK, SD3_DAT1_MARK, 3647 3855 SD3_DAT2_MARK, SD3_DAT3_MARK, 3648 3856 SD3_DAT4_MARK, SD3_DAT5_MARK, 3649 3857 SD3_DAT6_MARK, SD3_DAT7_MARK, 3650 3858 }; 3651 - 3652 3859 static const unsigned int sdhi3_ctrl_pins[] = { 3653 3860 /* CLK, CMD */ 3654 3861 RCAR_GP_PIN(4, 7), RCAR_GP_PIN(4, 8), 3655 3862 }; 3656 - 3657 3863 static const unsigned int sdhi3_ctrl_mux[] = { 3658 3864 SD3_CLK_MARK, SD3_CMD_MARK, 3659 3865 }; 3660 - 3661 3866 static const unsigned int sdhi3_cd_pins[] = { 3662 3867 /* CD */ 3663 3868 RCAR_GP_PIN(4, 15), 3664 3869 }; 3665 - 3666 3870 static const unsigned int sdhi3_cd_mux[] = { 3667 3871 SD3_CD_MARK, 3668 3872 }; 3669 - 3670 3873 static const unsigned int sdhi3_wp_pins[] = { 3671 3874 /* WP */ 3672 3875 RCAR_GP_PIN(4, 16), 3673 3876 }; 3674 - 3675 3877 static const unsigned int sdhi3_wp_mux[] = { 3676 3878 SD3_WP_MARK, 3677 3879 }; 3678 - 3679 3880 static const unsigned int sdhi3_ds_pins[] = { 3680 3881 /* DS */ 3681 3882 RCAR_GP_PIN(4, 17), 3682 3883 }; 3683 - 3684 3884 static const unsigned int sdhi3_ds_mux[] = { 3685 3885 SD3_DS_MARK, 3686 3886 }; ··· 3858 4076 /* TCLK */ 3859 4077 RCAR_GP_PIN(6, 23), 3860 4078 }; 3861 - 3862 4079 static const unsigned int tmu_tclk1_a_mux[] = { 3863 4080 TCLK1_A_MARK, 3864 4081 }; 3865 - 3866 4082 static const unsigned int tmu_tclk1_b_pins[] = { 3867 4083 /* TCLK */ 3868 4084 RCAR_GP_PIN(5, 19), 3869 4085 }; 3870 - 3871 4086 static const unsigned int tmu_tclk1_b_mux[] = { 3872 4087 TCLK1_B_MARK, 3873 4088 }; 3874 - 3875 4089 static const unsigned int tmu_tclk2_a_pins[] = { 3876 4090 /* TCLK */ 3877 4091 RCAR_GP_PIN(6, 19), 3878 4092 }; 3879 - 3880 4093 static const unsigned int tmu_tclk2_a_mux[] = { 3881 4094 TCLK2_A_MARK, 3882 4095 }; 3883 - 3884 4096 static const unsigned int tmu_tclk2_b_pins[] = { 3885 4097 /* TCLK */ 3886 4098 RCAR_GP_PIN(6, 28), 3887 4099 }; 3888 - 3889 4100 static const unsigned int tmu_tclk2_b_mux[] = { 3890 4101 TCLK2_B_MARK, 3891 4102 }; ··· 3918 4143 /* PWEN, OVC */ 3919 4144 RCAR_GP_PIN(6, 24), RCAR_GP_PIN(6, 25), 3920 4145 }; 3921 - 3922 4146 static const unsigned int usb0_mux[] = { 3923 4147 USB0_PWEN_MARK, USB0_OVC_MARK, 3924 4148 }; 3925 - 3926 4149 /* - USB1 ------------------------------------------------------------------- */ 3927 4150 static const unsigned int usb1_pins[] = { 3928 4151 /* PWEN, OVC */ 3929 4152 RCAR_GP_PIN(6, 26), RCAR_GP_PIN(6, 27), 3930 4153 }; 3931 - 3932 4154 static const unsigned int usb1_mux[] = { 3933 4155 USB1_PWEN_MARK, USB1_OVC_MARK, 3934 4156 }; ··· 3935 4163 /* PWEN, OVC */ 3936 4164 RCAR_GP_PIN(6, 28), RCAR_GP_PIN(6, 29), 3937 4165 }; 3938 - 3939 4166 static const unsigned int usb30_mux[] = { 3940 4167 USB30_PWEN_MARK, USB30_OVC_MARK, 3941 4168 }; ··· 3944 4173 RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 3945 4174 RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 3946 4175 RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 3947 - RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 3948 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 3949 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 3950 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 3951 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 3952 - RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4176 + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 4177 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4178 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4179 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 4180 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 4181 + RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 3953 4182 }; 3954 - 3955 4183 static const unsigned int vin4_data18_a_mux[] = { 3956 4184 VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 3957 4185 VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 3958 4186 VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 3959 - VI4_DATA10_MARK, VI4_DATA11_MARK, 3960 - VI4_DATA12_MARK, VI4_DATA13_MARK, 3961 - VI4_DATA14_MARK, VI4_DATA15_MARK, 3962 - VI4_DATA18_MARK, VI4_DATA19_MARK, 3963 - VI4_DATA20_MARK, VI4_DATA21_MARK, 3964 - VI4_DATA22_MARK, VI4_DATA23_MARK, 4187 + VI4_DATA10_MARK, VI4_DATA11_MARK, 4188 + VI4_DATA12_MARK, VI4_DATA13_MARK, 4189 + VI4_DATA14_MARK, VI4_DATA15_MARK, 4190 + VI4_DATA18_MARK, VI4_DATA19_MARK, 4191 + VI4_DATA20_MARK, VI4_DATA21_MARK, 4192 + VI4_DATA22_MARK, VI4_DATA23_MARK, 3965 4193 }; 3966 - 3967 - static const union vin_data vin4_data_a_pins = { 3968 - .data24 = { 3969 - RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), 3970 - RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 3971 - RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 3972 - RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 3973 - RCAR_GP_PIN(1, 0), RCAR_GP_PIN(1, 1), 3974 - RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 3975 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 3976 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 3977 - RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 3978 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 3979 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 3980 - RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 3981 - }, 3982 - }; 3983 - 3984 - static const union vin_data vin4_data_a_mux = { 3985 - .data24 = { 3986 - VI4_DATA0_A_MARK, VI4_DATA1_A_MARK, 3987 - VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 3988 - VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 3989 - VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 3990 - VI4_DATA8_MARK, VI4_DATA9_MARK, 3991 - VI4_DATA10_MARK, VI4_DATA11_MARK, 3992 - VI4_DATA12_MARK, VI4_DATA13_MARK, 3993 - VI4_DATA14_MARK, VI4_DATA15_MARK, 3994 - VI4_DATA16_MARK, VI4_DATA17_MARK, 3995 - VI4_DATA18_MARK, VI4_DATA19_MARK, 3996 - VI4_DATA20_MARK, VI4_DATA21_MARK, 3997 - VI4_DATA22_MARK, VI4_DATA23_MARK, 3998 - }, 3999 - }; 4000 - 4001 4194 static const unsigned int vin4_data18_b_pins[] = { 4002 4195 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), 4003 4196 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5), ··· 3973 4238 RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 3974 4239 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 3975 4240 }; 3976 - 3977 4241 static const unsigned int vin4_data18_b_mux[] = { 3978 4242 VI4_DATA2_B_MARK, VI4_DATA3_B_MARK, 3979 4243 VI4_DATA4_B_MARK, VI4_DATA5_B_MARK, 3980 4244 VI4_DATA6_B_MARK, VI4_DATA7_B_MARK, 3981 - VI4_DATA10_MARK, VI4_DATA11_MARK, 3982 - VI4_DATA12_MARK, VI4_DATA13_MARK, 3983 - VI4_DATA14_MARK, VI4_DATA15_MARK, 3984 - VI4_DATA18_MARK, VI4_DATA19_MARK, 3985 - VI4_DATA20_MARK, VI4_DATA21_MARK, 3986 - VI4_DATA22_MARK, VI4_DATA23_MARK, 4245 + VI4_DATA10_MARK, VI4_DATA11_MARK, 4246 + VI4_DATA12_MARK, VI4_DATA13_MARK, 4247 + VI4_DATA14_MARK, VI4_DATA15_MARK, 4248 + VI4_DATA18_MARK, VI4_DATA19_MARK, 4249 + VI4_DATA20_MARK, VI4_DATA21_MARK, 4250 + VI4_DATA22_MARK, VI4_DATA23_MARK, 3987 4251 }; 3988 - 4252 + static const union vin_data vin4_data_a_pins = { 4253 + .data24 = { 4254 + RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 9), 4255 + RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11), 4256 + RCAR_GP_PIN(0, 12), RCAR_GP_PIN(0, 13), 4257 + RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15), 4258 + RCAR_GP_PIN(1, 0), RCAR_GP_PIN(1, 1), 4259 + RCAR_GP_PIN(1, 2), RCAR_GP_PIN(1, 3), 4260 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4261 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4262 + RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 4263 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 4264 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 4265 + RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4266 + }, 4267 + }; 4268 + static const union vin_data vin4_data_a_mux = { 4269 + .data24 = { 4270 + VI4_DATA0_A_MARK, VI4_DATA1_A_MARK, 4271 + VI4_DATA2_A_MARK, VI4_DATA3_A_MARK, 4272 + VI4_DATA4_A_MARK, VI4_DATA5_A_MARK, 4273 + VI4_DATA6_A_MARK, VI4_DATA7_A_MARK, 4274 + VI4_DATA8_MARK, VI4_DATA9_MARK, 4275 + VI4_DATA10_MARK, VI4_DATA11_MARK, 4276 + VI4_DATA12_MARK, VI4_DATA13_MARK, 4277 + VI4_DATA14_MARK, VI4_DATA15_MARK, 4278 + VI4_DATA16_MARK, VI4_DATA17_MARK, 4279 + VI4_DATA18_MARK, VI4_DATA19_MARK, 4280 + VI4_DATA20_MARK, VI4_DATA21_MARK, 4281 + VI4_DATA22_MARK, VI4_DATA23_MARK, 4282 + }, 4283 + }; 3989 4284 static const union vin_data vin4_data_b_pins = { 3990 4285 .data24 = { 3991 4286 RCAR_GP_PIN(2, 0), RCAR_GP_PIN(2, 1), ··· 4032 4267 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4033 4268 }, 4034 4269 }; 4035 - 4036 4270 static const union vin_data vin4_data_b_mux = { 4037 4271 .data24 = { 4038 4272 VI4_DATA0_B_MARK, VI4_DATA1_B_MARK, 4039 4273 VI4_DATA2_B_MARK, VI4_DATA3_B_MARK, 4040 4274 VI4_DATA4_B_MARK, VI4_DATA5_B_MARK, 4041 4275 VI4_DATA6_B_MARK, VI4_DATA7_B_MARK, 4042 - VI4_DATA8_MARK, VI4_DATA9_MARK, 4043 - VI4_DATA10_MARK, VI4_DATA11_MARK, 4044 - VI4_DATA12_MARK, VI4_DATA13_MARK, 4045 - VI4_DATA14_MARK, VI4_DATA15_MARK, 4046 - VI4_DATA16_MARK, VI4_DATA17_MARK, 4047 - VI4_DATA18_MARK, VI4_DATA19_MARK, 4048 - VI4_DATA20_MARK, VI4_DATA21_MARK, 4049 - VI4_DATA22_MARK, VI4_DATA23_MARK, 4276 + VI4_DATA8_MARK, VI4_DATA9_MARK, 4277 + VI4_DATA10_MARK, VI4_DATA11_MARK, 4278 + VI4_DATA12_MARK, VI4_DATA13_MARK, 4279 + VI4_DATA14_MARK, VI4_DATA15_MARK, 4280 + VI4_DATA16_MARK, VI4_DATA17_MARK, 4281 + VI4_DATA18_MARK, VI4_DATA19_MARK, 4282 + VI4_DATA20_MARK, VI4_DATA21_MARK, 4283 + VI4_DATA22_MARK, VI4_DATA23_MARK, 4050 4284 }, 4051 4285 }; 4052 - 4053 4286 static const unsigned int vin4_sync_pins[] = { 4054 - /* VSYNC_N, HSYNC_N */ 4055 - RCAR_GP_PIN(1, 17), RCAR_GP_PIN(1, 18), 4287 + /* HSYNC#, VSYNC# */ 4288 + RCAR_GP_PIN(1, 18), RCAR_GP_PIN(1, 17), 4056 4289 }; 4057 - 4058 4290 static const unsigned int vin4_sync_mux[] = { 4059 4291 VI4_HSYNC_N_MARK, VI4_VSYNC_N_MARK, 4060 4292 }; 4061 - 4062 4293 static const unsigned int vin4_field_pins[] = { 4294 + /* FIELD */ 4063 4295 RCAR_GP_PIN(1, 16), 4064 4296 }; 4065 - 4066 4297 static const unsigned int vin4_field_mux[] = { 4067 4298 VI4_FIELD_MARK, 4068 4299 }; 4069 - 4070 4300 static const unsigned int vin4_clkenb_pins[] = { 4301 + /* CLKENB */ 4071 4302 RCAR_GP_PIN(1, 19), 4072 4303 }; 4073 - 4074 4304 static const unsigned int vin4_clkenb_mux[] = { 4075 4305 VI4_CLKENB_MARK, 4076 4306 }; 4077 - 4078 4307 static const unsigned int vin4_clk_pins[] = { 4308 + /* CLK */ 4079 4309 RCAR_GP_PIN(1, 27), 4080 4310 }; 4081 - 4082 4311 static const unsigned int vin4_clk_mux[] = { 4083 4312 VI4_CLK_MARK, 4084 4313 }; ··· 4086 4327 RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 4087 4328 RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13), 4088 4329 RCAR_GP_PIN(1, 14), RCAR_GP_PIN(1, 15), 4089 - RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4090 - RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4330 + RCAR_GP_PIN(1, 4), RCAR_GP_PIN(1, 5), 4331 + RCAR_GP_PIN(1, 6), RCAR_GP_PIN(1, 7), 4091 4332 }, 4092 4333 }; 4093 - 4094 4334 static const union vin_data16 vin5_data_mux = { 4095 4335 .data16 = { 4096 4336 VI5_DATA0_MARK, VI5_DATA1_MARK, ··· 4102 4344 VI5_DATA14_MARK, VI5_DATA15_MARK, 4103 4345 }, 4104 4346 }; 4105 - 4106 4347 static const unsigned int vin5_sync_pins[] = { 4107 - /* VSYNC_N, HSYNC_N */ 4108 - RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 10), 4348 + /* HSYNC#, VSYNC# */ 4349 + RCAR_GP_PIN(1, 10), RCAR_GP_PIN(1, 9), 4109 4350 }; 4110 - 4111 4351 static const unsigned int vin5_sync_mux[] = { 4112 4352 VI5_HSYNC_N_MARK, VI5_VSYNC_N_MARK, 4113 4353 }; 4114 - 4115 4354 static const unsigned int vin5_field_pins[] = { 4116 4355 RCAR_GP_PIN(1, 11), 4117 4356 }; 4118 - 4119 4357 static const unsigned int vin5_field_mux[] = { 4358 + /* FIELD */ 4120 4359 VI5_FIELD_MARK, 4121 4360 }; 4122 - 4123 4361 static const unsigned int vin5_clkenb_pins[] = { 4124 4362 RCAR_GP_PIN(1, 20), 4125 4363 }; 4126 - 4127 4364 static const unsigned int vin5_clkenb_mux[] = { 4365 + /* CLKENB */ 4128 4366 VI5_CLKENB_MARK, 4129 4367 }; 4130 - 4131 4368 static const unsigned int vin5_clk_pins[] = { 4132 4369 RCAR_GP_PIN(1, 21), 4133 4370 }; 4134 - 4135 4371 static const unsigned int vin5_clk_mux[] = { 4372 + /* CLK */ 4136 4373 VI5_CLK_MARK, 4137 4374 }; 4138 4375 4139 4376 static const struct { 4140 - struct sh_pfc_pin_group common[318]; 4377 + struct sh_pfc_pin_group common[316]; 4141 4378 struct sh_pfc_pin_group automotive[30]; 4142 4379 } pinmux_groups = { 4143 4380 .common = { ··· 4156 4403 SH_PFC_PIN_GROUP(avb_link), 4157 4404 SH_PFC_PIN_GROUP(avb_magic), 4158 4405 SH_PFC_PIN_GROUP(avb_phy_int), 4159 - SH_PFC_PIN_GROUP_ALIAS(avb_mdc, avb_mdio), /* Deprecated */ 4406 + SH_PFC_PIN_GROUP_ALIAS(avb_mdc, avb_mdio), /* Deprecated */ 4160 4407 SH_PFC_PIN_GROUP(avb_mdio), 4161 4408 SH_PFC_PIN_GROUP(avb_mii), 4162 4409 SH_PFC_PIN_GROUP(avb_avtp_pps), ··· 4335 4582 SH_PFC_PIN_GROUP(pwm5_b), 4336 4583 SH_PFC_PIN_GROUP(pwm6_a), 4337 4584 SH_PFC_PIN_GROUP(pwm6_b), 4338 - SH_PFC_PIN_GROUP(sata0_devslp_a), 4339 - SH_PFC_PIN_GROUP(sata0_devslp_b), 4340 4585 SH_PFC_PIN_GROUP(scif0_data), 4341 4586 SH_PFC_PIN_GROUP(scif0_clk), 4342 4587 SH_PFC_PIN_GROUP(scif0_ctrl), ··· 4821 5070 "pwm6_b", 4822 5071 }; 4823 5072 4824 - static const char * const sata0_groups[] = { 4825 - "sata0_devslp_a", 4826 - "sata0_devslp_b", 4827 - }; 4828 - 4829 5073 static const char * const scif0_groups[] = { 4830 5074 "scif0_data", 4831 5075 "scif0_clk", ··· 4833 5087 "scif1_ctrl", 4834 5088 "scif1_data_b", 4835 5089 }; 5090 + 4836 5091 static const char * const scif2_groups[] = { 4837 5092 "scif2_data_a", 4838 5093 "scif2_clk", ··· 4996 5249 }; 4997 5250 4998 5251 static const struct { 4999 - struct sh_pfc_function common[51]; 5252 + struct sh_pfc_function common[50]; 5000 5253 struct sh_pfc_function automotive[4]; 5001 5254 } pinmux_functions = { 5002 5255 .common = { ··· 5031 5284 SH_PFC_FUNCTION(pwm4), 5032 5285 SH_PFC_FUNCTION(pwm5), 5033 5286 SH_PFC_FUNCTION(pwm6), 5034 - SH_PFC_FUNCTION(sata0), 5035 5287 SH_PFC_FUNCTION(scif0), 5036 5288 SH_PFC_FUNCTION(scif1), 5037 5289 SH_PFC_FUNCTION(scif2), ··· 5744 5998 { PIN_DU_DOTCLKIN1, 0, 2 }, /* DU_DOTCLKIN1 */ 5745 5999 } }, 5746 6000 { PINMUX_DRIVE_REG("DRVCTRL12", 0xe6060330) { 5747 - { PIN_DU_DOTCLKIN3, 24, 2 }, /* DU_DOTCLKIN3 */ 6001 + { PIN_DU_DOTCLKIN2, 28, 2 }, /* DU_DOTCLKIN2 */ 5748 6002 { PIN_FSCLKST, 20, 2 }, /* FSCLKST */ 5749 6003 { PIN_TMS, 4, 2 }, /* TMS */ 5750 6004 } }, ··· 5881 6135 { /* sentinel */ }, 5882 6136 }; 5883 6137 5884 - static int r8a77965_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) 6138 + static int r8a7796_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, u32 *pocctrl) 5885 6139 { 5886 6140 int bit = -EINVAL; 5887 6141 ··· 6000 6254 [31] = PIN_DU_DOTCLKIN1, /* DU_DOTCLKIN1 */ 6001 6255 } }, 6002 6256 { PINMUX_BIAS_REG("PUEN3", 0xe606040c, "PUD3", 0xe606044c) { 6003 - [ 0] = SH_PFC_PIN_NONE, 6004 - [ 1] = PIN_DU_DOTCLKIN3, /* DU_DOTCLKIN3 */ 6257 + [ 0] = PIN_DU_DOTCLKIN2, /* DU_DOTCLKIN2 */ 6258 + [ 1] = SH_PFC_PIN_NONE, 6005 6259 [ 2] = PIN_FSCLKST, /* FSCLKST */ 6006 6260 [ 3] = PIN_EXTALR, /* EXTALR*/ 6007 6261 [ 4] = PIN_TRST_N, /* TRST# */ ··· 6138 6392 { /* sentinel */ }, 6139 6393 }; 6140 6394 6141 - static unsigned int r8a77965_pinmux_get_bias(struct sh_pfc *pfc, 6395 + static unsigned int r8a7796_pinmux_get_bias(struct sh_pfc *pfc, 6142 6396 unsigned int pin) 6143 6397 { 6144 6398 const struct pinmux_bias_reg *reg; ··· 6156 6410 return PIN_CONFIG_BIAS_PULL_DOWN; 6157 6411 } 6158 6412 6159 - static void r8a77965_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 6413 + static void r8a7796_pinmux_set_bias(struct sh_pfc *pfc, unsigned int pin, 6160 6414 unsigned int bias) 6161 6415 { 6162 6416 const struct pinmux_bias_reg *reg; ··· 6179 6433 sh_pfc_write(pfc, reg->puen, enable); 6180 6434 } 6181 6435 6182 - static const struct sh_pfc_soc_operations r8a77965_pinmux_ops = { 6183 - .pin_to_pocctrl = r8a77965_pin_to_pocctrl, 6184 - .get_bias = r8a77965_pinmux_get_bias, 6185 - .set_bias = r8a77965_pinmux_set_bias, 6436 + static const struct sh_pfc_soc_operations r8a7796_pinmux_ops = { 6437 + .pin_to_pocctrl = r8a7796_pin_to_pocctrl, 6438 + .get_bias = r8a7796_pinmux_get_bias, 6439 + .set_bias = r8a7796_pinmux_set_bias, 6186 6440 }; 6187 6441 6188 - #ifdef CONFIG_PINCTRL_PFC_R8A774B1 6189 - const struct sh_pfc_soc_info r8a774b1_pinmux_info = { 6190 - .name = "r8a774b1_pfc", 6191 - .ops = &r8a77965_pinmux_ops, 6442 + #ifdef CONFIG_PINCTRL_PFC_R8A774A1 6443 + const struct sh_pfc_soc_info r8a774a1_pinmux_info = { 6444 + .name = "r8a774a1_pfc", 6445 + .ops = &r8a7796_pinmux_ops, 6192 6446 .unlock_reg = 0xe6060000, /* PMMR */ 6193 6447 6194 6448 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, ··· 6210 6464 }; 6211 6465 #endif 6212 6466 6213 - #ifdef CONFIG_PINCTRL_PFC_R8A77965 6214 - const struct sh_pfc_soc_info r8a77965_pinmux_info = { 6215 - .name = "r8a77965_pfc", 6216 - .ops = &r8a77965_pinmux_ops, 6467 + #ifdef CONFIG_PINCTRL_PFC_R8A77960 6468 + const struct sh_pfc_soc_info r8a77960_pinmux_info = { 6469 + .name = "r8a77960_pfc", 6470 + .ops = &r8a7796_pinmux_ops, 6471 + .unlock_reg = 0xe6060000, /* PMMR */ 6472 + 6473 + .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END }, 6474 + 6475 + .pins = pinmux_pins, 6476 + .nr_pins = ARRAY_SIZE(pinmux_pins), 6477 + .groups = pinmux_groups.common, 6478 + .nr_groups = ARRAY_SIZE(pinmux_groups.common) + 6479 + ARRAY_SIZE(pinmux_groups.automotive), 6480 + .functions = pinmux_functions.common, 6481 + .nr_functions = ARRAY_SIZE(pinmux_functions.common) + 6482 + ARRAY_SIZE(pinmux_functions.automotive), 6483 + 6484 + .cfg_regs = pinmux_config_regs, 6485 + .drive_regs = pinmux_drive_regs, 6486 + .bias_regs = pinmux_bias_regs, 6487 + .ioctrl_regs = pinmux_ioctrl_regs, 6488 + 6489 + .pinmux_data = pinmux_data, 6490 + .pinmux_data_size = ARRAY_SIZE(pinmux_data), 6491 + }; 6492 + #endif 6493 + 6494 + #ifdef CONFIG_PINCTRL_PFC_R8A77961 6495 + const struct sh_pfc_soc_info r8a77961_pinmux_info = { 6496 + .name = "r8a77961_pfc", 6497 + .ops = &r8a7796_pinmux_ops, 6217 6498 .unlock_reg = 0xe6060000, /* PMMR */ 6218 6499 6219 6500 .function = { PINMUX_FUNCTION_BEGIN, PINMUX_FUNCTION_END },
+1093 -644
drivers/pinctrl/sh-pfc/pfc-r8a77970.c drivers/pinctrl/renesas/pfc-r8a77980.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * R8A77970 processor support - PFC hardware block. 3 + * R8A77980 processor support - PFC hardware block. 4 4 * 5 - * Copyright (C) 2016 Renesas Electronics Corp. 6 - * Copyright (C) 2017 Cogent Embedded, Inc. <source@cogentembedded.com> 5 + * Copyright (C) 2018 Renesas Electronics Corp. 6 + * Copyright (C) 2018 Cogent Embedded, Inc. 7 7 * 8 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7795.c 8 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c 9 9 * 10 10 * R-Car Gen3 processor support - PFC hardware block. 11 11 * 12 - * Copyright (C) 2015 Renesas Electronics Corporation 12 + * Copyright (C) 2015 Renesas Electronics Corporation 13 13 */ 14 14 15 15 #include <linux/errno.h> ··· 19 19 #include "core.h" 20 20 #include "sh_pfc.h" 21 21 22 - #define CPU_ALL_GP(fn, sfx) \ 23 - PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 24 - PORT_GP_28(1, fn, sfx), \ 25 - PORT_GP_CFG_17(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 26 - PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 27 - PORT_GP_6(4, fn, sfx), \ 22 + #define CPU_ALL_GP(fn, sfx) \ 23 + PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 24 + PORT_GP_28(1, fn, sfx), \ 25 + PORT_GP_CFG_30(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 26 + PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 27 + PORT_GP_25(4, fn, sfx), \ 28 28 PORT_GP_15(5, fn, sfx) 29 + 29 30 /* 30 31 * F_() : just information 31 32 * FM() : macro for FN_xxx / xxx_MARK ··· 57 56 #define GPSR0_0 F_(DU_DR2, IP0_3_0) 58 57 59 58 /* GPSR1 */ 60 - #define GPSR1_27 F_(DIGRF_CLKOUT, IP8_27_24) 61 - #define GPSR1_26 F_(DIGRF_CLKIN, IP8_23_20) 62 - #define GPSR1_25 F_(CANFD_CLK_A, IP8_19_16) 63 - #define GPSR1_24 F_(CANFD1_RX, IP8_15_12) 64 - #define GPSR1_23 F_(CANFD1_TX, IP8_11_8) 65 - #define GPSR1_22 F_(CANFD0_RX_A, IP8_7_4) 66 - #define GPSR1_21 F_(CANFD0_TX_A, IP8_3_0) 67 - #define GPSR1_20 F_(AVB0_AVTP_CAPTURE, IP7_31_28) 68 - #define GPSR1_19 FM(AVB0_AVTP_MATCH) 69 - #define GPSR1_18 FM(AVB0_LINK) 70 - #define GPSR1_17 FM(AVB0_PHY_INT) 71 - #define GPSR1_16 FM(AVB0_MAGIC) 72 - #define GPSR1_15 FM(AVB0_MDC) 73 - #define GPSR1_14 FM(AVB0_MDIO) 74 - #define GPSR1_13 FM(AVB0_TXCREFCLK) 75 - #define GPSR1_12 FM(AVB0_TD3) 76 - #define GPSR1_11 FM(AVB0_TD2) 77 - #define GPSR1_10 FM(AVB0_TD1) 78 - #define GPSR1_9 FM(AVB0_TD0) 79 - #define GPSR1_8 FM(AVB0_TXC) 80 - #define GPSR1_7 FM(AVB0_TX_CTL) 81 - #define GPSR1_6 FM(AVB0_RD3) 82 - #define GPSR1_5 FM(AVB0_RD2) 83 - #define GPSR1_4 FM(AVB0_RD1) 84 - #define GPSR1_3 FM(AVB0_RD0) 85 - #define GPSR1_2 FM(AVB0_RXC) 86 - #define GPSR1_1 FM(AVB0_RX_CTL) 59 + #define GPSR1_27 F_(DIGRF_CLKOUT, IP8_31_28) 60 + #define GPSR1_26 F_(DIGRF_CLKIN, IP8_27_24) 61 + #define GPSR1_25 F_(CANFD_CLK_A, IP8_23_20) 62 + #define GPSR1_24 F_(CANFD1_RX, IP8_19_16) 63 + #define GPSR1_23 F_(CANFD1_TX, IP8_15_12) 64 + #define GPSR1_22 F_(CANFD0_RX_A, IP8_11_8) 65 + #define GPSR1_21 F_(CANFD0_TX_A, IP8_7_4) 66 + #define GPSR1_20 F_(AVB_AVTP_CAPTURE, IP8_3_0) 67 + #define GPSR1_19 F_(AVB_AVTP_MATCH, IP7_31_28) 68 + #define GPSR1_18 FM(AVB_LINK) 69 + #define GPSR1_17 FM(AVB_PHY_INT) 70 + #define GPSR1_16 FM(AVB_MAGIC) 71 + #define GPSR1_15 FM(AVB_MDC) 72 + #define GPSR1_14 FM(AVB_MDIO) 73 + #define GPSR1_13 FM(AVB_TXCREFCLK) 74 + #define GPSR1_12 FM(AVB_TD3) 75 + #define GPSR1_11 FM(AVB_TD2) 76 + #define GPSR1_10 FM(AVB_TD1) 77 + #define GPSR1_9 FM(AVB_TD0) 78 + #define GPSR1_8 FM(AVB_TXC) 79 + #define GPSR1_7 FM(AVB_TX_CTL) 80 + #define GPSR1_6 FM(AVB_RD3) 81 + #define GPSR1_5 FM(AVB_RD2) 82 + #define GPSR1_4 FM(AVB_RD1) 83 + #define GPSR1_3 FM(AVB_RD0) 84 + #define GPSR1_2 FM(AVB_RXC) 85 + #define GPSR1_1 FM(AVB_RX_CTL) 87 86 #define GPSR1_0 F_(IRQ0, IP2_27_24) 88 87 89 88 /* GPSR2 */ 89 + #define GPSR2_29 F_(FSO_TOE_N, IP10_19_16) 90 + #define GPSR2_28 F_(FSO_CFE_1_N, IP10_15_12) 91 + #define GPSR2_27 F_(FSO_CFE_0_N, IP10_11_8) 92 + #define GPSR2_26 F_(SDA3, IP10_7_4) 93 + #define GPSR2_25 F_(SCL3, IP10_3_0) 94 + #define GPSR2_24 F_(MSIOF0_SS2, IP9_31_28) 95 + #define GPSR2_23 F_(MSIOF0_SS1, IP9_27_24) 96 + #define GPSR2_22 F_(MSIOF0_SYNC, IP9_23_20) 97 + #define GPSR2_21 F_(MSIOF0_SCK, IP9_19_16) 98 + #define GPSR2_20 F_(MSIOF0_TXD, IP9_15_12) 99 + #define GPSR2_19 F_(MSIOF0_RXD, IP9_11_8) 100 + #define GPSR2_18 F_(IRQ5, IP9_7_4) 101 + #define GPSR2_17 F_(IRQ4, IP9_3_0) 90 102 #define GPSR2_16 F_(VI0_FIELD, IP4_31_28) 91 103 #define GPSR2_15 F_(VI0_DATA11, IP4_27_24) 92 104 #define GPSR2_14 F_(VI0_DATA10, IP4_23_20) ··· 138 124 #define GPSR3_0 F_(VI1_CLK, IP5_3_0) 139 125 140 126 /* GPSR4 */ 127 + #define GPSR4_24 FM(GETHER_LINK_A) 128 + #define GPSR4_23 FM(GETHER_PHY_INT_A) 129 + #define GPSR4_22 FM(GETHER_MAGIC) 130 + #define GPSR4_21 FM(GETHER_MDC_A) 131 + #define GPSR4_20 FM(GETHER_MDIO_A) 132 + #define GPSR4_19 FM(GETHER_TXCREFCLK_MEGA) 133 + #define GPSR4_18 FM(GETHER_TXCREFCLK) 134 + #define GPSR4_17 FM(GETHER_TD3) 135 + #define GPSR4_16 FM(GETHER_TD2) 136 + #define GPSR4_15 FM(GETHER_TD1) 137 + #define GPSR4_14 FM(GETHER_TD0) 138 + #define GPSR4_13 FM(GETHER_TXC) 139 + #define GPSR4_12 FM(GETHER_TX_CTL) 140 + #define GPSR4_11 FM(GETHER_RD3) 141 + #define GPSR4_10 FM(GETHER_RD2) 142 + #define GPSR4_9 FM(GETHER_RD1) 143 + #define GPSR4_8 FM(GETHER_RD0) 144 + #define GPSR4_7 FM(GETHER_RXC) 145 + #define GPSR4_6 FM(GETHER_RX_CTL) 141 146 #define GPSR4_5 F_(SDA2, IP7_27_24) 142 147 #define GPSR4_4 F_(SCL2, IP7_23_20) 143 148 #define GPSR4_3 F_(SDA1, IP7_19_16) ··· 182 149 #define GPSR5_0 FM(QSPI0_SPCLK) 183 150 184 151 185 - /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */ 186 - #define IP0_3_0 FM(DU_DR2) FM(HSCK0) F_(0, 0) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 187 - #define IP0_7_4 FM(DU_DR3) FM(HRTS0_N) F_(0, 0) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 188 - #define IP0_11_8 FM(DU_DR4) FM(HCTS0_N) F_(0, 0) FM(A2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 189 - #define IP0_15_12 FM(DU_DR5) FM(HTX0) F_(0, 0) FM(A3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 190 - #define IP0_19_16 FM(DU_DR6) FM(MSIOF3_RXD) F_(0, 0) FM(A4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 191 - #define IP0_23_20 FM(DU_DR7) FM(MSIOF3_TXD) F_(0, 0) FM(A5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 192 - #define IP0_27_24 FM(DU_DG2) FM(MSIOF3_SS1) F_(0, 0) FM(A6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 193 - #define IP0_31_28 FM(DU_DG3) FM(MSIOF3_SS2) F_(0, 0) FM(A7) FM(PWMFSW0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 194 - #define IP1_3_0 FM(DU_DG4) F_(0, 0) F_(0, 0) FM(A8) FM(FSO_CFE_0_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 195 - #define IP1_7_4 FM(DU_DG5) F_(0, 0) F_(0, 0) FM(A9) FM(FSO_CFE_1_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 196 - #define IP1_11_8 FM(DU_DG6) F_(0, 0) F_(0, 0) FM(A10) FM(FSO_TOE_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 197 - #define IP1_15_12 FM(DU_DG7) F_(0, 0) F_(0, 0) FM(A11) FM(IRQ1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 198 - #define IP1_19_16 FM(DU_DB2) F_(0, 0) F_(0, 0) FM(A12) FM(IRQ2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 199 - #define IP1_23_20 FM(DU_DB3) F_(0, 0) F_(0, 0) FM(A13) FM(FXR_CLKOUT1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 200 - #define IP1_27_24 FM(DU_DB4) F_(0, 0) F_(0, 0) FM(A14) FM(FXR_CLKOUT2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 201 - #define IP1_31_28 FM(DU_DB5) F_(0, 0) F_(0, 0) FM(A15) FM(FXR_TXENA_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 202 - #define IP2_3_0 FM(DU_DB6) F_(0, 0) F_(0, 0) FM(A16) FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 203 - #define IP2_7_4 FM(DU_DB7) F_(0, 0) F_(0, 0) FM(A17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 204 - #define IP2_11_8 FM(DU_DOTCLKOUT) FM(SCIF_CLK_A) F_(0, 0) FM(A18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 205 - #define IP2_15_12 FM(DU_EXHSYNC_DU_HSYNC) FM(HRX0) F_(0, 0) FM(A19) FM(IRQ3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 206 - #define IP2_19_16 FM(DU_EXVSYNC_DU_VSYNC) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 207 - #define IP2_23_20 FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(MSIOF3_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 208 - #define IP2_27_24 FM(IRQ0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 209 - #define IP2_31_28 FM(VI0_CLK) FM(MSIOF2_SCK) FM(SCK3) F_(0, 0) FM(HSCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 210 - #define IP3_3_0 FM(VI0_CLKENB) FM(MSIOF2_RXD) FM(RX3) FM(RD_WR_N) FM(HCTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 211 - #define IP3_7_4 FM(VI0_HSYNC_N) FM(MSIOF2_TXD) FM(TX3) F_(0, 0) FM(HRTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 212 - #define IP3_11_8 FM(VI0_VSYNC_N) FM(MSIOF2_SYNC) FM(CTS3_N) F_(0, 0) FM(HTX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 213 - #define IP3_15_12 FM(VI0_DATA0) FM(MSIOF2_SS1) FM(RTS3_N) F_(0, 0) FM(HRX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 214 - #define IP3_19_16 FM(VI0_DATA1) FM(MSIOF2_SS2) FM(SCK1) F_(0, 0) FM(SPEEDIN_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 215 - #define IP3_23_20 FM(VI0_DATA2) FM(AVB0_AVTP_PPS) FM(SDA3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 216 - #define IP3_27_24 FM(VI0_DATA3) FM(HSCK1) FM(SCL3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 217 - #define IP3_31_28 FM(VI0_DATA4) FM(HRTS1_N) FM(RX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 218 - #define IP4_3_0 FM(VI0_DATA5) FM(HCTS1_N) FM(TX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 219 - #define IP4_7_4 FM(VI0_DATA6) FM(HTX1) FM(CTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 220 - #define IP4_11_8 FM(VI0_DATA7) FM(HRX1) FM(RTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 221 - #define IP4_15_12 FM(VI0_DATA8) FM(HSCK2) FM(PWM0_A) FM(A22) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 222 - #define IP4_19_16 FM(VI0_DATA9) FM(HCTS2_N) FM(PWM1_A) FM(A23) FM(FSO_CFE_0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 223 - #define IP4_23_20 FM(VI0_DATA10) FM(HRTS2_N) FM(PWM2_A) FM(A24) FM(FSO_CFE_1_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 224 - #define IP4_27_24 FM(VI0_DATA11) FM(HTX2) FM(PWM3_A) FM(A25) FM(FSO_TOE_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 225 - #define IP4_31_28 FM(VI0_FIELD) FM(HRX2) FM(PWM4_A) FM(CS1_N) FM(FSCLKST2_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 226 - #define IP5_3_0 FM(VI1_CLK) FM(MSIOF1_RXD) F_(0, 0) FM(CS0_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 227 - #define IP5_7_4 FM(VI1_CLKENB) FM(MSIOF1_TXD) F_(0, 0) FM(D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 228 - #define IP5_11_8 FM(VI1_HSYNC_N) FM(MSIOF1_SCK) F_(0, 0) FM(D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 229 - #define IP5_15_12 FM(VI1_VSYNC_N) FM(MSIOF1_SYNC) F_(0, 0) FM(D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 230 - #define IP5_19_16 FM(VI1_DATA0) FM(MSIOF1_SS1) F_(0, 0) FM(D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 231 - #define IP5_23_20 FM(VI1_DATA1) FM(MSIOF1_SS2) F_(0, 0) FM(D4) FM(MMC_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 232 - #define IP5_27_24 FM(VI1_DATA2) FM(CANFD0_TX_B) F_(0, 0) FM(D5) FM(MMC_D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 233 - #define IP5_31_28 FM(VI1_DATA3) FM(CANFD0_RX_B) F_(0, 0) FM(D6) FM(MMC_D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 234 - #define IP6_3_0 FM(VI1_DATA4) FM(CANFD_CLK_B) F_(0, 0) FM(D7) FM(MMC_D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 235 - #define IP6_7_4 FM(VI1_DATA5) F_(0, 0) FM(SCK4) FM(D8) FM(MMC_D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 236 - #define IP6_11_8 FM(VI1_DATA6) F_(0, 0) FM(RX4) FM(D9) FM(MMC_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 237 - #define IP6_15_12 FM(VI1_DATA7) F_(0, 0) FM(TX4) FM(D10) FM(MMC_D4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 238 - #define IP6_19_16 FM(VI1_DATA8) F_(0, 0) FM(CTS4_N) FM(D11) FM(MMC_D5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 239 - #define IP6_23_20 FM(VI1_DATA9) F_(0, 0) FM(RTS4_N) FM(D12) FM(MMC_D6) FM(SCL3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 240 - #define IP6_27_24 FM(VI1_DATA10) F_(0, 0) F_(0, 0) FM(D13) FM(MMC_D7) FM(SDA3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 241 - #define IP6_31_28 FM(VI1_DATA11) FM(SCL4) FM(IRQ4) FM(D14) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 242 - #define IP7_3_0 FM(VI1_FIELD) FM(SDA4) FM(IRQ5) FM(D15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 243 - #define IP7_7_4 FM(SCL0) FM(DU_DR0) FM(TPU0TO0) FM(CLKOUT) F_(0, 0) FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 244 - #define IP7_11_8 FM(SDA0) FM(DU_DR1) FM(TPU0TO1) FM(BS_N) FM(SCK0) FM(MSIOF0_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 245 - #define IP7_15_12 FM(SCL1) FM(DU_DG0) FM(TPU0TO2) FM(RD_N) FM(CTS0_N) FM(MSIOF0_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 246 - #define IP7_19_16 FM(SDA1) FM(DU_DG1) FM(TPU0TO3) FM(WE0_N) FM(RTS0_N) FM(MSIOF0_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 247 - #define IP7_23_20 FM(SCL2) FM(DU_DB0) FM(TCLK1_A) FM(WE1_N) FM(RX0) FM(MSIOF0_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 248 - #define IP7_27_24 FM(SDA2) FM(DU_DB1) FM(TCLK2_A) FM(EX_WAIT0) FM(TX0) FM(MSIOF0_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 249 - #define IP7_31_28 FM(AVB0_AVTP_CAPTURE) F_(0, 0) F_(0, 0) F_(0, 0) FM(FSCLKST2_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 250 - #define IP8_3_0 FM(CANFD0_TX_A) FM(FXR_TXDA) FM(PWM0_B) FM(DU_DISP) FM(FSCLKST2_N_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 251 - #define IP8_7_4 FM(CANFD0_RX_A) FM(RXDA_EXTFXR) FM(PWM1_B) FM(DU_CDE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 252 - #define IP8_11_8 FM(CANFD1_TX) FM(FXR_TXDB) FM(PWM2_B) FM(TCLK1_B) FM(TX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 253 - #define IP8_15_12 FM(CANFD1_RX) FM(RXDB_EXTFXR) FM(PWM3_B) FM(TCLK2_B) FM(RX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 254 - #define IP8_19_16 FM(CANFD_CLK_A) FM(CLK_EXTFXR) FM(PWM4_B) FM(SPEEDIN_B) FM(SCIF_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 255 - #define IP8_23_20 FM(DIGRF_CLKIN) FM(DIGRF_CLKEN_IN) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 256 - #define IP8_27_24 FM(DIGRF_CLKOUT) FM(DIGRF_CLKEN_OUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 257 - #define IP8_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 152 + /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */ 153 + #define IP0_3_0 FM(DU_DR2) FM(SCK4) FM(GETHER_RMII_CRS_DV) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 154 + #define IP0_7_4 FM(DU_DR3) FM(RX4) FM(GETHER_RMII_RX_ER) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 155 + #define IP0_11_8 FM(DU_DR4) FM(TX4) FM(GETHER_RMII_RXD0) FM(A2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 156 + #define IP0_15_12 FM(DU_DR5) FM(CTS4_N) FM(GETHER_RMII_RXD1) FM(A3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 157 + #define IP0_19_16 FM(DU_DR6) FM(RTS4_N) FM(GETHER_RMII_TXD_EN) FM(A4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 158 + #define IP0_23_20 FM(DU_DR7) F_(0, 0) FM(GETHER_RMII_TXD0) FM(A5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 159 + #define IP0_27_24 FM(DU_DG2) F_(0, 0) FM(GETHER_RMII_TXD1) FM(A6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 160 + #define IP0_31_28 FM(DU_DG3) FM(CPG_CPCKOUT) FM(GETHER_RMII_REFCLK) FM(A7) FM(PWMFSW0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 161 + #define IP1_3_0 FM(DU_DG4) FM(SCL5) F_(0, 0) FM(A8) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 162 + #define IP1_7_4 FM(DU_DG5) FM(SDA5) FM(GETHER_MDC_B) FM(A9) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 163 + #define IP1_11_8 FM(DU_DG6) FM(SCIF_CLK_A) FM(GETHER_MDIO_B) FM(A10) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 164 + #define IP1_15_12 FM(DU_DG7) FM(HRX0_A) F_(0, 0) FM(A11) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 165 + #define IP1_19_16 FM(DU_DB2) FM(HSCK0_A) F_(0, 0) FM(A12) FM(IRQ1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 166 + #define IP1_23_20 FM(DU_DB3) FM(HRTS0_N_A) F_(0, 0) FM(A13) FM(IRQ2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 167 + #define IP1_27_24 FM(DU_DB4) FM(HCTS0_N_A) F_(0, 0) FM(A14) FM(IRQ3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 168 + #define IP1_31_28 FM(DU_DB5) FM(HTX0_A) FM(PWM0_A) FM(A15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 169 + #define IP2_3_0 FM(DU_DB6) FM(MSIOF3_RXD) F_(0, 0) FM(A16) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 170 + #define IP2_7_4 FM(DU_DB7) FM(MSIOF3_TXD) F_(0, 0) FM(A17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 171 + #define IP2_11_8 FM(DU_DOTCLKOUT) FM(MSIOF3_SS1) FM(GETHER_LINK_B) FM(A18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 172 + #define IP2_15_12 FM(DU_EXHSYNC_DU_HSYNC) FM(MSIOF3_SS2) FM(GETHER_PHY_INT_B) FM(A19) FM(FXR_TXENA_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 173 + #define IP2_19_16 FM(DU_EXVSYNC_DU_VSYNC) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 174 + #define IP2_23_20 FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(MSIOF3_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 175 + #define IP2_27_24 FM(IRQ0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 176 + #define IP2_31_28 FM(VI0_CLK) FM(MSIOF2_SCK) FM(SCK3) F_(0, 0) FM(HSCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 177 + #define IP3_3_0 FM(VI0_CLKENB) FM(MSIOF2_RXD) FM(RX3) FM(RD_WR_N) FM(HCTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 178 + #define IP3_7_4 FM(VI0_HSYNC_N) FM(MSIOF2_TXD) FM(TX3) F_(0, 0) FM(HRTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 179 + #define IP3_11_8 FM(VI0_VSYNC_N) FM(MSIOF2_SYNC) FM(CTS3_N) F_(0, 0) FM(HTX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 180 + #define IP3_15_12 FM(VI0_DATA0) FM(MSIOF2_SS1) FM(RTS3_N) F_(0, 0) FM(HRX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 181 + #define IP3_19_16 FM(VI0_DATA1) FM(MSIOF2_SS2) FM(SCK1) F_(0, 0) FM(SPEEDIN_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 182 + #define IP3_23_20 FM(VI0_DATA2) FM(AVB_AVTP_PPS) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 183 + #define IP3_27_24 FM(VI0_DATA3) FM(HSCK1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 184 + #define IP3_31_28 FM(VI0_DATA4) FM(HRTS1_N) FM(RX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 185 + #define IP4_3_0 FM(VI0_DATA5) FM(HCTS1_N) FM(TX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 186 + #define IP4_7_4 FM(VI0_DATA6) FM(HTX1) FM(CTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 187 + #define IP4_11_8 FM(VI0_DATA7) FM(HRX1) FM(RTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 188 + #define IP4_15_12 FM(VI0_DATA8) FM(HSCK2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 189 + #define IP4_19_16 FM(VI0_DATA9) FM(HCTS2_N) FM(PWM1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 190 + #define IP4_23_20 FM(VI0_DATA10) FM(HRTS2_N) FM(PWM2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 191 + #define IP4_27_24 FM(VI0_DATA11) FM(HTX2) FM(PWM3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 192 + #define IP4_31_28 FM(VI0_FIELD) FM(HRX2) FM(PWM4_A) FM(CS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 193 + #define IP5_3_0 FM(VI1_CLK) FM(MSIOF1_RXD) F_(0, 0) FM(CS0_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 194 + #define IP5_7_4 FM(VI1_CLKENB) FM(MSIOF1_TXD) F_(0, 0) FM(D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 195 + #define IP5_11_8 FM(VI1_HSYNC_N) FM(MSIOF1_SCK) F_(0, 0) FM(D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 196 + #define IP5_15_12 FM(VI1_VSYNC_N) FM(MSIOF1_SYNC) F_(0, 0) FM(D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 197 + #define IP5_19_16 FM(VI1_DATA0) FM(MSIOF1_SS1) F_(0, 0) FM(D3) FM(MMC_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 198 + #define IP5_23_20 FM(VI1_DATA1) FM(MSIOF1_SS2) F_(0, 0) FM(D4) FM(MMC_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 199 + #define IP5_27_24 FM(VI1_DATA2) FM(CANFD0_TX_B) F_(0, 0) FM(D5) FM(MMC_DS) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 200 + #define IP5_31_28 FM(VI1_DATA3) FM(CANFD0_RX_B) F_(0, 0) FM(D6) FM(MMC_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 201 + #define IP6_3_0 FM(VI1_DATA4) FM(CANFD_CLK_B) F_(0, 0) FM(D7) FM(MMC_D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 202 + #define IP6_7_4 FM(VI1_DATA5) F_(0, 0) F_(0, 0) FM(D8) FM(MMC_D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 203 + #define IP6_11_8 FM(VI1_DATA6) F_(0, 0) F_(0, 0) FM(D9) FM(MMC_D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 204 + #define IP6_15_12 FM(VI1_DATA7) F_(0, 0) F_(0, 0) FM(D10) FM(MMC_D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 205 + #define IP6_19_16 FM(VI1_DATA8) F_(0, 0) F_(0, 0) FM(D11) FM(MMC_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 206 + #define IP6_23_20 FM(VI1_DATA9) FM(TCLK1_A) F_(0, 0) FM(D12) FM(MMC_D4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 207 + #define IP6_27_24 FM(VI1_DATA10) FM(TCLK2_A) F_(0, 0) FM(D13) FM(MMC_D5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 208 + #define IP6_31_28 FM(VI1_DATA11) FM(SCL4) F_(0, 0) FM(D14) FM(MMC_D6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 209 + #define IP7_3_0 FM(VI1_FIELD) FM(SDA4) F_(0, 0) FM(D15) FM(MMC_D7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 210 + #define IP7_7_4 FM(SCL0) F_(0, 0) F_(0, 0) FM(CLKOUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 211 + #define IP7_11_8 FM(SDA0) F_(0, 0) F_(0, 0) FM(BS_N) FM(SCK0) FM(HSCK0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 212 + #define IP7_15_12 FM(SCL1) F_(0, 0) FM(TPU0TO2) FM(RD_N) FM(CTS0_N) FM(HCTS0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 213 + #define IP7_19_16 FM(SDA1) F_(0, 0) FM(TPU0TO3) FM(WE0_N) FM(RTS0_N) FM(HRTS0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 214 + #define IP7_23_20 FM(SCL2) F_(0, 0) F_(0, 0) FM(WE1_N) FM(RX0) FM(HRX0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 215 + #define IP7_27_24 FM(SDA2) F_(0, 0) F_(0, 0) FM(EX_WAIT0) FM(TX0) FM(HTX0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 216 + #define IP7_31_28 FM(AVB_AVTP_MATCH) FM(TPU0TO0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 217 + #define IP8_3_0 FM(AVB_AVTP_CAPTURE) FM(TPU0TO1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 218 + #define IP8_7_4 FM(CANFD0_TX_A) FM(FXR_TXDA) FM(PWM0_B) FM(DU_DISP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 219 + #define IP8_11_8 FM(CANFD0_RX_A) FM(RXDA_EXTFXR) FM(PWM1_B) FM(DU_CDE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 220 + #define IP8_15_12 FM(CANFD1_TX) FM(FXR_TXDB) FM(PWM2_B) FM(TCLK1_B) FM(TX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 221 + #define IP8_19_16 FM(CANFD1_RX) FM(RXDB_EXTFXR) FM(PWM3_B) FM(TCLK2_B) FM(RX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 222 + #define IP8_23_20 FM(CANFD_CLK_A) FM(CLK_EXTFXR) FM(PWM4_B) FM(SPEEDIN_B) FM(SCIF_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 223 + #define IP8_27_24 FM(DIGRF_CLKIN) FM(DIGRF_CLKEN_IN) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 224 + #define IP8_31_28 FM(DIGRF_CLKOUT) FM(DIGRF_CLKEN_OUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 225 + #define IP9_3_0 FM(IRQ4) F_(0, 0) F_(0, 0) FM(VI0_DATA12) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 226 + #define IP9_7_4 FM(IRQ5) F_(0, 0) F_(0, 0) FM(VI0_DATA13) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 227 + #define IP9_11_8 FM(MSIOF0_RXD) FM(DU_DR0) F_(0, 0) FM(VI0_DATA14) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 228 + #define IP9_15_12 FM(MSIOF0_TXD) FM(DU_DR1) F_(0, 0) FM(VI0_DATA15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 229 + #define IP9_19_16 FM(MSIOF0_SCK) FM(DU_DG0) F_(0, 0) FM(VI0_DATA16) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 230 + #define IP9_23_20 FM(MSIOF0_SYNC) FM(DU_DG1) F_(0, 0) FM(VI0_DATA17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 231 + #define IP9_27_24 FM(MSIOF0_SS1) FM(DU_DB0) FM(TCLK3) FM(VI0_DATA18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 232 + #define IP9_31_28 FM(MSIOF0_SS2) FM(DU_DB1) FM(TCLK4) FM(VI0_DATA19) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 233 + #define IP10_3_0 FM(SCL3) F_(0, 0) F_(0, 0) FM(VI0_DATA20) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 234 + #define IP10_7_4 FM(SDA3) F_(0, 0) F_(0, 0) FM(VI0_DATA21) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 235 + #define IP10_11_8 FM(FSO_CFE_0_N) F_(0, 0) F_(0, 0) FM(VI0_DATA22) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 236 + #define IP10_15_12 FM(FSO_CFE_1_N) F_(0, 0) F_(0, 0) FM(VI0_DATA23) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 237 + #define IP10_19_16 FM(FSO_TOE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 238 + #define IP10_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 239 + #define IP10_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 240 + #define IP10_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 258 241 259 242 #define PINMUX_GPSR \ 260 243 \ 261 - GPSR1_27 \ 262 - GPSR1_26 \ 263 - GPSR1_25 \ 264 - GPSR1_24 \ 265 - GPSR1_23 \ 266 - GPSR1_22 \ 267 - GPSR0_21 GPSR1_21 \ 268 - GPSR0_20 GPSR1_20 \ 269 - GPSR0_19 GPSR1_19 \ 270 - GPSR0_18 GPSR1_18 \ 271 - GPSR0_17 GPSR1_17 \ 272 - GPSR0_16 GPSR1_16 GPSR2_16 GPSR3_16 \ 273 - GPSR0_15 GPSR1_15 GPSR2_15 GPSR3_15 \ 274 - GPSR0_14 GPSR1_14 GPSR2_14 GPSR3_14 GPSR5_14 \ 275 - GPSR0_13 GPSR1_13 GPSR2_13 GPSR3_13 GPSR5_13 \ 276 - GPSR0_12 GPSR1_12 GPSR2_12 GPSR3_12 GPSR5_12 \ 277 - GPSR0_11 GPSR1_11 GPSR2_11 GPSR3_11 GPSR5_11 \ 278 - GPSR0_10 GPSR1_10 GPSR2_10 GPSR3_10 GPSR5_10 \ 279 - GPSR0_9 GPSR1_9 GPSR2_9 GPSR3_9 GPSR5_9 \ 280 - GPSR0_8 GPSR1_8 GPSR2_8 GPSR3_8 GPSR5_8 \ 281 - GPSR0_7 GPSR1_7 GPSR2_7 GPSR3_7 GPSR5_7 \ 282 - GPSR0_6 GPSR1_6 GPSR2_6 GPSR3_6 GPSR5_6 \ 244 + GPSR2_29 \ 245 + GPSR2_28 \ 246 + GPSR1_27 GPSR2_27 \ 247 + GPSR1_26 GPSR2_26 \ 248 + GPSR1_25 GPSR2_25 \ 249 + GPSR1_24 GPSR2_24 GPSR4_24 \ 250 + GPSR1_23 GPSR2_23 GPSR4_23 \ 251 + GPSR1_22 GPSR2_22 GPSR4_22 \ 252 + GPSR0_21 GPSR1_21 GPSR2_21 GPSR4_21 \ 253 + GPSR0_20 GPSR1_20 GPSR2_20 GPSR4_20 \ 254 + GPSR0_19 GPSR1_19 GPSR2_19 GPSR4_19 \ 255 + GPSR0_18 GPSR1_18 GPSR2_18 GPSR4_18 \ 256 + GPSR0_17 GPSR1_17 GPSR2_17 GPSR4_17 \ 257 + GPSR0_16 GPSR1_16 GPSR2_16 GPSR3_16 GPSR4_16 \ 258 + GPSR0_15 GPSR1_15 GPSR2_15 GPSR3_15 GPSR4_15 \ 259 + GPSR0_14 GPSR1_14 GPSR2_14 GPSR3_14 GPSR4_14 GPSR5_14 \ 260 + GPSR0_13 GPSR1_13 GPSR2_13 GPSR3_13 GPSR4_13 GPSR5_13 \ 261 + GPSR0_12 GPSR1_12 GPSR2_12 GPSR3_12 GPSR4_12 GPSR5_12 \ 262 + GPSR0_11 GPSR1_11 GPSR2_11 GPSR3_11 GPSR4_11 GPSR5_11 \ 263 + GPSR0_10 GPSR1_10 GPSR2_10 GPSR3_10 GPSR4_10 GPSR5_10 \ 264 + GPSR0_9 GPSR1_9 GPSR2_9 GPSR3_9 GPSR4_9 GPSR5_9 \ 265 + GPSR0_8 GPSR1_8 GPSR2_8 GPSR3_8 GPSR4_8 GPSR5_8 \ 266 + GPSR0_7 GPSR1_7 GPSR2_7 GPSR3_7 GPSR4_7 GPSR5_7 \ 267 + GPSR0_6 GPSR1_6 GPSR2_6 GPSR3_6 GPSR4_6 GPSR5_6 \ 283 268 GPSR0_5 GPSR1_5 GPSR2_5 GPSR3_5 GPSR4_5 GPSR5_5 \ 284 269 GPSR0_4 GPSR1_4 GPSR2_4 GPSR3_4 GPSR4_4 GPSR5_4 \ 285 270 GPSR0_3 GPSR1_3 GPSR2_3 GPSR3_3 GPSR4_3 GPSR5_3 \ ··· 325 274 FM(IP4_27_24) IP4_27_24 FM(IP5_27_24) IP5_27_24 FM(IP6_27_24) IP6_27_24 FM(IP7_27_24) IP7_27_24 \ 326 275 FM(IP4_31_28) IP4_31_28 FM(IP5_31_28) IP5_31_28 FM(IP6_31_28) IP6_31_28 FM(IP7_31_28) IP7_31_28 \ 327 276 \ 328 - FM(IP8_3_0) IP8_3_0 \ 329 - FM(IP8_7_4) IP8_7_4 \ 330 - FM(IP8_11_8) IP8_11_8 \ 331 - FM(IP8_15_12) IP8_15_12 \ 332 - FM(IP8_19_16) IP8_19_16 \ 333 - FM(IP8_23_20) IP8_23_20 \ 334 - FM(IP8_27_24) IP8_27_24 \ 335 - FM(IP8_31_28) IP8_31_28 277 + FM(IP8_3_0) IP8_3_0 FM(IP9_3_0) IP9_3_0 FM(IP10_3_0) IP10_3_0 \ 278 + FM(IP8_7_4) IP8_7_4 FM(IP9_7_4) IP9_7_4 FM(IP10_7_4) IP10_7_4 \ 279 + FM(IP8_11_8) IP8_11_8 FM(IP9_11_8) IP9_11_8 FM(IP10_11_8) IP10_11_8 \ 280 + FM(IP8_15_12) IP8_15_12 FM(IP9_15_12) IP9_15_12 FM(IP10_15_12) IP10_15_12 \ 281 + FM(IP8_19_16) IP8_19_16 FM(IP9_19_16) IP9_19_16 FM(IP10_19_16) IP10_19_16 \ 282 + FM(IP8_23_20) IP8_23_20 FM(IP9_23_20) IP9_23_20 FM(IP10_23_20) IP10_23_20 \ 283 + FM(IP8_27_24) IP8_27_24 FM(IP9_27_24) IP9_27_24 FM(IP10_27_24) IP10_27_24 \ 284 + FM(IP8_31_28) IP8_31_28 FM(IP9_31_28) IP9_31_28 FM(IP10_31_28) IP10_31_28 336 285 337 286 /* MOD_SEL0 */ /* 0 */ /* 1 */ 338 - #define MOD_SEL0_11 FM(SEL_I2C3_0) FM(SEL_I2C3_1) 339 - #define MOD_SEL0_10 FM(SEL_HSCIF0_0) FM(SEL_HSCIF0_1) 340 - #define MOD_SEL0_9 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) 341 - #define MOD_SEL0_8 FM(SEL_CANFD0_0) FM(SEL_CANFD0_1) 342 - #define MOD_SEL0_7 FM(SEL_PWM4_0) FM(SEL_PWM4_1) 343 - #define MOD_SEL0_6 FM(SEL_PWM3_0) FM(SEL_PWM3_1) 344 - #define MOD_SEL0_5 FM(SEL_PWM2_0) FM(SEL_PWM2_1) 345 - #define MOD_SEL0_4 FM(SEL_PWM1_0) FM(SEL_PWM1_1) 346 - #define MOD_SEL0_3 FM(SEL_PWM0_0) FM(SEL_PWM0_1) 347 - #define MOD_SEL0_2 FM(SEL_RFSO_0) FM(SEL_RFSO_1) 348 - #define MOD_SEL0_1 FM(SEL_RSP_0) FM(SEL_RSP_1) 287 + #define MOD_SEL0_11 FM(SEL_CANFD0_0) FM(SEL_CANFD0_1) 288 + #define MOD_SEL0_10 FM(SEL_GETHER_0) FM(SEL_GETHER_1) 289 + #define MOD_SEL0_9 FM(SEL_HSCIF0_0) FM(SEL_HSCIF0_1) 290 + #define MOD_SEL0_8 FM(SEL_PWM0_0) FM(SEL_PWM0_1) 291 + #define MOD_SEL0_7 FM(SEL_PWM1_0) FM(SEL_PWM1_1) 292 + #define MOD_SEL0_6 FM(SEL_PWM2_0) FM(SEL_PWM2_1) 293 + #define MOD_SEL0_5 FM(SEL_PWM3_0) FM(SEL_PWM3_1) 294 + #define MOD_SEL0_4 FM(SEL_PWM4_0) FM(SEL_PWM4_1) 295 + #define MOD_SEL0_2 FM(SEL_RSP_0) FM(SEL_RSP_1) 296 + #define MOD_SEL0_1 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) 349 297 #define MOD_SEL0_0 FM(SEL_TMU_0) FM(SEL_TMU_1) 350 298 351 299 #define PINMUX_MOD_SELS \ ··· 357 307 MOD_SEL0_6 \ 358 308 MOD_SEL0_5 \ 359 309 MOD_SEL0_4 \ 360 - MOD_SEL0_3 \ 361 310 MOD_SEL0_2 \ 362 311 MOD_SEL0_1 \ 363 312 MOD_SEL0_0 ··· 393 344 static const u16 pinmux_data[] = { 394 345 PINMUX_DATA_GP_ALL(), 395 346 396 - PINMUX_SINGLE(AVB0_RX_CTL), 397 - PINMUX_SINGLE(AVB0_RXC), 398 - PINMUX_SINGLE(AVB0_RD0), 399 - PINMUX_SINGLE(AVB0_RD1), 400 - PINMUX_SINGLE(AVB0_RD2), 401 - PINMUX_SINGLE(AVB0_RD3), 402 - PINMUX_SINGLE(AVB0_TX_CTL), 403 - PINMUX_SINGLE(AVB0_TXC), 404 - PINMUX_SINGLE(AVB0_TD0), 405 - PINMUX_SINGLE(AVB0_TD1), 406 - PINMUX_SINGLE(AVB0_TD2), 407 - PINMUX_SINGLE(AVB0_TD3), 408 - PINMUX_SINGLE(AVB0_TXCREFCLK), 409 - PINMUX_SINGLE(AVB0_MDIO), 410 - PINMUX_SINGLE(AVB0_MDC), 411 - PINMUX_SINGLE(AVB0_MAGIC), 412 - PINMUX_SINGLE(AVB0_PHY_INT), 413 - PINMUX_SINGLE(AVB0_LINK), 414 - PINMUX_SINGLE(AVB0_AVTP_MATCH), 347 + PINMUX_SINGLE(AVB_RX_CTL), 348 + PINMUX_SINGLE(AVB_RXC), 349 + PINMUX_SINGLE(AVB_RD0), 350 + PINMUX_SINGLE(AVB_RD1), 351 + PINMUX_SINGLE(AVB_RD2), 352 + PINMUX_SINGLE(AVB_RD3), 353 + PINMUX_SINGLE(AVB_TX_CTL), 354 + PINMUX_SINGLE(AVB_TXC), 355 + PINMUX_SINGLE(AVB_TD0), 356 + PINMUX_SINGLE(AVB_TD1), 357 + PINMUX_SINGLE(AVB_TD2), 358 + PINMUX_SINGLE(AVB_TD3), 359 + PINMUX_SINGLE(AVB_TXCREFCLK), 360 + PINMUX_SINGLE(AVB_MDIO), 361 + PINMUX_SINGLE(AVB_MDC), 362 + PINMUX_SINGLE(AVB_MAGIC), 363 + PINMUX_SINGLE(AVB_PHY_INT), 364 + PINMUX_SINGLE(AVB_LINK), 365 + 366 + PINMUX_SINGLE(GETHER_RX_CTL), 367 + PINMUX_SINGLE(GETHER_RXC), 368 + PINMUX_SINGLE(GETHER_RD0), 369 + PINMUX_SINGLE(GETHER_RD1), 370 + PINMUX_SINGLE(GETHER_RD2), 371 + PINMUX_SINGLE(GETHER_RD3), 372 + PINMUX_SINGLE(GETHER_TX_CTL), 373 + PINMUX_SINGLE(GETHER_TXC), 374 + PINMUX_SINGLE(GETHER_TD0), 375 + PINMUX_SINGLE(GETHER_TD1), 376 + PINMUX_SINGLE(GETHER_TD2), 377 + PINMUX_SINGLE(GETHER_TD3), 378 + PINMUX_SINGLE(GETHER_TXCREFCLK), 379 + PINMUX_SINGLE(GETHER_TXCREFCLK_MEGA), 380 + PINMUX_SINGLE(GETHER_MDIO_A), 381 + PINMUX_SINGLE(GETHER_MDC_A), 382 + PINMUX_SINGLE(GETHER_MAGIC), 383 + PINMUX_SINGLE(GETHER_PHY_INT_A), 384 + PINMUX_SINGLE(GETHER_LINK_A), 415 385 416 386 PINMUX_SINGLE(QSPI0_SPCLK), 417 387 PINMUX_SINGLE(QSPI0_MOSI_IO0), ··· 450 382 451 383 /* IPSR0 */ 452 384 PINMUX_IPSR_GPSR(IP0_3_0, DU_DR2), 453 - PINMUX_IPSR_GPSR(IP0_3_0, HSCK0), 385 + PINMUX_IPSR_GPSR(IP0_3_0, SCK4), 386 + PINMUX_IPSR_GPSR(IP0_3_0, GETHER_RMII_CRS_DV), 454 387 PINMUX_IPSR_GPSR(IP0_3_0, A0), 455 388 456 389 PINMUX_IPSR_GPSR(IP0_7_4, DU_DR3), 457 - PINMUX_IPSR_GPSR(IP0_7_4, HRTS0_N), 390 + PINMUX_IPSR_GPSR(IP0_7_4, RX4), 391 + PINMUX_IPSR_GPSR(IP0_7_4, GETHER_RMII_RX_ER), 458 392 PINMUX_IPSR_GPSR(IP0_7_4, A1), 459 393 460 394 PINMUX_IPSR_GPSR(IP0_11_8, DU_DR4), 461 - PINMUX_IPSR_GPSR(IP0_11_8, HCTS0_N), 395 + PINMUX_IPSR_GPSR(IP0_11_8, TX4), 396 + PINMUX_IPSR_GPSR(IP0_11_8, GETHER_RMII_RXD0), 462 397 PINMUX_IPSR_GPSR(IP0_11_8, A2), 463 398 464 399 PINMUX_IPSR_GPSR(IP0_15_12, DU_DR5), 465 - PINMUX_IPSR_GPSR(IP0_15_12, HTX0), 400 + PINMUX_IPSR_GPSR(IP0_15_12, CTS4_N), 401 + PINMUX_IPSR_GPSR(IP0_15_12, GETHER_RMII_RXD1), 466 402 PINMUX_IPSR_GPSR(IP0_15_12, A3), 467 403 468 404 PINMUX_IPSR_GPSR(IP0_19_16, DU_DR6), 469 - PINMUX_IPSR_GPSR(IP0_19_16, MSIOF3_RXD), 405 + PINMUX_IPSR_GPSR(IP0_19_16, RTS4_N), 406 + PINMUX_IPSR_GPSR(IP0_19_16, GETHER_RMII_TXD_EN), 470 407 PINMUX_IPSR_GPSR(IP0_19_16, A4), 471 408 472 409 PINMUX_IPSR_GPSR(IP0_23_20, DU_DR7), 473 - PINMUX_IPSR_GPSR(IP0_23_20, MSIOF3_TXD), 410 + PINMUX_IPSR_GPSR(IP0_23_20, GETHER_RMII_TXD0), 474 411 PINMUX_IPSR_GPSR(IP0_23_20, A5), 475 412 476 413 PINMUX_IPSR_GPSR(IP0_27_24, DU_DG2), 477 - PINMUX_IPSR_GPSR(IP0_27_24, MSIOF3_SS1), 414 + PINMUX_IPSR_GPSR(IP0_27_24, GETHER_RMII_TXD1), 478 415 PINMUX_IPSR_GPSR(IP0_27_24, A6), 479 416 480 417 PINMUX_IPSR_GPSR(IP0_31_28, DU_DG3), 481 - PINMUX_IPSR_GPSR(IP0_31_28, MSIOF3_SS2), 418 + PINMUX_IPSR_GPSR(IP0_31_28, CPG_CPCKOUT), 419 + PINMUX_IPSR_GPSR(IP0_31_28, GETHER_RMII_REFCLK), 482 420 PINMUX_IPSR_GPSR(IP0_31_28, A7), 483 421 PINMUX_IPSR_GPSR(IP0_31_28, PWMFSW0), 484 422 485 423 /* IPSR1 */ 486 424 PINMUX_IPSR_GPSR(IP1_3_0, DU_DG4), 425 + PINMUX_IPSR_GPSR(IP1_3_0, SCL5), 487 426 PINMUX_IPSR_GPSR(IP1_3_0, A8), 488 - PINMUX_IPSR_MSEL(IP1_3_0, FSO_CFE_0_N_A, SEL_RFSO_0), 489 427 490 428 PINMUX_IPSR_GPSR(IP1_7_4, DU_DG5), 429 + PINMUX_IPSR_GPSR(IP1_7_4, SDA5), 430 + PINMUX_IPSR_MSEL(IP1_7_4, GETHER_MDC_B, SEL_GETHER_1), 491 431 PINMUX_IPSR_GPSR(IP1_7_4, A9), 492 - PINMUX_IPSR_MSEL(IP1_7_4, FSO_CFE_1_N_A, SEL_RFSO_0), 493 432 494 433 PINMUX_IPSR_GPSR(IP1_11_8, DU_DG6), 434 + PINMUX_IPSR_MSEL(IP1_11_8, SCIF_CLK_A, SEL_HSCIF0_0), 435 + PINMUX_IPSR_MSEL(IP1_11_8, GETHER_MDIO_B, SEL_GETHER_1), 495 436 PINMUX_IPSR_GPSR(IP1_11_8, A10), 496 - PINMUX_IPSR_MSEL(IP1_11_8, FSO_TOE_N_A, SEL_RFSO_0), 497 437 498 438 PINMUX_IPSR_GPSR(IP1_15_12, DU_DG7), 439 + PINMUX_IPSR_MSEL(IP1_15_12, HRX0_A, SEL_HSCIF0_0), 499 440 PINMUX_IPSR_GPSR(IP1_15_12, A11), 500 - PINMUX_IPSR_GPSR(IP1_15_12, IRQ1), 501 441 502 442 PINMUX_IPSR_GPSR(IP1_19_16, DU_DB2), 443 + PINMUX_IPSR_MSEL(IP1_19_16, HSCK0_A, SEL_HSCIF0_0), 503 444 PINMUX_IPSR_GPSR(IP1_19_16, A12), 504 - PINMUX_IPSR_GPSR(IP1_19_16, IRQ2), 445 + PINMUX_IPSR_GPSR(IP1_19_16, IRQ1), 505 446 506 447 PINMUX_IPSR_GPSR(IP1_23_20, DU_DB3), 448 + PINMUX_IPSR_MSEL(IP1_23_20, HRTS0_N_A, SEL_HSCIF0_0), 507 449 PINMUX_IPSR_GPSR(IP1_23_20, A13), 508 - PINMUX_IPSR_GPSR(IP1_23_20, FXR_CLKOUT1), 450 + PINMUX_IPSR_GPSR(IP1_23_20, IRQ2), 509 451 510 452 PINMUX_IPSR_GPSR(IP1_27_24, DU_DB4), 453 + PINMUX_IPSR_MSEL(IP1_27_24, HCTS0_N_A, SEL_HSCIF0_0), 511 454 PINMUX_IPSR_GPSR(IP1_27_24, A14), 512 - PINMUX_IPSR_GPSR(IP1_27_24, FXR_CLKOUT2), 455 + PINMUX_IPSR_GPSR(IP1_27_24, IRQ3), 513 456 514 457 PINMUX_IPSR_GPSR(IP1_31_28, DU_DB5), 458 + PINMUX_IPSR_MSEL(IP1_31_28, HTX0_A, SEL_HSCIF0_0), 459 + PINMUX_IPSR_MSEL(IP1_31_28, PWM0_A, SEL_PWM0_0), 515 460 PINMUX_IPSR_GPSR(IP1_31_28, A15), 516 - PINMUX_IPSR_GPSR(IP1_31_28, FXR_TXENA_N), 517 461 518 462 /* IPSR2 */ 519 463 PINMUX_IPSR_GPSR(IP2_3_0, DU_DB6), 464 + PINMUX_IPSR_GPSR(IP2_3_0, MSIOF3_RXD), 520 465 PINMUX_IPSR_GPSR(IP2_3_0, A16), 521 - PINMUX_IPSR_GPSR(IP2_3_0, FXR_TXENB_N), 522 466 523 467 PINMUX_IPSR_GPSR(IP2_7_4, DU_DB7), 468 + PINMUX_IPSR_GPSR(IP2_7_4, MSIOF3_TXD), 524 469 PINMUX_IPSR_GPSR(IP2_7_4, A17), 525 470 526 471 PINMUX_IPSR_GPSR(IP2_11_8, DU_DOTCLKOUT), 527 - PINMUX_IPSR_MSEL(IP2_11_8, SCIF_CLK_A, SEL_HSCIF0_0), 472 + PINMUX_IPSR_GPSR(IP2_11_8, MSIOF3_SS1), 473 + PINMUX_IPSR_MSEL(IP2_11_8, GETHER_LINK_B, SEL_GETHER_1), 528 474 PINMUX_IPSR_GPSR(IP2_11_8, A18), 529 475 530 476 PINMUX_IPSR_GPSR(IP2_15_12, DU_EXHSYNC_DU_HSYNC), 531 - PINMUX_IPSR_GPSR(IP2_15_12, HRX0), 477 + PINMUX_IPSR_GPSR(IP2_15_12, MSIOF3_SS2), 478 + PINMUX_IPSR_MSEL(IP2_15_12, GETHER_PHY_INT_B, SEL_GETHER_1), 532 479 PINMUX_IPSR_GPSR(IP2_15_12, A19), 533 - PINMUX_IPSR_GPSR(IP2_15_12, IRQ3), 480 + PINMUX_IPSR_GPSR(IP2_15_12, FXR_TXENA_N), 534 481 535 482 PINMUX_IPSR_GPSR(IP2_19_16, DU_EXVSYNC_DU_VSYNC), 536 483 PINMUX_IPSR_GPSR(IP2_19_16, MSIOF3_SCK), 484 + PINMUX_IPSR_GPSR(IP2_19_16, FXR_TXENB_N), 537 485 538 486 PINMUX_IPSR_GPSR(IP2_23_20, DU_EXODDF_DU_ODDF_DISP_CDE), 539 487 PINMUX_IPSR_GPSR(IP2_23_20, MSIOF3_SYNC), ··· 586 502 PINMUX_IPSR_GPSR(IP3_19_16, VI0_DATA1), 587 503 PINMUX_IPSR_GPSR(IP3_19_16, MSIOF2_SS2), 588 504 PINMUX_IPSR_GPSR(IP3_19_16, SCK1), 589 - PINMUX_IPSR_MSEL(IP3_19_16, SPEEDIN_A, SEL_RSP_0), 505 + PINMUX_IPSR_MSEL(IP3_19_16, SPEEDIN_A, SEL_RSP_0), 590 506 591 507 PINMUX_IPSR_GPSR(IP3_23_20, VI0_DATA2), 592 - PINMUX_IPSR_GPSR(IP3_23_20, AVB0_AVTP_PPS), 593 - PINMUX_IPSR_MSEL(IP3_23_20, SDA3_A, SEL_I2C3_0), 508 + PINMUX_IPSR_GPSR(IP3_23_20, AVB_AVTP_PPS), 594 509 595 510 PINMUX_IPSR_GPSR(IP3_27_24, VI0_DATA3), 596 511 PINMUX_IPSR_GPSR(IP3_27_24, HSCK1), 597 - PINMUX_IPSR_MSEL(IP3_27_24, SCL3_A, SEL_I2C3_0), 598 512 599 513 PINMUX_IPSR_GPSR(IP3_31_28, VI0_DATA4), 600 514 PINMUX_IPSR_GPSR(IP3_31_28, HRTS1_N), 601 - PINMUX_IPSR_MSEL(IP3_31_28, RX1_A, SEL_SCIF1_0), 515 + PINMUX_IPSR_MSEL(IP3_31_28, RX1_A, SEL_SCIF1_0), 602 516 603 517 /* IPSR4 */ 604 518 PINMUX_IPSR_GPSR(IP4_3_0, VI0_DATA5), 605 519 PINMUX_IPSR_GPSR(IP4_3_0, HCTS1_N), 606 - PINMUX_IPSR_MSEL(IP4_3_0, TX1_A, SEL_SCIF1_0), 520 + PINMUX_IPSR_MSEL(IP4_3_0, TX1_A, SEL_SCIF1_0), 607 521 608 522 PINMUX_IPSR_GPSR(IP4_7_4, VI0_DATA6), 609 523 PINMUX_IPSR_GPSR(IP4_7_4, HTX1), ··· 613 531 614 532 PINMUX_IPSR_GPSR(IP4_15_12, VI0_DATA8), 615 533 PINMUX_IPSR_GPSR(IP4_15_12, HSCK2), 616 - PINMUX_IPSR_MSEL(IP4_15_12, PWM0_A, SEL_PWM0_0), 617 534 618 535 PINMUX_IPSR_GPSR(IP4_19_16, VI0_DATA9), 619 536 PINMUX_IPSR_GPSR(IP4_19_16, HCTS2_N), 620 - PINMUX_IPSR_MSEL(IP4_19_16, PWM1_A, SEL_PWM1_0), 621 - PINMUX_IPSR_MSEL(IP4_19_16, FSO_CFE_0_N_B, SEL_RFSO_1), 537 + PINMUX_IPSR_MSEL(IP4_19_16, PWM1_A, SEL_PWM1_0), 622 538 623 539 PINMUX_IPSR_GPSR(IP4_23_20, VI0_DATA10), 624 540 PINMUX_IPSR_GPSR(IP4_23_20, HRTS2_N), 625 - PINMUX_IPSR_MSEL(IP4_23_20, PWM2_A, SEL_PWM2_0), 626 - PINMUX_IPSR_MSEL(IP4_23_20, FSO_CFE_1_N_B, SEL_RFSO_1), 541 + PINMUX_IPSR_MSEL(IP4_23_20, PWM2_A, SEL_PWM2_0), 627 542 628 543 PINMUX_IPSR_GPSR(IP4_27_24, VI0_DATA11), 629 544 PINMUX_IPSR_GPSR(IP4_27_24, HTX2), 630 - PINMUX_IPSR_MSEL(IP4_27_24, PWM3_A, SEL_PWM3_0), 631 - PINMUX_IPSR_MSEL(IP4_27_24, FSO_TOE_N_B, SEL_RFSO_1), 545 + PINMUX_IPSR_MSEL(IP4_27_24, PWM3_A, SEL_PWM3_0), 632 546 633 547 PINMUX_IPSR_GPSR(IP4_31_28, VI0_FIELD), 634 548 PINMUX_IPSR_GPSR(IP4_31_28, HRX2), 635 - PINMUX_IPSR_MSEL(IP4_31_28, PWM4_A, SEL_PWM4_0), 549 + PINMUX_IPSR_MSEL(IP4_31_28, PWM4_A, SEL_PWM4_0), 636 550 PINMUX_IPSR_GPSR(IP4_31_28, CS1_N), 637 - PINMUX_IPSR_GPSR(IP4_31_28, FSCLKST2_N_A), 638 551 639 552 /* IPSR5 */ 640 553 PINMUX_IPSR_GPSR(IP5_3_0, VI1_CLK), ··· 651 574 PINMUX_IPSR_GPSR(IP5_19_16, VI1_DATA0), 652 575 PINMUX_IPSR_GPSR(IP5_19_16, MSIOF1_SS1), 653 576 PINMUX_IPSR_GPSR(IP5_19_16, D3), 577 + PINMUX_IPSR_GPSR(IP5_19_16, MMC_WP), 654 578 655 579 PINMUX_IPSR_GPSR(IP5_23_20, VI1_DATA1), 656 580 PINMUX_IPSR_GPSR(IP5_23_20, MSIOF1_SS2), 657 581 PINMUX_IPSR_GPSR(IP5_23_20, D4), 658 - PINMUX_IPSR_GPSR(IP5_23_20, MMC_CMD), 582 + PINMUX_IPSR_GPSR(IP5_23_20, MMC_CD), 659 583 660 584 PINMUX_IPSR_GPSR(IP5_27_24, VI1_DATA2), 661 - PINMUX_IPSR_MSEL(IP5_27_24, CANFD0_TX_B, SEL_CANFD0_1), 585 + PINMUX_IPSR_MSEL(IP5_27_24, CANFD0_TX_B, SEL_CANFD0_1), 662 586 PINMUX_IPSR_GPSR(IP5_27_24, D5), 663 - PINMUX_IPSR_GPSR(IP5_27_24, MMC_D0), 587 + PINMUX_IPSR_GPSR(IP5_27_24, MMC_DS), 664 588 665 589 PINMUX_IPSR_GPSR(IP5_31_28, VI1_DATA3), 666 - PINMUX_IPSR_MSEL(IP5_31_28, CANFD0_RX_B, SEL_CANFD0_1), 590 + PINMUX_IPSR_MSEL(IP5_31_28, CANFD0_RX_B, SEL_CANFD0_1), 667 591 PINMUX_IPSR_GPSR(IP5_31_28, D6), 668 - PINMUX_IPSR_GPSR(IP5_31_28, MMC_D1), 592 + PINMUX_IPSR_GPSR(IP5_31_28, MMC_CMD), 669 593 670 594 /* IPSR6 */ 671 595 PINMUX_IPSR_GPSR(IP6_3_0, VI1_DATA4), 672 - PINMUX_IPSR_MSEL(IP6_3_0, CANFD_CLK_B, SEL_CANFD0_1), 596 + PINMUX_IPSR_MSEL(IP6_3_0, CANFD_CLK_B, SEL_CANFD0_1), 673 597 PINMUX_IPSR_GPSR(IP6_3_0, D7), 674 - PINMUX_IPSR_GPSR(IP6_3_0, MMC_D2), 598 + PINMUX_IPSR_GPSR(IP6_3_0, MMC_D0), 675 599 676 600 PINMUX_IPSR_GPSR(IP6_7_4, VI1_DATA5), 677 - PINMUX_IPSR_GPSR(IP6_7_4, SCK4), 678 601 PINMUX_IPSR_GPSR(IP6_7_4, D8), 679 - PINMUX_IPSR_GPSR(IP6_7_4, MMC_D3), 602 + PINMUX_IPSR_GPSR(IP6_7_4, MMC_D1), 680 603 681 604 PINMUX_IPSR_GPSR(IP6_11_8, VI1_DATA6), 682 - PINMUX_IPSR_GPSR(IP6_11_8, RX4), 683 605 PINMUX_IPSR_GPSR(IP6_11_8, D9), 684 - PINMUX_IPSR_GPSR(IP6_11_8, MMC_CLK), 606 + PINMUX_IPSR_GPSR(IP6_11_8, MMC_D2), 685 607 686 608 PINMUX_IPSR_GPSR(IP6_15_12, VI1_DATA7), 687 - PINMUX_IPSR_GPSR(IP6_15_12, TX4), 688 609 PINMUX_IPSR_GPSR(IP6_15_12, D10), 689 - PINMUX_IPSR_GPSR(IP6_15_12, MMC_D4), 610 + PINMUX_IPSR_GPSR(IP6_15_12, MMC_D3), 690 611 691 612 PINMUX_IPSR_GPSR(IP6_19_16, VI1_DATA8), 692 - PINMUX_IPSR_GPSR(IP6_19_16, CTS4_N), 693 613 PINMUX_IPSR_GPSR(IP6_19_16, D11), 694 - PINMUX_IPSR_GPSR(IP6_19_16, MMC_D5), 614 + PINMUX_IPSR_GPSR(IP6_19_16, MMC_CLK), 695 615 696 616 PINMUX_IPSR_GPSR(IP6_23_20, VI1_DATA9), 697 - PINMUX_IPSR_GPSR(IP6_23_20, RTS4_N), 617 + PINMUX_IPSR_MSEL(IP6_23_20, TCLK1_A, SEL_TMU_0), 698 618 PINMUX_IPSR_GPSR(IP6_23_20, D12), 699 - PINMUX_IPSR_GPSR(IP6_23_20, MMC_D6), 700 - PINMUX_IPSR_MSEL(IP6_23_20, SCL3_B, SEL_I2C3_1), 619 + PINMUX_IPSR_GPSR(IP6_23_20, MMC_D4), 701 620 702 621 PINMUX_IPSR_GPSR(IP6_27_24, VI1_DATA10), 622 + PINMUX_IPSR_MSEL(IP6_27_24, TCLK2_A, SEL_TMU_0), 703 623 PINMUX_IPSR_GPSR(IP6_27_24, D13), 704 - PINMUX_IPSR_GPSR(IP6_27_24, MMC_D7), 705 - PINMUX_IPSR_MSEL(IP6_27_24, SDA3_B, SEL_I2C3_1), 624 + PINMUX_IPSR_GPSR(IP6_27_24, MMC_D5), 706 625 707 626 PINMUX_IPSR_GPSR(IP6_31_28, VI1_DATA11), 708 627 PINMUX_IPSR_GPSR(IP6_31_28, SCL4), 709 - PINMUX_IPSR_GPSR(IP6_31_28, IRQ4), 710 628 PINMUX_IPSR_GPSR(IP6_31_28, D14), 629 + PINMUX_IPSR_GPSR(IP6_31_28, MMC_D6), 711 630 712 631 /* IPSR7 */ 713 632 PINMUX_IPSR_GPSR(IP7_3_0, VI1_FIELD), 714 633 PINMUX_IPSR_GPSR(IP7_3_0, SDA4), 715 - PINMUX_IPSR_GPSR(IP7_3_0, IRQ5), 716 634 PINMUX_IPSR_GPSR(IP7_3_0, D15), 635 + PINMUX_IPSR_GPSR(IP7_3_0, MMC_D7), 717 636 718 637 PINMUX_IPSR_GPSR(IP7_7_4, SCL0), 719 - PINMUX_IPSR_GPSR(IP7_7_4, DU_DR0), 720 - PINMUX_IPSR_GPSR(IP7_7_4, TPU0TO0), 721 638 PINMUX_IPSR_GPSR(IP7_7_4, CLKOUT), 722 - PINMUX_IPSR_GPSR(IP7_7_4, MSIOF0_RXD), 723 639 724 640 PINMUX_IPSR_GPSR(IP7_11_8, SDA0), 725 - PINMUX_IPSR_GPSR(IP7_11_8, DU_DR1), 726 - PINMUX_IPSR_GPSR(IP7_11_8, TPU0TO1), 727 641 PINMUX_IPSR_GPSR(IP7_11_8, BS_N), 728 642 PINMUX_IPSR_GPSR(IP7_11_8, SCK0), 729 - PINMUX_IPSR_GPSR(IP7_11_8, MSIOF0_TXD), 643 + PINMUX_IPSR_MSEL(IP7_11_8, HSCK0_B, SEL_HSCIF0_1), 730 644 731 645 PINMUX_IPSR_GPSR(IP7_15_12, SCL1), 732 - PINMUX_IPSR_GPSR(IP7_15_12, DU_DG0), 733 646 PINMUX_IPSR_GPSR(IP7_15_12, TPU0TO2), 734 647 PINMUX_IPSR_GPSR(IP7_15_12, RD_N), 735 648 PINMUX_IPSR_GPSR(IP7_15_12, CTS0_N), 736 - PINMUX_IPSR_GPSR(IP7_15_12, MSIOF0_SCK), 649 + PINMUX_IPSR_GPSR(IP7_15_12, HCTS0_N_B), 737 650 738 651 PINMUX_IPSR_GPSR(IP7_19_16, SDA1), 739 - PINMUX_IPSR_GPSR(IP7_19_16, DU_DG1), 740 652 PINMUX_IPSR_GPSR(IP7_19_16, TPU0TO3), 741 653 PINMUX_IPSR_GPSR(IP7_19_16, WE0_N), 742 654 PINMUX_IPSR_GPSR(IP7_19_16, RTS0_N), 743 - PINMUX_IPSR_GPSR(IP7_19_16, MSIOF0_SYNC), 655 + PINMUX_IPSR_MSEL(IP1_23_20, HRTS0_N_B, SEL_HSCIF0_1), 744 656 745 657 PINMUX_IPSR_GPSR(IP7_23_20, SCL2), 746 - PINMUX_IPSR_GPSR(IP7_23_20, DU_DB0), 747 - PINMUX_IPSR_MSEL(IP7_23_20, TCLK1_A, SEL_TMU_0), 748 658 PINMUX_IPSR_GPSR(IP7_23_20, WE1_N), 749 659 PINMUX_IPSR_GPSR(IP7_23_20, RX0), 750 - PINMUX_IPSR_GPSR(IP7_23_20, MSIOF0_SS1), 660 + PINMUX_IPSR_MSEL(IP7_23_20, HRX0_B, SEL_HSCIF0_1), 751 661 752 662 PINMUX_IPSR_GPSR(IP7_27_24, SDA2), 753 - PINMUX_IPSR_GPSR(IP7_27_24, DU_DB1), 754 - PINMUX_IPSR_MSEL(IP7_27_24, TCLK2_A, SEL_TMU_0), 755 663 PINMUX_IPSR_GPSR(IP7_27_24, EX_WAIT0), 756 664 PINMUX_IPSR_GPSR(IP7_27_24, TX0), 757 - PINMUX_IPSR_GPSR(IP7_27_24, MSIOF0_SS2), 665 + PINMUX_IPSR_MSEL(IP7_27_24, HTX0_B, SEL_HSCIF0_1), 758 666 759 - PINMUX_IPSR_GPSR(IP7_31_28, AVB0_AVTP_CAPTURE), 760 - PINMUX_IPSR_GPSR(IP7_31_28, FSCLKST2_N_B), 667 + PINMUX_IPSR_GPSR(IP7_31_28, AVB_AVTP_MATCH), 668 + PINMUX_IPSR_GPSR(IP7_31_28, TPU0TO0), 761 669 762 670 /* IPSR8 */ 763 - PINMUX_IPSR_MSEL(IP8_3_0, CANFD0_TX_A, SEL_CANFD0_0), 764 - PINMUX_IPSR_GPSR(IP8_3_0, FXR_TXDA), 765 - PINMUX_IPSR_MSEL(IP8_3_0, PWM0_B, SEL_PWM0_1), 766 - PINMUX_IPSR_GPSR(IP8_3_0, DU_DISP), 767 - PINMUX_IPSR_GPSR(IP8_3_0, FSCLKST2_N_C), 671 + PINMUX_IPSR_GPSR(IP8_3_0, AVB_AVTP_CAPTURE), 672 + PINMUX_IPSR_GPSR(IP8_3_0, TPU0TO1), 768 673 769 - PINMUX_IPSR_MSEL(IP8_7_4, CANFD0_RX_A, SEL_CANFD0_0), 770 - PINMUX_IPSR_GPSR(IP8_7_4, RXDA_EXTFXR), 771 - PINMUX_IPSR_MSEL(IP8_7_4, PWM1_B, SEL_PWM1_1), 772 - PINMUX_IPSR_GPSR(IP8_7_4, DU_CDE), 674 + PINMUX_IPSR_MSEL(IP8_7_4, CANFD0_TX_A, SEL_CANFD0_0), 675 + PINMUX_IPSR_GPSR(IP8_7_4, FXR_TXDA), 676 + PINMUX_IPSR_MSEL(IP8_7_4, PWM0_B, SEL_PWM0_1), 677 + PINMUX_IPSR_GPSR(IP8_7_4, DU_DISP), 773 678 774 - PINMUX_IPSR_GPSR(IP8_11_8, CANFD1_TX), 775 - PINMUX_IPSR_GPSR(IP8_11_8, FXR_TXDB), 776 - PINMUX_IPSR_MSEL(IP8_11_8, PWM2_B, SEL_PWM2_1), 777 - PINMUX_IPSR_MSEL(IP8_11_8, TCLK1_B, SEL_TMU_1), 778 - PINMUX_IPSR_MSEL(IP8_11_8, TX1_B, SEL_SCIF1_1), 679 + PINMUX_IPSR_MSEL(IP8_11_8, CANFD0_RX_A, SEL_CANFD0_0), 680 + PINMUX_IPSR_GPSR(IP8_11_8, RXDA_EXTFXR), 681 + PINMUX_IPSR_MSEL(IP8_11_8, PWM1_B, SEL_PWM1_1), 682 + PINMUX_IPSR_GPSR(IP8_11_8, DU_CDE), 779 683 780 - PINMUX_IPSR_GPSR(IP8_15_12, CANFD1_RX), 781 - PINMUX_IPSR_GPSR(IP8_15_12, RXDB_EXTFXR), 782 - PINMUX_IPSR_MSEL(IP8_15_12, PWM3_B, SEL_PWM3_1), 783 - PINMUX_IPSR_MSEL(IP8_15_12, TCLK2_B, SEL_TMU_1), 784 - PINMUX_IPSR_MSEL(IP8_15_12, RX1_B, SEL_SCIF1_1), 684 + PINMUX_IPSR_GPSR(IP8_15_12, CANFD1_TX), 685 + PINMUX_IPSR_GPSR(IP8_15_12, FXR_TXDB), 686 + PINMUX_IPSR_MSEL(IP8_15_12, PWM2_B, SEL_PWM2_1), 687 + PINMUX_IPSR_MSEL(IP8_15_12, TCLK1_B, SEL_TMU_1), 688 + PINMUX_IPSR_MSEL(IP8_15_12, TX1_B, SEL_SCIF1_1), 785 689 786 - PINMUX_IPSR_MSEL(IP8_19_16, CANFD_CLK_A, SEL_CANFD0_0), 787 - PINMUX_IPSR_GPSR(IP8_19_16, CLK_EXTFXR), 788 - PINMUX_IPSR_MSEL(IP8_19_16, PWM4_B, SEL_PWM4_1), 789 - PINMUX_IPSR_MSEL(IP8_19_16, SPEEDIN_B, SEL_RSP_1), 790 - PINMUX_IPSR_MSEL(IP8_19_16, SCIF_CLK_B, SEL_HSCIF0_1), 690 + PINMUX_IPSR_GPSR(IP8_19_16, CANFD1_RX), 691 + PINMUX_IPSR_GPSR(IP8_19_16, RXDB_EXTFXR), 692 + PINMUX_IPSR_MSEL(IP8_19_16, PWM3_B, SEL_PWM3_1), 693 + PINMUX_IPSR_MSEL(IP8_19_16, TCLK2_B, SEL_TMU_1), 694 + PINMUX_IPSR_MSEL(IP8_19_16, RX1_B, SEL_SCIF1_1), 791 695 792 - PINMUX_IPSR_GPSR(IP8_23_20, DIGRF_CLKIN), 793 - PINMUX_IPSR_GPSR(IP8_23_20, DIGRF_CLKEN_IN), 696 + PINMUX_IPSR_MSEL(IP8_23_20, CANFD_CLK_A, SEL_CANFD0_0), 697 + PINMUX_IPSR_GPSR(IP8_23_20, CLK_EXTFXR), 698 + PINMUX_IPSR_MSEL(IP8_23_20, PWM4_B, SEL_PWM4_1), 699 + PINMUX_IPSR_MSEL(IP8_23_20, SPEEDIN_B, SEL_RSP_1), 700 + PINMUX_IPSR_MSEL(IP8_23_20, SCIF_CLK_B, SEL_HSCIF0_1), 794 701 795 - PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKOUT), 796 - PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKEN_OUT), 702 + PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKIN), 703 + PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKEN_IN), 704 + 705 + PINMUX_IPSR_GPSR(IP8_31_28, DIGRF_CLKOUT), 706 + PINMUX_IPSR_GPSR(IP8_31_28, DIGRF_CLKEN_OUT), 707 + 708 + /* IPSR9 */ 709 + PINMUX_IPSR_GPSR(IP9_3_0, IRQ4), 710 + PINMUX_IPSR_GPSR(IP9_3_0, VI0_DATA12), 711 + 712 + PINMUX_IPSR_GPSR(IP9_7_4, IRQ5), 713 + PINMUX_IPSR_GPSR(IP9_7_4, VI0_DATA13), 714 + 715 + PINMUX_IPSR_GPSR(IP9_11_8, MSIOF0_RXD), 716 + PINMUX_IPSR_GPSR(IP9_11_8, DU_DR0), 717 + PINMUX_IPSR_GPSR(IP9_11_8, VI0_DATA14), 718 + 719 + PINMUX_IPSR_GPSR(IP9_15_12, MSIOF0_TXD), 720 + PINMUX_IPSR_GPSR(IP9_15_12, DU_DR1), 721 + PINMUX_IPSR_GPSR(IP9_15_12, VI0_DATA15), 722 + 723 + PINMUX_IPSR_GPSR(IP9_19_16, MSIOF0_SCK), 724 + PINMUX_IPSR_GPSR(IP9_19_16, DU_DG0), 725 + PINMUX_IPSR_GPSR(IP9_19_16, VI0_DATA16), 726 + 727 + PINMUX_IPSR_GPSR(IP9_23_20, MSIOF0_SYNC), 728 + PINMUX_IPSR_GPSR(IP9_23_20, DU_DG1), 729 + PINMUX_IPSR_GPSR(IP9_23_20, VI0_DATA17), 730 + 731 + PINMUX_IPSR_GPSR(IP9_27_24, MSIOF0_SS1), 732 + PINMUX_IPSR_GPSR(IP9_27_24, DU_DB0), 733 + PINMUX_IPSR_GPSR(IP9_27_24, TCLK3), 734 + PINMUX_IPSR_GPSR(IP9_27_24, VI0_DATA18), 735 + 736 + PINMUX_IPSR_GPSR(IP9_31_28, MSIOF0_SS2), 737 + PINMUX_IPSR_GPSR(IP9_31_28, DU_DB1), 738 + PINMUX_IPSR_GPSR(IP9_31_28, TCLK4), 739 + PINMUX_IPSR_GPSR(IP9_31_28, VI0_DATA19), 740 + 741 + /* IPSR10 */ 742 + PINMUX_IPSR_GPSR(IP10_3_0, SCL3), 743 + PINMUX_IPSR_GPSR(IP10_3_0, VI0_DATA20), 744 + 745 + PINMUX_IPSR_GPSR(IP10_7_4, SDA3), 746 + PINMUX_IPSR_GPSR(IP10_7_4, VI0_DATA21), 747 + 748 + PINMUX_IPSR_GPSR(IP10_11_8, FSO_CFE_0_N), 749 + PINMUX_IPSR_GPSR(IP10_11_8, VI0_DATA22), 750 + 751 + PINMUX_IPSR_GPSR(IP10_15_12, FSO_CFE_1_N), 752 + PINMUX_IPSR_GPSR(IP10_15_12, VI0_DATA23), 753 + 754 + PINMUX_IPSR_GPSR(IP10_19_16, FSO_TOE_N), 797 755 }; 798 756 799 757 static const struct sh_pfc_pin pinmux_pins[] = { 800 758 PINMUX_GPIO_GP_ALL(), 801 759 }; 802 760 803 - /* - AVB0 ------------------------------------------------------------------- */ 804 - static const unsigned int avb0_link_pins[] = { 805 - /* AVB0_LINK */ 761 + /* - AVB -------------------------------------------------------------------- */ 762 + static const unsigned int avb_link_pins[] = { 763 + /* AVB_LINK */ 806 764 RCAR_GP_PIN(1, 18), 807 765 }; 808 - static const unsigned int avb0_link_mux[] = { 809 - AVB0_LINK_MARK, 766 + static const unsigned int avb_link_mux[] = { 767 + AVB_LINK_MARK, 810 768 }; 811 - static const unsigned int avb0_magic_pins[] = { 812 - /* AVB0_MAGIC */ 769 + static const unsigned int avb_magic_pins[] = { 770 + /* AVB_MAGIC */ 813 771 RCAR_GP_PIN(1, 16), 814 772 }; 815 - static const unsigned int avb0_magic_mux[] = { 816 - AVB0_MAGIC_MARK, 773 + static const unsigned int avb_magic_mux[] = { 774 + AVB_MAGIC_MARK, 817 775 }; 818 - static const unsigned int avb0_phy_int_pins[] = { 819 - /* AVB0_PHY_INT */ 776 + static const unsigned int avb_phy_int_pins[] = { 777 + /* AVB_PHY_INT */ 820 778 RCAR_GP_PIN(1, 17), 821 779 }; 822 - static const unsigned int avb0_phy_int_mux[] = { 823 - AVB0_PHY_INT_MARK, 780 + static const unsigned int avb_phy_int_mux[] = { 781 + AVB_PHY_INT_MARK, 824 782 }; 825 - static const unsigned int avb0_mdio_pins[] = { 826 - /* AVB0_MDC, AVB0_MDIO */ 783 + static const unsigned int avb_mdio_pins[] = { 784 + /* AVB_MDC, AVB_MDIO */ 827 785 RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), 828 786 }; 829 - static const unsigned int avb0_mdio_mux[] = { 830 - AVB0_MDC_MARK, AVB0_MDIO_MARK, 787 + static const unsigned int avb_mdio_mux[] = { 788 + AVB_MDC_MARK, AVB_MDIO_MARK, 831 789 }; 832 - static const unsigned int avb0_rgmii_pins[] = { 790 + static const unsigned int avb_rgmii_pins[] = { 833 791 /* 834 - * AVB0_TX_CTL, AVB0_TXC, AVB0_TD0, AVB0_TD1, AVB0_TD2, AVB0_TD3, 835 - * AVB0_RX_CTL, AVB0_RXC, AVB0_RD0, AVB0_RD1, AVB0_RD2, AVB0_RD3 792 + * AVB_TX_CTL, AVB_TXC, AVB_TD0, AVB_TD1, AVB_TD2, AVB_TD3, 793 + * AVB_RX_CTL, AVB_RXC, AVB_RD0, AVB_RD1, AVB_RD2, AVB_RD3, 836 794 */ 837 795 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 838 796 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 10), ··· 876 764 RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 4), 877 765 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), 878 766 }; 879 - static const unsigned int avb0_rgmii_mux[] = { 880 - AVB0_TX_CTL_MARK, AVB0_TXC_MARK, 881 - AVB0_TD0_MARK, AVB0_TD1_MARK, AVB0_TD2_MARK, AVB0_TD3_MARK, 882 - AVB0_RX_CTL_MARK, AVB0_RXC_MARK, 883 - AVB0_RD0_MARK, AVB0_RD1_MARK, AVB0_RD2_MARK, AVB0_RD3_MARK, 767 + static const unsigned int avb_rgmii_mux[] = { 768 + AVB_TX_CTL_MARK, AVB_TXC_MARK, 769 + AVB_TD0_MARK, AVB_TD1_MARK, AVB_TD2_MARK, AVB_TD3_MARK, 770 + AVB_RX_CTL_MARK, AVB_RXC_MARK, 771 + AVB_RD0_MARK, AVB_RD1_MARK, AVB_RD2_MARK, AVB_RD3_MARK, 884 772 }; 885 - static const unsigned int avb0_txcrefclk_pins[] = { 886 - /* AVB0_TXCREFCLK */ 773 + static const unsigned int avb_txcrefclk_pins[] = { 774 + /* AVB_TXCREFCLK */ 887 775 RCAR_GP_PIN(1, 13), 888 776 }; 889 - static const unsigned int avb0_txcrefclk_mux[] = { 890 - AVB0_TXCREFCLK_MARK, 777 + static const unsigned int avb_txcrefclk_mux[] = { 778 + AVB_TXCREFCLK_MARK, 891 779 }; 892 - static const unsigned int avb0_avtp_pps_pins[] = { 893 - /* AVB0_AVTP_PPS */ 780 + static const unsigned int avb_avtp_pps_pins[] = { 781 + /* AVB_AVTP_PPS */ 894 782 RCAR_GP_PIN(2, 6), 895 783 }; 896 - static const unsigned int avb0_avtp_pps_mux[] = { 897 - AVB0_AVTP_PPS_MARK, 784 + static const unsigned int avb_avtp_pps_mux[] = { 785 + AVB_AVTP_PPS_MARK, 898 786 }; 899 - static const unsigned int avb0_avtp_capture_pins[] = { 900 - /* AVB0_AVTP_CAPTURE */ 787 + static const unsigned int avb_avtp_capture_pins[] = { 788 + /* AVB_AVTP_CAPTURE */ 901 789 RCAR_GP_PIN(1, 20), 902 790 }; 903 - static const unsigned int avb0_avtp_capture_mux[] = { 904 - AVB0_AVTP_CAPTURE_MARK, 791 + static const unsigned int avb_avtp_capture_mux[] = { 792 + AVB_AVTP_CAPTURE_MARK, 905 793 }; 906 - static const unsigned int avb0_avtp_match_pins[] = { 907 - /* AVB0_AVTP_MATCH */ 794 + static const unsigned int avb_avtp_match_pins[] = { 795 + /* AVB_AVTP_MATCH */ 908 796 RCAR_GP_PIN(1, 19), 909 797 }; 910 - static const unsigned int avb0_avtp_match_mux[] = { 911 - AVB0_AVTP_MATCH_MARK, 798 + static const unsigned int avb_avtp_match_mux[] = { 799 + AVB_AVTP_MATCH_MARK, 800 + }; 801 + 802 + /* - CANFD0 ----------------------------------------------------------------- */ 803 + static const unsigned int canfd0_data_a_pins[] = { 804 + /* CANFD0_TX, CANFD0_RX */ 805 + RCAR_GP_PIN(1, 21), RCAR_GP_PIN(1, 22), 806 + }; 807 + static const unsigned int canfd0_data_a_mux[] = { 808 + CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 809 + }; 810 + static const unsigned int canfd0_data_b_pins[] = { 811 + /* CANFD0_TX, CANFD0_RX */ 812 + RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 813 + }; 814 + static const unsigned int canfd0_data_b_mux[] = { 815 + CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 816 + }; 817 + 818 + /* - CANFD1 ----------------------------------------------------------------- */ 819 + static const unsigned int canfd1_data_pins[] = { 820 + /* CANFD1_TX, CANFD1_RX */ 821 + RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 822 + }; 823 + static const unsigned int canfd1_data_mux[] = { 824 + CANFD1_TX_MARK, CANFD1_RX_MARK, 912 825 }; 913 826 914 827 /* - CANFD Clock ------------------------------------------------------------ */ ··· 952 815 CANFD_CLK_B_MARK, 953 816 }; 954 817 955 - /* - CANFD0 ----------------------------------------------------------------- */ 956 - static const unsigned int canfd0_data_a_pins[] = { 957 - /* TX, RX */ 958 - RCAR_GP_PIN(1, 21), RCAR_GP_PIN(1, 22), 959 - }; 960 - static const unsigned int canfd0_data_a_mux[] = { 961 - CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 962 - }; 963 - static const unsigned int canfd0_data_b_pins[] = { 964 - /* TX, RX */ 965 - RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 966 - }; 967 - static const unsigned int canfd0_data_b_mux[] = { 968 - CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 969 - }; 970 - 971 - /* - CANFD1 ----------------------------------------------------------------- */ 972 - static const unsigned int canfd1_data_pins[] = { 973 - /* TX, RX */ 974 - RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 975 - }; 976 - static const unsigned int canfd1_data_mux[] = { 977 - CANFD1_TX_MARK, CANFD1_RX_MARK, 978 - }; 979 - 980 818 /* - DU --------------------------------------------------------------------- */ 981 819 static const unsigned int du_rgb666_pins[] = { 982 - /* R[7:2], G[7:2], B[7:2] */ 820 + /* DU_DR[7:2], DU_DG[7:2], DU_DB[7:2] */ 983 821 RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 984 822 RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 0), 985 823 RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 9), ··· 970 858 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, 971 859 DU_DB4_MARK, DU_DB3_MARK, DU_DB2_MARK, 972 860 }; 861 + static const unsigned int du_rgb888_pins[] = { 862 + /* DU_DR[7:0], DU_DG[7:0], DU_DB[7:0] */ 863 + RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 864 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 0), 865 + RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 19), 866 + RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 9), 867 + RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 7), RCAR_GP_PIN(0, 6), 868 + RCAR_GP_PIN(2, 22), RCAR_GP_PIN(2, 21), 869 + RCAR_GP_PIN(0, 17), RCAR_GP_PIN(0, 16), RCAR_GP_PIN(0, 15), 870 + RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 13), RCAR_GP_PIN(0, 12), 871 + RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 23), 872 + }; 873 + static const unsigned int du_rgb888_mux[] = { 874 + DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, 875 + DU_DR4_MARK, DU_DR3_MARK, DU_DR2_MARK, 876 + DU_DR1_MARK, DU_DR0_MARK, 877 + DU_DG7_MARK, DU_DG6_MARK, DU_DG5_MARK, 878 + DU_DG4_MARK, DU_DG3_MARK, DU_DG2_MARK, 879 + DU_DG1_MARK, DU_DG0_MARK, 880 + DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, 881 + DU_DB4_MARK, DU_DB3_MARK, DU_DB2_MARK, 882 + DU_DB1_MARK, DU_DB0_MARK, 883 + }; 973 884 static const unsigned int du_clk_out_pins[] = { 974 - /* DOTCLKOUT */ 885 + /* DU_DOTCLKOUT */ 975 886 RCAR_GP_PIN(0, 18), 976 887 }; 977 888 static const unsigned int du_clk_out_mux[] = { 978 889 DU_DOTCLKOUT_MARK, 979 890 }; 980 891 static const unsigned int du_sync_pins[] = { 981 - /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */ 892 + /* DU_EXVSYNC/DU_VSYNC, DU_EXHSYNC/DU_HSYNC */ 982 893 RCAR_GP_PIN(0, 20), RCAR_GP_PIN(0, 19), 983 894 }; 984 895 static const unsigned int du_sync_mux[] = { 985 - DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK 896 + DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK, 986 897 }; 987 898 static const unsigned int du_oddf_pins[] = { 988 - /* EXODDF/ODDF/DISP/CDE */ 899 + /* DU_EXODDF/DU_ODDF/DISP/CDE */ 989 900 RCAR_GP_PIN(0, 21), 990 901 }; 991 902 static const unsigned int du_oddf_mux[] = { 992 903 DU_EXODDF_DU_ODDF_DISP_CDE_MARK, 993 904 }; 994 905 static const unsigned int du_cde_pins[] = { 995 - /* CDE */ 906 + /* DU_CDE */ 996 907 RCAR_GP_PIN(1, 22), 997 908 }; 998 909 static const unsigned int du_cde_mux[] = { 999 910 DU_CDE_MARK, 1000 911 }; 1001 912 static const unsigned int du_disp_pins[] = { 1002 - /* DISP */ 913 + /* DU_DISP */ 1003 914 RCAR_GP_PIN(1, 21), 1004 915 }; 1005 916 static const unsigned int du_disp_mux[] = { 1006 917 DU_DISP_MARK, 1007 918 }; 1008 919 920 + /* - GETHER ----------------------------------------------------------------- */ 921 + static const unsigned int gether_link_a_pins[] = { 922 + /* GETHER_LINK */ 923 + RCAR_GP_PIN(4, 24), 924 + }; 925 + static const unsigned int gether_link_a_mux[] = { 926 + GETHER_LINK_A_MARK, 927 + }; 928 + static const unsigned int gether_phy_int_a_pins[] = { 929 + /* GETHER_PHY_INT */ 930 + RCAR_GP_PIN(4, 23), 931 + }; 932 + static const unsigned int gether_phy_int_a_mux[] = { 933 + GETHER_PHY_INT_A_MARK, 934 + }; 935 + static const unsigned int gether_mdio_a_pins[] = { 936 + /* GETHER_MDC, GETHER_MDIO */ 937 + RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 20), 938 + }; 939 + static const unsigned int gether_mdio_a_mux[] = { 940 + GETHER_MDC_A_MARK, GETHER_MDIO_A_MARK, 941 + }; 942 + static const unsigned int gether_link_b_pins[] = { 943 + /* GETHER_LINK */ 944 + RCAR_GP_PIN(0, 18), 945 + }; 946 + static const unsigned int gether_link_b_mux[] = { 947 + GETHER_LINK_B_MARK, 948 + }; 949 + static const unsigned int gether_phy_int_b_pins[] = { 950 + /* GETHER_PHY_INT */ 951 + RCAR_GP_PIN(0, 19), 952 + }; 953 + static const unsigned int gether_phy_int_b_mux[] = { 954 + GETHER_PHY_INT_B_MARK, 955 + }; 956 + static const unsigned int gether_mdio_b_mux[] = { 957 + GETHER_MDC_B_MARK, GETHER_MDIO_B_MARK, 958 + }; 959 + static const unsigned int gether_mdio_b_pins[] = { 960 + /* GETHER_MDC, GETHER_MDIO */ 961 + RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10), 962 + }; 963 + static const unsigned int gether_magic_pins[] = { 964 + /* GETHER_MAGIC */ 965 + RCAR_GP_PIN(4, 22), 966 + }; 967 + static const unsigned int gether_magic_mux[] = { 968 + GETHER_MAGIC_MARK, 969 + }; 970 + static const unsigned int gether_rgmii_pins[] = { 971 + /* 972 + * GETHER_TX_CTL, GETHER_TXC, 973 + * GETHER_TD0, GETHER_TD1, GETHER_TD2, GETHER_TD3, 974 + * GETHER_RX_CTL, GETHER_RXC, 975 + * GETHER_RD0, GETHER_RD1, GETHER_RD2, GETHER_RD3, 976 + */ 977 + RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 13), 978 + RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15), 979 + RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17), 980 + RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 7), 981 + RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9), 982 + RCAR_GP_PIN(4, 10), RCAR_GP_PIN(4, 11), 983 + }; 984 + static const unsigned int gether_rgmii_mux[] = { 985 + GETHER_TX_CTL_MARK, GETHER_TXC_MARK, 986 + GETHER_TD0_MARK, GETHER_TD1_MARK, 987 + GETHER_TD2_MARK, GETHER_TD3_MARK, 988 + GETHER_RX_CTL_MARK, GETHER_RXC_MARK, 989 + GETHER_RD0_MARK, AVB_RD1_MARK, 990 + GETHER_RD2_MARK, AVB_RD3_MARK, 991 + }; 992 + static const unsigned int gether_txcrefclk_pins[] = { 993 + /* GETHER_TXCREFCLK */ 994 + RCAR_GP_PIN(4, 18), 995 + }; 996 + static const unsigned int gether_txcrefclk_mux[] = { 997 + GETHER_TXCREFCLK_MARK, 998 + }; 999 + static const unsigned int gether_txcrefclk_mega_pins[] = { 1000 + /* GETHER_TXCREFCLK_MEGA */ 1001 + RCAR_GP_PIN(4, 19), 1002 + }; 1003 + static const unsigned int gether_txcrefclk_mega_mux[] = { 1004 + GETHER_TXCREFCLK_MEGA_MARK, 1005 + }; 1006 + static const unsigned int gether_rmii_pins[] = { 1007 + /* 1008 + * GETHER_RMII_CRS_DV, GETHER_RMII_RX_ER, 1009 + * GETHER_RMII_RXD0, GETHER_RMII_RXD1, 1010 + * GETHER_RMII_TXD_EN, GETHER_RMII_TXD0, 1011 + * GETHER_RMII_TXD1, GETHER_RMII_REFCLK 1012 + */ 1013 + RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 1014 + RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 1015 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 1016 + RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 1017 + }; 1018 + static const unsigned int gether_rmii_mux[] = { 1019 + GETHER_RMII_CRS_DV_MARK, GETHER_RMII_RX_ER_MARK, 1020 + GETHER_RMII_RXD0_MARK, GETHER_RMII_RXD1_MARK, 1021 + GETHER_RMII_TXD_EN_MARK, GETHER_RMII_TXD0_MARK, 1022 + GETHER_RMII_TXD1_MARK, GETHER_RMII_REFCLK_MARK, 1023 + }; 1024 + 1009 1025 /* - HSCIF0 ----------------------------------------------------------------- */ 1010 - static const unsigned int hscif0_data_pins[] = { 1011 - /* HRX, HTX */ 1012 - RCAR_GP_PIN(0, 19), RCAR_GP_PIN(0, 3), 1026 + static const unsigned int hscif0_data_a_pins[] = { 1027 + /* HRX0, HTX0 */ 1028 + RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 15), 1013 1029 }; 1014 - static const unsigned int hscif0_data_mux[] = { 1015 - HRX0_MARK, HTX0_MARK, 1030 + static const unsigned int hscif0_data_a_mux[] = { 1031 + HRX0_A_MARK, HTX0_A_MARK, 1016 1032 }; 1017 - static const unsigned int hscif0_clk_pins[] = { 1018 - /* HSCK */ 1019 - RCAR_GP_PIN(0, 0), 1033 + static const unsigned int hscif0_clk_a_pins[] = { 1034 + /* HSCK0 */ 1035 + RCAR_GP_PIN(0, 12), 1020 1036 }; 1021 - static const unsigned int hscif0_clk_mux[] = { 1022 - HSCK0_MARK, 1037 + static const unsigned int hscif0_clk_a_mux[] = { 1038 + HSCK0_A_MARK, 1023 1039 }; 1024 - static const unsigned int hscif0_ctrl_pins[] = { 1025 - /* HRTS#, HCTS# */ 1026 - RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2), 1040 + static const unsigned int hscif0_ctrl_a_pins[] = { 1041 + /* HRTS0#, HCTS0# */ 1042 + RCAR_GP_PIN(0, 13), RCAR_GP_PIN(0, 14), 1027 1043 }; 1028 - static const unsigned int hscif0_ctrl_mux[] = { 1029 - HRTS0_N_MARK, HCTS0_N_MARK, 1044 + static const unsigned int hscif0_ctrl_a_mux[] = { 1045 + HRTS0_N_A_MARK, HCTS0_N_A_MARK, 1046 + }; 1047 + static const unsigned int hscif0_data_b_pins[] = { 1048 + /* HRX0, HTX0 */ 1049 + RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1050 + }; 1051 + static const unsigned int hscif0_data_b_mux[] = { 1052 + HRX0_B_MARK, HTX0_B_MARK, 1053 + }; 1054 + static const unsigned int hscif0_clk_b_pins[] = { 1055 + /* HSCK0 */ 1056 + RCAR_GP_PIN(4, 1), 1057 + }; 1058 + static const unsigned int hscif0_clk_b_mux[] = { 1059 + HSCK0_B_MARK, 1060 + }; 1061 + static const unsigned int hscif0_ctrl_b_pins[] = { 1062 + /* HRTS0#, HCTS0# */ 1063 + RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1064 + }; 1065 + static const unsigned int hscif0_ctrl_b_mux[] = { 1066 + HRTS0_N_B_MARK, HCTS0_N_B_MARK, 1030 1067 }; 1031 1068 1032 1069 /* - HSCIF1 ----------------------------------------------------------------- */ 1033 1070 static const unsigned int hscif1_data_pins[] = { 1034 - /* HRX, HTX */ 1071 + /* HRX1, HTX1 */ 1035 1072 RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1036 1073 }; 1037 1074 static const unsigned int hscif1_data_mux[] = { 1038 1075 HRX1_MARK, HTX1_MARK, 1039 1076 }; 1040 1077 static const unsigned int hscif1_clk_pins[] = { 1041 - /* HSCK */ 1078 + /* HSCK1 */ 1042 1079 RCAR_GP_PIN(2, 7), 1043 1080 }; 1044 1081 static const unsigned int hscif1_clk_mux[] = { 1045 1082 HSCK1_MARK, 1046 1083 }; 1047 1084 static const unsigned int hscif1_ctrl_pins[] = { 1048 - /* HRTS#, HCTS# */ 1085 + /* HRTS1#, HCTS1# */ 1049 1086 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1050 1087 }; 1051 1088 static const unsigned int hscif1_ctrl_mux[] = { ··· 1203 942 1204 943 /* - HSCIF2 ----------------------------------------------------------------- */ 1205 944 static const unsigned int hscif2_data_pins[] = { 1206 - /* HRX, HTX */ 945 + /* HRX2, HTX2 */ 1207 946 RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 15), 1208 947 }; 1209 948 static const unsigned int hscif2_data_mux[] = { 1210 949 HRX2_MARK, HTX2_MARK, 1211 950 }; 1212 951 static const unsigned int hscif2_clk_pins[] = { 1213 - /* HSCK */ 952 + /* HSCK2 */ 1214 953 RCAR_GP_PIN(2, 12), 1215 954 }; 1216 955 static const unsigned int hscif2_clk_mux[] = { 1217 956 HSCK2_MARK, 1218 957 }; 1219 958 static const unsigned int hscif2_ctrl_pins[] = { 1220 - /* HRTS#, HCTS# */ 959 + /* HRTS2#, HCTS2# */ 1221 960 RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13), 1222 961 }; 1223 962 static const unsigned int hscif2_ctrl_mux[] = { ··· 1226 965 1227 966 /* - HSCIF3 ----------------------------------------------------------------- */ 1228 967 static const unsigned int hscif3_data_pins[] = { 1229 - /* HRX, HTX */ 968 + /* HRX3, HTX3 */ 1230 969 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 1231 970 }; 1232 971 static const unsigned int hscif3_data_mux[] = { 1233 972 HRX3_MARK, HTX3_MARK, 1234 973 }; 1235 974 static const unsigned int hscif3_clk_pins[] = { 1236 - /* HSCK */ 975 + /* HSCK3 */ 1237 976 RCAR_GP_PIN(2, 0), 1238 977 }; 1239 978 static const unsigned int hscif3_clk_mux[] = { 1240 979 HSCK3_MARK, 1241 980 }; 1242 981 static const unsigned int hscif3_ctrl_pins[] = { 1243 - /* HRTS#, HCTS# */ 982 + /* HRTS3#, HCTS3# */ 1244 983 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 1), 1245 984 }; 1246 985 static const unsigned int hscif3_ctrl_mux[] = { ··· 1249 988 1250 989 /* - I2C0 ------------------------------------------------------------------- */ 1251 990 static const unsigned int i2c0_pins[] = { 1252 - /* SDA, SCL */ 991 + /* SDA0, SCL0 */ 1253 992 RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 0), 1254 993 }; 1255 994 static const unsigned int i2c0_mux[] = { ··· 1258 997 1259 998 /* - I2C1 ------------------------------------------------------------------- */ 1260 999 static const unsigned int i2c1_pins[] = { 1261 - /* SDA, SCL */ 1000 + /* SDA1, SCL1 */ 1262 1001 RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1263 1002 }; 1264 1003 static const unsigned int i2c1_mux[] = { ··· 1267 1006 1268 1007 /* - I2C2 ------------------------------------------------------------------- */ 1269 1008 static const unsigned int i2c2_pins[] = { 1270 - /* SDA, SCL */ 1009 + /* SDA2, SCL2 */ 1271 1010 RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 4), 1272 1011 }; 1273 1012 static const unsigned int i2c2_mux[] = { ··· 1275 1014 }; 1276 1015 1277 1016 /* - I2C3 ------------------------------------------------------------------- */ 1278 - static const unsigned int i2c3_a_pins[] = { 1279 - /* SDA, SCL */ 1280 - RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1017 + static const unsigned int i2c3_pins[] = { 1018 + /* SDA3, SCL3 */ 1019 + RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 25), 1281 1020 }; 1282 - static const unsigned int i2c3_a_mux[] = { 1283 - SDA3_A_MARK, SCL3_A_MARK, 1284 - }; 1285 - static const unsigned int i2c3_b_pins[] = { 1286 - /* SDA, SCL */ 1287 - RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13), 1288 - }; 1289 - static const unsigned int i2c3_b_mux[] = { 1290 - SDA3_B_MARK, SCL3_B_MARK, 1021 + static const unsigned int i2c3_mux[] = { 1022 + SDA3_MARK, SCL3_MARK, 1291 1023 }; 1292 1024 1293 1025 /* - I2C4 ------------------------------------------------------------------- */ 1294 1026 static const unsigned int i2c4_pins[] = { 1295 - /* SDA, SCL */ 1027 + /* SDA4, SCL4 */ 1296 1028 RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 15), 1297 1029 }; 1298 1030 static const unsigned int i2c4_mux[] = { 1299 1031 SDA4_MARK, SCL4_MARK, 1032 + }; 1033 + 1034 + /* - I2C5 ------------------------------------------------------------------- */ 1035 + static const unsigned int i2c5_pins[] = { 1036 + /* SDA5, SCL5 */ 1037 + RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 8), 1038 + }; 1039 + static const unsigned int i2c5_mux[] = { 1040 + SDA5_MARK, SCL5_MARK, 1300 1041 }; 1301 1042 1302 1043 /* - INTC-EX ---------------------------------------------------------------- */ ··· 1311 1048 }; 1312 1049 static const unsigned int intc_ex_irq1_pins[] = { 1313 1050 /* IRQ1 */ 1314 - RCAR_GP_PIN(0, 11), 1051 + RCAR_GP_PIN(0, 12), 1315 1052 }; 1316 1053 static const unsigned int intc_ex_irq1_mux[] = { 1317 1054 IRQ1_MARK, 1318 1055 }; 1319 1056 static const unsigned int intc_ex_irq2_pins[] = { 1320 1057 /* IRQ2 */ 1321 - RCAR_GP_PIN(0, 12), 1058 + RCAR_GP_PIN(0, 13), 1322 1059 }; 1323 1060 static const unsigned int intc_ex_irq2_mux[] = { 1324 1061 IRQ2_MARK, 1325 1062 }; 1326 1063 static const unsigned int intc_ex_irq3_pins[] = { 1327 1064 /* IRQ3 */ 1328 - RCAR_GP_PIN(0, 19), 1065 + RCAR_GP_PIN(0, 14), 1329 1066 }; 1330 1067 static const unsigned int intc_ex_irq3_mux[] = { 1331 1068 IRQ3_MARK, 1332 1069 }; 1333 1070 static const unsigned int intc_ex_irq4_pins[] = { 1334 1071 /* IRQ4 */ 1335 - RCAR_GP_PIN(3, 15), 1072 + RCAR_GP_PIN(2, 17), 1336 1073 }; 1337 1074 static const unsigned int intc_ex_irq4_mux[] = { 1338 1075 IRQ4_MARK, 1339 1076 }; 1340 1077 static const unsigned int intc_ex_irq5_pins[] = { 1341 1078 /* IRQ5 */ 1342 - RCAR_GP_PIN(3, 16), 1079 + RCAR_GP_PIN(2, 18), 1343 1080 }; 1344 1081 static const unsigned int intc_ex_irq5_mux[] = { 1345 1082 IRQ5_MARK, ··· 1347 1084 1348 1085 /* - MMC -------------------------------------------------------------------- */ 1349 1086 static const unsigned int mmc_data1_pins[] = { 1350 - /* D0 */ 1351 - RCAR_GP_PIN(3, 6), 1087 + /* MMC_D0 */ 1088 + RCAR_GP_PIN(3, 8), 1352 1089 }; 1353 1090 static const unsigned int mmc_data1_mux[] = { 1354 1091 MMC_D0_MARK, 1355 1092 }; 1356 1093 static const unsigned int mmc_data4_pins[] = { 1357 - /* D[0:3] */ 1358 - RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 1094 + /* MMC_D[0:3] */ 1359 1095 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 1096 + RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1360 1097 }; 1361 1098 static const unsigned int mmc_data4_mux[] = { 1362 1099 MMC_D0_MARK, MMC_D1_MARK, 1363 1100 MMC_D2_MARK, MMC_D3_MARK, 1364 1101 }; 1365 1102 static const unsigned int mmc_data8_pins[] = { 1366 - /* D[0:7] */ 1367 - RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 1103 + /* MMC_D[0:7] */ 1368 1104 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 1369 - RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12), 1105 + RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1370 1106 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14), 1107 + RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16), 1371 1108 }; 1372 1109 static const unsigned int mmc_data8_mux[] = { 1373 1110 MMC_D0_MARK, MMC_D1_MARK, ··· 1376 1113 MMC_D6_MARK, MMC_D7_MARK, 1377 1114 }; 1378 1115 static const unsigned int mmc_ctrl_pins[] = { 1379 - /* CLK, CMD */ 1380 - RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 5), 1116 + /* MMC_CLK, MMC_CMD */ 1117 + RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 7), 1381 1118 }; 1382 1119 static const unsigned int mmc_ctrl_mux[] = { 1383 1120 MMC_CLK_MARK, MMC_CMD_MARK, 1384 1121 }; 1122 + static const unsigned int mmc_cd_pins[] = { 1123 + /* MMC_CD */ 1124 + RCAR_GP_PIN(3, 5), 1125 + }; 1126 + static const unsigned int mmc_cd_mux[] = { 1127 + MMC_CD_MARK, 1128 + }; 1129 + static const unsigned int mmc_wp_pins[] = { 1130 + /* MMC_WP */ 1131 + RCAR_GP_PIN(3, 4), 1132 + }; 1133 + static const unsigned int mmc_wp_mux[] = { 1134 + MMC_WP_MARK, 1135 + }; 1136 + static const unsigned int mmc_ds_pins[] = { 1137 + /* MMC_DS */ 1138 + RCAR_GP_PIN(3, 6), 1139 + }; 1140 + static const unsigned int mmc_ds_mux[] = { 1141 + MMC_DS_MARK, 1142 + }; 1385 1143 1386 1144 /* - MSIOF0 ----------------------------------------------------------------- */ 1387 1145 static const unsigned int msiof0_clk_pins[] = { 1388 - /* SCK */ 1389 - RCAR_GP_PIN(4, 2), 1146 + /* MSIOF0_SCK */ 1147 + RCAR_GP_PIN(2, 21), 1390 1148 }; 1391 1149 static const unsigned int msiof0_clk_mux[] = { 1392 1150 MSIOF0_SCK_MARK, 1393 1151 }; 1394 1152 static const unsigned int msiof0_sync_pins[] = { 1395 - /* SYNC */ 1396 - RCAR_GP_PIN(4, 3), 1153 + /* MSIOF0_SYNC */ 1154 + RCAR_GP_PIN(2, 22), 1397 1155 }; 1398 1156 static const unsigned int msiof0_sync_mux[] = { 1399 1157 MSIOF0_SYNC_MARK, 1400 1158 }; 1401 1159 static const unsigned int msiof0_ss1_pins[] = { 1402 - /* SS1 */ 1403 - RCAR_GP_PIN(4, 4), 1160 + /* MSIOF0_SS1 */ 1161 + RCAR_GP_PIN(2, 23), 1404 1162 }; 1405 1163 static const unsigned int msiof0_ss1_mux[] = { 1406 1164 MSIOF0_SS1_MARK, 1407 1165 }; 1408 1166 static const unsigned int msiof0_ss2_pins[] = { 1409 - /* SS2 */ 1410 - RCAR_GP_PIN(4, 5), 1167 + /* MSIOF0_SS2 */ 1168 + RCAR_GP_PIN(2, 24), 1411 1169 }; 1412 1170 static const unsigned int msiof0_ss2_mux[] = { 1413 1171 MSIOF0_SS2_MARK, 1414 1172 }; 1415 1173 static const unsigned int msiof0_txd_pins[] = { 1416 - /* TXD */ 1417 - RCAR_GP_PIN(4, 1), 1174 + /* MSIOF0_TXD */ 1175 + RCAR_GP_PIN(2, 20), 1418 1176 }; 1419 1177 static const unsigned int msiof0_txd_mux[] = { 1420 1178 MSIOF0_TXD_MARK, 1421 1179 }; 1422 1180 static const unsigned int msiof0_rxd_pins[] = { 1423 - /* RXD */ 1424 - RCAR_GP_PIN(4, 0), 1181 + /* MSIOF0_RXD */ 1182 + RCAR_GP_PIN(2, 19), 1425 1183 }; 1426 1184 static const unsigned int msiof0_rxd_mux[] = { 1427 1185 MSIOF0_RXD_MARK, ··· 1450 1166 1451 1167 /* - MSIOF1 ----------------------------------------------------------------- */ 1452 1168 static const unsigned int msiof1_clk_pins[] = { 1453 - /* SCK */ 1169 + /* MSIOF1_SCK */ 1454 1170 RCAR_GP_PIN(3, 2), 1455 1171 }; 1456 1172 static const unsigned int msiof1_clk_mux[] = { 1457 1173 MSIOF1_SCK_MARK, 1458 1174 }; 1459 1175 static const unsigned int msiof1_sync_pins[] = { 1460 - /* SYNC */ 1176 + /* MSIOF1_SYNC */ 1461 1177 RCAR_GP_PIN(3, 3), 1462 1178 }; 1463 1179 static const unsigned int msiof1_sync_mux[] = { 1464 1180 MSIOF1_SYNC_MARK, 1465 1181 }; 1466 1182 static const unsigned int msiof1_ss1_pins[] = { 1467 - /* SS1 */ 1183 + /* MSIOF1_SS1 */ 1468 1184 RCAR_GP_PIN(3, 4), 1469 1185 }; 1470 1186 static const unsigned int msiof1_ss1_mux[] = { 1471 1187 MSIOF1_SS1_MARK, 1472 1188 }; 1473 1189 static const unsigned int msiof1_ss2_pins[] = { 1474 - /* SS2 */ 1190 + /* MSIOF1_SS2 */ 1475 1191 RCAR_GP_PIN(3, 5), 1476 1192 }; 1477 1193 static const unsigned int msiof1_ss2_mux[] = { 1478 1194 MSIOF1_SS2_MARK, 1479 1195 }; 1480 1196 static const unsigned int msiof1_txd_pins[] = { 1481 - /* TXD */ 1197 + /* MSIOF1_TXD */ 1482 1198 RCAR_GP_PIN(3, 1), 1483 1199 }; 1484 1200 static const unsigned int msiof1_txd_mux[] = { 1485 1201 MSIOF1_TXD_MARK, 1486 1202 }; 1487 1203 static const unsigned int msiof1_rxd_pins[] = { 1488 - /* RXD */ 1204 + /* MSIOF1_RXD */ 1489 1205 RCAR_GP_PIN(3, 0), 1490 1206 }; 1491 1207 static const unsigned int msiof1_rxd_mux[] = { ··· 1494 1210 1495 1211 /* - MSIOF2 ----------------------------------------------------------------- */ 1496 1212 static const unsigned int msiof2_clk_pins[] = { 1497 - /* SCK */ 1213 + /* MSIOF2_SCK */ 1498 1214 RCAR_GP_PIN(2, 0), 1499 1215 }; 1500 1216 static const unsigned int msiof2_clk_mux[] = { 1501 1217 MSIOF2_SCK_MARK, 1502 1218 }; 1503 1219 static const unsigned int msiof2_sync_pins[] = { 1504 - /* SYNC */ 1220 + /* MSIOF2_SYNC */ 1505 1221 RCAR_GP_PIN(2, 3), 1506 1222 }; 1507 1223 static const unsigned int msiof2_sync_mux[] = { 1508 1224 MSIOF2_SYNC_MARK, 1509 1225 }; 1510 1226 static const unsigned int msiof2_ss1_pins[] = { 1511 - /* SS1 */ 1227 + /* MSIOF2_SS1 */ 1512 1228 RCAR_GP_PIN(2, 4), 1513 1229 }; 1514 1230 static const unsigned int msiof2_ss1_mux[] = { 1515 1231 MSIOF2_SS1_MARK, 1516 1232 }; 1517 1233 static const unsigned int msiof2_ss2_pins[] = { 1518 - /* SS2 */ 1234 + /* MSIOF2_SS2 */ 1519 1235 RCAR_GP_PIN(2, 5), 1520 1236 }; 1521 1237 static const unsigned int msiof2_ss2_mux[] = { 1522 1238 MSIOF2_SS2_MARK, 1523 1239 }; 1524 1240 static const unsigned int msiof2_txd_pins[] = { 1525 - /* TXD */ 1241 + /* MSIOF2_TXD */ 1526 1242 RCAR_GP_PIN(2, 2), 1527 1243 }; 1528 1244 static const unsigned int msiof2_txd_mux[] = { 1529 1245 MSIOF2_TXD_MARK, 1530 1246 }; 1531 1247 static const unsigned int msiof2_rxd_pins[] = { 1532 - /* RXD */ 1248 + /* MSIOF2_RXD */ 1533 1249 RCAR_GP_PIN(2, 1), 1534 1250 }; 1535 1251 static const unsigned int msiof2_rxd_mux[] = { ··· 1538 1254 1539 1255 /* - MSIOF3 ----------------------------------------------------------------- */ 1540 1256 static const unsigned int msiof3_clk_pins[] = { 1541 - /* SCK */ 1257 + /* MSIOF3_SCK */ 1542 1258 RCAR_GP_PIN(0, 20), 1543 1259 }; 1544 1260 static const unsigned int msiof3_clk_mux[] = { 1545 1261 MSIOF3_SCK_MARK, 1546 1262 }; 1547 1263 static const unsigned int msiof3_sync_pins[] = { 1548 - /* SYNC */ 1264 + /* MSIOF3_SYNC */ 1549 1265 RCAR_GP_PIN(0, 21), 1550 1266 }; 1551 1267 static const unsigned int msiof3_sync_mux[] = { 1552 1268 MSIOF3_SYNC_MARK, 1553 1269 }; 1554 1270 static const unsigned int msiof3_ss1_pins[] = { 1555 - /* SS1 */ 1556 - RCAR_GP_PIN(0, 6), 1271 + /* MSIOF3_SS1 */ 1272 + RCAR_GP_PIN(0, 18), 1557 1273 }; 1558 1274 static const unsigned int msiof3_ss1_mux[] = { 1559 1275 MSIOF3_SS1_MARK, 1560 1276 }; 1561 1277 static const unsigned int msiof3_ss2_pins[] = { 1562 - /* SS2 */ 1563 - RCAR_GP_PIN(0, 7), 1278 + /* MSIOF3_SS2 */ 1279 + RCAR_GP_PIN(0, 19), 1564 1280 }; 1565 1281 static const unsigned int msiof3_ss2_mux[] = { 1566 1282 MSIOF3_SS2_MARK, 1567 1283 }; 1568 1284 static const unsigned int msiof3_txd_pins[] = { 1569 - /* TXD */ 1570 - RCAR_GP_PIN(0, 5), 1285 + /* MSIOF3_TXD */ 1286 + RCAR_GP_PIN(0, 17), 1571 1287 }; 1572 1288 static const unsigned int msiof3_txd_mux[] = { 1573 1289 MSIOF3_TXD_MARK, 1574 1290 }; 1575 1291 static const unsigned int msiof3_rxd_pins[] = { 1576 - /* RXD */ 1577 - RCAR_GP_PIN(0, 4), 1292 + /* MSIOF3_RXD */ 1293 + RCAR_GP_PIN(0, 16), 1578 1294 }; 1579 1295 static const unsigned int msiof3_rxd_mux[] = { 1580 1296 MSIOF3_RXD_MARK, ··· 1582 1298 1583 1299 /* - PWM0 ------------------------------------------------------------------- */ 1584 1300 static const unsigned int pwm0_a_pins[] = { 1585 - RCAR_GP_PIN(2, 12), 1301 + /* PWM0 */ 1302 + RCAR_GP_PIN(0, 15), 1586 1303 }; 1587 1304 static const unsigned int pwm0_a_mux[] = { 1588 1305 PWM0_A_MARK, 1589 1306 }; 1590 1307 static const unsigned int pwm0_b_pins[] = { 1308 + /* PWM0 */ 1591 1309 RCAR_GP_PIN(1, 21), 1592 1310 }; 1593 1311 static const unsigned int pwm0_b_mux[] = { ··· 1598 1312 1599 1313 /* - PWM1 ------------------------------------------------------------------- */ 1600 1314 static const unsigned int pwm1_a_pins[] = { 1315 + /* PWM1 */ 1601 1316 RCAR_GP_PIN(2, 13), 1602 1317 }; 1603 1318 static const unsigned int pwm1_a_mux[] = { 1604 1319 PWM1_A_MARK, 1605 1320 }; 1606 1321 static const unsigned int pwm1_b_pins[] = { 1322 + /* PWM1 */ 1607 1323 RCAR_GP_PIN(1, 22), 1608 1324 }; 1609 1325 static const unsigned int pwm1_b_mux[] = { ··· 1614 1326 1615 1327 /* - PWM2 ------------------------------------------------------------------- */ 1616 1328 static const unsigned int pwm2_a_pins[] = { 1329 + /* PWM2 */ 1617 1330 RCAR_GP_PIN(2, 14), 1618 1331 }; 1619 1332 static const unsigned int pwm2_a_mux[] = { 1620 1333 PWM2_A_MARK, 1621 1334 }; 1622 1335 static const unsigned int pwm2_b_pins[] = { 1336 + /* PWM2 */ 1623 1337 RCAR_GP_PIN(1, 23), 1624 1338 }; 1625 1339 static const unsigned int pwm2_b_mux[] = { ··· 1630 1340 1631 1341 /* - PWM3 ------------------------------------------------------------------- */ 1632 1342 static const unsigned int pwm3_a_pins[] = { 1343 + /* PWM3 */ 1633 1344 RCAR_GP_PIN(2, 15), 1634 1345 }; 1635 1346 static const unsigned int pwm3_a_mux[] = { 1636 1347 PWM3_A_MARK, 1637 1348 }; 1638 1349 static const unsigned int pwm3_b_pins[] = { 1350 + /* PWM3 */ 1639 1351 RCAR_GP_PIN(1, 24), 1640 1352 }; 1641 1353 static const unsigned int pwm3_b_mux[] = { ··· 1646 1354 1647 1355 /* - PWM4 ------------------------------------------------------------------- */ 1648 1356 static const unsigned int pwm4_a_pins[] = { 1357 + /* PWM4 */ 1649 1358 RCAR_GP_PIN(2, 16), 1650 1359 }; 1651 1360 static const unsigned int pwm4_a_mux[] = { 1652 1361 PWM4_A_MARK, 1653 1362 }; 1654 1363 static const unsigned int pwm4_b_pins[] = { 1364 + /* PWM4 */ 1655 1365 RCAR_GP_PIN(1, 25), 1656 1366 }; 1657 1367 static const unsigned int pwm4_b_mux[] = { ··· 1768 1474 RPC_WP_N_MARK, 1769 1475 }; 1770 1476 1477 + /* - SCIF0 ------------------------------------------------------------------ */ 1478 + static const unsigned int scif0_data_pins[] = { 1479 + /* RX0, TX0 */ 1480 + RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1481 + }; 1482 + static const unsigned int scif0_data_mux[] = { 1483 + RX0_MARK, TX0_MARK, 1484 + }; 1485 + static const unsigned int scif0_clk_pins[] = { 1486 + /* SCK0 */ 1487 + RCAR_GP_PIN(4, 1), 1488 + }; 1489 + static const unsigned int scif0_clk_mux[] = { 1490 + SCK0_MARK, 1491 + }; 1492 + static const unsigned int scif0_ctrl_pins[] = { 1493 + /* RTS0#, CTS0# */ 1494 + RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1495 + }; 1496 + static const unsigned int scif0_ctrl_mux[] = { 1497 + RTS0_N_MARK, CTS0_N_MARK, 1498 + }; 1499 + 1500 + /* - SCIF1 ------------------------------------------------------------------ */ 1501 + static const unsigned int scif1_data_a_pins[] = { 1502 + /* RX1, TX1 */ 1503 + RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1504 + }; 1505 + static const unsigned int scif1_data_a_mux[] = { 1506 + RX1_A_MARK, TX1_A_MARK, 1507 + }; 1508 + static const unsigned int scif1_clk_pins[] = { 1509 + /* SCK1 */ 1510 + RCAR_GP_PIN(2, 5), 1511 + }; 1512 + static const unsigned int scif1_clk_mux[] = { 1513 + SCK1_MARK, 1514 + }; 1515 + static const unsigned int scif1_ctrl_pins[] = { 1516 + /* RTS1#, CTS1# */ 1517 + RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1518 + }; 1519 + static const unsigned int scif1_ctrl_mux[] = { 1520 + RTS1_N_MARK, CTS1_N_MARK, 1521 + }; 1522 + static const unsigned int scif1_data_b_pins[] = { 1523 + /* RX1, TX1 */ 1524 + RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 23), 1525 + }; 1526 + static const unsigned int scif1_data_b_mux[] = { 1527 + RX1_B_MARK, TX1_B_MARK, 1528 + }; 1529 + 1530 + /* - SCIF3 ------------------------------------------------------------------ */ 1531 + static const unsigned int scif3_data_pins[] = { 1532 + /* RX3, TX3 */ 1533 + RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 2), 1534 + }; 1535 + static const unsigned int scif3_data_mux[] = { 1536 + RX3_MARK, TX3_MARK, 1537 + }; 1538 + static const unsigned int scif3_clk_pins[] = { 1539 + /* SCK3 */ 1540 + RCAR_GP_PIN(2, 0), 1541 + }; 1542 + static const unsigned int scif3_clk_mux[] = { 1543 + SCK3_MARK, 1544 + }; 1545 + static const unsigned int scif3_ctrl_pins[] = { 1546 + /* RTS3#, CTS3# */ 1547 + RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 1548 + }; 1549 + static const unsigned int scif3_ctrl_mux[] = { 1550 + RTS3_N_MARK, CTS3_N_MARK, 1551 + }; 1552 + 1553 + /* - SCIF4 ------------------------------------------------------------------ */ 1554 + static const unsigned int scif4_data_pins[] = { 1555 + /* RX4, TX4 */ 1556 + RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2), 1557 + }; 1558 + static const unsigned int scif4_data_mux[] = { 1559 + RX4_MARK, TX4_MARK, 1560 + }; 1561 + static const unsigned int scif4_clk_pins[] = { 1562 + /* SCK4 */ 1563 + RCAR_GP_PIN(0, 0), 1564 + }; 1565 + static const unsigned int scif4_clk_mux[] = { 1566 + SCK4_MARK, 1567 + }; 1568 + static const unsigned int scif4_ctrl_pins[] = { 1569 + /* RTS4#, CTS4# */ 1570 + RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 1571 + }; 1572 + static const unsigned int scif4_ctrl_mux[] = { 1573 + RTS4_N_MARK, CTS4_N_MARK, 1574 + }; 1575 + 1771 1576 /* - SCIF Clock ------------------------------------------------------------- */ 1772 1577 static const unsigned int scif_clk_a_pins[] = { 1773 1578 /* SCIF_CLK */ 1774 - RCAR_GP_PIN(0, 18), 1579 + RCAR_GP_PIN(0, 10), 1775 1580 }; 1776 1581 static const unsigned int scif_clk_a_mux[] = { 1777 1582 SCIF_CLK_A_MARK, ··· 1883 1490 SCIF_CLK_B_MARK, 1884 1491 }; 1885 1492 1886 - /* - SCIF0 ------------------------------------------------------------------ */ 1887 - static const unsigned int scif0_data_pins[] = { 1888 - /* RX, TX */ 1889 - RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1890 - }; 1891 - static const unsigned int scif0_data_mux[] = { 1892 - RX0_MARK, TX0_MARK, 1893 - }; 1894 - static const unsigned int scif0_clk_pins[] = { 1895 - /* SCK */ 1896 - RCAR_GP_PIN(4, 1), 1897 - }; 1898 - static const unsigned int scif0_clk_mux[] = { 1899 - SCK0_MARK, 1900 - }; 1901 - static const unsigned int scif0_ctrl_pins[] = { 1902 - /* RTS#, CTS# */ 1903 - RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1904 - }; 1905 - static const unsigned int scif0_ctrl_mux[] = { 1906 - RTS0_N_MARK, CTS0_N_MARK, 1907 - }; 1908 - 1909 - /* - SCIF1 ------------------------------------------------------------------ */ 1910 - static const unsigned int scif1_data_a_pins[] = { 1911 - /* RX, TX */ 1912 - RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1913 - }; 1914 - static const unsigned int scif1_data_a_mux[] = { 1915 - RX1_A_MARK, TX1_A_MARK, 1916 - }; 1917 - static const unsigned int scif1_clk_pins[] = { 1918 - /* SCK */ 1919 - RCAR_GP_PIN(2, 5), 1920 - }; 1921 - static const unsigned int scif1_clk_mux[] = { 1922 - SCK1_MARK, 1923 - }; 1924 - static const unsigned int scif1_ctrl_pins[] = { 1925 - /* RTS#, CTS# */ 1926 - RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1927 - }; 1928 - static const unsigned int scif1_ctrl_mux[] = { 1929 - RTS1_N_MARK, CTS1_N_MARK, 1930 - }; 1931 - static const unsigned int scif1_data_b_pins[] = { 1932 - /* RX, TX */ 1933 - RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 23), 1934 - }; 1935 - static const unsigned int scif1_data_b_mux[] = { 1936 - RX1_B_MARK, TX1_B_MARK, 1937 - }; 1938 - 1939 - /* - SCIF3 ------------------------------------------------------------------ */ 1940 - static const unsigned int scif3_data_pins[] = { 1941 - /* RX, TX */ 1942 - RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 2), 1943 - }; 1944 - static const unsigned int scif3_data_mux[] = { 1945 - RX3_MARK, TX3_MARK, 1946 - }; 1947 - static const unsigned int scif3_clk_pins[] = { 1948 - /* SCK */ 1949 - RCAR_GP_PIN(2, 0), 1950 - }; 1951 - static const unsigned int scif3_clk_mux[] = { 1952 - SCK3_MARK, 1953 - }; 1954 - static const unsigned int scif3_ctrl_pins[] = { 1955 - /* RTS#, CTS# */ 1956 - RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 1957 - }; 1958 - static const unsigned int scif3_ctrl_mux[] = { 1959 - RTS3_N_MARK, CTS3_N_MARK, 1960 - }; 1961 - 1962 - /* - SCIF4 ------------------------------------------------------------------ */ 1963 - static const unsigned int scif4_data_pins[] = { 1964 - /* RX, TX */ 1965 - RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1966 - }; 1967 - static const unsigned int scif4_data_mux[] = { 1968 - RX4_MARK, TX4_MARK, 1969 - }; 1970 - static const unsigned int scif4_clk_pins[] = { 1971 - /* SCK */ 1972 - RCAR_GP_PIN(3, 9), 1973 - }; 1974 - static const unsigned int scif4_clk_mux[] = { 1975 - SCK4_MARK, 1976 - }; 1977 - static const unsigned int scif4_ctrl_pins[] = { 1978 - /* RTS#, CTS# */ 1979 - RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12), 1980 - }; 1981 - static const unsigned int scif4_ctrl_mux[] = { 1982 - RTS4_N_MARK, CTS4_N_MARK, 1983 - }; 1984 - 1985 1493 /* - TMU -------------------------------------------------------------------- */ 1986 1494 static const unsigned int tmu_tclk1_a_pins[] = { 1987 1495 /* TCLK1 */ 1988 - RCAR_GP_PIN(4, 4), 1496 + RCAR_GP_PIN(3, 13), 1989 1497 }; 1990 1498 static const unsigned int tmu_tclk1_a_mux[] = { 1991 1499 TCLK1_A_MARK, ··· 1900 1606 }; 1901 1607 static const unsigned int tmu_tclk2_a_pins[] = { 1902 1608 /* TCLK2 */ 1903 - RCAR_GP_PIN(4, 5), 1609 + RCAR_GP_PIN(3, 14), 1904 1610 }; 1905 1611 static const unsigned int tmu_tclk2_a_mux[] = { 1906 1612 TCLK2_A_MARK, ··· 1913 1619 TCLK2_B_MARK, 1914 1620 }; 1915 1621 1622 + /* - TPU ------------------------------------------------------------------- */ 1623 + static const unsigned int tpu_to0_pins[] = { 1624 + /* TPU0TO0 */ 1625 + RCAR_GP_PIN(1, 19), 1626 + }; 1627 + static const unsigned int tpu_to0_mux[] = { 1628 + TPU0TO0_MARK, 1629 + }; 1630 + static const unsigned int tpu_to1_pins[] = { 1631 + /* TPU0TO1 */ 1632 + RCAR_GP_PIN(1, 20), 1633 + }; 1634 + static const unsigned int tpu_to1_mux[] = { 1635 + TPU0TO1_MARK, 1636 + }; 1637 + static const unsigned int tpu_to2_pins[] = { 1638 + /* TPU0TO2 */ 1639 + RCAR_GP_PIN(4, 2), 1640 + }; 1641 + static const unsigned int tpu_to2_mux[] = { 1642 + TPU0TO2_MARK, 1643 + }; 1644 + static const unsigned int tpu_to3_pins[] = { 1645 + /* TPU0TO3 */ 1646 + RCAR_GP_PIN(4, 3), 1647 + }; 1648 + static const unsigned int tpu_to3_mux[] = { 1649 + TPU0TO3_MARK, 1650 + }; 1651 + 1916 1652 /* - VIN0 ------------------------------------------------------------------- */ 1917 - static const union vin_data12 vin0_data_pins = { 1918 - .data12 = { 1653 + static const union vin_data vin0_data_pins = { 1654 + .data24 = { 1919 1655 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5), 1920 1656 RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1921 1657 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1922 1658 RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11), 1923 1659 RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13), 1924 1660 RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15), 1661 + RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18), 1662 + RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20), 1663 + RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22), 1664 + RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 24), 1665 + RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 1666 + RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 28), 1925 1667 }, 1926 1668 }; 1927 - static const union vin_data12 vin0_data_mux = { 1928 - .data12 = { 1669 + static const union vin_data vin0_data_mux = { 1670 + .data24 = { 1929 1671 VI0_DATA0_MARK, VI0_DATA1_MARK, 1930 1672 VI0_DATA2_MARK, VI0_DATA3_MARK, 1931 1673 VI0_DATA4_MARK, VI0_DATA5_MARK, 1932 1674 VI0_DATA6_MARK, VI0_DATA7_MARK, 1933 - VI0_DATA8_MARK, VI0_DATA9_MARK, 1675 + VI0_DATA8_MARK, VI0_DATA9_MARK, 1934 1676 VI0_DATA10_MARK, VI0_DATA11_MARK, 1677 + VI0_DATA12_MARK, VI0_DATA13_MARK, 1678 + VI0_DATA14_MARK, VI0_DATA15_MARK, 1679 + VI0_DATA16_MARK, VI0_DATA17_MARK, 1680 + VI0_DATA18_MARK, VI0_DATA19_MARK, 1681 + VI0_DATA20_MARK, VI0_DATA21_MARK, 1682 + VI0_DATA22_MARK, VI0_DATA23_MARK, 1935 1683 }, 1936 1684 }; 1685 + static const unsigned int vin0_data18_pins[] = { 1686 + RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1687 + RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1688 + RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11), 1689 + RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15), 1690 + RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18), 1691 + RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20), 1692 + RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 24), 1693 + RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 1694 + RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 28), 1695 + }; 1696 + static const unsigned int vin0_data18_mux[] = { 1697 + VI0_DATA2_MARK, VI0_DATA3_MARK, 1698 + VI0_DATA4_MARK, VI0_DATA5_MARK, 1699 + VI0_DATA6_MARK, VI0_DATA7_MARK, 1700 + VI0_DATA10_MARK, VI0_DATA11_MARK, 1701 + VI0_DATA12_MARK, VI0_DATA13_MARK, 1702 + VI0_DATA14_MARK, VI0_DATA15_MARK, 1703 + VI0_DATA18_MARK, VI0_DATA19_MARK, 1704 + VI0_DATA20_MARK, VI0_DATA21_MARK, 1705 + VI0_DATA22_MARK, VI0_DATA23_MARK, 1706 + }; 1937 1707 static const unsigned int vin0_sync_pins[] = { 1938 - /* HSYNC#, VSYNC# */ 1939 - RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), 1708 + /* VI0_VSYNC#, VI0_HSYNC# */ 1709 + RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2), 1940 1710 }; 1941 1711 static const unsigned int vin0_sync_mux[] = { 1942 - VI0_HSYNC_N_MARK, VI0_VSYNC_N_MARK, 1712 + VI0_VSYNC_N_MARK, VI0_HSYNC_N_MARK, 1943 1713 }; 1944 1714 static const unsigned int vin0_field_pins[] = { 1945 - /* FIELD */ 1715 + /* VI0_FIELD */ 1946 1716 RCAR_GP_PIN(2, 16), 1947 1717 }; 1948 1718 static const unsigned int vin0_field_mux[] = { 1949 1719 VI0_FIELD_MARK, 1950 1720 }; 1951 1721 static const unsigned int vin0_clkenb_pins[] = { 1952 - /* CLKENB */ 1722 + /* VI0_CLKENB */ 1953 1723 RCAR_GP_PIN(2, 1), 1954 1724 }; 1955 1725 static const unsigned int vin0_clkenb_mux[] = { 1956 1726 VI0_CLKENB_MARK, 1957 1727 }; 1958 1728 static const unsigned int vin0_clk_pins[] = { 1959 - /* CLK */ 1729 + /* VI0_CLK */ 1960 1730 RCAR_GP_PIN(2, 0), 1961 1731 }; 1962 1732 static const unsigned int vin0_clk_mux[] = { ··· 2049 1691 }, 2050 1692 }; 2051 1693 static const unsigned int vin1_sync_pins[] = { 2052 - /* HSYNC#, VSYNC# */ 2053 - RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), 1694 + /* VI1_VSYNC#, VI1_HSYNC# */ 1695 + RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2), 2054 1696 }; 2055 1697 static const unsigned int vin1_sync_mux[] = { 2056 - VI1_HSYNC_N_MARK, VI1_VSYNC_N_MARK, 1698 + VI1_VSYNC_N_MARK, VI1_HSYNC_N_MARK, 2057 1699 }; 2058 1700 static const unsigned int vin1_field_pins[] = { 1701 + /* VI1_FIELD */ 2059 1702 RCAR_GP_PIN(3, 16), 2060 1703 }; 2061 1704 static const unsigned int vin1_field_mux[] = { 2062 - /* FIELD */ 2063 1705 VI1_FIELD_MARK, 2064 1706 }; 2065 1707 static const unsigned int vin1_clkenb_pins[] = { 1708 + /* VI1_CLKENB */ 2066 1709 RCAR_GP_PIN(3, 1), 2067 1710 }; 2068 1711 static const unsigned int vin1_clkenb_mux[] = { 2069 - /* CLKENB */ 2070 1712 VI1_CLKENB_MARK, 2071 1713 }; 2072 1714 static const unsigned int vin1_clk_pins[] = { 1715 + /* VI1_CLK */ 2073 1716 RCAR_GP_PIN(3, 0), 2074 1717 }; 2075 1718 static const unsigned int vin1_clk_mux[] = { 2076 - /* CLK */ 2077 1719 VI1_CLK_MARK, 2078 1720 }; 2079 1721 2080 1722 static const struct sh_pfc_pin_group pinmux_groups[] = { 2081 - SH_PFC_PIN_GROUP(avb0_link), 2082 - SH_PFC_PIN_GROUP(avb0_magic), 2083 - SH_PFC_PIN_GROUP(avb0_phy_int), 2084 - SH_PFC_PIN_GROUP(avb0_mdio), 2085 - SH_PFC_PIN_GROUP(avb0_rgmii), 2086 - SH_PFC_PIN_GROUP(avb0_txcrefclk), 2087 - SH_PFC_PIN_GROUP(avb0_avtp_pps), 2088 - SH_PFC_PIN_GROUP(avb0_avtp_capture), 2089 - SH_PFC_PIN_GROUP(avb0_avtp_match), 2090 - SH_PFC_PIN_GROUP(canfd_clk_a), 2091 - SH_PFC_PIN_GROUP(canfd_clk_b), 1723 + SH_PFC_PIN_GROUP(avb_link), 1724 + SH_PFC_PIN_GROUP(avb_magic), 1725 + SH_PFC_PIN_GROUP(avb_phy_int), 1726 + SH_PFC_PIN_GROUP(avb_mdio), 1727 + SH_PFC_PIN_GROUP(avb_rgmii), 1728 + SH_PFC_PIN_GROUP(avb_txcrefclk), 1729 + SH_PFC_PIN_GROUP(avb_avtp_pps), 1730 + SH_PFC_PIN_GROUP(avb_avtp_capture), 1731 + SH_PFC_PIN_GROUP(avb_avtp_match), 2092 1732 SH_PFC_PIN_GROUP(canfd0_data_a), 2093 1733 SH_PFC_PIN_GROUP(canfd0_data_b), 2094 1734 SH_PFC_PIN_GROUP(canfd1_data), 1735 + SH_PFC_PIN_GROUP(canfd_clk_a), 1736 + SH_PFC_PIN_GROUP(canfd_clk_b), 2095 1737 SH_PFC_PIN_GROUP(du_rgb666), 1738 + SH_PFC_PIN_GROUP(du_rgb888), 2096 1739 SH_PFC_PIN_GROUP(du_clk_out), 2097 1740 SH_PFC_PIN_GROUP(du_sync), 2098 1741 SH_PFC_PIN_GROUP(du_oddf), 2099 1742 SH_PFC_PIN_GROUP(du_cde), 2100 1743 SH_PFC_PIN_GROUP(du_disp), 2101 - SH_PFC_PIN_GROUP(hscif0_data), 2102 - SH_PFC_PIN_GROUP(hscif0_clk), 2103 - SH_PFC_PIN_GROUP(hscif0_ctrl), 1744 + SH_PFC_PIN_GROUP(gether_link_a), 1745 + SH_PFC_PIN_GROUP(gether_phy_int_a), 1746 + SH_PFC_PIN_GROUP(gether_mdio_a), 1747 + SH_PFC_PIN_GROUP(gether_link_b), 1748 + SH_PFC_PIN_GROUP(gether_phy_int_b), 1749 + SH_PFC_PIN_GROUP(gether_mdio_b), 1750 + SH_PFC_PIN_GROUP(gether_magic), 1751 + SH_PFC_PIN_GROUP(gether_rgmii), 1752 + SH_PFC_PIN_GROUP(gether_txcrefclk), 1753 + SH_PFC_PIN_GROUP(gether_txcrefclk_mega), 1754 + SH_PFC_PIN_GROUP(gether_rmii), 1755 + SH_PFC_PIN_GROUP(hscif0_data_a), 1756 + SH_PFC_PIN_GROUP(hscif0_clk_a), 1757 + SH_PFC_PIN_GROUP(hscif0_ctrl_a), 1758 + SH_PFC_PIN_GROUP(hscif0_data_b), 1759 + SH_PFC_PIN_GROUP(hscif0_clk_b), 1760 + SH_PFC_PIN_GROUP(hscif0_ctrl_b), 2104 1761 SH_PFC_PIN_GROUP(hscif1_data), 2105 1762 SH_PFC_PIN_GROUP(hscif1_clk), 2106 1763 SH_PFC_PIN_GROUP(hscif1_ctrl), ··· 2128 1755 SH_PFC_PIN_GROUP(i2c0), 2129 1756 SH_PFC_PIN_GROUP(i2c1), 2130 1757 SH_PFC_PIN_GROUP(i2c2), 2131 - SH_PFC_PIN_GROUP(i2c3_a), 2132 - SH_PFC_PIN_GROUP(i2c3_b), 1758 + SH_PFC_PIN_GROUP(i2c3), 2133 1759 SH_PFC_PIN_GROUP(i2c4), 1760 + SH_PFC_PIN_GROUP(i2c5), 2134 1761 SH_PFC_PIN_GROUP(intc_ex_irq0), 2135 1762 SH_PFC_PIN_GROUP(intc_ex_irq1), 2136 1763 SH_PFC_PIN_GROUP(intc_ex_irq2), ··· 2141 1768 SH_PFC_PIN_GROUP(mmc_data4), 2142 1769 SH_PFC_PIN_GROUP(mmc_data8), 2143 1770 SH_PFC_PIN_GROUP(mmc_ctrl), 1771 + SH_PFC_PIN_GROUP(mmc_cd), 1772 + SH_PFC_PIN_GROUP(mmc_wp), 1773 + SH_PFC_PIN_GROUP(mmc_ds), 2144 1774 SH_PFC_PIN_GROUP(msiof0_clk), 2145 1775 SH_PFC_PIN_GROUP(msiof0_sync), 2146 1776 SH_PFC_PIN_GROUP(msiof0_ss1), ··· 2191 1815 SH_PFC_PIN_GROUP(rpc_reset), 2192 1816 SH_PFC_PIN_GROUP(rpc_int), 2193 1817 SH_PFC_PIN_GROUP(rpc_wp), 2194 - SH_PFC_PIN_GROUP(scif_clk_a), 2195 - SH_PFC_PIN_GROUP(scif_clk_b), 2196 1818 SH_PFC_PIN_GROUP(scif0_data), 2197 1819 SH_PFC_PIN_GROUP(scif0_clk), 2198 1820 SH_PFC_PIN_GROUP(scif0_ctrl), ··· 2204 1830 SH_PFC_PIN_GROUP(scif4_data), 2205 1831 SH_PFC_PIN_GROUP(scif4_clk), 2206 1832 SH_PFC_PIN_GROUP(scif4_ctrl), 1833 + SH_PFC_PIN_GROUP(scif_clk_a), 1834 + SH_PFC_PIN_GROUP(scif_clk_b), 2207 1835 SH_PFC_PIN_GROUP(tmu_tclk1_a), 2208 1836 SH_PFC_PIN_GROUP(tmu_tclk1_b), 2209 1837 SH_PFC_PIN_GROUP(tmu_tclk2_a), 2210 1838 SH_PFC_PIN_GROUP(tmu_tclk2_b), 1839 + SH_PFC_PIN_GROUP(tpu_to0), 1840 + SH_PFC_PIN_GROUP(tpu_to1), 1841 + SH_PFC_PIN_GROUP(tpu_to2), 1842 + SH_PFC_PIN_GROUP(tpu_to3), 2211 1843 VIN_DATA_PIN_GROUP(vin0_data, 8), 2212 1844 VIN_DATA_PIN_GROUP(vin0_data, 10), 2213 1845 VIN_DATA_PIN_GROUP(vin0_data, 12), 1846 + VIN_DATA_PIN_GROUP(vin0_data, 16), 1847 + SH_PFC_PIN_GROUP(vin0_data18), 1848 + VIN_DATA_PIN_GROUP(vin0_data, 20), 1849 + VIN_DATA_PIN_GROUP(vin0_data, 24), 2214 1850 SH_PFC_PIN_GROUP(vin0_sync), 2215 1851 SH_PFC_PIN_GROUP(vin0_field), 2216 1852 SH_PFC_PIN_GROUP(vin0_clkenb), ··· 2234 1850 SH_PFC_PIN_GROUP(vin1_clk), 2235 1851 }; 2236 1852 2237 - static const char * const avb0_groups[] = { 2238 - "avb0_link", 2239 - "avb0_magic", 2240 - "avb0_phy_int", 2241 - "avb0_mdio", 2242 - "avb0_rgmii", 2243 - "avb0_txcrefclk", 2244 - "avb0_avtp_pps", 2245 - "avb0_avtp_capture", 2246 - "avb0_avtp_match", 2247 - }; 2248 - 2249 - static const char * const canfd_clk_groups[] = { 2250 - "canfd_clk_a", 2251 - "canfd_clk_b", 1853 + static const char * const avb_groups[] = { 1854 + "avb_link", 1855 + "avb_magic", 1856 + "avb_phy_int", 1857 + "avb_mdio", 1858 + "avb_rgmii", 1859 + "avb_txcrefclk", 1860 + "avb_avtp_pps", 1861 + "avb_avtp_capture", 1862 + "avb_avtp_match", 2252 1863 }; 2253 1864 2254 1865 static const char * const canfd0_groups[] = { ··· 2255 1876 "canfd1_data", 2256 1877 }; 2257 1878 1879 + static const char * const canfd_clk_groups[] = { 1880 + "canfd_clk_a", 1881 + "canfd_clk_b", 1882 + }; 1883 + 2258 1884 static const char * const du_groups[] = { 2259 1885 "du_rgb666", 1886 + "du_rgb888", 2260 1887 "du_clk_out", 2261 1888 "du_sync", 2262 1889 "du_oddf", ··· 2270 1885 "du_disp", 2271 1886 }; 2272 1887 1888 + static const char * const gether_groups[] = { 1889 + "gether_link_a", 1890 + "gether_phy_int_a", 1891 + "gether_mdio_a", 1892 + "gether_link_b", 1893 + "gether_phy_int_b", 1894 + "gether_mdio_b", 1895 + "gether_magic", 1896 + "gether_rgmii", 1897 + "gether_txcrefclk", 1898 + "gether_txcrefclk_mega", 1899 + "gether_rmii", 1900 + }; 1901 + 2273 1902 static const char * const hscif0_groups[] = { 2274 - "hscif0_data", 2275 - "hscif0_clk", 2276 - "hscif0_ctrl", 1903 + "hscif0_data_a", 1904 + "hscif0_clk_a", 1905 + "hscif0_ctrl_a", 1906 + "hscif0_data_b", 1907 + "hscif0_clk_b", 1908 + "hscif0_ctrl_b", 2277 1909 }; 2278 1910 2279 1911 static const char * const hscif1_groups[] = { ··· 2324 1922 }; 2325 1923 2326 1924 static const char * const i2c3_groups[] = { 2327 - "i2c3_a", 2328 - "i2c3_b", 1925 + "i2c3", 2329 1926 }; 2330 1927 2331 1928 static const char * const i2c4_groups[] = { 2332 1929 "i2c4", 1930 + }; 1931 + 1932 + static const char * const i2c5_groups[] = { 1933 + "i2c5", 2333 1934 }; 2334 1935 2335 1936 static const char * const intc_ex_groups[] = { ··· 2349 1944 "mmc_data4", 2350 1945 "mmc_data8", 2351 1946 "mmc_ctrl", 1947 + "mmc_cd", 1948 + "mmc_wp", 1949 + "mmc_ds", 2352 1950 }; 2353 1951 2354 1952 static const char * const msiof0_groups[] = { ··· 2437 2029 "rpc_wp", 2438 2030 }; 2439 2031 2440 - static const char * const scif_clk_groups[] = { 2441 - "scif_clk_a", 2442 - "scif_clk_b", 2443 - }; 2444 - 2445 2032 static const char * const scif0_groups[] = { 2446 2033 "scif0_data", 2447 2034 "scif0_clk", ··· 2462 2059 "scif4_ctrl", 2463 2060 }; 2464 2061 2062 + static const char * const scif_clk_groups[] = { 2063 + "scif_clk_a", 2064 + "scif_clk_b", 2065 + }; 2066 + 2465 2067 static const char * const tmu_groups[] = { 2466 2068 "tmu_tclk1_a", 2467 2069 "tmu_tclk1_b", ··· 2474 2066 "tmu_tclk2_b", 2475 2067 }; 2476 2068 2069 + static const char * const tpu_groups[] = { 2070 + "tpu_to0", 2071 + "tpu_to1", 2072 + "tpu_to2", 2073 + "tpu_to3", 2074 + }; 2075 + 2477 2076 static const char * const vin0_groups[] = { 2478 2077 "vin0_data8", 2479 2078 "vin0_data10", 2480 2079 "vin0_data12", 2080 + "vin0_data16", 2081 + "vin0_data18", 2082 + "vin0_data20", 2083 + "vin0_data24", 2481 2084 "vin0_sync", 2482 2085 "vin0_field", 2483 2086 "vin0_clkenb", ··· 2506 2087 }; 2507 2088 2508 2089 static const struct sh_pfc_function pinmux_functions[] = { 2509 - SH_PFC_FUNCTION(avb0), 2510 - SH_PFC_FUNCTION(canfd_clk), 2090 + SH_PFC_FUNCTION(avb), 2511 2091 SH_PFC_FUNCTION(canfd0), 2512 2092 SH_PFC_FUNCTION(canfd1), 2093 + SH_PFC_FUNCTION(canfd_clk), 2513 2094 SH_PFC_FUNCTION(du), 2095 + SH_PFC_FUNCTION(gether), 2514 2096 SH_PFC_FUNCTION(hscif0), 2515 2097 SH_PFC_FUNCTION(hscif1), 2516 2098 SH_PFC_FUNCTION(hscif2), ··· 2521 2101 SH_PFC_FUNCTION(i2c2), 2522 2102 SH_PFC_FUNCTION(i2c3), 2523 2103 SH_PFC_FUNCTION(i2c4), 2104 + SH_PFC_FUNCTION(i2c5), 2524 2105 SH_PFC_FUNCTION(intc_ex), 2525 2106 SH_PFC_FUNCTION(mmc), 2526 2107 SH_PFC_FUNCTION(msiof0), ··· 2536 2115 SH_PFC_FUNCTION(qspi0), 2537 2116 SH_PFC_FUNCTION(qspi1), 2538 2117 SH_PFC_FUNCTION(rpc), 2539 - SH_PFC_FUNCTION(scif_clk), 2540 2118 SH_PFC_FUNCTION(scif0), 2541 2119 SH_PFC_FUNCTION(scif1), 2542 2120 SH_PFC_FUNCTION(scif3), 2543 2121 SH_PFC_FUNCTION(scif4), 2122 + SH_PFC_FUNCTION(scif_clk), 2544 2123 SH_PFC_FUNCTION(tmu), 2124 + SH_PFC_FUNCTION(tpu), 2545 2125 SH_PFC_FUNCTION(vin0), 2546 2126 SH_PFC_FUNCTION(vin1), 2547 2127 }; ··· 2621 2199 { PINMUX_CFG_REG("GPSR2", 0xe6060108, 32, 1, GROUP( 2622 2200 0, 0, 2623 2201 0, 0, 2624 - 0, 0, 2625 - 0, 0, 2626 - 0, 0, 2627 - 0, 0, 2628 - 0, 0, 2629 - 0, 0, 2630 - 0, 0, 2631 - 0, 0, 2632 - 0, 0, 2633 - 0, 0, 2634 - 0, 0, 2635 - 0, 0, 2636 - 0, 0, 2202 + GP_2_29_FN, GPSR2_29, 2203 + GP_2_28_FN, GPSR2_28, 2204 + GP_2_27_FN, GPSR2_27, 2205 + GP_2_26_FN, GPSR2_26, 2206 + GP_2_25_FN, GPSR2_25, 2207 + GP_2_24_FN, GPSR2_24, 2208 + GP_2_23_FN, GPSR2_23, 2209 + GP_2_22_FN, GPSR2_22, 2210 + GP_2_21_FN, GPSR2_21, 2211 + GP_2_20_FN, GPSR2_20, 2212 + GP_2_19_FN, GPSR2_19, 2213 + GP_2_18_FN, GPSR2_18, 2214 + GP_2_17_FN, GPSR2_17, 2637 2215 GP_2_16_FN, GPSR2_16, 2638 2216 GP_2_15_FN, GPSR2_15, 2639 2217 GP_2_14_FN, GPSR2_14, ··· 2694 2272 0, 0, 2695 2273 0, 0, 2696 2274 0, 0, 2697 - 0, 0, 2698 - 0, 0, 2699 - 0, 0, 2700 - 0, 0, 2701 - 0, 0, 2702 - 0, 0, 2703 - 0, 0, 2704 - 0, 0, 2705 - 0, 0, 2706 - 0, 0, 2707 - 0, 0, 2708 - 0, 0, 2709 - 0, 0, 2710 - 0, 0, 2711 - 0, 0, 2712 - 0, 0, 2713 - 0, 0, 2714 - 0, 0, 2715 - 0, 0, 2275 + GP_4_24_FN, GPSR4_24, 2276 + GP_4_23_FN, GPSR4_23, 2277 + GP_4_22_FN, GPSR4_22, 2278 + GP_4_21_FN, GPSR4_21, 2279 + GP_4_20_FN, GPSR4_20, 2280 + GP_4_19_FN, GPSR4_19, 2281 + GP_4_18_FN, GPSR4_18, 2282 + GP_4_17_FN, GPSR4_17, 2283 + GP_4_16_FN, GPSR4_16, 2284 + GP_4_15_FN, GPSR4_15, 2285 + GP_4_14_FN, GPSR4_14, 2286 + GP_4_13_FN, GPSR4_13, 2287 + GP_4_12_FN, GPSR4_12, 2288 + GP_4_11_FN, GPSR4_11, 2289 + GP_4_10_FN, GPSR4_10, 2290 + GP_4_9_FN, GPSR4_9, 2291 + GP_4_8_FN, GPSR4_8, 2292 + GP_4_7_FN, GPSR4_7, 2293 + GP_4_6_FN, GPSR4_6, 2716 2294 GP_4_5_FN, GPSR4_5, 2717 2295 GP_4_4_FN, GPSR4_4, 2718 2296 GP_4_3_FN, GPSR4_3, ··· 2849 2427 IP8_7_4 2850 2428 IP8_3_0 )) 2851 2429 }, 2430 + { PINMUX_CFG_REG("IPSR9", 0xe6060224, 32, 4, GROUP( 2431 + IP9_31_28 2432 + IP9_27_24 2433 + IP9_23_20 2434 + IP9_19_16 2435 + IP9_15_12 2436 + IP9_11_8 2437 + IP9_7_4 2438 + IP9_3_0 )) 2439 + }, 2440 + { PINMUX_CFG_REG("IPSR10", 0xe6060228, 32, 4, GROUP( 2441 + IP10_31_28 2442 + IP10_27_24 2443 + IP10_23_20 2444 + IP10_19_16 2445 + IP10_15_12 2446 + IP10_11_8 2447 + IP10_7_4 2448 + IP10_3_0 )) 2449 + }, 2852 2450 #undef F_ 2853 2451 #undef FM 2854 2452 ··· 2896 2454 MOD_SEL0_6 2897 2455 MOD_SEL0_5 2898 2456 MOD_SEL0_4 2899 - MOD_SEL0_3 2457 + 0, 0, 2900 2458 MOD_SEL0_2 2901 2459 MOD_SEL0_1 2902 2460 MOD_SEL0_0 )) ··· 2908 2466 POCCTRL0, 2909 2467 POCCTRL1, 2910 2468 POCCTRL2, 2469 + POCCTRL3, 2911 2470 TDSELCTRL, 2912 2471 }; 2913 2472 2914 2473 static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = { 2915 - [POCCTRL0] = { 0xe6060380 }, 2916 - [POCCTRL1] = { 0xe6060384 }, 2917 - [POCCTRL2] = { 0xe6060388 }, 2474 + [POCCTRL0] = { 0xe6060380, }, 2475 + [POCCTRL1] = { 0xe6060384, }, 2476 + [POCCTRL2] = { 0xe6060388, }, 2477 + [POCCTRL3] = { 0xe606038c, }, 2918 2478 [TDSELCTRL] = { 0xe60603c0, }, 2919 2479 { /* sentinel */ }, 2920 2480 }; 2921 2481 2922 - static int r8a77970_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, 2482 + static int r8a77980_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, 2923 2483 u32 *pocctrl) 2924 2484 { 2925 2485 int bit = pin & 0x1f; ··· 2929 2485 *pocctrl = pinmux_ioctrl_regs[POCCTRL0].reg; 2930 2486 if (pin >= RCAR_GP_PIN(0, 0) && pin <= RCAR_GP_PIN(0, 21)) 2931 2487 return bit; 2932 - if (pin >= RCAR_GP_PIN(2, 0) && pin <= RCAR_GP_PIN(2, 9)) 2488 + else if (pin >= RCAR_GP_PIN(2, 0) && pin <= RCAR_GP_PIN(2, 9)) 2933 2489 return bit + 22; 2934 2490 2935 2491 *pocctrl = pinmux_ioctrl_regs[POCCTRL1].reg; 2936 2492 if (pin >= RCAR_GP_PIN(2, 10) && pin <= RCAR_GP_PIN(2, 16)) 2937 2493 return bit - 10; 2938 - if (pin >= RCAR_GP_PIN(3, 0) && pin <= RCAR_GP_PIN(3, 16)) 2494 + if ((pin >= RCAR_GP_PIN(2, 17) && pin <= RCAR_GP_PIN(2, 24)) || 2495 + (pin >= RCAR_GP_PIN(3, 0) && pin <= RCAR_GP_PIN(3, 16))) 2939 2496 return bit + 7; 2497 + 2498 + *pocctrl = pinmux_ioctrl_regs[POCCTRL2].reg; 2499 + if (pin >= RCAR_GP_PIN(2, 25) && pin <= RCAR_GP_PIN(2, 29)) 2500 + return pin - 25; 2940 2501 2941 2502 return -EINVAL; 2942 2503 } 2943 2504 2944 2505 static const struct sh_pfc_soc_operations pinmux_ops = { 2945 - .pin_to_pocctrl = r8a77970_pin_to_pocctrl, 2506 + .pin_to_pocctrl = r8a77980_pin_to_pocctrl, 2946 2507 }; 2947 2508 2948 - const struct sh_pfc_soc_info r8a77970_pinmux_info = { 2949 - .name = "r8a77970_pfc", 2509 + const struct sh_pfc_soc_info r8a77980_pinmux_info = { 2510 + .name = "r8a77980_pfc", 2950 2511 .ops = &pinmux_ops, 2951 2512 .unlock_reg = 0xe6060000, /* PMMR */ 2952 2513
+644 -1093
drivers/pinctrl/sh-pfc/pfc-r8a77980.c drivers/pinctrl/renesas/pfc-r8a77970.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * R8A77980 processor support - PFC hardware block. 3 + * R8A77970 processor support - PFC hardware block. 4 4 * 5 - * Copyright (C) 2018 Renesas Electronics Corp. 6 - * Copyright (C) 2018 Cogent Embedded, Inc. 5 + * Copyright (C) 2016 Renesas Electronics Corp. 6 + * Copyright (C) 2017 Cogent Embedded, Inc. <source@cogentembedded.com> 7 7 * 8 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7795.c 8 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7795.c 9 9 * 10 10 * R-Car Gen3 processor support - PFC hardware block. 11 11 * 12 - * Copyright (C) 2015 Renesas Electronics Corporation 12 + * Copyright (C) 2015 Renesas Electronics Corporation 13 13 */ 14 14 15 15 #include <linux/errno.h> ··· 19 19 #include "core.h" 20 20 #include "sh_pfc.h" 21 21 22 - #define CPU_ALL_GP(fn, sfx) \ 23 - PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 24 - PORT_GP_28(1, fn, sfx), \ 25 - PORT_GP_CFG_30(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 26 - PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 27 - PORT_GP_25(4, fn, sfx), \ 22 + #define CPU_ALL_GP(fn, sfx) \ 23 + PORT_GP_CFG_22(0, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 24 + PORT_GP_28(1, fn, sfx), \ 25 + PORT_GP_CFG_17(2, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 26 + PORT_GP_CFG_17(3, fn, sfx, SH_PFC_PIN_CFG_IO_VOLTAGE), \ 27 + PORT_GP_6(4, fn, sfx), \ 28 28 PORT_GP_15(5, fn, sfx) 29 - 30 29 /* 31 30 * F_() : just information 32 31 * FM() : macro for FN_xxx / xxx_MARK ··· 56 57 #define GPSR0_0 F_(DU_DR2, IP0_3_0) 57 58 58 59 /* GPSR1 */ 59 - #define GPSR1_27 F_(DIGRF_CLKOUT, IP8_31_28) 60 - #define GPSR1_26 F_(DIGRF_CLKIN, IP8_27_24) 61 - #define GPSR1_25 F_(CANFD_CLK_A, IP8_23_20) 62 - #define GPSR1_24 F_(CANFD1_RX, IP8_19_16) 63 - #define GPSR1_23 F_(CANFD1_TX, IP8_15_12) 64 - #define GPSR1_22 F_(CANFD0_RX_A, IP8_11_8) 65 - #define GPSR1_21 F_(CANFD0_TX_A, IP8_7_4) 66 - #define GPSR1_20 F_(AVB_AVTP_CAPTURE, IP8_3_0) 67 - #define GPSR1_19 F_(AVB_AVTP_MATCH, IP7_31_28) 68 - #define GPSR1_18 FM(AVB_LINK) 69 - #define GPSR1_17 FM(AVB_PHY_INT) 70 - #define GPSR1_16 FM(AVB_MAGIC) 71 - #define GPSR1_15 FM(AVB_MDC) 72 - #define GPSR1_14 FM(AVB_MDIO) 73 - #define GPSR1_13 FM(AVB_TXCREFCLK) 74 - #define GPSR1_12 FM(AVB_TD3) 75 - #define GPSR1_11 FM(AVB_TD2) 76 - #define GPSR1_10 FM(AVB_TD1) 77 - #define GPSR1_9 FM(AVB_TD0) 78 - #define GPSR1_8 FM(AVB_TXC) 79 - #define GPSR1_7 FM(AVB_TX_CTL) 80 - #define GPSR1_6 FM(AVB_RD3) 81 - #define GPSR1_5 FM(AVB_RD2) 82 - #define GPSR1_4 FM(AVB_RD1) 83 - #define GPSR1_3 FM(AVB_RD0) 84 - #define GPSR1_2 FM(AVB_RXC) 85 - #define GPSR1_1 FM(AVB_RX_CTL) 60 + #define GPSR1_27 F_(DIGRF_CLKOUT, IP8_27_24) 61 + #define GPSR1_26 F_(DIGRF_CLKIN, IP8_23_20) 62 + #define GPSR1_25 F_(CANFD_CLK_A, IP8_19_16) 63 + #define GPSR1_24 F_(CANFD1_RX, IP8_15_12) 64 + #define GPSR1_23 F_(CANFD1_TX, IP8_11_8) 65 + #define GPSR1_22 F_(CANFD0_RX_A, IP8_7_4) 66 + #define GPSR1_21 F_(CANFD0_TX_A, IP8_3_0) 67 + #define GPSR1_20 F_(AVB0_AVTP_CAPTURE, IP7_31_28) 68 + #define GPSR1_19 FM(AVB0_AVTP_MATCH) 69 + #define GPSR1_18 FM(AVB0_LINK) 70 + #define GPSR1_17 FM(AVB0_PHY_INT) 71 + #define GPSR1_16 FM(AVB0_MAGIC) 72 + #define GPSR1_15 FM(AVB0_MDC) 73 + #define GPSR1_14 FM(AVB0_MDIO) 74 + #define GPSR1_13 FM(AVB0_TXCREFCLK) 75 + #define GPSR1_12 FM(AVB0_TD3) 76 + #define GPSR1_11 FM(AVB0_TD2) 77 + #define GPSR1_10 FM(AVB0_TD1) 78 + #define GPSR1_9 FM(AVB0_TD0) 79 + #define GPSR1_8 FM(AVB0_TXC) 80 + #define GPSR1_7 FM(AVB0_TX_CTL) 81 + #define GPSR1_6 FM(AVB0_RD3) 82 + #define GPSR1_5 FM(AVB0_RD2) 83 + #define GPSR1_4 FM(AVB0_RD1) 84 + #define GPSR1_3 FM(AVB0_RD0) 85 + #define GPSR1_2 FM(AVB0_RXC) 86 + #define GPSR1_1 FM(AVB0_RX_CTL) 86 87 #define GPSR1_0 F_(IRQ0, IP2_27_24) 87 88 88 89 /* GPSR2 */ 89 - #define GPSR2_29 F_(FSO_TOE_N, IP10_19_16) 90 - #define GPSR2_28 F_(FSO_CFE_1_N, IP10_15_12) 91 - #define GPSR2_27 F_(FSO_CFE_0_N, IP10_11_8) 92 - #define GPSR2_26 F_(SDA3, IP10_7_4) 93 - #define GPSR2_25 F_(SCL3, IP10_3_0) 94 - #define GPSR2_24 F_(MSIOF0_SS2, IP9_31_28) 95 - #define GPSR2_23 F_(MSIOF0_SS1, IP9_27_24) 96 - #define GPSR2_22 F_(MSIOF0_SYNC, IP9_23_20) 97 - #define GPSR2_21 F_(MSIOF0_SCK, IP9_19_16) 98 - #define GPSR2_20 F_(MSIOF0_TXD, IP9_15_12) 99 - #define GPSR2_19 F_(MSIOF0_RXD, IP9_11_8) 100 - #define GPSR2_18 F_(IRQ5, IP9_7_4) 101 - #define GPSR2_17 F_(IRQ4, IP9_3_0) 102 90 #define GPSR2_16 F_(VI0_FIELD, IP4_31_28) 103 91 #define GPSR2_15 F_(VI0_DATA11, IP4_27_24) 104 92 #define GPSR2_14 F_(VI0_DATA10, IP4_23_20) ··· 124 138 #define GPSR3_0 F_(VI1_CLK, IP5_3_0) 125 139 126 140 /* GPSR4 */ 127 - #define GPSR4_24 FM(GETHER_LINK_A) 128 - #define GPSR4_23 FM(GETHER_PHY_INT_A) 129 - #define GPSR4_22 FM(GETHER_MAGIC) 130 - #define GPSR4_21 FM(GETHER_MDC_A) 131 - #define GPSR4_20 FM(GETHER_MDIO_A) 132 - #define GPSR4_19 FM(GETHER_TXCREFCLK_MEGA) 133 - #define GPSR4_18 FM(GETHER_TXCREFCLK) 134 - #define GPSR4_17 FM(GETHER_TD3) 135 - #define GPSR4_16 FM(GETHER_TD2) 136 - #define GPSR4_15 FM(GETHER_TD1) 137 - #define GPSR4_14 FM(GETHER_TD0) 138 - #define GPSR4_13 FM(GETHER_TXC) 139 - #define GPSR4_12 FM(GETHER_TX_CTL) 140 - #define GPSR4_11 FM(GETHER_RD3) 141 - #define GPSR4_10 FM(GETHER_RD2) 142 - #define GPSR4_9 FM(GETHER_RD1) 143 - #define GPSR4_8 FM(GETHER_RD0) 144 - #define GPSR4_7 FM(GETHER_RXC) 145 - #define GPSR4_6 FM(GETHER_RX_CTL) 146 141 #define GPSR4_5 F_(SDA2, IP7_27_24) 147 142 #define GPSR4_4 F_(SCL2, IP7_23_20) 148 143 #define GPSR4_3 F_(SDA1, IP7_19_16) ··· 149 182 #define GPSR5_0 FM(QSPI0_SPCLK) 150 183 151 184 152 - /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */ 153 - #define IP0_3_0 FM(DU_DR2) FM(SCK4) FM(GETHER_RMII_CRS_DV) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 154 - #define IP0_7_4 FM(DU_DR3) FM(RX4) FM(GETHER_RMII_RX_ER) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 155 - #define IP0_11_8 FM(DU_DR4) FM(TX4) FM(GETHER_RMII_RXD0) FM(A2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 156 - #define IP0_15_12 FM(DU_DR5) FM(CTS4_N) FM(GETHER_RMII_RXD1) FM(A3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 157 - #define IP0_19_16 FM(DU_DR6) FM(RTS4_N) FM(GETHER_RMII_TXD_EN) FM(A4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 158 - #define IP0_23_20 FM(DU_DR7) F_(0, 0) FM(GETHER_RMII_TXD0) FM(A5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 159 - #define IP0_27_24 FM(DU_DG2) F_(0, 0) FM(GETHER_RMII_TXD1) FM(A6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 160 - #define IP0_31_28 FM(DU_DG3) FM(CPG_CPCKOUT) FM(GETHER_RMII_REFCLK) FM(A7) FM(PWMFSW0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 161 - #define IP1_3_0 FM(DU_DG4) FM(SCL5) F_(0, 0) FM(A8) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 162 - #define IP1_7_4 FM(DU_DG5) FM(SDA5) FM(GETHER_MDC_B) FM(A9) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 163 - #define IP1_11_8 FM(DU_DG6) FM(SCIF_CLK_A) FM(GETHER_MDIO_B) FM(A10) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 164 - #define IP1_15_12 FM(DU_DG7) FM(HRX0_A) F_(0, 0) FM(A11) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 165 - #define IP1_19_16 FM(DU_DB2) FM(HSCK0_A) F_(0, 0) FM(A12) FM(IRQ1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 166 - #define IP1_23_20 FM(DU_DB3) FM(HRTS0_N_A) F_(0, 0) FM(A13) FM(IRQ2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 167 - #define IP1_27_24 FM(DU_DB4) FM(HCTS0_N_A) F_(0, 0) FM(A14) FM(IRQ3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 168 - #define IP1_31_28 FM(DU_DB5) FM(HTX0_A) FM(PWM0_A) FM(A15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 169 - #define IP2_3_0 FM(DU_DB6) FM(MSIOF3_RXD) F_(0, 0) FM(A16) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 170 - #define IP2_7_4 FM(DU_DB7) FM(MSIOF3_TXD) F_(0, 0) FM(A17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 171 - #define IP2_11_8 FM(DU_DOTCLKOUT) FM(MSIOF3_SS1) FM(GETHER_LINK_B) FM(A18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 172 - #define IP2_15_12 FM(DU_EXHSYNC_DU_HSYNC) FM(MSIOF3_SS2) FM(GETHER_PHY_INT_B) FM(A19) FM(FXR_TXENA_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 173 - #define IP2_19_16 FM(DU_EXVSYNC_DU_VSYNC) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 174 - #define IP2_23_20 FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(MSIOF3_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 175 - #define IP2_27_24 FM(IRQ0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 176 - #define IP2_31_28 FM(VI0_CLK) FM(MSIOF2_SCK) FM(SCK3) F_(0, 0) FM(HSCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 177 - #define IP3_3_0 FM(VI0_CLKENB) FM(MSIOF2_RXD) FM(RX3) FM(RD_WR_N) FM(HCTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 178 - #define IP3_7_4 FM(VI0_HSYNC_N) FM(MSIOF2_TXD) FM(TX3) F_(0, 0) FM(HRTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 179 - #define IP3_11_8 FM(VI0_VSYNC_N) FM(MSIOF2_SYNC) FM(CTS3_N) F_(0, 0) FM(HTX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 180 - #define IP3_15_12 FM(VI0_DATA0) FM(MSIOF2_SS1) FM(RTS3_N) F_(0, 0) FM(HRX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 181 - #define IP3_19_16 FM(VI0_DATA1) FM(MSIOF2_SS2) FM(SCK1) F_(0, 0) FM(SPEEDIN_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 182 - #define IP3_23_20 FM(VI0_DATA2) FM(AVB_AVTP_PPS) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 183 - #define IP3_27_24 FM(VI0_DATA3) FM(HSCK1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 184 - #define IP3_31_28 FM(VI0_DATA4) FM(HRTS1_N) FM(RX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 185 - #define IP4_3_0 FM(VI0_DATA5) FM(HCTS1_N) FM(TX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 186 - #define IP4_7_4 FM(VI0_DATA6) FM(HTX1) FM(CTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 187 - #define IP4_11_8 FM(VI0_DATA7) FM(HRX1) FM(RTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 188 - #define IP4_15_12 FM(VI0_DATA8) FM(HSCK2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 189 - #define IP4_19_16 FM(VI0_DATA9) FM(HCTS2_N) FM(PWM1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 190 - #define IP4_23_20 FM(VI0_DATA10) FM(HRTS2_N) FM(PWM2_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 191 - #define IP4_27_24 FM(VI0_DATA11) FM(HTX2) FM(PWM3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 192 - #define IP4_31_28 FM(VI0_FIELD) FM(HRX2) FM(PWM4_A) FM(CS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 193 - #define IP5_3_0 FM(VI1_CLK) FM(MSIOF1_RXD) F_(0, 0) FM(CS0_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 194 - #define IP5_7_4 FM(VI1_CLKENB) FM(MSIOF1_TXD) F_(0, 0) FM(D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 195 - #define IP5_11_8 FM(VI1_HSYNC_N) FM(MSIOF1_SCK) F_(0, 0) FM(D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 196 - #define IP5_15_12 FM(VI1_VSYNC_N) FM(MSIOF1_SYNC) F_(0, 0) FM(D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 197 - #define IP5_19_16 FM(VI1_DATA0) FM(MSIOF1_SS1) F_(0, 0) FM(D3) FM(MMC_WP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 198 - #define IP5_23_20 FM(VI1_DATA1) FM(MSIOF1_SS2) F_(0, 0) FM(D4) FM(MMC_CD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 199 - #define IP5_27_24 FM(VI1_DATA2) FM(CANFD0_TX_B) F_(0, 0) FM(D5) FM(MMC_DS) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 200 - #define IP5_31_28 FM(VI1_DATA3) FM(CANFD0_RX_B) F_(0, 0) FM(D6) FM(MMC_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 201 - #define IP6_3_0 FM(VI1_DATA4) FM(CANFD_CLK_B) F_(0, 0) FM(D7) FM(MMC_D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 202 - #define IP6_7_4 FM(VI1_DATA5) F_(0, 0) F_(0, 0) FM(D8) FM(MMC_D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 203 - #define IP6_11_8 FM(VI1_DATA6) F_(0, 0) F_(0, 0) FM(D9) FM(MMC_D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 204 - #define IP6_15_12 FM(VI1_DATA7) F_(0, 0) F_(0, 0) FM(D10) FM(MMC_D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 205 - #define IP6_19_16 FM(VI1_DATA8) F_(0, 0) F_(0, 0) FM(D11) FM(MMC_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 206 - #define IP6_23_20 FM(VI1_DATA9) FM(TCLK1_A) F_(0, 0) FM(D12) FM(MMC_D4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 207 - #define IP6_27_24 FM(VI1_DATA10) FM(TCLK2_A) F_(0, 0) FM(D13) FM(MMC_D5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 208 - #define IP6_31_28 FM(VI1_DATA11) FM(SCL4) F_(0, 0) FM(D14) FM(MMC_D6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 209 - #define IP7_3_0 FM(VI1_FIELD) FM(SDA4) F_(0, 0) FM(D15) FM(MMC_D7) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 210 - #define IP7_7_4 FM(SCL0) F_(0, 0) F_(0, 0) FM(CLKOUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 211 - #define IP7_11_8 FM(SDA0) F_(0, 0) F_(0, 0) FM(BS_N) FM(SCK0) FM(HSCK0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 212 - #define IP7_15_12 FM(SCL1) F_(0, 0) FM(TPU0TO2) FM(RD_N) FM(CTS0_N) FM(HCTS0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 213 - #define IP7_19_16 FM(SDA1) F_(0, 0) FM(TPU0TO3) FM(WE0_N) FM(RTS0_N) FM(HRTS0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 214 - #define IP7_23_20 FM(SCL2) F_(0, 0) F_(0, 0) FM(WE1_N) FM(RX0) FM(HRX0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 215 - #define IP7_27_24 FM(SDA2) F_(0, 0) F_(0, 0) FM(EX_WAIT0) FM(TX0) FM(HTX0_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 216 - #define IP7_31_28 FM(AVB_AVTP_MATCH) FM(TPU0TO0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 217 - #define IP8_3_0 FM(AVB_AVTP_CAPTURE) FM(TPU0TO1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 218 - #define IP8_7_4 FM(CANFD0_TX_A) FM(FXR_TXDA) FM(PWM0_B) FM(DU_DISP) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 219 - #define IP8_11_8 FM(CANFD0_RX_A) FM(RXDA_EXTFXR) FM(PWM1_B) FM(DU_CDE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 220 - #define IP8_15_12 FM(CANFD1_TX) FM(FXR_TXDB) FM(PWM2_B) FM(TCLK1_B) FM(TX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 221 - #define IP8_19_16 FM(CANFD1_RX) FM(RXDB_EXTFXR) FM(PWM3_B) FM(TCLK2_B) FM(RX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 222 - #define IP8_23_20 FM(CANFD_CLK_A) FM(CLK_EXTFXR) FM(PWM4_B) FM(SPEEDIN_B) FM(SCIF_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 223 - #define IP8_27_24 FM(DIGRF_CLKIN) FM(DIGRF_CLKEN_IN) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 224 - #define IP8_31_28 FM(DIGRF_CLKOUT) FM(DIGRF_CLKEN_OUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 225 - #define IP9_3_0 FM(IRQ4) F_(0, 0) F_(0, 0) FM(VI0_DATA12) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 226 - #define IP9_7_4 FM(IRQ5) F_(0, 0) F_(0, 0) FM(VI0_DATA13) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 227 - #define IP9_11_8 FM(MSIOF0_RXD) FM(DU_DR0) F_(0, 0) FM(VI0_DATA14) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 228 - #define IP9_15_12 FM(MSIOF0_TXD) FM(DU_DR1) F_(0, 0) FM(VI0_DATA15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 229 - #define IP9_19_16 FM(MSIOF0_SCK) FM(DU_DG0) F_(0, 0) FM(VI0_DATA16) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 230 - #define IP9_23_20 FM(MSIOF0_SYNC) FM(DU_DG1) F_(0, 0) FM(VI0_DATA17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 231 - #define IP9_27_24 FM(MSIOF0_SS1) FM(DU_DB0) FM(TCLK3) FM(VI0_DATA18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 232 - #define IP9_31_28 FM(MSIOF0_SS2) FM(DU_DB1) FM(TCLK4) FM(VI0_DATA19) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 233 - #define IP10_3_0 FM(SCL3) F_(0, 0) F_(0, 0) FM(VI0_DATA20) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 234 - #define IP10_7_4 FM(SDA3) F_(0, 0) F_(0, 0) FM(VI0_DATA21) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 235 - #define IP10_11_8 FM(FSO_CFE_0_N) F_(0, 0) F_(0, 0) FM(VI0_DATA22) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 236 - #define IP10_15_12 FM(FSO_CFE_1_N) F_(0, 0) F_(0, 0) FM(VI0_DATA23) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 237 - #define IP10_19_16 FM(FSO_TOE_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 238 - #define IP10_23_20 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 239 - #define IP10_27_24 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 240 - #define IP10_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 185 + /* IPSRx */ /* 0 */ /* 1 */ /* 2 */ /* 3 */ /* 4 */ /* 5 */ /* 6 - F */ 186 + #define IP0_3_0 FM(DU_DR2) FM(HSCK0) F_(0, 0) FM(A0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 187 + #define IP0_7_4 FM(DU_DR3) FM(HRTS0_N) F_(0, 0) FM(A1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 188 + #define IP0_11_8 FM(DU_DR4) FM(HCTS0_N) F_(0, 0) FM(A2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 189 + #define IP0_15_12 FM(DU_DR5) FM(HTX0) F_(0, 0) FM(A3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 190 + #define IP0_19_16 FM(DU_DR6) FM(MSIOF3_RXD) F_(0, 0) FM(A4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 191 + #define IP0_23_20 FM(DU_DR7) FM(MSIOF3_TXD) F_(0, 0) FM(A5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 192 + #define IP0_27_24 FM(DU_DG2) FM(MSIOF3_SS1) F_(0, 0) FM(A6) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 193 + #define IP0_31_28 FM(DU_DG3) FM(MSIOF3_SS2) F_(0, 0) FM(A7) FM(PWMFSW0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 194 + #define IP1_3_0 FM(DU_DG4) F_(0, 0) F_(0, 0) FM(A8) FM(FSO_CFE_0_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 195 + #define IP1_7_4 FM(DU_DG5) F_(0, 0) F_(0, 0) FM(A9) FM(FSO_CFE_1_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 196 + #define IP1_11_8 FM(DU_DG6) F_(0, 0) F_(0, 0) FM(A10) FM(FSO_TOE_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 197 + #define IP1_15_12 FM(DU_DG7) F_(0, 0) F_(0, 0) FM(A11) FM(IRQ1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 198 + #define IP1_19_16 FM(DU_DB2) F_(0, 0) F_(0, 0) FM(A12) FM(IRQ2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 199 + #define IP1_23_20 FM(DU_DB3) F_(0, 0) F_(0, 0) FM(A13) FM(FXR_CLKOUT1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 200 + #define IP1_27_24 FM(DU_DB4) F_(0, 0) F_(0, 0) FM(A14) FM(FXR_CLKOUT2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 201 + #define IP1_31_28 FM(DU_DB5) F_(0, 0) F_(0, 0) FM(A15) FM(FXR_TXENA_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 202 + #define IP2_3_0 FM(DU_DB6) F_(0, 0) F_(0, 0) FM(A16) FM(FXR_TXENB_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 203 + #define IP2_7_4 FM(DU_DB7) F_(0, 0) F_(0, 0) FM(A17) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 204 + #define IP2_11_8 FM(DU_DOTCLKOUT) FM(SCIF_CLK_A) F_(0, 0) FM(A18) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 205 + #define IP2_15_12 FM(DU_EXHSYNC_DU_HSYNC) FM(HRX0) F_(0, 0) FM(A19) FM(IRQ3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 206 + #define IP2_19_16 FM(DU_EXVSYNC_DU_VSYNC) FM(MSIOF3_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 207 + #define IP2_23_20 FM(DU_EXODDF_DU_ODDF_DISP_CDE) FM(MSIOF3_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 208 + #define IP2_27_24 FM(IRQ0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 209 + #define IP2_31_28 FM(VI0_CLK) FM(MSIOF2_SCK) FM(SCK3) F_(0, 0) FM(HSCK3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 210 + #define IP3_3_0 FM(VI0_CLKENB) FM(MSIOF2_RXD) FM(RX3) FM(RD_WR_N) FM(HCTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 211 + #define IP3_7_4 FM(VI0_HSYNC_N) FM(MSIOF2_TXD) FM(TX3) F_(0, 0) FM(HRTS3_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 212 + #define IP3_11_8 FM(VI0_VSYNC_N) FM(MSIOF2_SYNC) FM(CTS3_N) F_(0, 0) FM(HTX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 213 + #define IP3_15_12 FM(VI0_DATA0) FM(MSIOF2_SS1) FM(RTS3_N) F_(0, 0) FM(HRX3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 214 + #define IP3_19_16 FM(VI0_DATA1) FM(MSIOF2_SS2) FM(SCK1) F_(0, 0) FM(SPEEDIN_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 215 + #define IP3_23_20 FM(VI0_DATA2) FM(AVB0_AVTP_PPS) FM(SDA3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 216 + #define IP3_27_24 FM(VI0_DATA3) FM(HSCK1) FM(SCL3_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 217 + #define IP3_31_28 FM(VI0_DATA4) FM(HRTS1_N) FM(RX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 218 + #define IP4_3_0 FM(VI0_DATA5) FM(HCTS1_N) FM(TX1_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 219 + #define IP4_7_4 FM(VI0_DATA6) FM(HTX1) FM(CTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 220 + #define IP4_11_8 FM(VI0_DATA7) FM(HRX1) FM(RTS1_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 221 + #define IP4_15_12 FM(VI0_DATA8) FM(HSCK2) FM(PWM0_A) FM(A22) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 222 + #define IP4_19_16 FM(VI0_DATA9) FM(HCTS2_N) FM(PWM1_A) FM(A23) FM(FSO_CFE_0_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 223 + #define IP4_23_20 FM(VI0_DATA10) FM(HRTS2_N) FM(PWM2_A) FM(A24) FM(FSO_CFE_1_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 224 + #define IP4_27_24 FM(VI0_DATA11) FM(HTX2) FM(PWM3_A) FM(A25) FM(FSO_TOE_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 225 + #define IP4_31_28 FM(VI0_FIELD) FM(HRX2) FM(PWM4_A) FM(CS1_N) FM(FSCLKST2_N_A) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 226 + #define IP5_3_0 FM(VI1_CLK) FM(MSIOF1_RXD) F_(0, 0) FM(CS0_N) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 227 + #define IP5_7_4 FM(VI1_CLKENB) FM(MSIOF1_TXD) F_(0, 0) FM(D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 228 + #define IP5_11_8 FM(VI1_HSYNC_N) FM(MSIOF1_SCK) F_(0, 0) FM(D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 229 + #define IP5_15_12 FM(VI1_VSYNC_N) FM(MSIOF1_SYNC) F_(0, 0) FM(D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 230 + #define IP5_19_16 FM(VI1_DATA0) FM(MSIOF1_SS1) F_(0, 0) FM(D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 231 + #define IP5_23_20 FM(VI1_DATA1) FM(MSIOF1_SS2) F_(0, 0) FM(D4) FM(MMC_CMD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 232 + #define IP5_27_24 FM(VI1_DATA2) FM(CANFD0_TX_B) F_(0, 0) FM(D5) FM(MMC_D0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 233 + #define IP5_31_28 FM(VI1_DATA3) FM(CANFD0_RX_B) F_(0, 0) FM(D6) FM(MMC_D1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 234 + #define IP6_3_0 FM(VI1_DATA4) FM(CANFD_CLK_B) F_(0, 0) FM(D7) FM(MMC_D2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 235 + #define IP6_7_4 FM(VI1_DATA5) F_(0, 0) FM(SCK4) FM(D8) FM(MMC_D3) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 236 + #define IP6_11_8 FM(VI1_DATA6) F_(0, 0) FM(RX4) FM(D9) FM(MMC_CLK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 237 + #define IP6_15_12 FM(VI1_DATA7) F_(0, 0) FM(TX4) FM(D10) FM(MMC_D4) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 238 + #define IP6_19_16 FM(VI1_DATA8) F_(0, 0) FM(CTS4_N) FM(D11) FM(MMC_D5) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 239 + #define IP6_23_20 FM(VI1_DATA9) F_(0, 0) FM(RTS4_N) FM(D12) FM(MMC_D6) FM(SCL3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 240 + #define IP6_27_24 FM(VI1_DATA10) F_(0, 0) F_(0, 0) FM(D13) FM(MMC_D7) FM(SDA3_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 241 + #define IP6_31_28 FM(VI1_DATA11) FM(SCL4) FM(IRQ4) FM(D14) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 242 + #define IP7_3_0 FM(VI1_FIELD) FM(SDA4) FM(IRQ5) FM(D15) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 243 + #define IP7_7_4 FM(SCL0) FM(DU_DR0) FM(TPU0TO0) FM(CLKOUT) F_(0, 0) FM(MSIOF0_RXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 244 + #define IP7_11_8 FM(SDA0) FM(DU_DR1) FM(TPU0TO1) FM(BS_N) FM(SCK0) FM(MSIOF0_TXD) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 245 + #define IP7_15_12 FM(SCL1) FM(DU_DG0) FM(TPU0TO2) FM(RD_N) FM(CTS0_N) FM(MSIOF0_SCK) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 246 + #define IP7_19_16 FM(SDA1) FM(DU_DG1) FM(TPU0TO3) FM(WE0_N) FM(RTS0_N) FM(MSIOF0_SYNC) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 247 + #define IP7_23_20 FM(SCL2) FM(DU_DB0) FM(TCLK1_A) FM(WE1_N) FM(RX0) FM(MSIOF0_SS1) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 248 + #define IP7_27_24 FM(SDA2) FM(DU_DB1) FM(TCLK2_A) FM(EX_WAIT0) FM(TX0) FM(MSIOF0_SS2) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 249 + #define IP7_31_28 FM(AVB0_AVTP_CAPTURE) F_(0, 0) F_(0, 0) F_(0, 0) FM(FSCLKST2_N_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 250 + #define IP8_3_0 FM(CANFD0_TX_A) FM(FXR_TXDA) FM(PWM0_B) FM(DU_DISP) FM(FSCLKST2_N_C) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 251 + #define IP8_7_4 FM(CANFD0_RX_A) FM(RXDA_EXTFXR) FM(PWM1_B) FM(DU_CDE) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 252 + #define IP8_11_8 FM(CANFD1_TX) FM(FXR_TXDB) FM(PWM2_B) FM(TCLK1_B) FM(TX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 253 + #define IP8_15_12 FM(CANFD1_RX) FM(RXDB_EXTFXR) FM(PWM3_B) FM(TCLK2_B) FM(RX1_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 254 + #define IP8_19_16 FM(CANFD_CLK_A) FM(CLK_EXTFXR) FM(PWM4_B) FM(SPEEDIN_B) FM(SCIF_CLK_B) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 255 + #define IP8_23_20 FM(DIGRF_CLKIN) FM(DIGRF_CLKEN_IN) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 256 + #define IP8_27_24 FM(DIGRF_CLKOUT) FM(DIGRF_CLKEN_OUT) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 257 + #define IP8_31_28 F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) F_(0, 0) 241 258 242 259 #define PINMUX_GPSR \ 243 260 \ 244 - GPSR2_29 \ 245 - GPSR2_28 \ 246 - GPSR1_27 GPSR2_27 \ 247 - GPSR1_26 GPSR2_26 \ 248 - GPSR1_25 GPSR2_25 \ 249 - GPSR1_24 GPSR2_24 GPSR4_24 \ 250 - GPSR1_23 GPSR2_23 GPSR4_23 \ 251 - GPSR1_22 GPSR2_22 GPSR4_22 \ 252 - GPSR0_21 GPSR1_21 GPSR2_21 GPSR4_21 \ 253 - GPSR0_20 GPSR1_20 GPSR2_20 GPSR4_20 \ 254 - GPSR0_19 GPSR1_19 GPSR2_19 GPSR4_19 \ 255 - GPSR0_18 GPSR1_18 GPSR2_18 GPSR4_18 \ 256 - GPSR0_17 GPSR1_17 GPSR2_17 GPSR4_17 \ 257 - GPSR0_16 GPSR1_16 GPSR2_16 GPSR3_16 GPSR4_16 \ 258 - GPSR0_15 GPSR1_15 GPSR2_15 GPSR3_15 GPSR4_15 \ 259 - GPSR0_14 GPSR1_14 GPSR2_14 GPSR3_14 GPSR4_14 GPSR5_14 \ 260 - GPSR0_13 GPSR1_13 GPSR2_13 GPSR3_13 GPSR4_13 GPSR5_13 \ 261 - GPSR0_12 GPSR1_12 GPSR2_12 GPSR3_12 GPSR4_12 GPSR5_12 \ 262 - GPSR0_11 GPSR1_11 GPSR2_11 GPSR3_11 GPSR4_11 GPSR5_11 \ 263 - GPSR0_10 GPSR1_10 GPSR2_10 GPSR3_10 GPSR4_10 GPSR5_10 \ 264 - GPSR0_9 GPSR1_9 GPSR2_9 GPSR3_9 GPSR4_9 GPSR5_9 \ 265 - GPSR0_8 GPSR1_8 GPSR2_8 GPSR3_8 GPSR4_8 GPSR5_8 \ 266 - GPSR0_7 GPSR1_7 GPSR2_7 GPSR3_7 GPSR4_7 GPSR5_7 \ 267 - GPSR0_6 GPSR1_6 GPSR2_6 GPSR3_6 GPSR4_6 GPSR5_6 \ 261 + GPSR1_27 \ 262 + GPSR1_26 \ 263 + GPSR1_25 \ 264 + GPSR1_24 \ 265 + GPSR1_23 \ 266 + GPSR1_22 \ 267 + GPSR0_21 GPSR1_21 \ 268 + GPSR0_20 GPSR1_20 \ 269 + GPSR0_19 GPSR1_19 \ 270 + GPSR0_18 GPSR1_18 \ 271 + GPSR0_17 GPSR1_17 \ 272 + GPSR0_16 GPSR1_16 GPSR2_16 GPSR3_16 \ 273 + GPSR0_15 GPSR1_15 GPSR2_15 GPSR3_15 \ 274 + GPSR0_14 GPSR1_14 GPSR2_14 GPSR3_14 GPSR5_14 \ 275 + GPSR0_13 GPSR1_13 GPSR2_13 GPSR3_13 GPSR5_13 \ 276 + GPSR0_12 GPSR1_12 GPSR2_12 GPSR3_12 GPSR5_12 \ 277 + GPSR0_11 GPSR1_11 GPSR2_11 GPSR3_11 GPSR5_11 \ 278 + GPSR0_10 GPSR1_10 GPSR2_10 GPSR3_10 GPSR5_10 \ 279 + GPSR0_9 GPSR1_9 GPSR2_9 GPSR3_9 GPSR5_9 \ 280 + GPSR0_8 GPSR1_8 GPSR2_8 GPSR3_8 GPSR5_8 \ 281 + GPSR0_7 GPSR1_7 GPSR2_7 GPSR3_7 GPSR5_7 \ 282 + GPSR0_6 GPSR1_6 GPSR2_6 GPSR3_6 GPSR5_6 \ 268 283 GPSR0_5 GPSR1_5 GPSR2_5 GPSR3_5 GPSR4_5 GPSR5_5 \ 269 284 GPSR0_4 GPSR1_4 GPSR2_4 GPSR3_4 GPSR4_4 GPSR5_4 \ 270 285 GPSR0_3 GPSR1_3 GPSR2_3 GPSR3_3 GPSR4_3 GPSR5_3 \ ··· 274 325 FM(IP4_27_24) IP4_27_24 FM(IP5_27_24) IP5_27_24 FM(IP6_27_24) IP6_27_24 FM(IP7_27_24) IP7_27_24 \ 275 326 FM(IP4_31_28) IP4_31_28 FM(IP5_31_28) IP5_31_28 FM(IP6_31_28) IP6_31_28 FM(IP7_31_28) IP7_31_28 \ 276 327 \ 277 - FM(IP8_3_0) IP8_3_0 FM(IP9_3_0) IP9_3_0 FM(IP10_3_0) IP10_3_0 \ 278 - FM(IP8_7_4) IP8_7_4 FM(IP9_7_4) IP9_7_4 FM(IP10_7_4) IP10_7_4 \ 279 - FM(IP8_11_8) IP8_11_8 FM(IP9_11_8) IP9_11_8 FM(IP10_11_8) IP10_11_8 \ 280 - FM(IP8_15_12) IP8_15_12 FM(IP9_15_12) IP9_15_12 FM(IP10_15_12) IP10_15_12 \ 281 - FM(IP8_19_16) IP8_19_16 FM(IP9_19_16) IP9_19_16 FM(IP10_19_16) IP10_19_16 \ 282 - FM(IP8_23_20) IP8_23_20 FM(IP9_23_20) IP9_23_20 FM(IP10_23_20) IP10_23_20 \ 283 - FM(IP8_27_24) IP8_27_24 FM(IP9_27_24) IP9_27_24 FM(IP10_27_24) IP10_27_24 \ 284 - FM(IP8_31_28) IP8_31_28 FM(IP9_31_28) IP9_31_28 FM(IP10_31_28) IP10_31_28 328 + FM(IP8_3_0) IP8_3_0 \ 329 + FM(IP8_7_4) IP8_7_4 \ 330 + FM(IP8_11_8) IP8_11_8 \ 331 + FM(IP8_15_12) IP8_15_12 \ 332 + FM(IP8_19_16) IP8_19_16 \ 333 + FM(IP8_23_20) IP8_23_20 \ 334 + FM(IP8_27_24) IP8_27_24 \ 335 + FM(IP8_31_28) IP8_31_28 285 336 286 337 /* MOD_SEL0 */ /* 0 */ /* 1 */ 287 - #define MOD_SEL0_11 FM(SEL_CANFD0_0) FM(SEL_CANFD0_1) 288 - #define MOD_SEL0_10 FM(SEL_GETHER_0) FM(SEL_GETHER_1) 289 - #define MOD_SEL0_9 FM(SEL_HSCIF0_0) FM(SEL_HSCIF0_1) 290 - #define MOD_SEL0_8 FM(SEL_PWM0_0) FM(SEL_PWM0_1) 291 - #define MOD_SEL0_7 FM(SEL_PWM1_0) FM(SEL_PWM1_1) 292 - #define MOD_SEL0_6 FM(SEL_PWM2_0) FM(SEL_PWM2_1) 293 - #define MOD_SEL0_5 FM(SEL_PWM3_0) FM(SEL_PWM3_1) 294 - #define MOD_SEL0_4 FM(SEL_PWM4_0) FM(SEL_PWM4_1) 295 - #define MOD_SEL0_2 FM(SEL_RSP_0) FM(SEL_RSP_1) 296 - #define MOD_SEL0_1 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) 338 + #define MOD_SEL0_11 FM(SEL_I2C3_0) FM(SEL_I2C3_1) 339 + #define MOD_SEL0_10 FM(SEL_HSCIF0_0) FM(SEL_HSCIF0_1) 340 + #define MOD_SEL0_9 FM(SEL_SCIF1_0) FM(SEL_SCIF1_1) 341 + #define MOD_SEL0_8 FM(SEL_CANFD0_0) FM(SEL_CANFD0_1) 342 + #define MOD_SEL0_7 FM(SEL_PWM4_0) FM(SEL_PWM4_1) 343 + #define MOD_SEL0_6 FM(SEL_PWM3_0) FM(SEL_PWM3_1) 344 + #define MOD_SEL0_5 FM(SEL_PWM2_0) FM(SEL_PWM2_1) 345 + #define MOD_SEL0_4 FM(SEL_PWM1_0) FM(SEL_PWM1_1) 346 + #define MOD_SEL0_3 FM(SEL_PWM0_0) FM(SEL_PWM0_1) 347 + #define MOD_SEL0_2 FM(SEL_RFSO_0) FM(SEL_RFSO_1) 348 + #define MOD_SEL0_1 FM(SEL_RSP_0) FM(SEL_RSP_1) 297 349 #define MOD_SEL0_0 FM(SEL_TMU_0) FM(SEL_TMU_1) 298 350 299 351 #define PINMUX_MOD_SELS \ ··· 307 357 MOD_SEL0_6 \ 308 358 MOD_SEL0_5 \ 309 359 MOD_SEL0_4 \ 360 + MOD_SEL0_3 \ 310 361 MOD_SEL0_2 \ 311 362 MOD_SEL0_1 \ 312 363 MOD_SEL0_0 ··· 344 393 static const u16 pinmux_data[] = { 345 394 PINMUX_DATA_GP_ALL(), 346 395 347 - PINMUX_SINGLE(AVB_RX_CTL), 348 - PINMUX_SINGLE(AVB_RXC), 349 - PINMUX_SINGLE(AVB_RD0), 350 - PINMUX_SINGLE(AVB_RD1), 351 - PINMUX_SINGLE(AVB_RD2), 352 - PINMUX_SINGLE(AVB_RD3), 353 - PINMUX_SINGLE(AVB_TX_CTL), 354 - PINMUX_SINGLE(AVB_TXC), 355 - PINMUX_SINGLE(AVB_TD0), 356 - PINMUX_SINGLE(AVB_TD1), 357 - PINMUX_SINGLE(AVB_TD2), 358 - PINMUX_SINGLE(AVB_TD3), 359 - PINMUX_SINGLE(AVB_TXCREFCLK), 360 - PINMUX_SINGLE(AVB_MDIO), 361 - PINMUX_SINGLE(AVB_MDC), 362 - PINMUX_SINGLE(AVB_MAGIC), 363 - PINMUX_SINGLE(AVB_PHY_INT), 364 - PINMUX_SINGLE(AVB_LINK), 365 - 366 - PINMUX_SINGLE(GETHER_RX_CTL), 367 - PINMUX_SINGLE(GETHER_RXC), 368 - PINMUX_SINGLE(GETHER_RD0), 369 - PINMUX_SINGLE(GETHER_RD1), 370 - PINMUX_SINGLE(GETHER_RD2), 371 - PINMUX_SINGLE(GETHER_RD3), 372 - PINMUX_SINGLE(GETHER_TX_CTL), 373 - PINMUX_SINGLE(GETHER_TXC), 374 - PINMUX_SINGLE(GETHER_TD0), 375 - PINMUX_SINGLE(GETHER_TD1), 376 - PINMUX_SINGLE(GETHER_TD2), 377 - PINMUX_SINGLE(GETHER_TD3), 378 - PINMUX_SINGLE(GETHER_TXCREFCLK), 379 - PINMUX_SINGLE(GETHER_TXCREFCLK_MEGA), 380 - PINMUX_SINGLE(GETHER_MDIO_A), 381 - PINMUX_SINGLE(GETHER_MDC_A), 382 - PINMUX_SINGLE(GETHER_MAGIC), 383 - PINMUX_SINGLE(GETHER_PHY_INT_A), 384 - PINMUX_SINGLE(GETHER_LINK_A), 396 + PINMUX_SINGLE(AVB0_RX_CTL), 397 + PINMUX_SINGLE(AVB0_RXC), 398 + PINMUX_SINGLE(AVB0_RD0), 399 + PINMUX_SINGLE(AVB0_RD1), 400 + PINMUX_SINGLE(AVB0_RD2), 401 + PINMUX_SINGLE(AVB0_RD3), 402 + PINMUX_SINGLE(AVB0_TX_CTL), 403 + PINMUX_SINGLE(AVB0_TXC), 404 + PINMUX_SINGLE(AVB0_TD0), 405 + PINMUX_SINGLE(AVB0_TD1), 406 + PINMUX_SINGLE(AVB0_TD2), 407 + PINMUX_SINGLE(AVB0_TD3), 408 + PINMUX_SINGLE(AVB0_TXCREFCLK), 409 + PINMUX_SINGLE(AVB0_MDIO), 410 + PINMUX_SINGLE(AVB0_MDC), 411 + PINMUX_SINGLE(AVB0_MAGIC), 412 + PINMUX_SINGLE(AVB0_PHY_INT), 413 + PINMUX_SINGLE(AVB0_LINK), 414 + PINMUX_SINGLE(AVB0_AVTP_MATCH), 385 415 386 416 PINMUX_SINGLE(QSPI0_SPCLK), 387 417 PINMUX_SINGLE(QSPI0_MOSI_IO0), ··· 382 450 383 451 /* IPSR0 */ 384 452 PINMUX_IPSR_GPSR(IP0_3_0, DU_DR2), 385 - PINMUX_IPSR_GPSR(IP0_3_0, SCK4), 386 - PINMUX_IPSR_GPSR(IP0_3_0, GETHER_RMII_CRS_DV), 453 + PINMUX_IPSR_GPSR(IP0_3_0, HSCK0), 387 454 PINMUX_IPSR_GPSR(IP0_3_0, A0), 388 455 389 456 PINMUX_IPSR_GPSR(IP0_7_4, DU_DR3), 390 - PINMUX_IPSR_GPSR(IP0_7_4, RX4), 391 - PINMUX_IPSR_GPSR(IP0_7_4, GETHER_RMII_RX_ER), 457 + PINMUX_IPSR_GPSR(IP0_7_4, HRTS0_N), 392 458 PINMUX_IPSR_GPSR(IP0_7_4, A1), 393 459 394 460 PINMUX_IPSR_GPSR(IP0_11_8, DU_DR4), 395 - PINMUX_IPSR_GPSR(IP0_11_8, TX4), 396 - PINMUX_IPSR_GPSR(IP0_11_8, GETHER_RMII_RXD0), 461 + PINMUX_IPSR_GPSR(IP0_11_8, HCTS0_N), 397 462 PINMUX_IPSR_GPSR(IP0_11_8, A2), 398 463 399 464 PINMUX_IPSR_GPSR(IP0_15_12, DU_DR5), 400 - PINMUX_IPSR_GPSR(IP0_15_12, CTS4_N), 401 - PINMUX_IPSR_GPSR(IP0_15_12, GETHER_RMII_RXD1), 465 + PINMUX_IPSR_GPSR(IP0_15_12, HTX0), 402 466 PINMUX_IPSR_GPSR(IP0_15_12, A3), 403 467 404 468 PINMUX_IPSR_GPSR(IP0_19_16, DU_DR6), 405 - PINMUX_IPSR_GPSR(IP0_19_16, RTS4_N), 406 - PINMUX_IPSR_GPSR(IP0_19_16, GETHER_RMII_TXD_EN), 469 + PINMUX_IPSR_GPSR(IP0_19_16, MSIOF3_RXD), 407 470 PINMUX_IPSR_GPSR(IP0_19_16, A4), 408 471 409 472 PINMUX_IPSR_GPSR(IP0_23_20, DU_DR7), 410 - PINMUX_IPSR_GPSR(IP0_23_20, GETHER_RMII_TXD0), 473 + PINMUX_IPSR_GPSR(IP0_23_20, MSIOF3_TXD), 411 474 PINMUX_IPSR_GPSR(IP0_23_20, A5), 412 475 413 476 PINMUX_IPSR_GPSR(IP0_27_24, DU_DG2), 414 - PINMUX_IPSR_GPSR(IP0_27_24, GETHER_RMII_TXD1), 477 + PINMUX_IPSR_GPSR(IP0_27_24, MSIOF3_SS1), 415 478 PINMUX_IPSR_GPSR(IP0_27_24, A6), 416 479 417 480 PINMUX_IPSR_GPSR(IP0_31_28, DU_DG3), 418 - PINMUX_IPSR_GPSR(IP0_31_28, CPG_CPCKOUT), 419 - PINMUX_IPSR_GPSR(IP0_31_28, GETHER_RMII_REFCLK), 481 + PINMUX_IPSR_GPSR(IP0_31_28, MSIOF3_SS2), 420 482 PINMUX_IPSR_GPSR(IP0_31_28, A7), 421 483 PINMUX_IPSR_GPSR(IP0_31_28, PWMFSW0), 422 484 423 485 /* IPSR1 */ 424 486 PINMUX_IPSR_GPSR(IP1_3_0, DU_DG4), 425 - PINMUX_IPSR_GPSR(IP1_3_0, SCL5), 426 487 PINMUX_IPSR_GPSR(IP1_3_0, A8), 488 + PINMUX_IPSR_MSEL(IP1_3_0, FSO_CFE_0_N_A, SEL_RFSO_0), 427 489 428 490 PINMUX_IPSR_GPSR(IP1_7_4, DU_DG5), 429 - PINMUX_IPSR_GPSR(IP1_7_4, SDA5), 430 - PINMUX_IPSR_MSEL(IP1_7_4, GETHER_MDC_B, SEL_GETHER_1), 431 491 PINMUX_IPSR_GPSR(IP1_7_4, A9), 492 + PINMUX_IPSR_MSEL(IP1_7_4, FSO_CFE_1_N_A, SEL_RFSO_0), 432 493 433 494 PINMUX_IPSR_GPSR(IP1_11_8, DU_DG6), 434 - PINMUX_IPSR_MSEL(IP1_11_8, SCIF_CLK_A, SEL_HSCIF0_0), 435 - PINMUX_IPSR_MSEL(IP1_11_8, GETHER_MDIO_B, SEL_GETHER_1), 436 495 PINMUX_IPSR_GPSR(IP1_11_8, A10), 496 + PINMUX_IPSR_MSEL(IP1_11_8, FSO_TOE_N_A, SEL_RFSO_0), 437 497 438 498 PINMUX_IPSR_GPSR(IP1_15_12, DU_DG7), 439 - PINMUX_IPSR_MSEL(IP1_15_12, HRX0_A, SEL_HSCIF0_0), 440 499 PINMUX_IPSR_GPSR(IP1_15_12, A11), 500 + PINMUX_IPSR_GPSR(IP1_15_12, IRQ1), 441 501 442 502 PINMUX_IPSR_GPSR(IP1_19_16, DU_DB2), 443 - PINMUX_IPSR_MSEL(IP1_19_16, HSCK0_A, SEL_HSCIF0_0), 444 503 PINMUX_IPSR_GPSR(IP1_19_16, A12), 445 - PINMUX_IPSR_GPSR(IP1_19_16, IRQ1), 504 + PINMUX_IPSR_GPSR(IP1_19_16, IRQ2), 446 505 447 506 PINMUX_IPSR_GPSR(IP1_23_20, DU_DB3), 448 - PINMUX_IPSR_MSEL(IP1_23_20, HRTS0_N_A, SEL_HSCIF0_0), 449 507 PINMUX_IPSR_GPSR(IP1_23_20, A13), 450 - PINMUX_IPSR_GPSR(IP1_23_20, IRQ2), 508 + PINMUX_IPSR_GPSR(IP1_23_20, FXR_CLKOUT1), 451 509 452 510 PINMUX_IPSR_GPSR(IP1_27_24, DU_DB4), 453 - PINMUX_IPSR_MSEL(IP1_27_24, HCTS0_N_A, SEL_HSCIF0_0), 454 511 PINMUX_IPSR_GPSR(IP1_27_24, A14), 455 - PINMUX_IPSR_GPSR(IP1_27_24, IRQ3), 512 + PINMUX_IPSR_GPSR(IP1_27_24, FXR_CLKOUT2), 456 513 457 514 PINMUX_IPSR_GPSR(IP1_31_28, DU_DB5), 458 - PINMUX_IPSR_MSEL(IP1_31_28, HTX0_A, SEL_HSCIF0_0), 459 - PINMUX_IPSR_MSEL(IP1_31_28, PWM0_A, SEL_PWM0_0), 460 515 PINMUX_IPSR_GPSR(IP1_31_28, A15), 516 + PINMUX_IPSR_GPSR(IP1_31_28, FXR_TXENA_N), 461 517 462 518 /* IPSR2 */ 463 519 PINMUX_IPSR_GPSR(IP2_3_0, DU_DB6), 464 - PINMUX_IPSR_GPSR(IP2_3_0, MSIOF3_RXD), 465 520 PINMUX_IPSR_GPSR(IP2_3_0, A16), 521 + PINMUX_IPSR_GPSR(IP2_3_0, FXR_TXENB_N), 466 522 467 523 PINMUX_IPSR_GPSR(IP2_7_4, DU_DB7), 468 - PINMUX_IPSR_GPSR(IP2_7_4, MSIOF3_TXD), 469 524 PINMUX_IPSR_GPSR(IP2_7_4, A17), 470 525 471 526 PINMUX_IPSR_GPSR(IP2_11_8, DU_DOTCLKOUT), 472 - PINMUX_IPSR_GPSR(IP2_11_8, MSIOF3_SS1), 473 - PINMUX_IPSR_MSEL(IP2_11_8, GETHER_LINK_B, SEL_GETHER_1), 527 + PINMUX_IPSR_MSEL(IP2_11_8, SCIF_CLK_A, SEL_HSCIF0_0), 474 528 PINMUX_IPSR_GPSR(IP2_11_8, A18), 475 529 476 530 PINMUX_IPSR_GPSR(IP2_15_12, DU_EXHSYNC_DU_HSYNC), 477 - PINMUX_IPSR_GPSR(IP2_15_12, MSIOF3_SS2), 478 - PINMUX_IPSR_MSEL(IP2_15_12, GETHER_PHY_INT_B, SEL_GETHER_1), 531 + PINMUX_IPSR_GPSR(IP2_15_12, HRX0), 479 532 PINMUX_IPSR_GPSR(IP2_15_12, A19), 480 - PINMUX_IPSR_GPSR(IP2_15_12, FXR_TXENA_N), 533 + PINMUX_IPSR_GPSR(IP2_15_12, IRQ3), 481 534 482 535 PINMUX_IPSR_GPSR(IP2_19_16, DU_EXVSYNC_DU_VSYNC), 483 536 PINMUX_IPSR_GPSR(IP2_19_16, MSIOF3_SCK), 484 - PINMUX_IPSR_GPSR(IP2_19_16, FXR_TXENB_N), 485 537 486 538 PINMUX_IPSR_GPSR(IP2_23_20, DU_EXODDF_DU_ODDF_DISP_CDE), 487 539 PINMUX_IPSR_GPSR(IP2_23_20, MSIOF3_SYNC), ··· 502 586 PINMUX_IPSR_GPSR(IP3_19_16, VI0_DATA1), 503 587 PINMUX_IPSR_GPSR(IP3_19_16, MSIOF2_SS2), 504 588 PINMUX_IPSR_GPSR(IP3_19_16, SCK1), 505 - PINMUX_IPSR_MSEL(IP3_19_16, SPEEDIN_A, SEL_RSP_0), 589 + PINMUX_IPSR_MSEL(IP3_19_16, SPEEDIN_A, SEL_RSP_0), 506 590 507 591 PINMUX_IPSR_GPSR(IP3_23_20, VI0_DATA2), 508 - PINMUX_IPSR_GPSR(IP3_23_20, AVB_AVTP_PPS), 592 + PINMUX_IPSR_GPSR(IP3_23_20, AVB0_AVTP_PPS), 593 + PINMUX_IPSR_MSEL(IP3_23_20, SDA3_A, SEL_I2C3_0), 509 594 510 595 PINMUX_IPSR_GPSR(IP3_27_24, VI0_DATA3), 511 596 PINMUX_IPSR_GPSR(IP3_27_24, HSCK1), 597 + PINMUX_IPSR_MSEL(IP3_27_24, SCL3_A, SEL_I2C3_0), 512 598 513 599 PINMUX_IPSR_GPSR(IP3_31_28, VI0_DATA4), 514 600 PINMUX_IPSR_GPSR(IP3_31_28, HRTS1_N), 515 - PINMUX_IPSR_MSEL(IP3_31_28, RX1_A, SEL_SCIF1_0), 601 + PINMUX_IPSR_MSEL(IP3_31_28, RX1_A, SEL_SCIF1_0), 516 602 517 603 /* IPSR4 */ 518 604 PINMUX_IPSR_GPSR(IP4_3_0, VI0_DATA5), 519 605 PINMUX_IPSR_GPSR(IP4_3_0, HCTS1_N), 520 - PINMUX_IPSR_MSEL(IP4_3_0, TX1_A, SEL_SCIF1_0), 606 + PINMUX_IPSR_MSEL(IP4_3_0, TX1_A, SEL_SCIF1_0), 521 607 522 608 PINMUX_IPSR_GPSR(IP4_7_4, VI0_DATA6), 523 609 PINMUX_IPSR_GPSR(IP4_7_4, HTX1), ··· 531 613 532 614 PINMUX_IPSR_GPSR(IP4_15_12, VI0_DATA8), 533 615 PINMUX_IPSR_GPSR(IP4_15_12, HSCK2), 616 + PINMUX_IPSR_MSEL(IP4_15_12, PWM0_A, SEL_PWM0_0), 534 617 535 618 PINMUX_IPSR_GPSR(IP4_19_16, VI0_DATA9), 536 619 PINMUX_IPSR_GPSR(IP4_19_16, HCTS2_N), 537 - PINMUX_IPSR_MSEL(IP4_19_16, PWM1_A, SEL_PWM1_0), 620 + PINMUX_IPSR_MSEL(IP4_19_16, PWM1_A, SEL_PWM1_0), 621 + PINMUX_IPSR_MSEL(IP4_19_16, FSO_CFE_0_N_B, SEL_RFSO_1), 538 622 539 623 PINMUX_IPSR_GPSR(IP4_23_20, VI0_DATA10), 540 624 PINMUX_IPSR_GPSR(IP4_23_20, HRTS2_N), 541 - PINMUX_IPSR_MSEL(IP4_23_20, PWM2_A, SEL_PWM2_0), 625 + PINMUX_IPSR_MSEL(IP4_23_20, PWM2_A, SEL_PWM2_0), 626 + PINMUX_IPSR_MSEL(IP4_23_20, FSO_CFE_1_N_B, SEL_RFSO_1), 542 627 543 628 PINMUX_IPSR_GPSR(IP4_27_24, VI0_DATA11), 544 629 PINMUX_IPSR_GPSR(IP4_27_24, HTX2), 545 - PINMUX_IPSR_MSEL(IP4_27_24, PWM3_A, SEL_PWM3_0), 630 + PINMUX_IPSR_MSEL(IP4_27_24, PWM3_A, SEL_PWM3_0), 631 + PINMUX_IPSR_MSEL(IP4_27_24, FSO_TOE_N_B, SEL_RFSO_1), 546 632 547 633 PINMUX_IPSR_GPSR(IP4_31_28, VI0_FIELD), 548 634 PINMUX_IPSR_GPSR(IP4_31_28, HRX2), 549 - PINMUX_IPSR_MSEL(IP4_31_28, PWM4_A, SEL_PWM4_0), 635 + PINMUX_IPSR_MSEL(IP4_31_28, PWM4_A, SEL_PWM4_0), 550 636 PINMUX_IPSR_GPSR(IP4_31_28, CS1_N), 637 + PINMUX_IPSR_GPSR(IP4_31_28, FSCLKST2_N_A), 551 638 552 639 /* IPSR5 */ 553 640 PINMUX_IPSR_GPSR(IP5_3_0, VI1_CLK), ··· 574 651 PINMUX_IPSR_GPSR(IP5_19_16, VI1_DATA0), 575 652 PINMUX_IPSR_GPSR(IP5_19_16, MSIOF1_SS1), 576 653 PINMUX_IPSR_GPSR(IP5_19_16, D3), 577 - PINMUX_IPSR_GPSR(IP5_19_16, MMC_WP), 578 654 579 655 PINMUX_IPSR_GPSR(IP5_23_20, VI1_DATA1), 580 656 PINMUX_IPSR_GPSR(IP5_23_20, MSIOF1_SS2), 581 657 PINMUX_IPSR_GPSR(IP5_23_20, D4), 582 - PINMUX_IPSR_GPSR(IP5_23_20, MMC_CD), 658 + PINMUX_IPSR_GPSR(IP5_23_20, MMC_CMD), 583 659 584 660 PINMUX_IPSR_GPSR(IP5_27_24, VI1_DATA2), 585 - PINMUX_IPSR_MSEL(IP5_27_24, CANFD0_TX_B, SEL_CANFD0_1), 661 + PINMUX_IPSR_MSEL(IP5_27_24, CANFD0_TX_B, SEL_CANFD0_1), 586 662 PINMUX_IPSR_GPSR(IP5_27_24, D5), 587 - PINMUX_IPSR_GPSR(IP5_27_24, MMC_DS), 663 + PINMUX_IPSR_GPSR(IP5_27_24, MMC_D0), 588 664 589 665 PINMUX_IPSR_GPSR(IP5_31_28, VI1_DATA3), 590 - PINMUX_IPSR_MSEL(IP5_31_28, CANFD0_RX_B, SEL_CANFD0_1), 666 + PINMUX_IPSR_MSEL(IP5_31_28, CANFD0_RX_B, SEL_CANFD0_1), 591 667 PINMUX_IPSR_GPSR(IP5_31_28, D6), 592 - PINMUX_IPSR_GPSR(IP5_31_28, MMC_CMD), 668 + PINMUX_IPSR_GPSR(IP5_31_28, MMC_D1), 593 669 594 670 /* IPSR6 */ 595 671 PINMUX_IPSR_GPSR(IP6_3_0, VI1_DATA4), 596 - PINMUX_IPSR_MSEL(IP6_3_0, CANFD_CLK_B, SEL_CANFD0_1), 672 + PINMUX_IPSR_MSEL(IP6_3_0, CANFD_CLK_B, SEL_CANFD0_1), 597 673 PINMUX_IPSR_GPSR(IP6_3_0, D7), 598 - PINMUX_IPSR_GPSR(IP6_3_0, MMC_D0), 674 + PINMUX_IPSR_GPSR(IP6_3_0, MMC_D2), 599 675 600 676 PINMUX_IPSR_GPSR(IP6_7_4, VI1_DATA5), 677 + PINMUX_IPSR_GPSR(IP6_7_4, SCK4), 601 678 PINMUX_IPSR_GPSR(IP6_7_4, D8), 602 - PINMUX_IPSR_GPSR(IP6_7_4, MMC_D1), 679 + PINMUX_IPSR_GPSR(IP6_7_4, MMC_D3), 603 680 604 681 PINMUX_IPSR_GPSR(IP6_11_8, VI1_DATA6), 682 + PINMUX_IPSR_GPSR(IP6_11_8, RX4), 605 683 PINMUX_IPSR_GPSR(IP6_11_8, D9), 606 - PINMUX_IPSR_GPSR(IP6_11_8, MMC_D2), 684 + PINMUX_IPSR_GPSR(IP6_11_8, MMC_CLK), 607 685 608 686 PINMUX_IPSR_GPSR(IP6_15_12, VI1_DATA7), 687 + PINMUX_IPSR_GPSR(IP6_15_12, TX4), 609 688 PINMUX_IPSR_GPSR(IP6_15_12, D10), 610 - PINMUX_IPSR_GPSR(IP6_15_12, MMC_D3), 689 + PINMUX_IPSR_GPSR(IP6_15_12, MMC_D4), 611 690 612 691 PINMUX_IPSR_GPSR(IP6_19_16, VI1_DATA8), 692 + PINMUX_IPSR_GPSR(IP6_19_16, CTS4_N), 613 693 PINMUX_IPSR_GPSR(IP6_19_16, D11), 614 - PINMUX_IPSR_GPSR(IP6_19_16, MMC_CLK), 694 + PINMUX_IPSR_GPSR(IP6_19_16, MMC_D5), 615 695 616 696 PINMUX_IPSR_GPSR(IP6_23_20, VI1_DATA9), 617 - PINMUX_IPSR_MSEL(IP6_23_20, TCLK1_A, SEL_TMU_0), 697 + PINMUX_IPSR_GPSR(IP6_23_20, RTS4_N), 618 698 PINMUX_IPSR_GPSR(IP6_23_20, D12), 619 - PINMUX_IPSR_GPSR(IP6_23_20, MMC_D4), 699 + PINMUX_IPSR_GPSR(IP6_23_20, MMC_D6), 700 + PINMUX_IPSR_MSEL(IP6_23_20, SCL3_B, SEL_I2C3_1), 620 701 621 702 PINMUX_IPSR_GPSR(IP6_27_24, VI1_DATA10), 622 - PINMUX_IPSR_MSEL(IP6_27_24, TCLK2_A, SEL_TMU_0), 623 703 PINMUX_IPSR_GPSR(IP6_27_24, D13), 624 - PINMUX_IPSR_GPSR(IP6_27_24, MMC_D5), 704 + PINMUX_IPSR_GPSR(IP6_27_24, MMC_D7), 705 + PINMUX_IPSR_MSEL(IP6_27_24, SDA3_B, SEL_I2C3_1), 625 706 626 707 PINMUX_IPSR_GPSR(IP6_31_28, VI1_DATA11), 627 708 PINMUX_IPSR_GPSR(IP6_31_28, SCL4), 709 + PINMUX_IPSR_GPSR(IP6_31_28, IRQ4), 628 710 PINMUX_IPSR_GPSR(IP6_31_28, D14), 629 - PINMUX_IPSR_GPSR(IP6_31_28, MMC_D6), 630 711 631 712 /* IPSR7 */ 632 713 PINMUX_IPSR_GPSR(IP7_3_0, VI1_FIELD), 633 714 PINMUX_IPSR_GPSR(IP7_3_0, SDA4), 715 + PINMUX_IPSR_GPSR(IP7_3_0, IRQ5), 634 716 PINMUX_IPSR_GPSR(IP7_3_0, D15), 635 - PINMUX_IPSR_GPSR(IP7_3_0, MMC_D7), 636 717 637 718 PINMUX_IPSR_GPSR(IP7_7_4, SCL0), 719 + PINMUX_IPSR_GPSR(IP7_7_4, DU_DR0), 720 + PINMUX_IPSR_GPSR(IP7_7_4, TPU0TO0), 638 721 PINMUX_IPSR_GPSR(IP7_7_4, CLKOUT), 722 + PINMUX_IPSR_GPSR(IP7_7_4, MSIOF0_RXD), 639 723 640 724 PINMUX_IPSR_GPSR(IP7_11_8, SDA0), 725 + PINMUX_IPSR_GPSR(IP7_11_8, DU_DR1), 726 + PINMUX_IPSR_GPSR(IP7_11_8, TPU0TO1), 641 727 PINMUX_IPSR_GPSR(IP7_11_8, BS_N), 642 728 PINMUX_IPSR_GPSR(IP7_11_8, SCK0), 643 - PINMUX_IPSR_MSEL(IP7_11_8, HSCK0_B, SEL_HSCIF0_1), 729 + PINMUX_IPSR_GPSR(IP7_11_8, MSIOF0_TXD), 644 730 645 731 PINMUX_IPSR_GPSR(IP7_15_12, SCL1), 732 + PINMUX_IPSR_GPSR(IP7_15_12, DU_DG0), 646 733 PINMUX_IPSR_GPSR(IP7_15_12, TPU0TO2), 647 734 PINMUX_IPSR_GPSR(IP7_15_12, RD_N), 648 735 PINMUX_IPSR_GPSR(IP7_15_12, CTS0_N), 649 - PINMUX_IPSR_GPSR(IP7_15_12, HCTS0_N_B), 736 + PINMUX_IPSR_GPSR(IP7_15_12, MSIOF0_SCK), 650 737 651 738 PINMUX_IPSR_GPSR(IP7_19_16, SDA1), 739 + PINMUX_IPSR_GPSR(IP7_19_16, DU_DG1), 652 740 PINMUX_IPSR_GPSR(IP7_19_16, TPU0TO3), 653 741 PINMUX_IPSR_GPSR(IP7_19_16, WE0_N), 654 742 PINMUX_IPSR_GPSR(IP7_19_16, RTS0_N), 655 - PINMUX_IPSR_MSEL(IP1_23_20, HRTS0_N_B, SEL_HSCIF0_1), 743 + PINMUX_IPSR_GPSR(IP7_19_16, MSIOF0_SYNC), 656 744 657 745 PINMUX_IPSR_GPSR(IP7_23_20, SCL2), 746 + PINMUX_IPSR_GPSR(IP7_23_20, DU_DB0), 747 + PINMUX_IPSR_MSEL(IP7_23_20, TCLK1_A, SEL_TMU_0), 658 748 PINMUX_IPSR_GPSR(IP7_23_20, WE1_N), 659 749 PINMUX_IPSR_GPSR(IP7_23_20, RX0), 660 - PINMUX_IPSR_MSEL(IP7_23_20, HRX0_B, SEL_HSCIF0_1), 750 + PINMUX_IPSR_GPSR(IP7_23_20, MSIOF0_SS1), 661 751 662 752 PINMUX_IPSR_GPSR(IP7_27_24, SDA2), 753 + PINMUX_IPSR_GPSR(IP7_27_24, DU_DB1), 754 + PINMUX_IPSR_MSEL(IP7_27_24, TCLK2_A, SEL_TMU_0), 663 755 PINMUX_IPSR_GPSR(IP7_27_24, EX_WAIT0), 664 756 PINMUX_IPSR_GPSR(IP7_27_24, TX0), 665 - PINMUX_IPSR_MSEL(IP7_27_24, HTX0_B, SEL_HSCIF0_1), 757 + PINMUX_IPSR_GPSR(IP7_27_24, MSIOF0_SS2), 666 758 667 - PINMUX_IPSR_GPSR(IP7_31_28, AVB_AVTP_MATCH), 668 - PINMUX_IPSR_GPSR(IP7_31_28, TPU0TO0), 759 + PINMUX_IPSR_GPSR(IP7_31_28, AVB0_AVTP_CAPTURE), 760 + PINMUX_IPSR_GPSR(IP7_31_28, FSCLKST2_N_B), 669 761 670 762 /* IPSR8 */ 671 - PINMUX_IPSR_GPSR(IP8_3_0, AVB_AVTP_CAPTURE), 672 - PINMUX_IPSR_GPSR(IP8_3_0, TPU0TO1), 763 + PINMUX_IPSR_MSEL(IP8_3_0, CANFD0_TX_A, SEL_CANFD0_0), 764 + PINMUX_IPSR_GPSR(IP8_3_0, FXR_TXDA), 765 + PINMUX_IPSR_MSEL(IP8_3_0, PWM0_B, SEL_PWM0_1), 766 + PINMUX_IPSR_GPSR(IP8_3_0, DU_DISP), 767 + PINMUX_IPSR_GPSR(IP8_3_0, FSCLKST2_N_C), 673 768 674 - PINMUX_IPSR_MSEL(IP8_7_4, CANFD0_TX_A, SEL_CANFD0_0), 675 - PINMUX_IPSR_GPSR(IP8_7_4, FXR_TXDA), 676 - PINMUX_IPSR_MSEL(IP8_7_4, PWM0_B, SEL_PWM0_1), 677 - PINMUX_IPSR_GPSR(IP8_7_4, DU_DISP), 769 + PINMUX_IPSR_MSEL(IP8_7_4, CANFD0_RX_A, SEL_CANFD0_0), 770 + PINMUX_IPSR_GPSR(IP8_7_4, RXDA_EXTFXR), 771 + PINMUX_IPSR_MSEL(IP8_7_4, PWM1_B, SEL_PWM1_1), 772 + PINMUX_IPSR_GPSR(IP8_7_4, DU_CDE), 678 773 679 - PINMUX_IPSR_MSEL(IP8_11_8, CANFD0_RX_A, SEL_CANFD0_0), 680 - PINMUX_IPSR_GPSR(IP8_11_8, RXDA_EXTFXR), 681 - PINMUX_IPSR_MSEL(IP8_11_8, PWM1_B, SEL_PWM1_1), 682 - PINMUX_IPSR_GPSR(IP8_11_8, DU_CDE), 774 + PINMUX_IPSR_GPSR(IP8_11_8, CANFD1_TX), 775 + PINMUX_IPSR_GPSR(IP8_11_8, FXR_TXDB), 776 + PINMUX_IPSR_MSEL(IP8_11_8, PWM2_B, SEL_PWM2_1), 777 + PINMUX_IPSR_MSEL(IP8_11_8, TCLK1_B, SEL_TMU_1), 778 + PINMUX_IPSR_MSEL(IP8_11_8, TX1_B, SEL_SCIF1_1), 683 779 684 - PINMUX_IPSR_GPSR(IP8_15_12, CANFD1_TX), 685 - PINMUX_IPSR_GPSR(IP8_15_12, FXR_TXDB), 686 - PINMUX_IPSR_MSEL(IP8_15_12, PWM2_B, SEL_PWM2_1), 687 - PINMUX_IPSR_MSEL(IP8_15_12, TCLK1_B, SEL_TMU_1), 688 - PINMUX_IPSR_MSEL(IP8_15_12, TX1_B, SEL_SCIF1_1), 780 + PINMUX_IPSR_GPSR(IP8_15_12, CANFD1_RX), 781 + PINMUX_IPSR_GPSR(IP8_15_12, RXDB_EXTFXR), 782 + PINMUX_IPSR_MSEL(IP8_15_12, PWM3_B, SEL_PWM3_1), 783 + PINMUX_IPSR_MSEL(IP8_15_12, TCLK2_B, SEL_TMU_1), 784 + PINMUX_IPSR_MSEL(IP8_15_12, RX1_B, SEL_SCIF1_1), 689 785 690 - PINMUX_IPSR_GPSR(IP8_19_16, CANFD1_RX), 691 - PINMUX_IPSR_GPSR(IP8_19_16, RXDB_EXTFXR), 692 - PINMUX_IPSR_MSEL(IP8_19_16, PWM3_B, SEL_PWM3_1), 693 - PINMUX_IPSR_MSEL(IP8_19_16, TCLK2_B, SEL_TMU_1), 694 - PINMUX_IPSR_MSEL(IP8_19_16, RX1_B, SEL_SCIF1_1), 786 + PINMUX_IPSR_MSEL(IP8_19_16, CANFD_CLK_A, SEL_CANFD0_0), 787 + PINMUX_IPSR_GPSR(IP8_19_16, CLK_EXTFXR), 788 + PINMUX_IPSR_MSEL(IP8_19_16, PWM4_B, SEL_PWM4_1), 789 + PINMUX_IPSR_MSEL(IP8_19_16, SPEEDIN_B, SEL_RSP_1), 790 + PINMUX_IPSR_MSEL(IP8_19_16, SCIF_CLK_B, SEL_HSCIF0_1), 695 791 696 - PINMUX_IPSR_MSEL(IP8_23_20, CANFD_CLK_A, SEL_CANFD0_0), 697 - PINMUX_IPSR_GPSR(IP8_23_20, CLK_EXTFXR), 698 - PINMUX_IPSR_MSEL(IP8_23_20, PWM4_B, SEL_PWM4_1), 699 - PINMUX_IPSR_MSEL(IP8_23_20, SPEEDIN_B, SEL_RSP_1), 700 - PINMUX_IPSR_MSEL(IP8_23_20, SCIF_CLK_B, SEL_HSCIF0_1), 792 + PINMUX_IPSR_GPSR(IP8_23_20, DIGRF_CLKIN), 793 + PINMUX_IPSR_GPSR(IP8_23_20, DIGRF_CLKEN_IN), 701 794 702 - PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKIN), 703 - PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKEN_IN), 704 - 705 - PINMUX_IPSR_GPSR(IP8_31_28, DIGRF_CLKOUT), 706 - PINMUX_IPSR_GPSR(IP8_31_28, DIGRF_CLKEN_OUT), 707 - 708 - /* IPSR9 */ 709 - PINMUX_IPSR_GPSR(IP9_3_0, IRQ4), 710 - PINMUX_IPSR_GPSR(IP9_3_0, VI0_DATA12), 711 - 712 - PINMUX_IPSR_GPSR(IP9_7_4, IRQ5), 713 - PINMUX_IPSR_GPSR(IP9_7_4, VI0_DATA13), 714 - 715 - PINMUX_IPSR_GPSR(IP9_11_8, MSIOF0_RXD), 716 - PINMUX_IPSR_GPSR(IP9_11_8, DU_DR0), 717 - PINMUX_IPSR_GPSR(IP9_11_8, VI0_DATA14), 718 - 719 - PINMUX_IPSR_GPSR(IP9_15_12, MSIOF0_TXD), 720 - PINMUX_IPSR_GPSR(IP9_15_12, DU_DR1), 721 - PINMUX_IPSR_GPSR(IP9_15_12, VI0_DATA15), 722 - 723 - PINMUX_IPSR_GPSR(IP9_19_16, MSIOF0_SCK), 724 - PINMUX_IPSR_GPSR(IP9_19_16, DU_DG0), 725 - PINMUX_IPSR_GPSR(IP9_19_16, VI0_DATA16), 726 - 727 - PINMUX_IPSR_GPSR(IP9_23_20, MSIOF0_SYNC), 728 - PINMUX_IPSR_GPSR(IP9_23_20, DU_DG1), 729 - PINMUX_IPSR_GPSR(IP9_23_20, VI0_DATA17), 730 - 731 - PINMUX_IPSR_GPSR(IP9_27_24, MSIOF0_SS1), 732 - PINMUX_IPSR_GPSR(IP9_27_24, DU_DB0), 733 - PINMUX_IPSR_GPSR(IP9_27_24, TCLK3), 734 - PINMUX_IPSR_GPSR(IP9_27_24, VI0_DATA18), 735 - 736 - PINMUX_IPSR_GPSR(IP9_31_28, MSIOF0_SS2), 737 - PINMUX_IPSR_GPSR(IP9_31_28, DU_DB1), 738 - PINMUX_IPSR_GPSR(IP9_31_28, TCLK4), 739 - PINMUX_IPSR_GPSR(IP9_31_28, VI0_DATA19), 740 - 741 - /* IPSR10 */ 742 - PINMUX_IPSR_GPSR(IP10_3_0, SCL3), 743 - PINMUX_IPSR_GPSR(IP10_3_0, VI0_DATA20), 744 - 745 - PINMUX_IPSR_GPSR(IP10_7_4, SDA3), 746 - PINMUX_IPSR_GPSR(IP10_7_4, VI0_DATA21), 747 - 748 - PINMUX_IPSR_GPSR(IP10_11_8, FSO_CFE_0_N), 749 - PINMUX_IPSR_GPSR(IP10_11_8, VI0_DATA22), 750 - 751 - PINMUX_IPSR_GPSR(IP10_15_12, FSO_CFE_1_N), 752 - PINMUX_IPSR_GPSR(IP10_15_12, VI0_DATA23), 753 - 754 - PINMUX_IPSR_GPSR(IP10_19_16, FSO_TOE_N), 795 + PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKOUT), 796 + PINMUX_IPSR_GPSR(IP8_27_24, DIGRF_CLKEN_OUT), 755 797 }; 756 798 757 799 static const struct sh_pfc_pin pinmux_pins[] = { 758 800 PINMUX_GPIO_GP_ALL(), 759 801 }; 760 802 761 - /* - AVB -------------------------------------------------------------------- */ 762 - static const unsigned int avb_link_pins[] = { 763 - /* AVB_LINK */ 803 + /* - AVB0 ------------------------------------------------------------------- */ 804 + static const unsigned int avb0_link_pins[] = { 805 + /* AVB0_LINK */ 764 806 RCAR_GP_PIN(1, 18), 765 807 }; 766 - static const unsigned int avb_link_mux[] = { 767 - AVB_LINK_MARK, 808 + static const unsigned int avb0_link_mux[] = { 809 + AVB0_LINK_MARK, 768 810 }; 769 - static const unsigned int avb_magic_pins[] = { 770 - /* AVB_MAGIC */ 811 + static const unsigned int avb0_magic_pins[] = { 812 + /* AVB0_MAGIC */ 771 813 RCAR_GP_PIN(1, 16), 772 814 }; 773 - static const unsigned int avb_magic_mux[] = { 774 - AVB_MAGIC_MARK, 815 + static const unsigned int avb0_magic_mux[] = { 816 + AVB0_MAGIC_MARK, 775 817 }; 776 - static const unsigned int avb_phy_int_pins[] = { 777 - /* AVB_PHY_INT */ 818 + static const unsigned int avb0_phy_int_pins[] = { 819 + /* AVB0_PHY_INT */ 778 820 RCAR_GP_PIN(1, 17), 779 821 }; 780 - static const unsigned int avb_phy_int_mux[] = { 781 - AVB_PHY_INT_MARK, 822 + static const unsigned int avb0_phy_int_mux[] = { 823 + AVB0_PHY_INT_MARK, 782 824 }; 783 - static const unsigned int avb_mdio_pins[] = { 784 - /* AVB_MDC, AVB_MDIO */ 825 + static const unsigned int avb0_mdio_pins[] = { 826 + /* AVB0_MDC, AVB0_MDIO */ 785 827 RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14), 786 828 }; 787 - static const unsigned int avb_mdio_mux[] = { 788 - AVB_MDC_MARK, AVB_MDIO_MARK, 829 + static const unsigned int avb0_mdio_mux[] = { 830 + AVB0_MDC_MARK, AVB0_MDIO_MARK, 789 831 }; 790 - static const unsigned int avb_rgmii_pins[] = { 832 + static const unsigned int avb0_rgmii_pins[] = { 791 833 /* 792 - * AVB_TX_CTL, AVB_TXC, AVB_TD0, AVB_TD1, AVB_TD2, AVB_TD3, 793 - * AVB_RX_CTL, AVB_RXC, AVB_RD0, AVB_RD1, AVB_RD2, AVB_RD3, 834 + * AVB0_TX_CTL, AVB0_TXC, AVB0_TD0, AVB0_TD1, AVB0_TD2, AVB0_TD3, 835 + * AVB0_RX_CTL, AVB0_RXC, AVB0_RD0, AVB0_RD1, AVB0_RD2, AVB0_RD3 794 836 */ 795 837 RCAR_GP_PIN(1, 7), RCAR_GP_PIN(1, 8), 796 838 RCAR_GP_PIN(1, 9), RCAR_GP_PIN(1, 10), ··· 764 876 RCAR_GP_PIN(1, 3), RCAR_GP_PIN(1, 4), 765 877 RCAR_GP_PIN(1, 5), RCAR_GP_PIN(1, 6), 766 878 }; 767 - static const unsigned int avb_rgmii_mux[] = { 768 - AVB_TX_CTL_MARK, AVB_TXC_MARK, 769 - AVB_TD0_MARK, AVB_TD1_MARK, AVB_TD2_MARK, AVB_TD3_MARK, 770 - AVB_RX_CTL_MARK, AVB_RXC_MARK, 771 - AVB_RD0_MARK, AVB_RD1_MARK, AVB_RD2_MARK, AVB_RD3_MARK, 879 + static const unsigned int avb0_rgmii_mux[] = { 880 + AVB0_TX_CTL_MARK, AVB0_TXC_MARK, 881 + AVB0_TD0_MARK, AVB0_TD1_MARK, AVB0_TD2_MARK, AVB0_TD3_MARK, 882 + AVB0_RX_CTL_MARK, AVB0_RXC_MARK, 883 + AVB0_RD0_MARK, AVB0_RD1_MARK, AVB0_RD2_MARK, AVB0_RD3_MARK, 772 884 }; 773 - static const unsigned int avb_txcrefclk_pins[] = { 774 - /* AVB_TXCREFCLK */ 885 + static const unsigned int avb0_txcrefclk_pins[] = { 886 + /* AVB0_TXCREFCLK */ 775 887 RCAR_GP_PIN(1, 13), 776 888 }; 777 - static const unsigned int avb_txcrefclk_mux[] = { 778 - AVB_TXCREFCLK_MARK, 889 + static const unsigned int avb0_txcrefclk_mux[] = { 890 + AVB0_TXCREFCLK_MARK, 779 891 }; 780 - static const unsigned int avb_avtp_pps_pins[] = { 781 - /* AVB_AVTP_PPS */ 892 + static const unsigned int avb0_avtp_pps_pins[] = { 893 + /* AVB0_AVTP_PPS */ 782 894 RCAR_GP_PIN(2, 6), 783 895 }; 784 - static const unsigned int avb_avtp_pps_mux[] = { 785 - AVB_AVTP_PPS_MARK, 896 + static const unsigned int avb0_avtp_pps_mux[] = { 897 + AVB0_AVTP_PPS_MARK, 786 898 }; 787 - static const unsigned int avb_avtp_capture_pins[] = { 788 - /* AVB_AVTP_CAPTURE */ 899 + static const unsigned int avb0_avtp_capture_pins[] = { 900 + /* AVB0_AVTP_CAPTURE */ 789 901 RCAR_GP_PIN(1, 20), 790 902 }; 791 - static const unsigned int avb_avtp_capture_mux[] = { 792 - AVB_AVTP_CAPTURE_MARK, 903 + static const unsigned int avb0_avtp_capture_mux[] = { 904 + AVB0_AVTP_CAPTURE_MARK, 793 905 }; 794 - static const unsigned int avb_avtp_match_pins[] = { 795 - /* AVB_AVTP_MATCH */ 906 + static const unsigned int avb0_avtp_match_pins[] = { 907 + /* AVB0_AVTP_MATCH */ 796 908 RCAR_GP_PIN(1, 19), 797 909 }; 798 - static const unsigned int avb_avtp_match_mux[] = { 799 - AVB_AVTP_MATCH_MARK, 800 - }; 801 - 802 - /* - CANFD0 ----------------------------------------------------------------- */ 803 - static const unsigned int canfd0_data_a_pins[] = { 804 - /* CANFD0_TX, CANFD0_RX */ 805 - RCAR_GP_PIN(1, 21), RCAR_GP_PIN(1, 22), 806 - }; 807 - static const unsigned int canfd0_data_a_mux[] = { 808 - CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 809 - }; 810 - static const unsigned int canfd0_data_b_pins[] = { 811 - /* CANFD0_TX, CANFD0_RX */ 812 - RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 813 - }; 814 - static const unsigned int canfd0_data_b_mux[] = { 815 - CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 816 - }; 817 - 818 - /* - CANFD1 ----------------------------------------------------------------- */ 819 - static const unsigned int canfd1_data_pins[] = { 820 - /* CANFD1_TX, CANFD1_RX */ 821 - RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 822 - }; 823 - static const unsigned int canfd1_data_mux[] = { 824 - CANFD1_TX_MARK, CANFD1_RX_MARK, 910 + static const unsigned int avb0_avtp_match_mux[] = { 911 + AVB0_AVTP_MATCH_MARK, 825 912 }; 826 913 827 914 /* - CANFD Clock ------------------------------------------------------------ */ ··· 815 952 CANFD_CLK_B_MARK, 816 953 }; 817 954 955 + /* - CANFD0 ----------------------------------------------------------------- */ 956 + static const unsigned int canfd0_data_a_pins[] = { 957 + /* TX, RX */ 958 + RCAR_GP_PIN(1, 21), RCAR_GP_PIN(1, 22), 959 + }; 960 + static const unsigned int canfd0_data_a_mux[] = { 961 + CANFD0_TX_A_MARK, CANFD0_RX_A_MARK, 962 + }; 963 + static const unsigned int canfd0_data_b_pins[] = { 964 + /* TX, RX */ 965 + RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 966 + }; 967 + static const unsigned int canfd0_data_b_mux[] = { 968 + CANFD0_TX_B_MARK, CANFD0_RX_B_MARK, 969 + }; 970 + 971 + /* - CANFD1 ----------------------------------------------------------------- */ 972 + static const unsigned int canfd1_data_pins[] = { 973 + /* TX, RX */ 974 + RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24), 975 + }; 976 + static const unsigned int canfd1_data_mux[] = { 977 + CANFD1_TX_MARK, CANFD1_RX_MARK, 978 + }; 979 + 818 980 /* - DU --------------------------------------------------------------------- */ 819 981 static const unsigned int du_rgb666_pins[] = { 820 - /* DU_DR[7:2], DU_DG[7:2], DU_DB[7:2] */ 982 + /* R[7:2], G[7:2], B[7:2] */ 821 983 RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 822 984 RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 0), 823 985 RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 9), ··· 858 970 DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, 859 971 DU_DB4_MARK, DU_DB3_MARK, DU_DB2_MARK, 860 972 }; 861 - static const unsigned int du_rgb888_pins[] = { 862 - /* DU_DR[7:0], DU_DG[7:0], DU_DB[7:0] */ 863 - RCAR_GP_PIN(0, 5), RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 864 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 0), 865 - RCAR_GP_PIN(2, 20), RCAR_GP_PIN(2, 19), 866 - RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 9), 867 - RCAR_GP_PIN(0, 8), RCAR_GP_PIN(0, 7), RCAR_GP_PIN(0, 6), 868 - RCAR_GP_PIN(2, 22), RCAR_GP_PIN(2, 21), 869 - RCAR_GP_PIN(0, 17), RCAR_GP_PIN(0, 16), RCAR_GP_PIN(0, 15), 870 - RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 13), RCAR_GP_PIN(0, 12), 871 - RCAR_GP_PIN(2, 24), RCAR_GP_PIN(2, 23), 872 - }; 873 - static const unsigned int du_rgb888_mux[] = { 874 - DU_DR7_MARK, DU_DR6_MARK, DU_DR5_MARK, 875 - DU_DR4_MARK, DU_DR3_MARK, DU_DR2_MARK, 876 - DU_DR1_MARK, DU_DR0_MARK, 877 - DU_DG7_MARK, DU_DG6_MARK, DU_DG5_MARK, 878 - DU_DG4_MARK, DU_DG3_MARK, DU_DG2_MARK, 879 - DU_DG1_MARK, DU_DG0_MARK, 880 - DU_DB7_MARK, DU_DB6_MARK, DU_DB5_MARK, 881 - DU_DB4_MARK, DU_DB3_MARK, DU_DB2_MARK, 882 - DU_DB1_MARK, DU_DB0_MARK, 883 - }; 884 973 static const unsigned int du_clk_out_pins[] = { 885 - /* DU_DOTCLKOUT */ 974 + /* DOTCLKOUT */ 886 975 RCAR_GP_PIN(0, 18), 887 976 }; 888 977 static const unsigned int du_clk_out_mux[] = { 889 978 DU_DOTCLKOUT_MARK, 890 979 }; 891 980 static const unsigned int du_sync_pins[] = { 892 - /* DU_EXVSYNC/DU_VSYNC, DU_EXHSYNC/DU_HSYNC */ 981 + /* EXVSYNC/VSYNC, EXHSYNC/HSYNC */ 893 982 RCAR_GP_PIN(0, 20), RCAR_GP_PIN(0, 19), 894 983 }; 895 984 static const unsigned int du_sync_mux[] = { 896 - DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK, 985 + DU_EXVSYNC_DU_VSYNC_MARK, DU_EXHSYNC_DU_HSYNC_MARK 897 986 }; 898 987 static const unsigned int du_oddf_pins[] = { 899 - /* DU_EXODDF/DU_ODDF/DISP/CDE */ 988 + /* EXODDF/ODDF/DISP/CDE */ 900 989 RCAR_GP_PIN(0, 21), 901 990 }; 902 991 static const unsigned int du_oddf_mux[] = { 903 992 DU_EXODDF_DU_ODDF_DISP_CDE_MARK, 904 993 }; 905 994 static const unsigned int du_cde_pins[] = { 906 - /* DU_CDE */ 995 + /* CDE */ 907 996 RCAR_GP_PIN(1, 22), 908 997 }; 909 998 static const unsigned int du_cde_mux[] = { 910 999 DU_CDE_MARK, 911 1000 }; 912 1001 static const unsigned int du_disp_pins[] = { 913 - /* DU_DISP */ 1002 + /* DISP */ 914 1003 RCAR_GP_PIN(1, 21), 915 1004 }; 916 1005 static const unsigned int du_disp_mux[] = { 917 1006 DU_DISP_MARK, 918 1007 }; 919 1008 920 - /* - GETHER ----------------------------------------------------------------- */ 921 - static const unsigned int gether_link_a_pins[] = { 922 - /* GETHER_LINK */ 923 - RCAR_GP_PIN(4, 24), 924 - }; 925 - static const unsigned int gether_link_a_mux[] = { 926 - GETHER_LINK_A_MARK, 927 - }; 928 - static const unsigned int gether_phy_int_a_pins[] = { 929 - /* GETHER_PHY_INT */ 930 - RCAR_GP_PIN(4, 23), 931 - }; 932 - static const unsigned int gether_phy_int_a_mux[] = { 933 - GETHER_PHY_INT_A_MARK, 934 - }; 935 - static const unsigned int gether_mdio_a_pins[] = { 936 - /* GETHER_MDC, GETHER_MDIO */ 937 - RCAR_GP_PIN(4, 21), RCAR_GP_PIN(4, 20), 938 - }; 939 - static const unsigned int gether_mdio_a_mux[] = { 940 - GETHER_MDC_A_MARK, GETHER_MDIO_A_MARK, 941 - }; 942 - static const unsigned int gether_link_b_pins[] = { 943 - /* GETHER_LINK */ 944 - RCAR_GP_PIN(0, 18), 945 - }; 946 - static const unsigned int gether_link_b_mux[] = { 947 - GETHER_LINK_B_MARK, 948 - }; 949 - static const unsigned int gether_phy_int_b_pins[] = { 950 - /* GETHER_PHY_INT */ 951 - RCAR_GP_PIN(0, 19), 952 - }; 953 - static const unsigned int gether_phy_int_b_mux[] = { 954 - GETHER_PHY_INT_B_MARK, 955 - }; 956 - static const unsigned int gether_mdio_b_mux[] = { 957 - GETHER_MDC_B_MARK, GETHER_MDIO_B_MARK, 958 - }; 959 - static const unsigned int gether_mdio_b_pins[] = { 960 - /* GETHER_MDC, GETHER_MDIO */ 961 - RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 10), 962 - }; 963 - static const unsigned int gether_magic_pins[] = { 964 - /* GETHER_MAGIC */ 965 - RCAR_GP_PIN(4, 22), 966 - }; 967 - static const unsigned int gether_magic_mux[] = { 968 - GETHER_MAGIC_MARK, 969 - }; 970 - static const unsigned int gether_rgmii_pins[] = { 971 - /* 972 - * GETHER_TX_CTL, GETHER_TXC, 973 - * GETHER_TD0, GETHER_TD1, GETHER_TD2, GETHER_TD3, 974 - * GETHER_RX_CTL, GETHER_RXC, 975 - * GETHER_RD0, GETHER_RD1, GETHER_RD2, GETHER_RD3, 976 - */ 977 - RCAR_GP_PIN(4, 12), RCAR_GP_PIN(4, 13), 978 - RCAR_GP_PIN(4, 14), RCAR_GP_PIN(4, 15), 979 - RCAR_GP_PIN(4, 16), RCAR_GP_PIN(4, 17), 980 - RCAR_GP_PIN(4, 6), RCAR_GP_PIN(4, 7), 981 - RCAR_GP_PIN(4, 8), RCAR_GP_PIN(4, 9), 982 - RCAR_GP_PIN(4, 10), RCAR_GP_PIN(4, 11), 983 - }; 984 - static const unsigned int gether_rgmii_mux[] = { 985 - GETHER_TX_CTL_MARK, GETHER_TXC_MARK, 986 - GETHER_TD0_MARK, GETHER_TD1_MARK, 987 - GETHER_TD2_MARK, GETHER_TD3_MARK, 988 - GETHER_RX_CTL_MARK, GETHER_RXC_MARK, 989 - GETHER_RD0_MARK, AVB_RD1_MARK, 990 - GETHER_RD2_MARK, AVB_RD3_MARK, 991 - }; 992 - static const unsigned int gether_txcrefclk_pins[] = { 993 - /* GETHER_TXCREFCLK */ 994 - RCAR_GP_PIN(4, 18), 995 - }; 996 - static const unsigned int gether_txcrefclk_mux[] = { 997 - GETHER_TXCREFCLK_MARK, 998 - }; 999 - static const unsigned int gether_txcrefclk_mega_pins[] = { 1000 - /* GETHER_TXCREFCLK_MEGA */ 1001 - RCAR_GP_PIN(4, 19), 1002 - }; 1003 - static const unsigned int gether_txcrefclk_mega_mux[] = { 1004 - GETHER_TXCREFCLK_MEGA_MARK, 1005 - }; 1006 - static const unsigned int gether_rmii_pins[] = { 1007 - /* 1008 - * GETHER_RMII_CRS_DV, GETHER_RMII_RX_ER, 1009 - * GETHER_RMII_RXD0, GETHER_RMII_RXD1, 1010 - * GETHER_RMII_TXD_EN, GETHER_RMII_TXD0, 1011 - * GETHER_RMII_TXD1, GETHER_RMII_REFCLK 1012 - */ 1013 - RCAR_GP_PIN(0, 0), RCAR_GP_PIN(0, 1), 1014 - RCAR_GP_PIN(0, 2), RCAR_GP_PIN(0, 3), 1015 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 5), 1016 - RCAR_GP_PIN(0, 6), RCAR_GP_PIN(0, 7), 1017 - }; 1018 - static const unsigned int gether_rmii_mux[] = { 1019 - GETHER_RMII_CRS_DV_MARK, GETHER_RMII_RX_ER_MARK, 1020 - GETHER_RMII_RXD0_MARK, GETHER_RMII_RXD1_MARK, 1021 - GETHER_RMII_TXD_EN_MARK, GETHER_RMII_TXD0_MARK, 1022 - GETHER_RMII_TXD1_MARK, GETHER_RMII_REFCLK_MARK, 1023 - }; 1024 - 1025 1009 /* - HSCIF0 ----------------------------------------------------------------- */ 1026 - static const unsigned int hscif0_data_a_pins[] = { 1027 - /* HRX0, HTX0 */ 1028 - RCAR_GP_PIN(0, 11), RCAR_GP_PIN(0, 15), 1010 + static const unsigned int hscif0_data_pins[] = { 1011 + /* HRX, HTX */ 1012 + RCAR_GP_PIN(0, 19), RCAR_GP_PIN(0, 3), 1029 1013 }; 1030 - static const unsigned int hscif0_data_a_mux[] = { 1031 - HRX0_A_MARK, HTX0_A_MARK, 1014 + static const unsigned int hscif0_data_mux[] = { 1015 + HRX0_MARK, HTX0_MARK, 1032 1016 }; 1033 - static const unsigned int hscif0_clk_a_pins[] = { 1034 - /* HSCK0 */ 1035 - RCAR_GP_PIN(0, 12), 1017 + static const unsigned int hscif0_clk_pins[] = { 1018 + /* HSCK */ 1019 + RCAR_GP_PIN(0, 0), 1036 1020 }; 1037 - static const unsigned int hscif0_clk_a_mux[] = { 1038 - HSCK0_A_MARK, 1021 + static const unsigned int hscif0_clk_mux[] = { 1022 + HSCK0_MARK, 1039 1023 }; 1040 - static const unsigned int hscif0_ctrl_a_pins[] = { 1041 - /* HRTS0#, HCTS0# */ 1042 - RCAR_GP_PIN(0, 13), RCAR_GP_PIN(0, 14), 1024 + static const unsigned int hscif0_ctrl_pins[] = { 1025 + /* HRTS#, HCTS# */ 1026 + RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2), 1043 1027 }; 1044 - static const unsigned int hscif0_ctrl_a_mux[] = { 1045 - HRTS0_N_A_MARK, HCTS0_N_A_MARK, 1046 - }; 1047 - static const unsigned int hscif0_data_b_pins[] = { 1048 - /* HRX0, HTX0 */ 1049 - RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1050 - }; 1051 - static const unsigned int hscif0_data_b_mux[] = { 1052 - HRX0_B_MARK, HTX0_B_MARK, 1053 - }; 1054 - static const unsigned int hscif0_clk_b_pins[] = { 1055 - /* HSCK0 */ 1056 - RCAR_GP_PIN(4, 1), 1057 - }; 1058 - static const unsigned int hscif0_clk_b_mux[] = { 1059 - HSCK0_B_MARK, 1060 - }; 1061 - static const unsigned int hscif0_ctrl_b_pins[] = { 1062 - /* HRTS0#, HCTS0# */ 1063 - RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1064 - }; 1065 - static const unsigned int hscif0_ctrl_b_mux[] = { 1066 - HRTS0_N_B_MARK, HCTS0_N_B_MARK, 1028 + static const unsigned int hscif0_ctrl_mux[] = { 1029 + HRTS0_N_MARK, HCTS0_N_MARK, 1067 1030 }; 1068 1031 1069 1032 /* - HSCIF1 ----------------------------------------------------------------- */ 1070 1033 static const unsigned int hscif1_data_pins[] = { 1071 - /* HRX1, HTX1 */ 1034 + /* HRX, HTX */ 1072 1035 RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1073 1036 }; 1074 1037 static const unsigned int hscif1_data_mux[] = { 1075 1038 HRX1_MARK, HTX1_MARK, 1076 1039 }; 1077 1040 static const unsigned int hscif1_clk_pins[] = { 1078 - /* HSCK1 */ 1041 + /* HSCK */ 1079 1042 RCAR_GP_PIN(2, 7), 1080 1043 }; 1081 1044 static const unsigned int hscif1_clk_mux[] = { 1082 1045 HSCK1_MARK, 1083 1046 }; 1084 1047 static const unsigned int hscif1_ctrl_pins[] = { 1085 - /* HRTS1#, HCTS1# */ 1048 + /* HRTS#, HCTS# */ 1086 1049 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1087 1050 }; 1088 1051 static const unsigned int hscif1_ctrl_mux[] = { ··· 942 1203 943 1204 /* - HSCIF2 ----------------------------------------------------------------- */ 944 1205 static const unsigned int hscif2_data_pins[] = { 945 - /* HRX2, HTX2 */ 1206 + /* HRX, HTX */ 946 1207 RCAR_GP_PIN(2, 16), RCAR_GP_PIN(2, 15), 947 1208 }; 948 1209 static const unsigned int hscif2_data_mux[] = { 949 1210 HRX2_MARK, HTX2_MARK, 950 1211 }; 951 1212 static const unsigned int hscif2_clk_pins[] = { 952 - /* HSCK2 */ 1213 + /* HSCK */ 953 1214 RCAR_GP_PIN(2, 12), 954 1215 }; 955 1216 static const unsigned int hscif2_clk_mux[] = { 956 1217 HSCK2_MARK, 957 1218 }; 958 1219 static const unsigned int hscif2_ctrl_pins[] = { 959 - /* HRTS2#, HCTS2# */ 1220 + /* HRTS#, HCTS# */ 960 1221 RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 13), 961 1222 }; 962 1223 static const unsigned int hscif2_ctrl_mux[] = { ··· 965 1226 966 1227 /* - HSCIF3 ----------------------------------------------------------------- */ 967 1228 static const unsigned int hscif3_data_pins[] = { 968 - /* HRX3, HTX3 */ 1229 + /* HRX, HTX */ 969 1230 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 970 1231 }; 971 1232 static const unsigned int hscif3_data_mux[] = { 972 1233 HRX3_MARK, HTX3_MARK, 973 1234 }; 974 1235 static const unsigned int hscif3_clk_pins[] = { 975 - /* HSCK3 */ 1236 + /* HSCK */ 976 1237 RCAR_GP_PIN(2, 0), 977 1238 }; 978 1239 static const unsigned int hscif3_clk_mux[] = { 979 1240 HSCK3_MARK, 980 1241 }; 981 1242 static const unsigned int hscif3_ctrl_pins[] = { 982 - /* HRTS3#, HCTS3# */ 1243 + /* HRTS#, HCTS# */ 983 1244 RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 1), 984 1245 }; 985 1246 static const unsigned int hscif3_ctrl_mux[] = { ··· 988 1249 989 1250 /* - I2C0 ------------------------------------------------------------------- */ 990 1251 static const unsigned int i2c0_pins[] = { 991 - /* SDA0, SCL0 */ 1252 + /* SDA, SCL */ 992 1253 RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 0), 993 1254 }; 994 1255 static const unsigned int i2c0_mux[] = { ··· 997 1258 998 1259 /* - I2C1 ------------------------------------------------------------------- */ 999 1260 static const unsigned int i2c1_pins[] = { 1000 - /* SDA1, SCL1 */ 1261 + /* SDA, SCL */ 1001 1262 RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1002 1263 }; 1003 1264 static const unsigned int i2c1_mux[] = { ··· 1006 1267 1007 1268 /* - I2C2 ------------------------------------------------------------------- */ 1008 1269 static const unsigned int i2c2_pins[] = { 1009 - /* SDA2, SCL2 */ 1270 + /* SDA, SCL */ 1010 1271 RCAR_GP_PIN(4, 5), RCAR_GP_PIN(4, 4), 1011 1272 }; 1012 1273 static const unsigned int i2c2_mux[] = { ··· 1014 1275 }; 1015 1276 1016 1277 /* - I2C3 ------------------------------------------------------------------- */ 1017 - static const unsigned int i2c3_pins[] = { 1018 - /* SDA3, SCL3 */ 1019 - RCAR_GP_PIN(2, 26), RCAR_GP_PIN(2, 25), 1278 + static const unsigned int i2c3_a_pins[] = { 1279 + /* SDA, SCL */ 1280 + RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1020 1281 }; 1021 - static const unsigned int i2c3_mux[] = { 1022 - SDA3_MARK, SCL3_MARK, 1282 + static const unsigned int i2c3_a_mux[] = { 1283 + SDA3_A_MARK, SCL3_A_MARK, 1284 + }; 1285 + static const unsigned int i2c3_b_pins[] = { 1286 + /* SDA, SCL */ 1287 + RCAR_GP_PIN(3, 14), RCAR_GP_PIN(3, 13), 1288 + }; 1289 + static const unsigned int i2c3_b_mux[] = { 1290 + SDA3_B_MARK, SCL3_B_MARK, 1023 1291 }; 1024 1292 1025 1293 /* - I2C4 ------------------------------------------------------------------- */ 1026 1294 static const unsigned int i2c4_pins[] = { 1027 - /* SDA4, SCL4 */ 1295 + /* SDA, SCL */ 1028 1296 RCAR_GP_PIN(3, 16), RCAR_GP_PIN(3, 15), 1029 1297 }; 1030 1298 static const unsigned int i2c4_mux[] = { 1031 1299 SDA4_MARK, SCL4_MARK, 1032 - }; 1033 - 1034 - /* - I2C5 ------------------------------------------------------------------- */ 1035 - static const unsigned int i2c5_pins[] = { 1036 - /* SDA5, SCL5 */ 1037 - RCAR_GP_PIN(0, 9), RCAR_GP_PIN(0, 8), 1038 - }; 1039 - static const unsigned int i2c5_mux[] = { 1040 - SDA5_MARK, SCL5_MARK, 1041 1300 }; 1042 1301 1043 1302 /* - INTC-EX ---------------------------------------------------------------- */ ··· 1048 1311 }; 1049 1312 static const unsigned int intc_ex_irq1_pins[] = { 1050 1313 /* IRQ1 */ 1051 - RCAR_GP_PIN(0, 12), 1314 + RCAR_GP_PIN(0, 11), 1052 1315 }; 1053 1316 static const unsigned int intc_ex_irq1_mux[] = { 1054 1317 IRQ1_MARK, 1055 1318 }; 1056 1319 static const unsigned int intc_ex_irq2_pins[] = { 1057 1320 /* IRQ2 */ 1058 - RCAR_GP_PIN(0, 13), 1321 + RCAR_GP_PIN(0, 12), 1059 1322 }; 1060 1323 static const unsigned int intc_ex_irq2_mux[] = { 1061 1324 IRQ2_MARK, 1062 1325 }; 1063 1326 static const unsigned int intc_ex_irq3_pins[] = { 1064 1327 /* IRQ3 */ 1065 - RCAR_GP_PIN(0, 14), 1328 + RCAR_GP_PIN(0, 19), 1066 1329 }; 1067 1330 static const unsigned int intc_ex_irq3_mux[] = { 1068 1331 IRQ3_MARK, 1069 1332 }; 1070 1333 static const unsigned int intc_ex_irq4_pins[] = { 1071 1334 /* IRQ4 */ 1072 - RCAR_GP_PIN(2, 17), 1335 + RCAR_GP_PIN(3, 15), 1073 1336 }; 1074 1337 static const unsigned int intc_ex_irq4_mux[] = { 1075 1338 IRQ4_MARK, 1076 1339 }; 1077 1340 static const unsigned int intc_ex_irq5_pins[] = { 1078 1341 /* IRQ5 */ 1079 - RCAR_GP_PIN(2, 18), 1342 + RCAR_GP_PIN(3, 16), 1080 1343 }; 1081 1344 static const unsigned int intc_ex_irq5_mux[] = { 1082 1345 IRQ5_MARK, ··· 1084 1347 1085 1348 /* - MMC -------------------------------------------------------------------- */ 1086 1349 static const unsigned int mmc_data1_pins[] = { 1087 - /* MMC_D0 */ 1088 - RCAR_GP_PIN(3, 8), 1350 + /* D0 */ 1351 + RCAR_GP_PIN(3, 6), 1089 1352 }; 1090 1353 static const unsigned int mmc_data1_mux[] = { 1091 1354 MMC_D0_MARK, 1092 1355 }; 1093 1356 static const unsigned int mmc_data4_pins[] = { 1094 - /* MMC_D[0:3] */ 1357 + /* D[0:3] */ 1358 + RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 1095 1359 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 1096 - RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1097 1360 }; 1098 1361 static const unsigned int mmc_data4_mux[] = { 1099 1362 MMC_D0_MARK, MMC_D1_MARK, 1100 1363 MMC_D2_MARK, MMC_D3_MARK, 1101 1364 }; 1102 1365 static const unsigned int mmc_data8_pins[] = { 1103 - /* MMC_D[0:7] */ 1366 + /* D[0:7] */ 1367 + RCAR_GP_PIN(3, 6), RCAR_GP_PIN(3, 7), 1104 1368 RCAR_GP_PIN(3, 8), RCAR_GP_PIN(3, 9), 1105 - RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1369 + RCAR_GP_PIN(3, 11), RCAR_GP_PIN(3, 12), 1106 1370 RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 14), 1107 - RCAR_GP_PIN(3, 15), RCAR_GP_PIN(3, 16), 1108 1371 }; 1109 1372 static const unsigned int mmc_data8_mux[] = { 1110 1373 MMC_D0_MARK, MMC_D1_MARK, ··· 1113 1376 MMC_D6_MARK, MMC_D7_MARK, 1114 1377 }; 1115 1378 static const unsigned int mmc_ctrl_pins[] = { 1116 - /* MMC_CLK, MMC_CMD */ 1117 - RCAR_GP_PIN(3, 12), RCAR_GP_PIN(3, 7), 1379 + /* CLK, CMD */ 1380 + RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 5), 1118 1381 }; 1119 1382 static const unsigned int mmc_ctrl_mux[] = { 1120 1383 MMC_CLK_MARK, MMC_CMD_MARK, 1121 1384 }; 1122 - static const unsigned int mmc_cd_pins[] = { 1123 - /* MMC_CD */ 1124 - RCAR_GP_PIN(3, 5), 1125 - }; 1126 - static const unsigned int mmc_cd_mux[] = { 1127 - MMC_CD_MARK, 1128 - }; 1129 - static const unsigned int mmc_wp_pins[] = { 1130 - /* MMC_WP */ 1131 - RCAR_GP_PIN(3, 4), 1132 - }; 1133 - static const unsigned int mmc_wp_mux[] = { 1134 - MMC_WP_MARK, 1135 - }; 1136 - static const unsigned int mmc_ds_pins[] = { 1137 - /* MMC_DS */ 1138 - RCAR_GP_PIN(3, 6), 1139 - }; 1140 - static const unsigned int mmc_ds_mux[] = { 1141 - MMC_DS_MARK, 1142 - }; 1143 1385 1144 1386 /* - MSIOF0 ----------------------------------------------------------------- */ 1145 1387 static const unsigned int msiof0_clk_pins[] = { 1146 - /* MSIOF0_SCK */ 1147 - RCAR_GP_PIN(2, 21), 1388 + /* SCK */ 1389 + RCAR_GP_PIN(4, 2), 1148 1390 }; 1149 1391 static const unsigned int msiof0_clk_mux[] = { 1150 1392 MSIOF0_SCK_MARK, 1151 1393 }; 1152 1394 static const unsigned int msiof0_sync_pins[] = { 1153 - /* MSIOF0_SYNC */ 1154 - RCAR_GP_PIN(2, 22), 1395 + /* SYNC */ 1396 + RCAR_GP_PIN(4, 3), 1155 1397 }; 1156 1398 static const unsigned int msiof0_sync_mux[] = { 1157 1399 MSIOF0_SYNC_MARK, 1158 1400 }; 1159 1401 static const unsigned int msiof0_ss1_pins[] = { 1160 - /* MSIOF0_SS1 */ 1161 - RCAR_GP_PIN(2, 23), 1402 + /* SS1 */ 1403 + RCAR_GP_PIN(4, 4), 1162 1404 }; 1163 1405 static const unsigned int msiof0_ss1_mux[] = { 1164 1406 MSIOF0_SS1_MARK, 1165 1407 }; 1166 1408 static const unsigned int msiof0_ss2_pins[] = { 1167 - /* MSIOF0_SS2 */ 1168 - RCAR_GP_PIN(2, 24), 1409 + /* SS2 */ 1410 + RCAR_GP_PIN(4, 5), 1169 1411 }; 1170 1412 static const unsigned int msiof0_ss2_mux[] = { 1171 1413 MSIOF0_SS2_MARK, 1172 1414 }; 1173 1415 static const unsigned int msiof0_txd_pins[] = { 1174 - /* MSIOF0_TXD */ 1175 - RCAR_GP_PIN(2, 20), 1416 + /* TXD */ 1417 + RCAR_GP_PIN(4, 1), 1176 1418 }; 1177 1419 static const unsigned int msiof0_txd_mux[] = { 1178 1420 MSIOF0_TXD_MARK, 1179 1421 }; 1180 1422 static const unsigned int msiof0_rxd_pins[] = { 1181 - /* MSIOF0_RXD */ 1182 - RCAR_GP_PIN(2, 19), 1423 + /* RXD */ 1424 + RCAR_GP_PIN(4, 0), 1183 1425 }; 1184 1426 static const unsigned int msiof0_rxd_mux[] = { 1185 1427 MSIOF0_RXD_MARK, ··· 1166 1450 1167 1451 /* - MSIOF1 ----------------------------------------------------------------- */ 1168 1452 static const unsigned int msiof1_clk_pins[] = { 1169 - /* MSIOF1_SCK */ 1453 + /* SCK */ 1170 1454 RCAR_GP_PIN(3, 2), 1171 1455 }; 1172 1456 static const unsigned int msiof1_clk_mux[] = { 1173 1457 MSIOF1_SCK_MARK, 1174 1458 }; 1175 1459 static const unsigned int msiof1_sync_pins[] = { 1176 - /* MSIOF1_SYNC */ 1460 + /* SYNC */ 1177 1461 RCAR_GP_PIN(3, 3), 1178 1462 }; 1179 1463 static const unsigned int msiof1_sync_mux[] = { 1180 1464 MSIOF1_SYNC_MARK, 1181 1465 }; 1182 1466 static const unsigned int msiof1_ss1_pins[] = { 1183 - /* MSIOF1_SS1 */ 1467 + /* SS1 */ 1184 1468 RCAR_GP_PIN(3, 4), 1185 1469 }; 1186 1470 static const unsigned int msiof1_ss1_mux[] = { 1187 1471 MSIOF1_SS1_MARK, 1188 1472 }; 1189 1473 static const unsigned int msiof1_ss2_pins[] = { 1190 - /* MSIOF1_SS2 */ 1474 + /* SS2 */ 1191 1475 RCAR_GP_PIN(3, 5), 1192 1476 }; 1193 1477 static const unsigned int msiof1_ss2_mux[] = { 1194 1478 MSIOF1_SS2_MARK, 1195 1479 }; 1196 1480 static const unsigned int msiof1_txd_pins[] = { 1197 - /* MSIOF1_TXD */ 1481 + /* TXD */ 1198 1482 RCAR_GP_PIN(3, 1), 1199 1483 }; 1200 1484 static const unsigned int msiof1_txd_mux[] = { 1201 1485 MSIOF1_TXD_MARK, 1202 1486 }; 1203 1487 static const unsigned int msiof1_rxd_pins[] = { 1204 - /* MSIOF1_RXD */ 1488 + /* RXD */ 1205 1489 RCAR_GP_PIN(3, 0), 1206 1490 }; 1207 1491 static const unsigned int msiof1_rxd_mux[] = { ··· 1210 1494 1211 1495 /* - MSIOF2 ----------------------------------------------------------------- */ 1212 1496 static const unsigned int msiof2_clk_pins[] = { 1213 - /* MSIOF2_SCK */ 1497 + /* SCK */ 1214 1498 RCAR_GP_PIN(2, 0), 1215 1499 }; 1216 1500 static const unsigned int msiof2_clk_mux[] = { 1217 1501 MSIOF2_SCK_MARK, 1218 1502 }; 1219 1503 static const unsigned int msiof2_sync_pins[] = { 1220 - /* MSIOF2_SYNC */ 1504 + /* SYNC */ 1221 1505 RCAR_GP_PIN(2, 3), 1222 1506 }; 1223 1507 static const unsigned int msiof2_sync_mux[] = { 1224 1508 MSIOF2_SYNC_MARK, 1225 1509 }; 1226 1510 static const unsigned int msiof2_ss1_pins[] = { 1227 - /* MSIOF2_SS1 */ 1511 + /* SS1 */ 1228 1512 RCAR_GP_PIN(2, 4), 1229 1513 }; 1230 1514 static const unsigned int msiof2_ss1_mux[] = { 1231 1515 MSIOF2_SS1_MARK, 1232 1516 }; 1233 1517 static const unsigned int msiof2_ss2_pins[] = { 1234 - /* MSIOF2_SS2 */ 1518 + /* SS2 */ 1235 1519 RCAR_GP_PIN(2, 5), 1236 1520 }; 1237 1521 static const unsigned int msiof2_ss2_mux[] = { 1238 1522 MSIOF2_SS2_MARK, 1239 1523 }; 1240 1524 static const unsigned int msiof2_txd_pins[] = { 1241 - /* MSIOF2_TXD */ 1525 + /* TXD */ 1242 1526 RCAR_GP_PIN(2, 2), 1243 1527 }; 1244 1528 static const unsigned int msiof2_txd_mux[] = { 1245 1529 MSIOF2_TXD_MARK, 1246 1530 }; 1247 1531 static const unsigned int msiof2_rxd_pins[] = { 1248 - /* MSIOF2_RXD */ 1532 + /* RXD */ 1249 1533 RCAR_GP_PIN(2, 1), 1250 1534 }; 1251 1535 static const unsigned int msiof2_rxd_mux[] = { ··· 1254 1538 1255 1539 /* - MSIOF3 ----------------------------------------------------------------- */ 1256 1540 static const unsigned int msiof3_clk_pins[] = { 1257 - /* MSIOF3_SCK */ 1541 + /* SCK */ 1258 1542 RCAR_GP_PIN(0, 20), 1259 1543 }; 1260 1544 static const unsigned int msiof3_clk_mux[] = { 1261 1545 MSIOF3_SCK_MARK, 1262 1546 }; 1263 1547 static const unsigned int msiof3_sync_pins[] = { 1264 - /* MSIOF3_SYNC */ 1548 + /* SYNC */ 1265 1549 RCAR_GP_PIN(0, 21), 1266 1550 }; 1267 1551 static const unsigned int msiof3_sync_mux[] = { 1268 1552 MSIOF3_SYNC_MARK, 1269 1553 }; 1270 1554 static const unsigned int msiof3_ss1_pins[] = { 1271 - /* MSIOF3_SS1 */ 1272 - RCAR_GP_PIN(0, 18), 1555 + /* SS1 */ 1556 + RCAR_GP_PIN(0, 6), 1273 1557 }; 1274 1558 static const unsigned int msiof3_ss1_mux[] = { 1275 1559 MSIOF3_SS1_MARK, 1276 1560 }; 1277 1561 static const unsigned int msiof3_ss2_pins[] = { 1278 - /* MSIOF3_SS2 */ 1279 - RCAR_GP_PIN(0, 19), 1562 + /* SS2 */ 1563 + RCAR_GP_PIN(0, 7), 1280 1564 }; 1281 1565 static const unsigned int msiof3_ss2_mux[] = { 1282 1566 MSIOF3_SS2_MARK, 1283 1567 }; 1284 1568 static const unsigned int msiof3_txd_pins[] = { 1285 - /* MSIOF3_TXD */ 1286 - RCAR_GP_PIN(0, 17), 1569 + /* TXD */ 1570 + RCAR_GP_PIN(0, 5), 1287 1571 }; 1288 1572 static const unsigned int msiof3_txd_mux[] = { 1289 1573 MSIOF3_TXD_MARK, 1290 1574 }; 1291 1575 static const unsigned int msiof3_rxd_pins[] = { 1292 - /* MSIOF3_RXD */ 1293 - RCAR_GP_PIN(0, 16), 1576 + /* RXD */ 1577 + RCAR_GP_PIN(0, 4), 1294 1578 }; 1295 1579 static const unsigned int msiof3_rxd_mux[] = { 1296 1580 MSIOF3_RXD_MARK, ··· 1298 1582 1299 1583 /* - PWM0 ------------------------------------------------------------------- */ 1300 1584 static const unsigned int pwm0_a_pins[] = { 1301 - /* PWM0 */ 1302 - RCAR_GP_PIN(0, 15), 1585 + RCAR_GP_PIN(2, 12), 1303 1586 }; 1304 1587 static const unsigned int pwm0_a_mux[] = { 1305 1588 PWM0_A_MARK, 1306 1589 }; 1307 1590 static const unsigned int pwm0_b_pins[] = { 1308 - /* PWM0 */ 1309 1591 RCAR_GP_PIN(1, 21), 1310 1592 }; 1311 1593 static const unsigned int pwm0_b_mux[] = { ··· 1312 1598 1313 1599 /* - PWM1 ------------------------------------------------------------------- */ 1314 1600 static const unsigned int pwm1_a_pins[] = { 1315 - /* PWM1 */ 1316 1601 RCAR_GP_PIN(2, 13), 1317 1602 }; 1318 1603 static const unsigned int pwm1_a_mux[] = { 1319 1604 PWM1_A_MARK, 1320 1605 }; 1321 1606 static const unsigned int pwm1_b_pins[] = { 1322 - /* PWM1 */ 1323 1607 RCAR_GP_PIN(1, 22), 1324 1608 }; 1325 1609 static const unsigned int pwm1_b_mux[] = { ··· 1326 1614 1327 1615 /* - PWM2 ------------------------------------------------------------------- */ 1328 1616 static const unsigned int pwm2_a_pins[] = { 1329 - /* PWM2 */ 1330 1617 RCAR_GP_PIN(2, 14), 1331 1618 }; 1332 1619 static const unsigned int pwm2_a_mux[] = { 1333 1620 PWM2_A_MARK, 1334 1621 }; 1335 1622 static const unsigned int pwm2_b_pins[] = { 1336 - /* PWM2 */ 1337 1623 RCAR_GP_PIN(1, 23), 1338 1624 }; 1339 1625 static const unsigned int pwm2_b_mux[] = { ··· 1340 1630 1341 1631 /* - PWM3 ------------------------------------------------------------------- */ 1342 1632 static const unsigned int pwm3_a_pins[] = { 1343 - /* PWM3 */ 1344 1633 RCAR_GP_PIN(2, 15), 1345 1634 }; 1346 1635 static const unsigned int pwm3_a_mux[] = { 1347 1636 PWM3_A_MARK, 1348 1637 }; 1349 1638 static const unsigned int pwm3_b_pins[] = { 1350 - /* PWM3 */ 1351 1639 RCAR_GP_PIN(1, 24), 1352 1640 }; 1353 1641 static const unsigned int pwm3_b_mux[] = { ··· 1354 1646 1355 1647 /* - PWM4 ------------------------------------------------------------------- */ 1356 1648 static const unsigned int pwm4_a_pins[] = { 1357 - /* PWM4 */ 1358 1649 RCAR_GP_PIN(2, 16), 1359 1650 }; 1360 1651 static const unsigned int pwm4_a_mux[] = { 1361 1652 PWM4_A_MARK, 1362 1653 }; 1363 1654 static const unsigned int pwm4_b_pins[] = { 1364 - /* PWM4 */ 1365 1655 RCAR_GP_PIN(1, 25), 1366 1656 }; 1367 1657 static const unsigned int pwm4_b_mux[] = { ··· 1474 1768 RPC_WP_N_MARK, 1475 1769 }; 1476 1770 1477 - /* - SCIF0 ------------------------------------------------------------------ */ 1478 - static const unsigned int scif0_data_pins[] = { 1479 - /* RX0, TX0 */ 1480 - RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1481 - }; 1482 - static const unsigned int scif0_data_mux[] = { 1483 - RX0_MARK, TX0_MARK, 1484 - }; 1485 - static const unsigned int scif0_clk_pins[] = { 1486 - /* SCK0 */ 1487 - RCAR_GP_PIN(4, 1), 1488 - }; 1489 - static const unsigned int scif0_clk_mux[] = { 1490 - SCK0_MARK, 1491 - }; 1492 - static const unsigned int scif0_ctrl_pins[] = { 1493 - /* RTS0#, CTS0# */ 1494 - RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1495 - }; 1496 - static const unsigned int scif0_ctrl_mux[] = { 1497 - RTS0_N_MARK, CTS0_N_MARK, 1498 - }; 1499 - 1500 - /* - SCIF1 ------------------------------------------------------------------ */ 1501 - static const unsigned int scif1_data_a_pins[] = { 1502 - /* RX1, TX1 */ 1503 - RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1504 - }; 1505 - static const unsigned int scif1_data_a_mux[] = { 1506 - RX1_A_MARK, TX1_A_MARK, 1507 - }; 1508 - static const unsigned int scif1_clk_pins[] = { 1509 - /* SCK1 */ 1510 - RCAR_GP_PIN(2, 5), 1511 - }; 1512 - static const unsigned int scif1_clk_mux[] = { 1513 - SCK1_MARK, 1514 - }; 1515 - static const unsigned int scif1_ctrl_pins[] = { 1516 - /* RTS1#, CTS1# */ 1517 - RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1518 - }; 1519 - static const unsigned int scif1_ctrl_mux[] = { 1520 - RTS1_N_MARK, CTS1_N_MARK, 1521 - }; 1522 - static const unsigned int scif1_data_b_pins[] = { 1523 - /* RX1, TX1 */ 1524 - RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 23), 1525 - }; 1526 - static const unsigned int scif1_data_b_mux[] = { 1527 - RX1_B_MARK, TX1_B_MARK, 1528 - }; 1529 - 1530 - /* - SCIF3 ------------------------------------------------------------------ */ 1531 - static const unsigned int scif3_data_pins[] = { 1532 - /* RX3, TX3 */ 1533 - RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 2), 1534 - }; 1535 - static const unsigned int scif3_data_mux[] = { 1536 - RX3_MARK, TX3_MARK, 1537 - }; 1538 - static const unsigned int scif3_clk_pins[] = { 1539 - /* SCK3 */ 1540 - RCAR_GP_PIN(2, 0), 1541 - }; 1542 - static const unsigned int scif3_clk_mux[] = { 1543 - SCK3_MARK, 1544 - }; 1545 - static const unsigned int scif3_ctrl_pins[] = { 1546 - /* RTS3#, CTS3# */ 1547 - RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 1548 - }; 1549 - static const unsigned int scif3_ctrl_mux[] = { 1550 - RTS3_N_MARK, CTS3_N_MARK, 1551 - }; 1552 - 1553 - /* - SCIF4 ------------------------------------------------------------------ */ 1554 - static const unsigned int scif4_data_pins[] = { 1555 - /* RX4, TX4 */ 1556 - RCAR_GP_PIN(0, 1), RCAR_GP_PIN(0, 2), 1557 - }; 1558 - static const unsigned int scif4_data_mux[] = { 1559 - RX4_MARK, TX4_MARK, 1560 - }; 1561 - static const unsigned int scif4_clk_pins[] = { 1562 - /* SCK4 */ 1563 - RCAR_GP_PIN(0, 0), 1564 - }; 1565 - static const unsigned int scif4_clk_mux[] = { 1566 - SCK4_MARK, 1567 - }; 1568 - static const unsigned int scif4_ctrl_pins[] = { 1569 - /* RTS4#, CTS4# */ 1570 - RCAR_GP_PIN(0, 4), RCAR_GP_PIN(0, 3), 1571 - }; 1572 - static const unsigned int scif4_ctrl_mux[] = { 1573 - RTS4_N_MARK, CTS4_N_MARK, 1574 - }; 1575 - 1576 1771 /* - SCIF Clock ------------------------------------------------------------- */ 1577 1772 static const unsigned int scif_clk_a_pins[] = { 1578 1773 /* SCIF_CLK */ 1579 - RCAR_GP_PIN(0, 10), 1774 + RCAR_GP_PIN(0, 18), 1580 1775 }; 1581 1776 static const unsigned int scif_clk_a_mux[] = { 1582 1777 SCIF_CLK_A_MARK, ··· 1490 1883 SCIF_CLK_B_MARK, 1491 1884 }; 1492 1885 1886 + /* - SCIF0 ------------------------------------------------------------------ */ 1887 + static const unsigned int scif0_data_pins[] = { 1888 + /* RX, TX */ 1889 + RCAR_GP_PIN(4, 4), RCAR_GP_PIN(4, 5), 1890 + }; 1891 + static const unsigned int scif0_data_mux[] = { 1892 + RX0_MARK, TX0_MARK, 1893 + }; 1894 + static const unsigned int scif0_clk_pins[] = { 1895 + /* SCK */ 1896 + RCAR_GP_PIN(4, 1), 1897 + }; 1898 + static const unsigned int scif0_clk_mux[] = { 1899 + SCK0_MARK, 1900 + }; 1901 + static const unsigned int scif0_ctrl_pins[] = { 1902 + /* RTS#, CTS# */ 1903 + RCAR_GP_PIN(4, 3), RCAR_GP_PIN(4, 2), 1904 + }; 1905 + static const unsigned int scif0_ctrl_mux[] = { 1906 + RTS0_N_MARK, CTS0_N_MARK, 1907 + }; 1908 + 1909 + /* - SCIF1 ------------------------------------------------------------------ */ 1910 + static const unsigned int scif1_data_a_pins[] = { 1911 + /* RX, TX */ 1912 + RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1913 + }; 1914 + static const unsigned int scif1_data_a_mux[] = { 1915 + RX1_A_MARK, TX1_A_MARK, 1916 + }; 1917 + static const unsigned int scif1_clk_pins[] = { 1918 + /* SCK */ 1919 + RCAR_GP_PIN(2, 5), 1920 + }; 1921 + static const unsigned int scif1_clk_mux[] = { 1922 + SCK1_MARK, 1923 + }; 1924 + static const unsigned int scif1_ctrl_pins[] = { 1925 + /* RTS#, CTS# */ 1926 + RCAR_GP_PIN(2, 11), RCAR_GP_PIN(2, 10), 1927 + }; 1928 + static const unsigned int scif1_ctrl_mux[] = { 1929 + RTS1_N_MARK, CTS1_N_MARK, 1930 + }; 1931 + static const unsigned int scif1_data_b_pins[] = { 1932 + /* RX, TX */ 1933 + RCAR_GP_PIN(1, 24), RCAR_GP_PIN(1, 23), 1934 + }; 1935 + static const unsigned int scif1_data_b_mux[] = { 1936 + RX1_B_MARK, TX1_B_MARK, 1937 + }; 1938 + 1939 + /* - SCIF3 ------------------------------------------------------------------ */ 1940 + static const unsigned int scif3_data_pins[] = { 1941 + /* RX, TX */ 1942 + RCAR_GP_PIN(2, 1), RCAR_GP_PIN(2, 2), 1943 + }; 1944 + static const unsigned int scif3_data_mux[] = { 1945 + RX3_MARK, TX3_MARK, 1946 + }; 1947 + static const unsigned int scif3_clk_pins[] = { 1948 + /* SCK */ 1949 + RCAR_GP_PIN(2, 0), 1950 + }; 1951 + static const unsigned int scif3_clk_mux[] = { 1952 + SCK3_MARK, 1953 + }; 1954 + static const unsigned int scif3_ctrl_pins[] = { 1955 + /* RTS#, CTS# */ 1956 + RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 3), 1957 + }; 1958 + static const unsigned int scif3_ctrl_mux[] = { 1959 + RTS3_N_MARK, CTS3_N_MARK, 1960 + }; 1961 + 1962 + /* - SCIF4 ------------------------------------------------------------------ */ 1963 + static const unsigned int scif4_data_pins[] = { 1964 + /* RX, TX */ 1965 + RCAR_GP_PIN(3, 10), RCAR_GP_PIN(3, 11), 1966 + }; 1967 + static const unsigned int scif4_data_mux[] = { 1968 + RX4_MARK, TX4_MARK, 1969 + }; 1970 + static const unsigned int scif4_clk_pins[] = { 1971 + /* SCK */ 1972 + RCAR_GP_PIN(3, 9), 1973 + }; 1974 + static const unsigned int scif4_clk_mux[] = { 1975 + SCK4_MARK, 1976 + }; 1977 + static const unsigned int scif4_ctrl_pins[] = { 1978 + /* RTS#, CTS# */ 1979 + RCAR_GP_PIN(3, 13), RCAR_GP_PIN(3, 12), 1980 + }; 1981 + static const unsigned int scif4_ctrl_mux[] = { 1982 + RTS4_N_MARK, CTS4_N_MARK, 1983 + }; 1984 + 1493 1985 /* - TMU -------------------------------------------------------------------- */ 1494 1986 static const unsigned int tmu_tclk1_a_pins[] = { 1495 1987 /* TCLK1 */ 1496 - RCAR_GP_PIN(3, 13), 1988 + RCAR_GP_PIN(4, 4), 1497 1989 }; 1498 1990 static const unsigned int tmu_tclk1_a_mux[] = { 1499 1991 TCLK1_A_MARK, ··· 1606 1900 }; 1607 1901 static const unsigned int tmu_tclk2_a_pins[] = { 1608 1902 /* TCLK2 */ 1609 - RCAR_GP_PIN(3, 14), 1903 + RCAR_GP_PIN(4, 5), 1610 1904 }; 1611 1905 static const unsigned int tmu_tclk2_a_mux[] = { 1612 1906 TCLK2_A_MARK, ··· 1619 1913 TCLK2_B_MARK, 1620 1914 }; 1621 1915 1622 - /* - TPU ------------------------------------------------------------------- */ 1623 - static const unsigned int tpu_to0_pins[] = { 1624 - /* TPU0TO0 */ 1625 - RCAR_GP_PIN(1, 19), 1626 - }; 1627 - static const unsigned int tpu_to0_mux[] = { 1628 - TPU0TO0_MARK, 1629 - }; 1630 - static const unsigned int tpu_to1_pins[] = { 1631 - /* TPU0TO1 */ 1632 - RCAR_GP_PIN(1, 20), 1633 - }; 1634 - static const unsigned int tpu_to1_mux[] = { 1635 - TPU0TO1_MARK, 1636 - }; 1637 - static const unsigned int tpu_to2_pins[] = { 1638 - /* TPU0TO2 */ 1639 - RCAR_GP_PIN(4, 2), 1640 - }; 1641 - static const unsigned int tpu_to2_mux[] = { 1642 - TPU0TO2_MARK, 1643 - }; 1644 - static const unsigned int tpu_to3_pins[] = { 1645 - /* TPU0TO3 */ 1646 - RCAR_GP_PIN(4, 3), 1647 - }; 1648 - static const unsigned int tpu_to3_mux[] = { 1649 - TPU0TO3_MARK, 1650 - }; 1651 - 1652 1916 /* - VIN0 ------------------------------------------------------------------- */ 1653 - static const union vin_data vin0_data_pins = { 1654 - .data24 = { 1917 + static const union vin_data12 vin0_data_pins = { 1918 + .data12 = { 1655 1919 RCAR_GP_PIN(2, 4), RCAR_GP_PIN(2, 5), 1656 1920 RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1657 1921 RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1658 1922 RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11), 1659 1923 RCAR_GP_PIN(2, 12), RCAR_GP_PIN(2, 13), 1660 1924 RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15), 1661 - RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18), 1662 - RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20), 1663 - RCAR_GP_PIN(2, 21), RCAR_GP_PIN(2, 22), 1664 - RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 24), 1665 - RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 1666 - RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 28), 1667 1925 }, 1668 1926 }; 1669 - static const union vin_data vin0_data_mux = { 1670 - .data24 = { 1927 + static const union vin_data12 vin0_data_mux = { 1928 + .data12 = { 1671 1929 VI0_DATA0_MARK, VI0_DATA1_MARK, 1672 1930 VI0_DATA2_MARK, VI0_DATA3_MARK, 1673 1931 VI0_DATA4_MARK, VI0_DATA5_MARK, 1674 1932 VI0_DATA6_MARK, VI0_DATA7_MARK, 1675 - VI0_DATA8_MARK, VI0_DATA9_MARK, 1933 + VI0_DATA8_MARK, VI0_DATA9_MARK, 1676 1934 VI0_DATA10_MARK, VI0_DATA11_MARK, 1677 - VI0_DATA12_MARK, VI0_DATA13_MARK, 1678 - VI0_DATA14_MARK, VI0_DATA15_MARK, 1679 - VI0_DATA16_MARK, VI0_DATA17_MARK, 1680 - VI0_DATA18_MARK, VI0_DATA19_MARK, 1681 - VI0_DATA20_MARK, VI0_DATA21_MARK, 1682 - VI0_DATA22_MARK, VI0_DATA23_MARK, 1683 1935 }, 1684 1936 }; 1685 - static const unsigned int vin0_data18_pins[] = { 1686 - RCAR_GP_PIN(2, 6), RCAR_GP_PIN(2, 7), 1687 - RCAR_GP_PIN(2, 8), RCAR_GP_PIN(2, 9), 1688 - RCAR_GP_PIN(2, 10), RCAR_GP_PIN(2, 11), 1689 - RCAR_GP_PIN(2, 14), RCAR_GP_PIN(2, 15), 1690 - RCAR_GP_PIN(2, 17), RCAR_GP_PIN(2, 18), 1691 - RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 20), 1692 - RCAR_GP_PIN(2, 23), RCAR_GP_PIN(2, 24), 1693 - RCAR_GP_PIN(2, 25), RCAR_GP_PIN(2, 26), 1694 - RCAR_GP_PIN(2, 27), RCAR_GP_PIN(2, 28), 1695 - }; 1696 - static const unsigned int vin0_data18_mux[] = { 1697 - VI0_DATA2_MARK, VI0_DATA3_MARK, 1698 - VI0_DATA4_MARK, VI0_DATA5_MARK, 1699 - VI0_DATA6_MARK, VI0_DATA7_MARK, 1700 - VI0_DATA10_MARK, VI0_DATA11_MARK, 1701 - VI0_DATA12_MARK, VI0_DATA13_MARK, 1702 - VI0_DATA14_MARK, VI0_DATA15_MARK, 1703 - VI0_DATA18_MARK, VI0_DATA19_MARK, 1704 - VI0_DATA20_MARK, VI0_DATA21_MARK, 1705 - VI0_DATA22_MARK, VI0_DATA23_MARK, 1706 - }; 1707 1937 static const unsigned int vin0_sync_pins[] = { 1708 - /* VI0_VSYNC#, VI0_HSYNC# */ 1709 - RCAR_GP_PIN(2, 3), RCAR_GP_PIN(2, 2), 1938 + /* HSYNC#, VSYNC# */ 1939 + RCAR_GP_PIN(2, 2), RCAR_GP_PIN(2, 3), 1710 1940 }; 1711 1941 static const unsigned int vin0_sync_mux[] = { 1712 - VI0_VSYNC_N_MARK, VI0_HSYNC_N_MARK, 1942 + VI0_HSYNC_N_MARK, VI0_VSYNC_N_MARK, 1713 1943 }; 1714 1944 static const unsigned int vin0_field_pins[] = { 1715 - /* VI0_FIELD */ 1945 + /* FIELD */ 1716 1946 RCAR_GP_PIN(2, 16), 1717 1947 }; 1718 1948 static const unsigned int vin0_field_mux[] = { 1719 1949 VI0_FIELD_MARK, 1720 1950 }; 1721 1951 static const unsigned int vin0_clkenb_pins[] = { 1722 - /* VI0_CLKENB */ 1952 + /* CLKENB */ 1723 1953 RCAR_GP_PIN(2, 1), 1724 1954 }; 1725 1955 static const unsigned int vin0_clkenb_mux[] = { 1726 1956 VI0_CLKENB_MARK, 1727 1957 }; 1728 1958 static const unsigned int vin0_clk_pins[] = { 1729 - /* VI0_CLK */ 1959 + /* CLK */ 1730 1960 RCAR_GP_PIN(2, 0), 1731 1961 }; 1732 1962 static const unsigned int vin0_clk_mux[] = { ··· 1691 2049 }, 1692 2050 }; 1693 2051 static const unsigned int vin1_sync_pins[] = { 1694 - /* VI1_VSYNC#, VI1_HSYNC# */ 1695 - RCAR_GP_PIN(3, 3), RCAR_GP_PIN(3, 2), 2052 + /* HSYNC#, VSYNC# */ 2053 + RCAR_GP_PIN(3, 2), RCAR_GP_PIN(3, 3), 1696 2054 }; 1697 2055 static const unsigned int vin1_sync_mux[] = { 1698 - VI1_VSYNC_N_MARK, VI1_HSYNC_N_MARK, 2056 + VI1_HSYNC_N_MARK, VI1_VSYNC_N_MARK, 1699 2057 }; 1700 2058 static const unsigned int vin1_field_pins[] = { 1701 - /* VI1_FIELD */ 1702 2059 RCAR_GP_PIN(3, 16), 1703 2060 }; 1704 2061 static const unsigned int vin1_field_mux[] = { 2062 + /* FIELD */ 1705 2063 VI1_FIELD_MARK, 1706 2064 }; 1707 2065 static const unsigned int vin1_clkenb_pins[] = { 1708 - /* VI1_CLKENB */ 1709 2066 RCAR_GP_PIN(3, 1), 1710 2067 }; 1711 2068 static const unsigned int vin1_clkenb_mux[] = { 2069 + /* CLKENB */ 1712 2070 VI1_CLKENB_MARK, 1713 2071 }; 1714 2072 static const unsigned int vin1_clk_pins[] = { 1715 - /* VI1_CLK */ 1716 2073 RCAR_GP_PIN(3, 0), 1717 2074 }; 1718 2075 static const unsigned int vin1_clk_mux[] = { 2076 + /* CLK */ 1719 2077 VI1_CLK_MARK, 1720 2078 }; 1721 2079 1722 2080 static const struct sh_pfc_pin_group pinmux_groups[] = { 1723 - SH_PFC_PIN_GROUP(avb_link), 1724 - SH_PFC_PIN_GROUP(avb_magic), 1725 - SH_PFC_PIN_GROUP(avb_phy_int), 1726 - SH_PFC_PIN_GROUP(avb_mdio), 1727 - SH_PFC_PIN_GROUP(avb_rgmii), 1728 - SH_PFC_PIN_GROUP(avb_txcrefclk), 1729 - SH_PFC_PIN_GROUP(avb_avtp_pps), 1730 - SH_PFC_PIN_GROUP(avb_avtp_capture), 1731 - SH_PFC_PIN_GROUP(avb_avtp_match), 2081 + SH_PFC_PIN_GROUP(avb0_link), 2082 + SH_PFC_PIN_GROUP(avb0_magic), 2083 + SH_PFC_PIN_GROUP(avb0_phy_int), 2084 + SH_PFC_PIN_GROUP(avb0_mdio), 2085 + SH_PFC_PIN_GROUP(avb0_rgmii), 2086 + SH_PFC_PIN_GROUP(avb0_txcrefclk), 2087 + SH_PFC_PIN_GROUP(avb0_avtp_pps), 2088 + SH_PFC_PIN_GROUP(avb0_avtp_capture), 2089 + SH_PFC_PIN_GROUP(avb0_avtp_match), 2090 + SH_PFC_PIN_GROUP(canfd_clk_a), 2091 + SH_PFC_PIN_GROUP(canfd_clk_b), 1732 2092 SH_PFC_PIN_GROUP(canfd0_data_a), 1733 2093 SH_PFC_PIN_GROUP(canfd0_data_b), 1734 2094 SH_PFC_PIN_GROUP(canfd1_data), 1735 - SH_PFC_PIN_GROUP(canfd_clk_a), 1736 - SH_PFC_PIN_GROUP(canfd_clk_b), 1737 2095 SH_PFC_PIN_GROUP(du_rgb666), 1738 - SH_PFC_PIN_GROUP(du_rgb888), 1739 2096 SH_PFC_PIN_GROUP(du_clk_out), 1740 2097 SH_PFC_PIN_GROUP(du_sync), 1741 2098 SH_PFC_PIN_GROUP(du_oddf), 1742 2099 SH_PFC_PIN_GROUP(du_cde), 1743 2100 SH_PFC_PIN_GROUP(du_disp), 1744 - SH_PFC_PIN_GROUP(gether_link_a), 1745 - SH_PFC_PIN_GROUP(gether_phy_int_a), 1746 - SH_PFC_PIN_GROUP(gether_mdio_a), 1747 - SH_PFC_PIN_GROUP(gether_link_b), 1748 - SH_PFC_PIN_GROUP(gether_phy_int_b), 1749 - SH_PFC_PIN_GROUP(gether_mdio_b), 1750 - SH_PFC_PIN_GROUP(gether_magic), 1751 - SH_PFC_PIN_GROUP(gether_rgmii), 1752 - SH_PFC_PIN_GROUP(gether_txcrefclk), 1753 - SH_PFC_PIN_GROUP(gether_txcrefclk_mega), 1754 - SH_PFC_PIN_GROUP(gether_rmii), 1755 - SH_PFC_PIN_GROUP(hscif0_data_a), 1756 - SH_PFC_PIN_GROUP(hscif0_clk_a), 1757 - SH_PFC_PIN_GROUP(hscif0_ctrl_a), 1758 - SH_PFC_PIN_GROUP(hscif0_data_b), 1759 - SH_PFC_PIN_GROUP(hscif0_clk_b), 1760 - SH_PFC_PIN_GROUP(hscif0_ctrl_b), 2101 + SH_PFC_PIN_GROUP(hscif0_data), 2102 + SH_PFC_PIN_GROUP(hscif0_clk), 2103 + SH_PFC_PIN_GROUP(hscif0_ctrl), 1761 2104 SH_PFC_PIN_GROUP(hscif1_data), 1762 2105 SH_PFC_PIN_GROUP(hscif1_clk), 1763 2106 SH_PFC_PIN_GROUP(hscif1_ctrl), ··· 1755 2128 SH_PFC_PIN_GROUP(i2c0), 1756 2129 SH_PFC_PIN_GROUP(i2c1), 1757 2130 SH_PFC_PIN_GROUP(i2c2), 1758 - SH_PFC_PIN_GROUP(i2c3), 2131 + SH_PFC_PIN_GROUP(i2c3_a), 2132 + SH_PFC_PIN_GROUP(i2c3_b), 1759 2133 SH_PFC_PIN_GROUP(i2c4), 1760 - SH_PFC_PIN_GROUP(i2c5), 1761 2134 SH_PFC_PIN_GROUP(intc_ex_irq0), 1762 2135 SH_PFC_PIN_GROUP(intc_ex_irq1), 1763 2136 SH_PFC_PIN_GROUP(intc_ex_irq2), ··· 1768 2141 SH_PFC_PIN_GROUP(mmc_data4), 1769 2142 SH_PFC_PIN_GROUP(mmc_data8), 1770 2143 SH_PFC_PIN_GROUP(mmc_ctrl), 1771 - SH_PFC_PIN_GROUP(mmc_cd), 1772 - SH_PFC_PIN_GROUP(mmc_wp), 1773 - SH_PFC_PIN_GROUP(mmc_ds), 1774 2144 SH_PFC_PIN_GROUP(msiof0_clk), 1775 2145 SH_PFC_PIN_GROUP(msiof0_sync), 1776 2146 SH_PFC_PIN_GROUP(msiof0_ss1), ··· 1815 2191 SH_PFC_PIN_GROUP(rpc_reset), 1816 2192 SH_PFC_PIN_GROUP(rpc_int), 1817 2193 SH_PFC_PIN_GROUP(rpc_wp), 2194 + SH_PFC_PIN_GROUP(scif_clk_a), 2195 + SH_PFC_PIN_GROUP(scif_clk_b), 1818 2196 SH_PFC_PIN_GROUP(scif0_data), 1819 2197 SH_PFC_PIN_GROUP(scif0_clk), 1820 2198 SH_PFC_PIN_GROUP(scif0_ctrl), ··· 1830 2204 SH_PFC_PIN_GROUP(scif4_data), 1831 2205 SH_PFC_PIN_GROUP(scif4_clk), 1832 2206 SH_PFC_PIN_GROUP(scif4_ctrl), 1833 - SH_PFC_PIN_GROUP(scif_clk_a), 1834 - SH_PFC_PIN_GROUP(scif_clk_b), 1835 2207 SH_PFC_PIN_GROUP(tmu_tclk1_a), 1836 2208 SH_PFC_PIN_GROUP(tmu_tclk1_b), 1837 2209 SH_PFC_PIN_GROUP(tmu_tclk2_a), 1838 2210 SH_PFC_PIN_GROUP(tmu_tclk2_b), 1839 - SH_PFC_PIN_GROUP(tpu_to0), 1840 - SH_PFC_PIN_GROUP(tpu_to1), 1841 - SH_PFC_PIN_GROUP(tpu_to2), 1842 - SH_PFC_PIN_GROUP(tpu_to3), 1843 2211 VIN_DATA_PIN_GROUP(vin0_data, 8), 1844 2212 VIN_DATA_PIN_GROUP(vin0_data, 10), 1845 2213 VIN_DATA_PIN_GROUP(vin0_data, 12), 1846 - VIN_DATA_PIN_GROUP(vin0_data, 16), 1847 - SH_PFC_PIN_GROUP(vin0_data18), 1848 - VIN_DATA_PIN_GROUP(vin0_data, 20), 1849 - VIN_DATA_PIN_GROUP(vin0_data, 24), 1850 2214 SH_PFC_PIN_GROUP(vin0_sync), 1851 2215 SH_PFC_PIN_GROUP(vin0_field), 1852 2216 SH_PFC_PIN_GROUP(vin0_clkenb), ··· 1850 2234 SH_PFC_PIN_GROUP(vin1_clk), 1851 2235 }; 1852 2236 1853 - static const char * const avb_groups[] = { 1854 - "avb_link", 1855 - "avb_magic", 1856 - "avb_phy_int", 1857 - "avb_mdio", 1858 - "avb_rgmii", 1859 - "avb_txcrefclk", 1860 - "avb_avtp_pps", 1861 - "avb_avtp_capture", 1862 - "avb_avtp_match", 2237 + static const char * const avb0_groups[] = { 2238 + "avb0_link", 2239 + "avb0_magic", 2240 + "avb0_phy_int", 2241 + "avb0_mdio", 2242 + "avb0_rgmii", 2243 + "avb0_txcrefclk", 2244 + "avb0_avtp_pps", 2245 + "avb0_avtp_capture", 2246 + "avb0_avtp_match", 2247 + }; 2248 + 2249 + static const char * const canfd_clk_groups[] = { 2250 + "canfd_clk_a", 2251 + "canfd_clk_b", 1863 2252 }; 1864 2253 1865 2254 static const char * const canfd0_groups[] = { ··· 1876 2255 "canfd1_data", 1877 2256 }; 1878 2257 1879 - static const char * const canfd_clk_groups[] = { 1880 - "canfd_clk_a", 1881 - "canfd_clk_b", 1882 - }; 1883 - 1884 2258 static const char * const du_groups[] = { 1885 2259 "du_rgb666", 1886 - "du_rgb888", 1887 2260 "du_clk_out", 1888 2261 "du_sync", 1889 2262 "du_oddf", ··· 1885 2270 "du_disp", 1886 2271 }; 1887 2272 1888 - static const char * const gether_groups[] = { 1889 - "gether_link_a", 1890 - "gether_phy_int_a", 1891 - "gether_mdio_a", 1892 - "gether_link_b", 1893 - "gether_phy_int_b", 1894 - "gether_mdio_b", 1895 - "gether_magic", 1896 - "gether_rgmii", 1897 - "gether_txcrefclk", 1898 - "gether_txcrefclk_mega", 1899 - "gether_rmii", 1900 - }; 1901 - 1902 2273 static const char * const hscif0_groups[] = { 1903 - "hscif0_data_a", 1904 - "hscif0_clk_a", 1905 - "hscif0_ctrl_a", 1906 - "hscif0_data_b", 1907 - "hscif0_clk_b", 1908 - "hscif0_ctrl_b", 2274 + "hscif0_data", 2275 + "hscif0_clk", 2276 + "hscif0_ctrl", 1909 2277 }; 1910 2278 1911 2279 static const char * const hscif1_groups[] = { ··· 1922 2324 }; 1923 2325 1924 2326 static const char * const i2c3_groups[] = { 1925 - "i2c3", 2327 + "i2c3_a", 2328 + "i2c3_b", 1926 2329 }; 1927 2330 1928 2331 static const char * const i2c4_groups[] = { 1929 2332 "i2c4", 1930 - }; 1931 - 1932 - static const char * const i2c5_groups[] = { 1933 - "i2c5", 1934 2333 }; 1935 2334 1936 2335 static const char * const intc_ex_groups[] = { ··· 1944 2349 "mmc_data4", 1945 2350 "mmc_data8", 1946 2351 "mmc_ctrl", 1947 - "mmc_cd", 1948 - "mmc_wp", 1949 - "mmc_ds", 1950 2352 }; 1951 2353 1952 2354 static const char * const msiof0_groups[] = { ··· 2029 2437 "rpc_wp", 2030 2438 }; 2031 2439 2440 + static const char * const scif_clk_groups[] = { 2441 + "scif_clk_a", 2442 + "scif_clk_b", 2443 + }; 2444 + 2032 2445 static const char * const scif0_groups[] = { 2033 2446 "scif0_data", 2034 2447 "scif0_clk", ··· 2059 2462 "scif4_ctrl", 2060 2463 }; 2061 2464 2062 - static const char * const scif_clk_groups[] = { 2063 - "scif_clk_a", 2064 - "scif_clk_b", 2065 - }; 2066 - 2067 2465 static const char * const tmu_groups[] = { 2068 2466 "tmu_tclk1_a", 2069 2467 "tmu_tclk1_b", ··· 2066 2474 "tmu_tclk2_b", 2067 2475 }; 2068 2476 2069 - static const char * const tpu_groups[] = { 2070 - "tpu_to0", 2071 - "tpu_to1", 2072 - "tpu_to2", 2073 - "tpu_to3", 2074 - }; 2075 - 2076 2477 static const char * const vin0_groups[] = { 2077 2478 "vin0_data8", 2078 2479 "vin0_data10", 2079 2480 "vin0_data12", 2080 - "vin0_data16", 2081 - "vin0_data18", 2082 - "vin0_data20", 2083 - "vin0_data24", 2084 2481 "vin0_sync", 2085 2482 "vin0_field", 2086 2483 "vin0_clkenb", ··· 2087 2506 }; 2088 2507 2089 2508 static const struct sh_pfc_function pinmux_functions[] = { 2090 - SH_PFC_FUNCTION(avb), 2509 + SH_PFC_FUNCTION(avb0), 2510 + SH_PFC_FUNCTION(canfd_clk), 2091 2511 SH_PFC_FUNCTION(canfd0), 2092 2512 SH_PFC_FUNCTION(canfd1), 2093 - SH_PFC_FUNCTION(canfd_clk), 2094 2513 SH_PFC_FUNCTION(du), 2095 - SH_PFC_FUNCTION(gether), 2096 2514 SH_PFC_FUNCTION(hscif0), 2097 2515 SH_PFC_FUNCTION(hscif1), 2098 2516 SH_PFC_FUNCTION(hscif2), ··· 2101 2521 SH_PFC_FUNCTION(i2c2), 2102 2522 SH_PFC_FUNCTION(i2c3), 2103 2523 SH_PFC_FUNCTION(i2c4), 2104 - SH_PFC_FUNCTION(i2c5), 2105 2524 SH_PFC_FUNCTION(intc_ex), 2106 2525 SH_PFC_FUNCTION(mmc), 2107 2526 SH_PFC_FUNCTION(msiof0), ··· 2115 2536 SH_PFC_FUNCTION(qspi0), 2116 2537 SH_PFC_FUNCTION(qspi1), 2117 2538 SH_PFC_FUNCTION(rpc), 2539 + SH_PFC_FUNCTION(scif_clk), 2118 2540 SH_PFC_FUNCTION(scif0), 2119 2541 SH_PFC_FUNCTION(scif1), 2120 2542 SH_PFC_FUNCTION(scif3), 2121 2543 SH_PFC_FUNCTION(scif4), 2122 - SH_PFC_FUNCTION(scif_clk), 2123 2544 SH_PFC_FUNCTION(tmu), 2124 - SH_PFC_FUNCTION(tpu), 2125 2545 SH_PFC_FUNCTION(vin0), 2126 2546 SH_PFC_FUNCTION(vin1), 2127 2547 }; ··· 2199 2621 { PINMUX_CFG_REG("GPSR2", 0xe6060108, 32, 1, GROUP( 2200 2622 0, 0, 2201 2623 0, 0, 2202 - GP_2_29_FN, GPSR2_29, 2203 - GP_2_28_FN, GPSR2_28, 2204 - GP_2_27_FN, GPSR2_27, 2205 - GP_2_26_FN, GPSR2_26, 2206 - GP_2_25_FN, GPSR2_25, 2207 - GP_2_24_FN, GPSR2_24, 2208 - GP_2_23_FN, GPSR2_23, 2209 - GP_2_22_FN, GPSR2_22, 2210 - GP_2_21_FN, GPSR2_21, 2211 - GP_2_20_FN, GPSR2_20, 2212 - GP_2_19_FN, GPSR2_19, 2213 - GP_2_18_FN, GPSR2_18, 2214 - GP_2_17_FN, GPSR2_17, 2624 + 0, 0, 2625 + 0, 0, 2626 + 0, 0, 2627 + 0, 0, 2628 + 0, 0, 2629 + 0, 0, 2630 + 0, 0, 2631 + 0, 0, 2632 + 0, 0, 2633 + 0, 0, 2634 + 0, 0, 2635 + 0, 0, 2636 + 0, 0, 2215 2637 GP_2_16_FN, GPSR2_16, 2216 2638 GP_2_15_FN, GPSR2_15, 2217 2639 GP_2_14_FN, GPSR2_14, ··· 2272 2694 0, 0, 2273 2695 0, 0, 2274 2696 0, 0, 2275 - GP_4_24_FN, GPSR4_24, 2276 - GP_4_23_FN, GPSR4_23, 2277 - GP_4_22_FN, GPSR4_22, 2278 - GP_4_21_FN, GPSR4_21, 2279 - GP_4_20_FN, GPSR4_20, 2280 - GP_4_19_FN, GPSR4_19, 2281 - GP_4_18_FN, GPSR4_18, 2282 - GP_4_17_FN, GPSR4_17, 2283 - GP_4_16_FN, GPSR4_16, 2284 - GP_4_15_FN, GPSR4_15, 2285 - GP_4_14_FN, GPSR4_14, 2286 - GP_4_13_FN, GPSR4_13, 2287 - GP_4_12_FN, GPSR4_12, 2288 - GP_4_11_FN, GPSR4_11, 2289 - GP_4_10_FN, GPSR4_10, 2290 - GP_4_9_FN, GPSR4_9, 2291 - GP_4_8_FN, GPSR4_8, 2292 - GP_4_7_FN, GPSR4_7, 2293 - GP_4_6_FN, GPSR4_6, 2697 + 0, 0, 2698 + 0, 0, 2699 + 0, 0, 2700 + 0, 0, 2701 + 0, 0, 2702 + 0, 0, 2703 + 0, 0, 2704 + 0, 0, 2705 + 0, 0, 2706 + 0, 0, 2707 + 0, 0, 2708 + 0, 0, 2709 + 0, 0, 2710 + 0, 0, 2711 + 0, 0, 2712 + 0, 0, 2713 + 0, 0, 2714 + 0, 0, 2715 + 0, 0, 2294 2716 GP_4_5_FN, GPSR4_5, 2295 2717 GP_4_4_FN, GPSR4_4, 2296 2718 GP_4_3_FN, GPSR4_3, ··· 2427 2849 IP8_7_4 2428 2850 IP8_3_0 )) 2429 2851 }, 2430 - { PINMUX_CFG_REG("IPSR9", 0xe6060224, 32, 4, GROUP( 2431 - IP9_31_28 2432 - IP9_27_24 2433 - IP9_23_20 2434 - IP9_19_16 2435 - IP9_15_12 2436 - IP9_11_8 2437 - IP9_7_4 2438 - IP9_3_0 )) 2439 - }, 2440 - { PINMUX_CFG_REG("IPSR10", 0xe6060228, 32, 4, GROUP( 2441 - IP10_31_28 2442 - IP10_27_24 2443 - IP10_23_20 2444 - IP10_19_16 2445 - IP10_15_12 2446 - IP10_11_8 2447 - IP10_7_4 2448 - IP10_3_0 )) 2449 - }, 2450 2852 #undef F_ 2451 2853 #undef FM 2452 2854 ··· 2454 2896 MOD_SEL0_6 2455 2897 MOD_SEL0_5 2456 2898 MOD_SEL0_4 2457 - 0, 0, 2899 + MOD_SEL0_3 2458 2900 MOD_SEL0_2 2459 2901 MOD_SEL0_1 2460 2902 MOD_SEL0_0 )) ··· 2466 2908 POCCTRL0, 2467 2909 POCCTRL1, 2468 2910 POCCTRL2, 2469 - POCCTRL3, 2470 2911 TDSELCTRL, 2471 2912 }; 2472 2913 2473 2914 static const struct pinmux_ioctrl_reg pinmux_ioctrl_regs[] = { 2474 - [POCCTRL0] = { 0xe6060380, }, 2475 - [POCCTRL1] = { 0xe6060384, }, 2476 - [POCCTRL2] = { 0xe6060388, }, 2477 - [POCCTRL3] = { 0xe606038c, }, 2915 + [POCCTRL0] = { 0xe6060380 }, 2916 + [POCCTRL1] = { 0xe6060384 }, 2917 + [POCCTRL2] = { 0xe6060388 }, 2478 2918 [TDSELCTRL] = { 0xe60603c0, }, 2479 2919 { /* sentinel */ }, 2480 2920 }; 2481 2921 2482 - static int r8a77980_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, 2922 + static int r8a77970_pin_to_pocctrl(struct sh_pfc *pfc, unsigned int pin, 2483 2923 u32 *pocctrl) 2484 2924 { 2485 2925 int bit = pin & 0x1f; ··· 2485 2929 *pocctrl = pinmux_ioctrl_regs[POCCTRL0].reg; 2486 2930 if (pin >= RCAR_GP_PIN(0, 0) && pin <= RCAR_GP_PIN(0, 21)) 2487 2931 return bit; 2488 - else if (pin >= RCAR_GP_PIN(2, 0) && pin <= RCAR_GP_PIN(2, 9)) 2932 + if (pin >= RCAR_GP_PIN(2, 0) && pin <= RCAR_GP_PIN(2, 9)) 2489 2933 return bit + 22; 2490 2934 2491 2935 *pocctrl = pinmux_ioctrl_regs[POCCTRL1].reg; 2492 2936 if (pin >= RCAR_GP_PIN(2, 10) && pin <= RCAR_GP_PIN(2, 16)) 2493 2937 return bit - 10; 2494 - if ((pin >= RCAR_GP_PIN(2, 17) && pin <= RCAR_GP_PIN(2, 24)) || 2495 - (pin >= RCAR_GP_PIN(3, 0) && pin <= RCAR_GP_PIN(3, 16))) 2938 + if (pin >= RCAR_GP_PIN(3, 0) && pin <= RCAR_GP_PIN(3, 16)) 2496 2939 return bit + 7; 2497 - 2498 - *pocctrl = pinmux_ioctrl_regs[POCCTRL2].reg; 2499 - if (pin >= RCAR_GP_PIN(2, 25) && pin <= RCAR_GP_PIN(2, 29)) 2500 - return pin - 25; 2501 2940 2502 2941 return -EINVAL; 2503 2942 } 2504 2943 2505 2944 static const struct sh_pfc_soc_operations pinmux_ops = { 2506 - .pin_to_pocctrl = r8a77980_pin_to_pocctrl, 2945 + .pin_to_pocctrl = r8a77970_pin_to_pocctrl, 2507 2946 }; 2508 2947 2509 - const struct sh_pfc_soc_info r8a77980_pinmux_info = { 2510 - .name = "r8a77980_pfc", 2948 + const struct sh_pfc_soc_info r8a77970_pinmux_info = { 2949 + .name = "r8a77970_pfc", 2511 2950 .ops = &pinmux_ops, 2512 2951 .unlock_reg = 0xe6060000, /* PMMR */ 2513 2952
+1 -1
drivers/pinctrl/sh-pfc/pfc-r8a77990.c drivers/pinctrl/renesas/pfc-r8a77990.c
··· 4 4 * 5 5 * Copyright (C) 2018-2019 Renesas Electronics Corp. 6 6 * 7 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7796.c 7 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7796.c 8 8 * 9 9 * R8A7796 processor support - PFC hardware block. 10 10 *
+1 -1
drivers/pinctrl/sh-pfc/pfc-r8a77995.c drivers/pinctrl/renesas/pfc-r8a77995.c
··· 4 4 * 5 5 * Copyright (C) 2017 Renesas Electronics Corp. 6 6 * 7 - * This file is based on the drivers/pinctrl/sh-pfc/pfc-r8a7796.c 7 + * This file is based on the drivers/pinctrl/renesas/pfc-r8a7796.c 8 8 * 9 9 * R-Car Gen3 processor support - PFC hardware block. 10 10 *
drivers/pinctrl/sh-pfc/pfc-sh7203.c drivers/pinctrl/renesas/pfc-sh7203.c
drivers/pinctrl/sh-pfc/pfc-sh7264.c drivers/pinctrl/renesas/pfc-sh7264.c
drivers/pinctrl/sh-pfc/pfc-sh7269.c drivers/pinctrl/renesas/pfc-sh7269.c
drivers/pinctrl/sh-pfc/pfc-sh73a0.c drivers/pinctrl/renesas/pfc-sh73a0.c
drivers/pinctrl/sh-pfc/pfc-sh7720.c drivers/pinctrl/renesas/pfc-sh7720.c
drivers/pinctrl/sh-pfc/pfc-sh7722.c drivers/pinctrl/renesas/pfc-sh7722.c
drivers/pinctrl/sh-pfc/pfc-sh7723.c drivers/pinctrl/renesas/pfc-sh7723.c
drivers/pinctrl/sh-pfc/pfc-sh7724.c drivers/pinctrl/renesas/pfc-sh7724.c
drivers/pinctrl/sh-pfc/pfc-sh7734.c drivers/pinctrl/renesas/pfc-sh7734.c
drivers/pinctrl/sh-pfc/pfc-sh7757.c drivers/pinctrl/renesas/pfc-sh7757.c
drivers/pinctrl/sh-pfc/pfc-sh7785.c drivers/pinctrl/renesas/pfc-sh7785.c
drivers/pinctrl/sh-pfc/pfc-sh7786.c drivers/pinctrl/renesas/pfc-sh7786.c
drivers/pinctrl/sh-pfc/pfc-shx3.c drivers/pinctrl/renesas/pfc-shx3.c
drivers/pinctrl/sh-pfc/pinctrl-rza1.c drivers/pinctrl/renesas/pinctrl-rza1.c
drivers/pinctrl/sh-pfc/pinctrl-rza2.c drivers/pinctrl/renesas/pinctrl-rza2.c
drivers/pinctrl/sh-pfc/pinctrl-rzn1.c drivers/pinctrl/renesas/pinctrl-rzn1.c
drivers/pinctrl/sh-pfc/pinctrl.c drivers/pinctrl/renesas/pinctrl.c
drivers/pinctrl/sh-pfc/sh_pfc.h drivers/pinctrl/renesas/sh_pfc.h