linux/drivers/pinctrl/renesas/pfc-r8a7791.c

// SPDX-License-Identifier: GPL-2.0
/*
 * r8a7791/r8a7743 processor support - PFC hardware block.
 *
 * Copyright (C) 2013 Renesas Electronics Corporation
 * Copyright (C) 2014-2017 Cogent Embedded, Inc.
 */

#include <linux/errno.h>
#include <linux/kernel.h>

#include "sh_pfc.h"

/*
 * Pins 0-23 assigned to GPIO bank 6 can be used for SD interfaces in
 * which case they support both 3.3V and 1.8V signalling.
 */
#define CPU_ALL_GP(fn, sfx)

#define CPU_ALL_NOGP(fn)

enum {};

static const u16 pinmux_data[] =;

/*
 * Pins not associated with a GPIO port.
 */
enum {};

static const struct sh_pfc_pin pinmux_pins[] =;

#if defined(CONFIG_PINCTRL_PFC_R8A7791) || defined(CONFIG_PINCTRL_PFC_R8A7793)
/* - ADI -------------------------------------------------------------------- */
static const unsigned int adi_common_pins[] =;
static const unsigned int adi_common_mux[] =;
static const unsigned int adi_chsel0_pins[] =;
static const unsigned int adi_chsel0_mux[] =;
static const unsigned int adi_chsel1_pins[] =;
static const unsigned int adi_chsel1_mux[] =;
static const unsigned int adi_chsel2_pins[] =;
static const unsigned int adi_chsel2_mux[] =;
static const unsigned int adi_common_b_pins[] =;
static const unsigned int adi_common_b_mux[] =;
static const unsigned int adi_chsel0_b_pins[] =;
static const unsigned int adi_chsel0_b_mux[] =;
static const unsigned int adi_chsel1_b_pins[] =;
static const unsigned int adi_chsel1_b_mux[] =;
static const unsigned int adi_chsel2_b_pins[] =;
static const unsigned int adi_chsel2_b_mux[] =;
#endif /* CONFIG_PINCTRL_PFC_R8A7791 || CONFIG_PINCTRL_PFC_R8A7793 */

/* - Audio Clock ------------------------------------------------------------ */
static const unsigned int audio_clk_a_pins[] =;

static const unsigned int audio_clk_a_mux[] =;

static const unsigned int audio_clk_b_pins[] =;

static const unsigned int audio_clk_b_mux[] =;

static const unsigned int audio_clk_b_b_pins[] =;

static const unsigned int audio_clk_b_b_mux[] =;

static const unsigned int audio_clk_c_pins[] =;

static const unsigned int audio_clk_c_mux[] =;

static const unsigned int audio_clkout_pins[] =;

static const unsigned int audio_clkout_mux[] =;

/* - AVB -------------------------------------------------------------------- */
static const unsigned int avb_link_pins[] =;
static const unsigned int avb_link_mux[] =;
static const unsigned int avb_magic_pins[] =;
static const unsigned int avb_magic_mux[] =;
static const unsigned int avb_phy_int_pins[] =;
static const unsigned int avb_phy_int_mux[] =;
static const unsigned int avb_mdio_pins[] =;
static const unsigned int avb_mdio_mux[] =;
static const unsigned int avb_mii_pins[] =;
static const unsigned int avb_mii_mux[] =;
static const unsigned int avb_gmii_pins[] =;
static const unsigned int avb_gmii_mux[] =;

/* - CAN -------------------------------------------------------------------- */

static const unsigned int can0_data_pins[] =;

static const unsigned int can0_data_mux[] =;

static const unsigned int can0_data_b_pins[] =;

static const unsigned int can0_data_b_mux[] =;

static const unsigned int can0_data_c_pins[] =;

static const unsigned int can0_data_c_mux[] =;

static const unsigned int can0_data_d_pins[] =;

static const unsigned int can0_data_d_mux[] =;

static const unsigned int can0_data_e_pins[] =;

static const unsigned int can0_data_e_mux[] =;

static const unsigned int can0_data_f_pins[] =;

static const unsigned int can0_data_f_mux[] =;

static const unsigned int can1_data_pins[] =;

static const unsigned int can1_data_mux[] =;

static const unsigned int can1_data_b_pins[] =;

static const unsigned int can1_data_b_mux[] =;

static const unsigned int can1_data_c_pins[] =;

static const unsigned int can1_data_c_mux[] =;

static const unsigned int can1_data_d_pins[] =;

static const unsigned int can1_data_d_mux[] =;

static const unsigned int can_clk_pins[] =;

static const unsigned int can_clk_mux[] =;

static const unsigned int can_clk_b_pins[] =;

static const unsigned int can_clk_b_mux[] =;

static const unsigned int can_clk_c_pins[] =;

static const unsigned int can_clk_c_mux[] =;

static const unsigned int can_clk_d_pins[] =;

static const unsigned int can_clk_d_mux[] =;

