linux/drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c

// SPDX-License-Identifier: GPL-2.0+
//
// Copyright (C) 2016-2017 Socionext Inc.
//   Author: Masahiro Yamada <[email protected]>

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mod_devicetable.h>
#include <linux/pinctrl/pinctrl.h>
#include <linux/platform_device.h>

#include "pinctrl-uniphier.h"

static const struct pinctrl_pin_desc uniphier_ld20_pins[] =;

static const unsigned ain1_pins[] =;
static const int ain1_muxvals[] =;
static const unsigned ain1_dat2_pins[] =;
static const int ain1_dat2_muxvals[] =;
static const unsigned ain1_dat4_pins[] =;
static const int ain1_dat4_muxvals[] =;
static const unsigned ain2_pins[] =;
static const int ain2_muxvals[] =;
static const unsigned ain2_dat2_pins[] =;
static const int ain2_dat2_muxvals[] =;
static const unsigned ain2_dat4_pins[] =;
static const int ain2_dat4_muxvals[] =;
static const unsigned ain3_pins[] =;
static const int ain3_muxvals[] =;
static const unsigned aout1_pins[] =;
static const int aout1_muxvals[] =;
static const unsigned aout1_dat2_pins[] =;
static const int aout1_dat2_muxvals[] =;
static const unsigned aout1_dat4_pins[] =;
static const int aout1_dat4_muxvals[] =;
static const unsigned aout1b_pins[] =;
static const int aout1b_muxvals[] =;
static const unsigned aout1b_dat2_pins[] =;
static const int aout1b_dat2_muxvals[] =;
static const unsigned aout1b_dat4_pins[] =;
static const int aout1b_dat4_muxvals[] =;
static const unsigned aout2_pins[] =;
static const int aout2_muxvals[] =;
static const unsigned aout2_dat2_pins[] =;
static const int aout2_dat2_muxvals[] =;
static const unsigned aout2_dat4_pins[] =;
static const int aout2_dat4_muxvals[] =;
static const unsigned aout3_pins[] =;
static const int aout3_muxvals[] =;
static const unsigned aout4_pins[] =;
static const int aout4_muxvals[] =;
static const unsigned aoutiec1_pins[] =;
static const int aoutiec1_muxvals[] =;
static const unsigned aoutiec2_pins[] =;
static const int aoutiec2_muxvals[] =;
static const unsigned int emmc_pins[] =;
static const int emmc_muxvals[] =;
static const unsigned emmc_dat8_pins[] =;
static const int emmc_dat8_muxvals[] =;
static const unsigned ether_rgmii_pins[] =;
static const int ether_rgmii_muxvals[] =;
static const unsigned ether_rmii_pins[] =;
static const int ether_rmii_muxvals[] =;
static const unsigned hscin0_ci_pins[] =;
static const int hscin0_ci_muxvals[] =;
static const unsigned hscin0_p_pins[] =;
static const int hscin0_p_muxvals[] =;
static const unsigned hscin0_s_pins[] =;
static const int hscin0_s_muxvals[] =;
static const unsigned hscin1_p_pins[] =;
static const int hscin1_p_muxvals[] =;
static const unsigned hscin1_s_pins[] =;
static const int hscin1_s_muxvals[] =;
static const unsigned hscin2_s_pins[] =;
static const int hscin2_s_muxvals[] =;
static const unsigned hscin3_s_pins[] =;
static const int hscin3_s_muxvals[] =;
static const unsigned hscin4_s_pins[] =;
static const int hscin4_s_muxvals[] =;
static const unsigned hscout0_ci_pins[] =;
static const int hscout0_ci_muxvals[] =;
static const unsigned hscout0_p_pins[] =;
static const int hscout0_p_muxvals[] =;
static const unsigned hscout0_s_pins[] =;
static const int hscout0_s_muxvals[] =;
static const unsigned hscout1_s_pins[] =;
static const int hscout1_s_muxvals[] =;
static const unsigned i2c0_pins[] =;
static const int i2c0_muxvals[] =;
static const unsigned i2c1_pins[] =;
static const int i2c1_muxvals[] =;
static const unsigned i2c3_pins[] =;
static const int i2c3_muxvals[] =;
static const unsigned i2c4_pins[] =;
static const int i2c4_muxvals[] =;
static const unsigned nand_pins[] =;
static const int nand_muxvals[] =;
static const unsigned sd_pins[] =;
static const int sd_muxvals[] =;  /* No SDVOLC */
static const unsigned spi0_pins[] =;
static const int spi0_muxvals[] =;
static const unsigned spi1_pins[] =;
static const int spi1_muxvals[] =;
static const unsigned spi2_pins[] =;
static const int spi2_muxvals[] =;
static const unsigned spi3_pins[] =;
static const int spi3_muxvals[] =;
static const unsigned system_bus_pins[] =;
static const int system_bus_muxvals[] =;
static const unsigned system_bus_cs1_pins[] =;
static const int system_bus_cs1_muxvals[] =;
static const unsigned uart0_pins[] =;
static const int uart0_muxvals[] =;
static const unsigned uart1_pins[] =;
static const int uart1_muxvals[] =;
static const unsigned uart2_pins[] =;
static const int uart2_muxvals[] =;
static const unsigned uart3_pins[] =;
static const int uart3_muxvals[] =;
static const unsigned uart3_ctsrts_pins[] =;
static const int uart3_ctsrts_muxvals[] =;
static const unsigned uart3_modem_pins[] =;
static const int uart3_modem_muxvals[] =;
static const unsigned usb0_pins[] =;
static const int usb0_muxvals[] =;
static const unsigned usb1_pins[] =;
static const int usb1_muxvals[] =;
static const unsigned usb2_pins[] =;
static const int usb2_muxvals[] =;
static const unsigned usb3_pins[] =;
static const int usb3_muxvals[] =;
static const unsigned int gpio_range0_pins[] =;
static const unsigned int gpio_range1_pins[] =;
static const unsigned int gpio_range2_pins[] =;

