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

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2012-2013  Renesas Solutions Corp.
 * Copyright (C) 2013  Magnus Damm
 * Copyright (C) 2012  Kuninori Morimoto <[email protected]>
 */
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/pinctrl/pinconf-generic.h>

#include "sh_pfc.h"

#define CPU_ALL_PORT(fn, pfx, sfx)


enum {};

static const u16 pinmux_data[] =;

#define __O
#define __IO
#define __PUD

#define R8A73A4_PIN_IO_PU_PD(pin)
#define R8A73A4_PIN_O(pin)

static const struct sh_pfc_pin pinmux_pins[] =;

/* - IRQC ------------------------------------------------------------------- */
#define IRQC_PINS_MUX(pin, irq_mark)
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
IRQC_PINS_MUX();
/* - MMCIF0 ----------------------------------------------------------------- */
static const unsigned int mmc0_data_pins[] =;
static const unsigned int mmc0_data_mux[] =;
static const unsigned int mmc0_ctrl_pins[] =;
static const unsigned int mmc0_ctrl_mux[] =;
/* - MMCIF1 ----------------------------------------------------------------- */
static const unsigned int mmc1_data_pins[] =;
static const unsigned int mmc1_data_mux[] =;
static const unsigned int mmc1_ctrl_pins[] =;
static const unsigned int mmc1_ctrl_mux[] =;
/* - SCIFA0 ----------------------------------------------------------------- */
static const unsigned int scifa0_data_pins[] =;
static const unsigned int scifa0_data_mux[] =;
static const unsigned int scifa0_clk_pins[] =;
static const unsigned int scifa0_clk_mux[] =;
static const unsigned int scifa0_ctrl_pins[] =;
static const unsigned int scifa0_ctrl_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_ctrl_pins[] =;
static const unsigned int scifa1_ctrl_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[] =;
/* - 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_ctrl_b_pins[] =;
static const unsigned int scifb1_ctrl_b_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[] =;
/* - SCIFB3 ----------------------------------------------------------------- */
static const unsigned int scifb3_data_pins[] =;
static const unsigned int scifb3_data_mux[] =;
static const unsigned int scifb3_clk_pins[] =;
static const unsigned int scifb3_clk_mux[] =;
static const unsigned int scifb3_ctrl_pins[] =;
static const unsigned int scifb3_ctrl_mux[] =;
static const unsigned int scifb3_data_b_pins[] =;
static const unsigned int scifb3_data_b_mux[] =;
static const unsigned int scifb3_clk_b_pins[] =;
static const unsigned int scifb3_clk_b_mux[] =;
static const unsigned int scifb3_ctrl_b_pins[] =;
static const unsigned int scifb3_ctrl_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[] =;
/* - 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 struct sh_pfc_pin_group pinmux_groups[] =;

static const char * const irqc_groups[] =;

static const char * const mmc0_groups[] =;

static const char * const mmc1_groups[] =;

static const char * const scifa0_groups[] =;

static const char * const scifa1_groups[] =;

static const char * const scifb0_groups[] =;

static const char * const scifb1_groups[] =;

static const char * const scifb2_groups[] =;

static const char * const scifb3_groups[] =;

static const char * const sdhi0_groups[] =;

static const char * const sdhi1_groups[] =;

static const char * const sdhi2_groups[] =;

static const struct sh_pfc_function pinmux_functions[] =;

static const struct pinmux_cfg_reg pinmux_config_regs[] =;

static const struct pinmux_data_reg pinmux_data_regs[] =;

static const struct pinmux_irq pinmux_irqs[] =;

static const unsigned int r8a73a4_portcr_offsets[] =;

static int r8a73a4_pin_to_portcr(unsigned int pin)
{}

static const struct sh_pfc_soc_operations r8a73a4_pfc_ops =;

const struct sh_pfc_soc_info r8a73a4_pinmux_info =;