/* - DU --------------------------------------------------------------------- */
static const unsigned int du_rgb666_pins[] =;
static const unsigned int du_rgb666_mux[] =;
static const unsigned int du_rgb888_pins[] =;
static const unsigned int du_rgb888_mux[] =;
static const unsigned int du_clk_out_0_pins[] =;
static const unsigned int du_clk_out_0_mux[] =;
static const unsigned int du_clk_out_1_pins[] =;
static const unsigned int du_clk_out_1_mux[] =;
static const unsigned int du_sync_pins[] =;
static const unsigned int du_sync_mux[] =;
static const unsigned int du_oddf_pins[] =;
static const unsigned int du_oddf_mux[] =;
static const unsigned int du_cde_pins[] =;
static const unsigned int du_cde_mux[] =;
static const unsigned int du_disp_pins[] =;
static const unsigned int du_disp_mux[] =;
static const unsigned int du0_clk_in_pins[] =;
static const unsigned int du0_clk_in_mux[] =;
static const unsigned int du1_clk_in_pins[] =;
static const unsigned int du1_clk_in_mux[] =;
static const unsigned int du1_clk_in_b_pins[] =;
static const unsigned int du1_clk_in_b_mux[] =;
static const unsigned int du1_clk_in_c_pins[] =;
static const unsigned int du1_clk_in_c_mux[] =;
/* - ETH -------------------------------------------------------------------- */
static const unsigned int eth_link_pins[] =;
static const unsigned int eth_link_mux[] =;
static const unsigned int eth_magic_pins[] =;
static const unsigned int eth_magic_mux[] =;
static const unsigned int eth_mdio_pins[] =;
static const unsigned int eth_mdio_mux[] =;
static const unsigned int eth_rmii_pins[] =;
static const unsigned int eth_rmii_mux[] =;

/* - HSCIF0 ----------------------------------------------------------------- */
static const unsigned int hscif0_data_pins[] =;
static const unsigned int hscif0_data_mux[] =;
static const unsigned int hscif0_clk_pins[] =;
static const unsigned int hscif0_clk_mux[] =;
static const unsigned int hscif0_ctrl_pins[] =;
static const unsigned int hscif0_ctrl_mux[] =;
static const unsigned int hscif0_data_b_pins[] =;
static const unsigned int hscif0_data_b_mux[] =;
static const unsigned int hscif0_ctrl_b_pins[] =;
static const unsigned int hscif0_ctrl_b_mux[] =;
static const unsigned int hscif0_data_c_pins[] =;
static const unsigned int hscif0_data_c_mux[] =;
static const unsigned int hscif0_clk_c_pins[] =;
static const unsigned int hscif0_clk_c_mux[] =;
/* - HSCIF1 ----------------------------------------------------------------- */
static const unsigned int hscif1_data_pins[] =;
static const unsigned int hscif1_data_mux[] =;
static const unsigned int hscif1_clk_pins[] =;
static const unsigned int hscif1_clk_mux[] =;
static const unsigned int hscif1_ctrl_pins[] =;
static const unsigned int hscif1_ctrl_mux[] =;
static const unsigned int hscif1_data_b_pins[] =;
static const unsigned int hscif1_data_b_mux[] =;
static const unsigned int hscif1_data_c_pins[] =;
static const unsigned int hscif1_data_c_mux[] =;
static const unsigned int hscif1_clk_c_pins[] =;
static const unsigned int hscif1_clk_c_mux[] =;
static const unsigned int hscif1_ctrl_c_pins[] =;
static const unsigned int hscif1_ctrl_c_mux[] =;
static const unsigned int hscif1_data_d_pins[] =;
static const unsigned int hscif1_data_d_mux[] =;
static const unsigned int hscif1_clk_e_pins[] =;
static const unsigned int hscif1_clk_e_mux[] =;
static const unsigned int hscif1_ctrl_e_pins[] =;
static const unsigned int hscif1_ctrl_e_mux[] =;
/* - HSCIF2 ----------------------------------------------------------------- */
static const unsigned int hscif2_data_pins[] =;
static const unsigned int hscif2_data_mux[] =;
static const unsigned int hscif2_clk_pins[] =;
static const unsigned int hscif2_clk_mux[] =;
static const unsigned int hscif2_ctrl_pins[] =;
static const unsigned int hscif2_ctrl_mux[] =;
static const unsigned int hscif2_data_b_pins[] =;
static const unsigned int hscif2_data_b_mux[] =;
static const unsigned int hscif2_ctrl_b_pins[] =;
static const unsigned int hscif2_ctrl_b_mux[] =;
static const unsigned int hscif2_data_c_pins[] =;
static const unsigned int hscif2_data_c_mux[] =;
static const unsigned int hscif2_clk_c_pins[] =;
static const unsigned int hscif2_clk_c_mux[] =;
static const unsigned int hscif2_data_d_pins[] =;
static const unsigned int hscif2_data_d_mux[] =;
/* - I2C0 ------------------------------------------------------------------- */
static const unsigned int i2c0_pins[] =;
static const unsigned int i2c0_mux[] =;
static const unsigned int i2c0_b_pins[] =;
static const unsigned int i2c0_b_mux[] =;
static const unsigned int i2c0_c_pins[] =;
static const unsigned int i2c0_c_mux[] =;
/* - I2C1 ------------------------------------------------------------------- */
static const unsigned int i2c1_pins[] =;
static const unsigned int i2c1_mux[] =;
static const unsigned int i2c1_b_pins[] =;
static const unsigned int i2c1_b_mux[] =;
static const unsigned int i2c1_c_pins[] =;
static const unsigned int i2c1_c_mux[] =;
static const unsigned int i2c1_d_pins[] =;
static const unsigned int i2c1_d_mux[] =;
static const unsigned int i2c1_e_pins[] =;
static const unsigned int i2c1_e_mux[] =;
/* - I2C2 ------------------------------------------------------------------- */
static const unsigned int i2c2_pins[] =;
static const unsigned int i2c2_mux[] =;
static const unsigned int i2c2_b_pins[] =;
static const unsigned int i2c2_b_mux[] =;
static const unsigned int i2c2_c_pins[] =;
static const unsigned int i2c2_c_mux[] =;
static const unsigned int i2c2_d_pins[] =;
static const unsigned int i2c2_d_mux[] =;
/* - I2C3 ------------------------------------------------------------------- */
static const unsigned int i2c3_pins[] =;
static const unsigned int i2c3_mux[] =;
static const unsigned int i2c3_b_pins[] =;
static const unsigned int i2c3_b_mux[] =;
static const unsigned int i2c3_c_pins[] =;
static const unsigned int i2c3_c_mux[] =;
static const unsigned int i2c3_d_pins[] =;
static const unsigned int i2c3_d_mux[] =;
/* - I2C4 ------------------------------------------------------------------- */
static const unsigned int i2c4_pins[] =;
static const unsigned int i2c4_mux[] =;
static const unsigned int i2c4_b_pins[] =;
static const unsigned int i2c4_b_mux[] =;
static const unsigned int i2c4_c_pins[] =;
static const unsigned int i2c4_c_mux[] =;
/* - I2C7 ------------------------------------------------------------------- */
static const unsigned int i2c7_pins[] =;
static const unsigned int i2c7_mux[] =;
static const unsigned int i2c7_b_pins[] =;
static const unsigned int i2c7_b_mux[] =;
static const unsigned int i2c7_c_pins[] =;
static const unsigned int i2c7_c_mux[] =;
/* - I2C8 ------------------------------------------------------------------- */
static const unsigned int i2c8_pins[] =;
static const unsigned int i2c8_mux[] =;
static const unsigned int i2c8_b_pins[] =;
static const unsigned int i2c8_b_mux[] =;
static const unsigned int i2c8_c_pins[] =;
static const unsigned int i2c8_c_mux[] =;
/* - INTC ------------------------------------------------------------------- */
static const unsigned int intc_irq0_pins[] =;
static const unsigned int intc_irq0_mux[] =;
static const unsigned int intc_irq1_pins[] =;
static const unsigned int intc_irq1_mux[] =;
static const unsigned int intc_irq2_pins[] =;
static const unsigned int intc_irq2_mux[] =;
static const unsigned int intc_irq3_pins[] =;
static const unsigned int intc_irq3_mux[] =;

