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

// SPDX-License-Identifier: GPL-2.0
/*
 * r8a7792 processor support - PFC hardware block.
 *
 * Copyright (C) 2013-2014 Renesas Electronics Corporation
 * Copyright (C) 2016 Cogent Embedded, Inc., <[email protected]>
 */

#include <linux/kernel.h>

#include "sh_pfc.h"

#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[] =;

/* - 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[] =;
static const unsigned int avb_avtp_match_pins[] =;
static const unsigned int avb_avtp_match_mux[] =;
/* - CAN -------------------------------------------------------------------- */
static const unsigned int can0_data_pins[] =;
static const unsigned int can0_data_mux[] =;
static const unsigned int can1_data_pins[] =;
static const unsigned int can1_data_mux[] =;
static const unsigned int can_clk_pins[] =;
static const unsigned int can_clk_mux[] =;
/* - DU --------------------------------------------------------------------- */
static const unsigned int du0_rgb666_pins[] =;
static const unsigned int du0_rgb666_mux[] =;
static const unsigned int du0_rgb888_pins[] =;
static const unsigned int du0_rgb888_mux[] =;
static const unsigned int du0_sync_pins[] =;
static const unsigned int du0_sync_mux[] =;
static const unsigned int du0_oddf_pins[] =;
static const unsigned int du0_oddf_mux[] =;
static const unsigned int du0_disp_pins[] =;
static const unsigned int du0_disp_mux[] =;
static const unsigned int du0_cde_pins[] =;
static const unsigned int du0_cde_mux[] =;
static const unsigned int du1_rgb666_pins[] =;
static const unsigned int du1_rgb666_mux[] =;
static const unsigned int du1_sync_pins[] =;
static const unsigned int du1_sync_mux[] =;
static const unsigned int du1_oddf_pins[] =;
static const unsigned int du1_oddf_mux[] =;
static const unsigned int du1_disp_pins[] =;
static const unsigned int du1_disp_mux[] =;
static const unsigned int du1_cde_pins[] =;
static const unsigned int du1_cde_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[] =;
/* - LBSC ------------------------------------------------------------------- */
static const unsigned int lbsc_cs0_pins[] =;
static const unsigned int lbsc_cs0_mux[] =;
static const unsigned int lbsc_cs1_pins[] =;
static const unsigned int lbsc_cs1_mux[] =;
static const unsigned int lbsc_ex_cs0_pins[] =;
static const unsigned int lbsc_ex_cs0_mux[] =;
static const unsigned int lbsc_ex_cs1_pins[] =;
static const unsigned int lbsc_ex_cs1_mux[] =;
static const unsigned int lbsc_ex_cs2_pins[] =;
static const unsigned int lbsc_ex_cs2_mux[] =;
static const unsigned int lbsc_ex_cs3_pins[] =;
static const unsigned int lbsc_ex_cs3_mux[] =;
static const unsigned int lbsc_ex_cs4_pins[] =;
static const unsigned int lbsc_ex_cs4_mux[] =;
static const unsigned int lbsc_ex_cs5_pins[] =;
static const unsigned int lbsc_ex_cs5_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_rx_pins[] =;
static const unsigned int msiof0_rx_mux[] =;
static const unsigned int msiof0_tx_pins[] =;
static const unsigned int msiof0_tx_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_rx_pins[] =;
static const unsigned int msiof1_rx_mux[] =;
static const unsigned int msiof1_tx_pins[] =;
static const unsigned int msiof1_tx_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[] =;
/* - SCIF0 ------------------------------------------------------------------ */
static const unsigned int scif0_data_pins[] =;
static const unsigned int scif0_data_mux[] =;
static const unsigned int scif0_clk_pins[] =;
static const unsigned int scif0_clk_mux[] =;
static const unsigned int scif0_ctrl_pins[] =;
static const unsigned int scif0_ctrl_mux[] =;
/* - SCIF1 ------------------------------------------------------------------ */
static const unsigned int scif1_data_pins[] =;
static const unsigned int scif1_data_mux[] =;
static const unsigned int scif1_clk_pins[] =;
static const unsigned int scif1_clk_mux[] =;
static const unsigned int scif1_ctrl_pins[] =;
static const unsigned int scif1_ctrl_mux[] =;
/* - SCIF2 ------------------------------------------------------------------ */
static const unsigned int scif2_data_pins[] =;
static const unsigned int scif2_data_mux[] =;
static const unsigned int scif2_clk_pins[] =;
static const unsigned int scif2_clk_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[] =;
/* - 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[] =;
/* - 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_data_pins[] =;
static const unsigned int vin1_data_mux[] =;
static const unsigned int vin1_data18_pins[] =;
static const unsigned int vin1_data18_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_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[] =;
/* - VIN2 ------------------------------------------------------------------- */
static const unsigned int vin2_data_pins[] =;
static const unsigned int vin2_data_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[] =;
/* - VIN3 ------------------------------------------------------------------- */
static const unsigned int vin3_data_pins[] =;
static const unsigned int vin3_data_mux[] =;
static const unsigned int vin3_sync_pins[] =;
static const unsigned int vin3_sync_mux[] =;
static const unsigned int vin3_field_pins[] =;
static const unsigned int vin3_field_mux[] =;
static const unsigned int vin3_clkenb_pins[] =;
static const unsigned int vin3_clkenb_mux[] =;
static const unsigned int vin3_clk_pins[] =;
static const unsigned int vin3_clk_mux[] =;
/* - VIN4 ------------------------------------------------------------------- */
static const unsigned int vin4_data_pins[] =;
static const unsigned int vin4_data_mux[] =;
static const unsigned int vin4_sync_pins[] =;
static const unsigned int vin4_sync_mux[] =;
static const unsigned int vin4_field_pins[] =;
static const unsigned int vin4_field_mux[] =;
static const unsigned int vin4_clkenb_pins[] =;
static const unsigned int vin4_clkenb_mux[] =;
static const unsigned int vin4_clk_pins[] =;
static const unsigned int vin4_clk_mux[] =;
/* - VIN5 ------------------------------------------------------------------- */
static const unsigned int vin5_data_pins[] =;
static const unsigned int vin5_data_mux[] =;
static const unsigned int vin5_sync_pins[] =;
static const unsigned int vin5_sync_mux[] =;
static const unsigned int vin5_field_pins[] =;
static const unsigned int vin5_field_mux[] =;
static const unsigned int vin5_clkenb_pins[] =;
static const unsigned int vin5_clkenb_mux[] =;
static const unsigned int vin5_clk_pins[] =;
static const unsigned int vin5_clk_mux[] =;

static const struct sh_pfc_pin_group pinmux_groups[] =;

static const char * const avb_groups[] =;

static const char * const can0_groups[] =;

static const char * const can1_groups[] =;

static const char * const du0_groups[] =;

static const char * const du1_groups[] =;

static const char * const intc_groups[] =;

static const char * const lbsc_groups[] =;

static const char * const msiof0_groups[] =;

static const char * const msiof1_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 sdhi0_groups[] =;

static const char * const vin0_groups[] =;

static const char * const vin1_groups[] =;

static const char * const vin2_groups[] =;

static const char * const vin3_groups[] =;

static const char * const vin4_groups[] =;

static const char * const vin5_groups[] =;

static const struct sh_pfc_function pinmux_functions[] =;

static const struct pinmux_cfg_reg pinmux_config_regs[] =;

static const struct pinmux_bias_reg pinmux_bias_regs[] =;

static const struct sh_pfc_soc_operations r8a7792_pfc_ops =;

const struct sh_pfc_soc_info r8a7792_pinmux_info =;