*/ #include <linux/gpio.h> #include "board-espresso10.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] gpmc_a19 - gpio_43 - MHL_RST */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A19, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 43, "MHL_RST"), /* [--OUT] gpmc_ncs5 - gpio_102 - HDMI_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_NCS5, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 102, "HDMI_EN"), /* [IN---] hdmi_hpd - gpio_63 - HDMI_HPD */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, HDMI_HPD, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLUP, 63, "HDMI_HPD"), /* [-N-C-] hdmi_cec - gpio_64 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, HDMI_CEC, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 64, "hdmi_cec.nc"), /* [-----] hdmi_ddc_scl - gpio_65 - DDC_SCL_3.3V */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE,
* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-t1.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-N-C-] kpd_row4.safe_mode - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, KPD_ROW4, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 176, "kpd_row4.nc"), /* [IN---] fref_clk3_out.gpio_wk31 - HOME_KEY */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_WKUP, FREF_CLK3_OUT, OMAP_MUX_MODE3 | OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE, 31, "HOME_KEY"), }; add_sec_muxtbl_to_list(SEC_MACHINE_T1, 5, muxtbl);
*/ #include <linux/gpio.h> #include "board-t1.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [IN---] gpmc_nadv_ale - gpio_56 - CP_DUMP_INT */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_NADV_ALE, OMAP_MUX_MODE3 | OMAP_PIN_INPUT, 56, "CP_DUMP_INT"), /* [-----] usbb1_ulpitll_dat6 - gpio_94 - MOTOR_PWM */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, USBB1_ULPITLL_DAT6, OMAP_MUX_MODE1 | OMAP_PIN_OUTPUT | OMAP_PIN_OFF_OUTPUT_LOW, 94, "MOTOR_PWM"), /* [IN---] usbb1_ulpitll_dat7 - gpio_95 - EAR_SEND_END */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, USBB1_ULPITLL_DAT7, OMAP_MUX_MODE3 | OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE, 95, "EAR_SEND_END"), /* [-N-C-] sim_clk - gpio_wk1 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_WKUP,
*/ #include <linux/gpio.h> #include "board-t1.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] usbb1_ulpitll_dat7 - gpio_95 - MOTOR_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, USBB1_ULPITLL_DAT7, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 95, "MOTOR_EN"), /* [IN---] sim_pwrctrl - gpio_wk4 - EAR_SEND_END */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_WKUP, SIM_PWRCTRL, OMAP_MUX_MODE3 | OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE, 4, "EAR_SEND_END"), /* [-----] mcspi1_clk - gpio_134 - AP_SPI_CLK */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, MCSPI1_CLK, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLUP, OMAP_MUXTBL_NO_GPIO, "mcspi1_clk"), /* [-----] mcspi1_somi - gpio_135 - AP_SPI_SOMI */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, MCSPI1_SOMI, OMAP_MUX_MODE0 | OMAP_PIN_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "mcspi1_somi"),
*/ #include <linux/gpio.h> #include "board-palau.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-N-C-] gpmc_a19.gpio_43 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A19, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLDOWN, 43, "gpmc_a19.nc"), /* [IN---] gpmc_a23.gpio_47 - LCD_ID */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A23, OMAP_MUX_MODE3 | OMAP_PIN_INPUT, 47, "LCD_ID"), /* [-N-C-] gpmc_a25.safe_mode - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A25, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 49, "gpmc_a25.nc"), /* [-N-C-] gpmc_nwp.gpio_54 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_NWP, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLDOWN, 54, "gpmc_nwp.nc"), /* [IN---] gpmc_wait0.gpio_61 - FUEL_I2C_SCL */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE,
* Copyright (C) 2012 Samsung Electronics Co, Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-superior.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-N-C-] cam_globalreset.safe_mode - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, CAM_GLOBALRESET, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 83, "cam_globalreset.nc"), }; add_sec_muxtbl_to_list(SEC_MACHINE_SUPERIOR, 4, muxtbl);
* may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-espresso.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] gpmc_ad10.gpio_34 - TF_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD10, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 34, "TF_EN"), /* [-N-C-] gpmc_a19.safe_mode - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A19, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 43, "gpmc_a19.nc"), }; add_sec_muxtbl_to_list(SEC_MACHINE_ESPRESSO, 7, muxtbl);
*/ #include <linux/gpio.h> #include "board-espresso.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] gpmc_ad9.gpio_33 - ALS_OUT */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD9, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 33, "ALS_OUT"), /* [-N-C-] gpmc_ad14.gpio_38 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD14, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLDOWN, 38, "gpmc_ad14.nc"), /* [--OUT] gpmc_a21.gpio_45 - CODEC_LDO_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A21, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 45, "CODEC_LDO_EN"), /* [--OUT] gpmc_ncs4.gpio_101 - CODEC_CLK_REQ */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_NCS4, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 101, "CODEC_CLK_REQ"), /* [-N-C-] abe_mcbsp2_clkx.safe_mode - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE,
* may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-espresso.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-N-C-] gpmc_ad9.gpio_33 - NC */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD9, OMAP_MUX_MODE7 | OMAP_PIN_INPUT_PULLDOWN, 33, "gpmc_ad9.nc"), /* [IN---] gpmc_ad14.gpio_38 - MOTOR_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD14, OMAP_MUX_MODE3 | OMAP_PIN_INPUT_PULLDOWN, 38, "MOTOR_EN"), }; add_sec_muxtbl_to_list(SEC_MACHINE_ESPRESSO, 6, muxtbl);
#include <linux/gpio.h> #include "board-espresso.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-----] gpmc_ad0 - - NAND_D(0) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD0, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "NAND_D(0)"), /* [-----] gpmc_ad1 - - NAND_D(1) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD1, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "NAND_D(1)"), /* [-----] gpmc_ad2 - - NAND_D(2) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD2, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "NAND_D(2)"), /* [-----] gpmc_ad3 - - NAND_D(3) */
#include <linux/gpio.h> #include "board-superior.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [-----] gpmc_ad0.sdmmc2_dat0 - HSMMC_D(0) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD0, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "HSMMC_D(0)"), /* [-----] gpmc_ad1.sdmmc2_dat1 - HSMMC_D(1) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD1, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "HSMMC_D(1)"), /* [-----] gpmc_ad2.sdmmc2_dat2 - HSMMC_D(2) */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD2, OMAP_MUX_MODE1 | OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_INPUT_PULLDOWN, OMAP_MUXTBL_NO_GPIO, "HSMMC_D(2)"), /* [-----] gpmc_ad3.sdmmc2_dat3 - HSMMC_D(3) */
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-espresso.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] gpmc_ad10.gpio_34 - TF_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD10, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 34, "TF_EN"), /* [--OUT] gpmc_ad14.gpio_38 - MOTOR_EN */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD14, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT, 38, "MOTOR_EN"), /* [IN---] gpmc_a17.gpio_41 - HW_REV4 */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_A17, OMAP_MUX_MODE3 | OMAP_PIN_INPUT, 41, "HW_REV4"), }; add_sec_muxtbl_to_list(SEC_MACHINE_ESPRESSO10, 5, muxtbl);
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <linux/gpio.h> #include "board-espresso10.h" #include "mux.h" #include "mux44xx.h" #include "omap_muxtbl.h" #include "omap44xx_muxtbl.h" #include "sec_muxtbl.h" static struct omap_muxtbl muxtbl[] __initdata = { /* [--OUT] gpmc_ad15.gpio_39 - CP_PMU_RST */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_CORE, GPMC_AD15, OMAP_MUX_MODE3 | OMAP_PIN_OUTPUT | OMAP_PIN_OFF_OUTPUT_HIGH, 39, "CP_PMU_RST"), /* [IN---] sim_reset.gpio_wk2 - ACCESSORY_INT_1.8V */ OMAP4_MUXTBL(OMAP4_MUXTBL_DOMAIN_WKUP, SIM_RESET, OMAP_MUX_MODE3 | OMAP_PIN_INPUT | OMAP_PIN_OFF_WAKEUPENABLE, 2, "ACCESSORY_INT_1.8V"), }; add_sec_muxtbl_to_list(SEC_MACHINE_ESPRESSO10, 8, muxtbl);