#if defined(CONFIG_PINCTRL_PFC_R8A7791) || defined(CONFIG_PINCTRL_PFC_R8A7793)
/* - MLB+ ------------------------------------------------------------------- */
static const unsigned int mlb_3pin_pins[] =;
static const unsigned int mlb_3pin_mux[] =;
#endif /* CONFIG_PINCTRL_PFC_R8A7791 || CONFIG_PINCTRL_PFC_R8A7793 */

/* - MMCIF ------------------------------------------------------------------ */
static const unsigned int mmc_data_pins[] =;
static const unsigned int mmc_data_mux[] =;
static const unsigned int mmc_data_b_pins[] =;
static const unsigned int mmc_data_b_mux[] =;
static const unsigned int mmc_ctrl_pins[] =;
static const unsigned int mmc_ctrl_mux[] =;
/* - MSIOF0 ----------------------------------------------------------------- */
static const unsigned int msiof0_clk_pins[] =;
static const unsigned int msiof0_clk_mux[] =;
static const unsigned int msiof0_sync_pins[] =;
static const unsigned int msiof0_sync_mux[] =;
static const unsigned int msiof0_ss1_pins[] =;
static const unsigned int msiof0_ss1_mux[] =;
static const unsigned int msiof0_ss2_pins[] =;
static const unsigned int msiof0_ss2_mux[] =;
static const unsigned int msiof0_rx_pins[] =;
static const unsigned int msiof0_rx_mux[] =;
static const unsigned int msiof0_tx_pins[] =;
static const unsigned int msiof0_tx_mux[] =;

static const unsigned int msiof0_clk_b_pins[] =;
static const unsigned int msiof0_clk_b_mux[] =;
static const unsigned int msiof0_sync_b_pins[] =;
static const unsigned int msiof0_sync_b_mux[] =;
static const unsigned int msiof0_ss1_b_pins[] =;
static const unsigned int msiof0_ss1_b_mux[] =;
static const unsigned int msiof0_ss2_b_pins[] =;
static const unsigned int msiof0_ss2_b_mux[] =;
static const unsigned int msiof0_rx_b_pins[] =;
static const unsigned int msiof0_rx_b_mux[] =;
static const unsigned int msiof0_tx_b_pins[] =;
static const unsigned int msiof0_tx_b_mux[] =;

static const unsigned int msiof0_clk_c_pins[] =;
static const unsigned int msiof0_clk_c_mux[] =;
static const unsigned int msiof0_sync_c_pins[] =;
static const unsigned int msiof0_sync_c_mux[] =;
static const unsigned int msiof0_ss1_c_pins[] =;
static const unsigned int msiof0_ss1_c_mux[] =;
static const unsigned int msiof0_ss2_c_pins[] =;
static const unsigned int msiof0_ss2_c_mux[] =;
static const unsigned int msiof0_rx_c_pins[] =;
static const unsigned int msiof0_rx_c_mux[] =;
static const unsigned int msiof0_tx_c_pins[] =;
static const unsigned int msiof0_tx_c_mux[] =;
/* - MSIOF1 ----------------------------------------------------------------- */
static const unsigned int msiof1_clk_pins[] =;
static const unsigned int msiof1_clk_mux[] =;
static const unsigned int msiof1_sync_pins[] =;
static const unsigned int msiof1_sync_mux[] =;
static const unsigned int msiof1_ss1_pins[] =;
static const unsigned int msiof1_ss1_mux[] =;
static const unsigned int msiof1_ss2_pins[] =;
static const unsigned int msiof1_ss2_mux[] =;
static const unsigned int msiof1_rx_pins[] =;
static const unsigned int msiof1_rx_mux[] =;
static const unsigned int msiof1_tx_pins[] =;
static const unsigned int msiof1_tx_mux[] =;