static const struct uniphier_pinctrl_group uniphier_ld20_groups[] =;

static const char * const ain1_groups[] =;
static const char * const ain2_groups[] =;
static const char * const ain3_groups[] =;
static const char * const aout1_groups[] =;
static const char * const aout2_groups[] =;
static const char * const aout3_groups[] =;
static const char * const aout4_groups[] =;
static const char * const aoutiec1_groups[] =;
static const char * const aoutiec2_groups[] =;
static const char * const emmc_groups[] =;
static const char * const ether_rgmii_groups[] =;
static const char * const ether_rmii_groups[] =;
static const char * const hscin0_groups[] =;
static const char * const hscin1_groups[] =;
static const char * const hscin2_groups[] =;
static const char * const hscin3_groups[] =;
static const char * const hscin4_groups[] =;
static const char * const hscout0_groups[] =;
static const char * const hscout1_groups[] =;
static const char * const i2c0_groups[] =;
static const char * const i2c1_groups[] =;
static const char * const i2c3_groups[] =;
static const char * const i2c4_groups[] =;
static const char * const nand_groups[] =;
static const char * const sd_groups[] =;
static const char * const spi0_groups[] =;
static const char * const spi1_groups[] =;
static const char * const spi2_groups[] =;
static const char * const spi3_groups[] =;
static const char * const system_bus_groups[] =;
static const char * const uart0_groups[] =;
static const char * const uart1_groups[] =;
static const char * const uart2_groups[] =;
static const char * const uart3_groups[] =;
static const char * const usb0_groups[] =;
static const char * const usb1_groups[] =;
static const char * const usb2_groups[] =;
static const char * const usb3_groups[] =;

static const struct uniphier_pinmux_function uniphier_ld20_functions[] =;

static int uniphier_ld20_get_gpio_muxval(unsigned int pin,
					 unsigned int gpio_offset)
{}

static const struct uniphier_pinctrl_socdata uniphier_ld20_pindata =;

static int uniphier_ld20_pinctrl_probe(struct platform_device *pdev)
{}

static const struct of_device_id uniphier_ld20_pinctrl_match[] =;

static struct platform_driver uniphier_ld20_pinctrl_driver =;
builtin_platform_driver();