static const unsigned int msiof1_clk_b_pins[] =;
static const unsigned int msiof1_clk_b_mux[] =;
static const unsigned int msiof1_sync_b_pins[] =;
static const unsigned int msiof1_sync_b_mux[] =;
static const unsigned int msiof1_ss1_b_pins[] =;
static const unsigned int msiof1_ss1_b_mux[] =;
static const unsigned int msiof1_ss2_b_pins[] =;
static const unsigned int msiof1_ss2_b_mux[] =;
static const unsigned int msiof1_rx_b_pins[] =;
static const unsigned int msiof1_rx_b_mux[] =;
static const unsigned int msiof1_tx_b_pins[] =;
static const unsigned int msiof1_tx_b_mux[] =;

static const unsigned int msiof1_clk_c_pins[] =;
static const unsigned int msiof1_clk_c_mux[] =;
static const unsigned int msiof1_sync_c_pins[] =;
static const unsigned int msiof1_sync_c_mux[] =;
static const unsigned int msiof1_rx_c_pins[] =;
static const unsigned int msiof1_rx_c_mux[] =;
static const unsigned int msiof1_tx_c_pins[] =;
static const unsigned int msiof1_tx_c_mux[] =;

static const unsigned int msiof1_clk_d_pins[] =;
static const unsigned int msiof1_clk_d_mux[] =;
static const unsigned int msiof1_sync_d_pins[] =;
static const unsigned int msiof1_sync_d_mux[] =;
static const unsigned int msiof1_ss1_d_pins[] =;
static const unsigned int msiof1_ss1_d_mux[] =;
static const unsigned int msiof1_rx_d_pins[] =;
static const unsigned int msiof1_rx_d_mux[] =;
static const unsigned int msiof1_tx_d_pins[] =;
static const unsigned int msiof1_tx_d_mux[] =;

static const unsigned int msiof1_clk_e_pins[] =;
static const unsigned int msiof1_clk_e_mux[] =;
static const unsigned int msiof1_sync_e_pins[] =;
static const unsigned int msiof1_sync_e_mux[] =;
static const unsigned int msiof1_rx_e_pins[] =;
static const unsigned int msiof1_rx_e_mux[] =;
static const unsigned int msiof1_tx_e_pins[] =;
static const unsigned int msiof1_tx_e_mux[] =;
/* - MSIOF2 ----------------------------------------------------------------- */
static const unsigned int msiof2_clk_pins[] =;
static const unsigned int msiof2_clk_mux[] =;
static const unsigned int msiof2_sync_pins[] =;
static const unsigned int msiof2_sync_mux[] =;
static const unsigned int msiof2_ss1_pins[] =;
static const unsigned int msiof2_ss1_mux[] =;
static const unsigned int msiof2_ss2_pins[] =;
static const unsigned int msiof2_ss2_mux[] =;
static const unsigned int msiof2_rx_pins[] =;
static const unsigned int msiof2_rx_mux[] =;
static const unsigned int msiof2_tx_pins[] =;
static const unsigned int msiof2_tx_mux[] =;

static const unsigned int msiof2_clk_b_pins[] =;
static const unsigned int msiof2_clk_b_mux[] =;
static const unsigned int msiof2_sync_b_pins[] =;
static const unsigned int msiof2_sync_b_mux[] =;
static const unsigned int msiof2_ss1_b_pins[] =;
static const unsigned int msiof2_ss1_b_mux[] =;
static const unsigned int msiof2_ss2_b_pins[] =;
static const unsigned int msiof2_ss2_b_mux[] =;
static const unsigned int msiof2_rx_b_pins[] =;
static const unsigned int msiof2_rx_b_mux[] =;
static const unsigned int msiof2_tx_b_pins[] =;
static const unsigned int msiof2_tx_b_mux[] =;

static const unsigned int msiof2_clk_c_pins[] =;
static const unsigned int msiof2_clk_c_mux[] =;
static const unsigned int msiof2_sync_c_pins[] =;
static const unsigned int msiof2_sync_c_mux[] =;
static const unsigned int msiof2_rx_c_pins[] =;
static const unsigned int msiof2_rx_c_mux[] =;
static const unsigned int msiof2_tx_c_pins[] =;
static const unsigned int msiof2_tx_c_mux[] =;

static const unsigned int msiof2_clk_d_pins[] =;
static const unsigned int msiof2_clk_d_mux[] =;
static const unsigned int msiof2_sync_d_pins[] =;
static const unsigned int msiof2_sync_d_mux[] =;
static const unsigned int msiof2_ss1_d_pins[] =;
static const unsigned int msiof2_ss1_d_mux[] =;
static const unsigned int msiof2_ss2_d_pins[] =;
static const unsigned int msiof2_ss2_d_mux[] =;
static const unsigned int msiof2_rx_d_pins[] =;
static const unsigned int msiof2_rx_d_mux[] =;
static const unsigned int msiof2_tx_d_pins[] =;
static const unsigned int msiof2_tx_d_mux[] =;

static const unsigned int msiof2_clk_e_pins[] =;
static const unsigned int msiof2_clk_e_mux[] =;
static const unsigned int msiof2_sync_e_pins[] =;
static const unsigned int msiof2_sync_e_mux[] =;
static const unsigned int msiof2_rx_e_pins[] =;
static const unsigned int msiof2_rx_e_mux[] =;
static const unsigned int msiof2_tx_e_pins[] =;
static const unsigned int msiof2_tx_e_mux[] =;
/* - PWM -------------------------------------------------------------------- */
static const unsigned int pwm0_pins[] =;
static const unsigned int pwm0_mux[] =;
static const unsigned int pwm0_b_pins[] =;
static const unsigned int pwm0_b_mux[] =;
static const unsigned int pwm1_pins[] =;
static const unsigned int pwm1_mux[] =;
static const unsigned int pwm1_b_pins[] =;
static const unsigned int pwm1_b_mux[] =;
static const unsigned int pwm2_pins[] =;
static const unsigned int pwm2_mux[] =;
static const unsigned int pwm2_b_pins[] =;
static const unsigned int pwm2_b_mux[] =;
static const unsigned int pwm3_pins[] =;
static const unsigned int pwm3_mux[] =;
static const unsigned int pwm4_pins[] =;
static const unsigned int pwm4_mux[] =;
static const unsigned int pwm4_b_pins[] =;
static const unsigned int pwm4_b_mux[] =;
static const unsigned int pwm5_pins[] =;
static const unsigned int pwm5_mux[] =;
static const unsigned int pwm5_b_pins[] =;
static const unsigned int pwm5_b_mux[] =;
static const unsigned int pwm6_pins[] =;
static const unsigned int pwm6_mux[] =;
/* - QSPI ------------------------------------------------------------------- */
static const unsigned int qspi_ctrl_pins[] =;
static const unsigned int qspi_ctrl_mux[] =;
static const unsigned int qspi_data_pins[] =;
static const unsigned int qspi_data_mux[] =;

static const unsigned int qspi_ctrl_b_pins[] =;
static const unsigned int qspi_ctrl_b_mux[] =;
static const unsigned int qspi_data_b_pins[] =;
static const unsigned int qspi_data_b_mux[] =;
/* - SCIF0 ------------------------------------------------------------------ */
static const unsigned int scif0_data_pins[] =;
static const unsigned int scif0_data_mux[] =;
static const unsigned int scif0_data_b_pins[] =;
static const unsigned int scif0_data_b_mux[] =;
static const unsigned int scif0_data_c_pins[] =;
static const unsigned int scif0_data_c_mux[] =;
static const unsigned int scif0_data_d_pins[] =;
static const unsigned int scif0_data_d_mux[] =;
static const unsigned int scif0_data_e_pins[] =;
static const unsigned int scif0_data_e_mux[] =;
/* - SCIF1 ------------------------------------------------------------------ */
static const unsigned int scif1_data_pins[] =;
static const unsigned int scif1_data_mux[] =;
static const unsigned int scif1_data_b_pins[] =;
static const unsigned int scif1_data_b_mux[] =;
static const unsigned int scif1_clk_b_pins[] =;
static const unsigned int scif1_clk_b_mux[] =;
static const unsigned int scif1_data_c_pins[] =;
static const unsigned int scif1_data_c_mux[] =;
static const unsigned int scif1_data_d_pins[] =;
static const unsigned int scif1_data_d_mux[] =;
/* - SCIF2 ------------------------------------------------------------------ */
static const unsigned int scif2_data_pins[] =;
static const unsigned int scif2_data_mux[] =;
static const unsigned int scif2_data_b_pins[] =;
static const unsigned int scif2_data_b_mux[] =;
static const unsigned int scif2_clk_b_pins[] =;
static const unsigned int scif2_clk_b_mux[] =;
static const unsigned int scif2_data_c_pins[] =;
static const unsigned int scif2_data_c_mux[] =;
static const unsigned int scif2_data_e_pins[] =;
static const unsigned int scif2_data_e_mux[] =;
/* - SCIF3 ------------------------------------------------------------------ */
static const unsigned int scif3_data_pins[] =;
static const unsigned int scif3_data_mux[] =;
static const unsigned int scif3_clk_pins[] =;
static const unsigned int scif3_clk_mux[] =;
static const unsigned int scif3_data_b_pins[] =;
static const unsigned int scif3_data_b_mux[] =;
static const unsigned int scif3_clk_b_pins[] =;
static const unsigned int scif3_clk_b_mux[] =;
static const unsigned int scif3_data_c_pins[] =;
static const unsigned int scif3_data_c_mux[] =;
static const unsigned int scif3_data_d_pins[] =;
static const unsigned int scif3_data_d_mux[] =;
/* - SCIF4 ------------------------------------------------------------------ */
static const unsigned int scif4_data_pins[] =;
static const unsigned int scif4_data_mux[] =;
static const unsigned int scif4_data_b_pins[] =;
static const unsigned int scif4_data_b_mux[] =;
static const unsigned int scif4_data_c_pins[] =;
static const unsigned int scif4_data_c_mux[] =;
/* - SCIF5 ------------------------------------------------------------------ */
static const unsigned int scif5_data_pins[] =;
static const unsigned int scif5_data_mux[] =;
static const unsigned int scif5_data_b_pins[] =;
static const unsigned int scif5_data_b_mux[] =;
/* - SCIFA0 ----------------------------------------------------------------- */
static const unsigned int scifa0_data_pins[] =;
static const unsigned int scifa0_data_mux[] =;
static const unsigned int scifa0_data_b_pins[] =;
static const unsigned int scifa0_data_b_mux[] =;
/* - SCIFA1 ----------------------------------------------------------------- */
static const unsigned int scifa1_data_pins[] =;
static const unsigned int scifa1_data_mux[] =;
static const unsigned int scifa1_clk_pins[] =;
static const unsigned int scifa1_clk_mux[] =;
static const unsigned int scifa1_data_b_pins[] =;
static const unsigned int scifa1_data_b_mux[] =;
static const unsigned int scifa1_clk_b_pins[] =;
static const unsigned int scifa1_clk_b_mux[] =;
static const unsigned int scifa1_data_c_pins[] =;
static const unsigned int scifa1_data_c_mux[] =;
/* - SCIFA2 ----------------------------------------------------------------- */
static const unsigned int scifa2_data_pins[] =;
static const unsigned int scifa2_data_mux[] =;
static const unsigned int scifa2_clk_pins[] =;
static const unsigned int scifa2_clk_mux[] =;
static const unsigned int scifa2_data_b_pins[] =;
static const unsigned int scifa2_data_b_mux[] =;
/* - SCIFA3 ----------------------------------------------------------------- */
static const unsigned int scifa3_data_pins[] =;
static const unsigned int scifa3_data_mux[] =;
static const unsigned int scifa3_clk_pins[] =;
static const unsigned int scifa3_clk_mux[] =;
static const unsigned int scifa3_data_b_pins[] =;
static const unsigned int scifa3_data_b_mux[] =;
static const unsigned int scifa3_clk_b_pins[] =;
static const unsigned int scifa3_clk_b_mux[] =;
static const unsigned int scifa3_data_c_pins[] =;
static const unsigned int scifa3_data_c_mux[] =;
static const unsigned int scifa3_clk_c_pins[] =;
static const unsigned int scifa3_clk_c_mux[] =;
/* - SCIFA4 ----------------------------------------------------------------- */
static const unsigned int scifa4_data_pins[] =;
static const unsigned int scifa4_data_mux[] =;
static const unsigned int scifa4_data_b_pins[] =;
static const unsigned int scifa4_data_b_mux[] =;
static const unsigned int scifa4_data_c_pins[] =;
static const unsigned int scifa4_data_c_mux[] =;
/* - SCIFA5 ----------------------------------------------------------------- */
static const unsigned int scifa5_data_pins[] =;
static const unsigned int scifa5_data_mux[] =;
static const unsigned int scifa5_data_b_pins[] =;
static const unsigned int scifa5_data_b_mux[] =;
static const unsigned int scifa5_data_c_pins[] =;
static const unsigned int scifa5_data_c_mux[] =;
/* - SCIFB0 ----------------------------------------------------------------- */
static const unsigned int scifb0_data_pins[] =;
static const unsigned int scifb0_data_mux[] =;
static const unsigned int scifb0_clk_pins[] =;
static const unsigned int scifb0_clk_mux[] =;
static const unsigned int scifb0_ctrl_pins[] =;
static const unsigned int scifb0_ctrl_mux[] =;
static const unsigned int scifb0_data_b_pins[] =;
static const unsigned int scifb0_data_b_mux[] =;
static const unsigned int scifb0_clk_b_pins[] =;
static const unsigned int scifb0_clk_b_mux[] =;
static const unsigned int scifb0_ctrl_b_pins[] =;
static const unsigned int scifb0_ctrl_b_mux[] =;
static const unsigned int scifb0_data_c_pins[] =;
static const unsigned int scifb0_data_c_mux[] =;
static const unsigned int scifb0_clk_c_pins[] =;
static const unsigned int scifb0_clk_c_mux[] =;
static const unsigned int scifb0_data_d_pins[] =;
static const unsigned int scifb0_data_d_mux[] =;
static const unsigned int scifb0_clk_d_pins[] =;
static const unsigned int scifb0_clk_d_mux[] =;
/* - SCIFB1 ----------------------------------------------------------------- */
static const unsigned int scifb1_data_pins[] =;
static const unsigned int scifb1_data_mux[] =;
static const unsigned int scifb1_clk_pins[] =;
static const unsigned int scifb1_clk_mux[] =;
static const unsigned int scifb1_ctrl_pins[] =;
static const unsigned int scifb1_ctrl_mux[] =;
static const unsigned int scifb1_data_b_pins[] =;
static const unsigned int scifb1_data_b_mux[] =;
static const unsigned int scifb1_clk_b_pins[] =;
static const unsigned int scifb1_clk_b_mux[] =;
static const unsigned int scifb1_data_c_pins[] =;
static const unsigned int scifb1_data_c_mux[] =;
static const unsigned int scifb1_clk_c_pins[] =;
static const unsigned int scifb1_clk_c_mux[] =;
static const unsigned int scifb1_data_d_pins[] =;
static const unsigned int scifb1_data_d_mux[] =;
/* - SCIFB2 ----------------------------------------------------------------- */
static const unsigned int scifb2_data_pins[] =;
static const unsigned int scifb2_data_mux[] =;
static const unsigned int scifb2_clk_pins[] =;
static const unsigned int scifb2_clk_mux[] =;
static const unsigned int scifb2_ctrl_pins[] =;
static const unsigned int scifb2_ctrl_mux[] =;
static const unsigned int scifb2_data_b_pins[] =;
static const unsigned int scifb2_data_b_mux[] =;
static const unsigned int scifb2_clk_b_pins[] =;
static const unsigned int scifb2_clk_b_mux[] =;
static const unsigned int scifb2_ctrl_b_pins[] =;
static const unsigned int scifb2_ctrl_b_mux[] =;
static const unsigned int scifb2_data_c_pins[] =;
static const unsigned int scifb2_data_c_mux[] =;
static const unsigned int scifb2_clk_c_pins[] =;
static const unsigned int scifb2_clk_c_mux[] =;
static const unsigned int scifb2_data_d_pins[] =;
static const unsigned int scifb2_data_d_mux[] =;

/* - SCIF Clock ------------------------------------------------------------- */
static const unsigned int scif_clk_pins[] =;
static const unsigned int scif_clk_mux[] =;
static const unsigned int scif_clk_b_pins[] =;
static const unsigned int scif_clk_b_mux[] =;

/* - SDHI0 ------------------------------------------------------------------ */
static const unsigned int sdhi0_data_pins[] =;
static const unsigned int sdhi0_data_mux[] =;
static const unsigned int sdhi0_ctrl_pins[] =;
static const unsigned int sdhi0_ctrl_mux[] =;
static const unsigned int sdhi0_cd_pins[] =;
static const unsigned int sdhi0_cd_mux[] =;
static const unsigned int sdhi0_wp_pins[] =;
static const unsigned int sdhi0_wp_mux[] =;
/* - SDHI1 ------------------------------------------------------------------ */
static const unsigned int sdhi1_data_pins[] =;
static const unsigned int sdhi1_data_mux[] =;
static const unsigned int sdhi1_ctrl_pins[] =;
static const unsigned int sdhi1_ctrl_mux[] =;
static const unsigned int sdhi1_cd_pins[] =;
static const unsigned int sdhi1_cd_mux[] =;
static const unsigned int sdhi1_wp_pins[] =;
static const unsigned int sdhi1_wp_mux[] =;
/* - SDHI2 ------------------------------------------------------------------ */
static const unsigned int sdhi2_data_pins[] =;
static const unsigned int sdhi2_data_mux[] =;
static const unsigned int sdhi2_ctrl_pins[] =;
static const unsigned int sdhi2_ctrl_mux[] =;
static const unsigned int sdhi2_cd_pins[] =;
static const unsigned int sdhi2_cd_mux[] =;
static const unsigned int sdhi2_wp_pins[] =;
static const unsigned int sdhi2_wp_mux[] =;

/* - SSI -------------------------------------------------------------------- */
static const unsigned int ssi0_data_pins[] =;

static const unsigned int ssi0_data_mux[] =;

static const unsigned int ssi0_data_b_pins[] =;

static const unsigned int ssi0_data_b_mux[] =;

static const unsigned int ssi0129_ctrl_pins[] =;

static const unsigned int ssi0129_ctrl_mux[] =;

static const unsigned int ssi0129_ctrl_b_pins[] =;

static const unsigned int ssi0129_ctrl_b_mux[] =;

static const unsigned int ssi1_data_pins[] =;

static const unsigned int ssi1_data_mux[] =;

static const unsigned int ssi1_data_b_pins[] =;

static const unsigned int ssi1_data_b_mux[] =;

static const unsigned int ssi1_ctrl_pins[] =;

static const unsigned int ssi1_ctrl_mux[] =;

static const unsigned int ssi1_ctrl_b_pins[] =;

static const unsigned int ssi1_ctrl_b_mux[] =;

static const unsigned int ssi2_data_pins[] =;

static const unsigned int ssi2_data_mux[] =;

static const unsigned int ssi2_ctrl_pins[] =;

static const unsigned int ssi2_ctrl_mux[] =;

static const unsigned int ssi3_data_pins[] =;

static const unsigned int ssi3_data_mux[] =;

static const unsigned int ssi34_ctrl_pins[] =;

static const unsigned int ssi34_ctrl_mux[] =;

static const unsigned int ssi4_data_pins[] =;

static const unsigned int ssi4_data_mux[] =;

static const unsigned int ssi4_ctrl_pins[] =;

static const unsigned int ssi4_ctrl_mux[] =;

static const unsigned int ssi5_data_pins[] =;

static const unsigned int ssi5_data_mux[] =;

static const unsigned int ssi5_ctrl_pins[] =;

static const unsigned int ssi5_ctrl_mux[] =;

static const unsigned int ssi6_data_pins[] =;

static const unsigned int ssi6_data_mux[] =;

static const unsigned int ssi6_ctrl_pins[] =;

static const unsigned int ssi6_ctrl_mux[] =;

static const unsigned int ssi7_data_pins[] =;

static const unsigned int ssi7_data_mux[] =;

static const unsigned int ssi7_data_b_pins[] =;

static const unsigned int ssi7_data_b_mux[] =;

static const unsigned int ssi78_ctrl_pins[] =;

static const unsigned int ssi78_ctrl_mux[] =;

static const unsigned int ssi78_ctrl_b_pins[] =;

static const unsigned int ssi78_ctrl_b_mux[] =;

static const unsigned int ssi8_data_pins[] =;

static const unsigned int ssi8_data_mux[] =;

static const unsigned int ssi8_data_b_pins[] =;

static const unsigned int ssi8_data_b_mux[] =;

static const unsigned int ssi9_data_pins[] =;

static const unsigned int ssi9_data_mux[] =;

static const unsigned int ssi9_data_b_pins[] =;

static const unsigned int ssi9_data_b_mux[] =;

static const unsigned int ssi9_ctrl_pins[] =;

static const unsigned int ssi9_ctrl_mux[] =;

static const unsigned int ssi9_ctrl_b_pins[] =;

static const unsigned int ssi9_ctrl_b_mux[] =;

/* - TPU -------------------------------------------------------------------- */
static const unsigned int tpu_to0_pins[] =;
static const unsigned int tpu_to0_mux[] =;
static const unsigned int tpu_to1_pins[] =;
static const unsigned int tpu_to1_mux[] =;
static const unsigned int tpu_to2_pins[] =;
static const unsigned int tpu_to2_mux[] =;
static const unsigned int tpu_to3_pins[] =;
static const unsigned int tpu_to3_mux[] =;

/* - USB0 ------------------------------------------------------------------- */
static const unsigned int usb0_pins[] =;
static const unsigned int usb0_mux[] =;
/* - USB1 ------------------------------------------------------------------- */
static const unsigned int usb1_pins[] =;
static const unsigned int usb1_mux[] =;
/* - VIN0 ------------------------------------------------------------------- */
static const unsigned int vin0_data_pins[] =;
static const unsigned int vin0_data_mux[] =;
static const unsigned int vin0_data18_pins[] =;
static const unsigned int vin0_data18_mux[] =;
static const unsigned int vin0_sync_pins[] =;
static const unsigned int vin0_sync_mux[] =;
static const unsigned int vin0_field_pins[] =;
static const unsigned int vin0_field_mux[] =;
static const unsigned int vin0_clkenb_pins[] =;
static const unsigned int vin0_clkenb_mux[] =;
static const unsigned int vin0_clk_pins[] =;
static const unsigned int vin0_clk_mux[] =;
/* - VIN1 ----------------------------------------------------------------- */
static const unsigned int vin1_data8_pins[] =;
static const unsigned int vin1_data8_mux[] =;
static const unsigned int vin1_sync_pins[] =;
static const unsigned int vin1_sync_mux[] =;
static const unsigned int vin1_field_pins[] =;
static const unsigned int vin1_field_mux[] =;
static const unsigned int vin1_clkenb_pins[] =;
static const unsigned int vin1_clkenb_mux[] =;
static const unsigned int vin1_clk_pins[] =;
static const unsigned int vin1_clk_mux[] =;
static const unsigned int vin1_data_b_pins[] =;
static const unsigned int vin1_data_b_mux[] =;
static const unsigned int vin1_data18_b_pins[] =;
static const unsigned int vin1_data18_b_mux[] =;
static const unsigned int vin1_sync_b_pins[] =;
static const unsigned int vin1_sync_b_mux[] =;
static const unsigned int vin1_field_b_pins[] =;
static const unsigned int vin1_field_b_mux[] =;
static const unsigned int vin1_clkenb_b_pins[] =;
static const unsigned int vin1_clkenb_b_mux[] =;
static const unsigned int vin1_clk_b_pins[] =;
static const unsigned int vin1_clk_b_mux[] =;
/* - VIN2 ----------------------------------------------------------------- */
static const unsigned int vin2_data8_pins[] =;
static const unsigned int vin2_data8_mux[] =;
static const unsigned int vin2_sync_pins[] =;
static const unsigned int vin2_sync_mux[] =;
static const unsigned int vin2_field_pins[] =;
static const unsigned int vin2_field_mux[] =;
static const unsigned int vin2_clkenb_pins[] =;
static const unsigned int vin2_clkenb_mux[] =;
static const unsigned int vin2_clk_pins[] =;
static const unsigned int vin2_clk_mux[] =;

static const struct {} pinmux_groups =;

#if defined(CONFIG_PINCTRL_PFC_R8A7791) || defined(CONFIG_PINCTRL_PFC_R8A7793)
static const char * const adi_groups[] =;
#endif /* CONFIG_PINCTRL_PFC_R8A7791 || CONFIG_PINCTRL_PFC_R8A7793 */

static const char * const audio_clk_groups[] =;

static const char * const avb_groups[] =;

static const char * const can0_groups[] =;

static const char * const can1_groups[] =;

/*
 * can_clk_groups allows for independent configuration, use can_clk function
 * in new designs.
 */
static const char * const can_clk_groups[] =;

static const char * const du_groups[] =;

static const char * const du0_groups[] =;

static const char * const du1_groups[] =;

static const char * const eth_groups[] =;

static const char * const hscif0_groups[] =;

static const char * const hscif1_groups[] =;

static const char * const hscif2_groups[] =;

static const char * const i2c0_groups[] =;

static const char * const i2c1_groups[] =;

static const char * const i2c2_groups[] =;

static const char * const i2c3_groups[] =;

static const char * const i2c4_groups[] =;

static const char * const i2c7_groups[] =;

static const char * const i2c8_groups[] =;

static const char * const intc_groups[] =;

#if defined(CONFIG_PINCTRL_PFC_R8A7791) || defined(CONFIG_PINCTRL_PFC_R8A7793)
static const char * const mlb_groups[] =;
#endif /* CONFIG_PINCTRL_PFC_R8A7791 || CONFIG_PINCTRL_PFC_R8A7793 */

static const char * const mmc_groups[] =;

static const char * const msiof0_groups[] =;

static const char * const msiof1_groups[] =;

static const char * const msiof2_groups[] =;

static const char * const pwm0_groups[] =;

static const char * const pwm1_groups[] =;

static const char * const pwm2_groups[] =;

static const char * const pwm3_groups[] =;

static const char * const pwm4_groups[] =;

static const char * const pwm5_groups[] =;

static const char * const pwm6_groups[] =;

static const char * const qspi_groups[] =;

static const char * const scif0_groups[] =;

static const char * const scif1_groups[] =;

static const char * const scif2_groups[] =;
static const char * const scif3_groups[] =;
static const char * const scif4_groups[] =;
static const char * const scif5_groups[] =;
static const char * const scifa0_groups[] =;
static const char * const scifa1_groups[] =;
static const char * const scifa2_groups[] =;
static const char * const scifa3_groups[] =;
static const char * const scifa4_groups[] =;
static const char * const scifa5_groups[] =;
static const char * const scifb0_groups[] =;
static const char * const scifb1_groups[] =;
static const char * const scifb2_groups[] =;

static const char * const scif_clk_groups[] =;

static const char * const sdhi0_groups[] =;

static const char * const sdhi1_groups[] =;

static const char * const sdhi2_groups[] =;

static const char * const ssi_groups[] =;

static const char * const tpu_groups[] =;

static const char * const usb0_groups[] =;
static const char * const usb1_groups[] =;

static const char * const vin0_groups[] =;

static const char * const vin1_groups[] =;

static const char * const vin2_groups[] =;

static const struct {} pinmux_functions =;

static const struct pinmux_cfg_reg pinmux_config_regs[] =;

static int r8a7791_pin_to_pocctrl(unsigned int pin, u32 *pocctrl)
{}

static const struct pinmux_bias_reg pinmux_bias_regs[] =;

static const struct sh_pfc_soc_operations r8a7791_pfc_ops =;

#ifdef CONFIG_PINCTRL_PFC_R8A7743
const struct sh_pfc_soc_info r8a7743_pinmux_info =;
#endif

#ifdef CONFIG_PINCTRL_PFC_R8A7744
const struct sh_pfc_soc_info r8a7744_pinmux_info =;
#endif

#ifdef CONFIG_PINCTRL_PFC_R8A7791
const struct sh_pfc_soc_info r8a7791_pinmux_info =;
#endif

#ifdef CONFIG_PINCTRL_PFC_R8A7793
const struct sh_pfc_soc_info r8a7793_pinmux_info =;
#endif