Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2010 |
| 3 | * Texas Instruments Incorporated, <www.ti.com> |
| 4 | * |
| 5 | * Balaji Krishnamoorthy <balajitk@ti.com> |
| 6 | * Aneesh V <aneesh@ti.com> |
| 7 | * |
| 8 | * See file CREDITS for list of people who contributed to this |
| 9 | * project. |
| 10 | * |
| 11 | * This program is free software; you can redistribute it and/or |
| 12 | * modify it under the terms of the GNU General Public License as |
| 13 | * published by the Free Software Foundation; either version 2 of |
| 14 | * the License, or (at your option) any later version. |
| 15 | * |
| 16 | * This program is distributed in the hope that it will be useful, |
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | * GNU General Public License for more details. |
| 20 | * |
| 21 | * You should have received a copy of the GNU General Public License |
| 22 | * along with this program; if not, write to the Free Software |
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 24 | * MA 02111-1307 USA |
| 25 | */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 26 | #ifndef _SDP4430_MUX_DATA_H |
| 27 | #define _SDP4430_MUX_DATA_H |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 28 | |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 29 | #include <asm/arch/mux_omap4.h> |
| 30 | |
Sricharan | 9310ff7 | 2011-11-15 09:49:55 -0500 | [diff] [blame] | 31 | const struct pad_conf_entry core_padconf_array_essential[] = { |
| 32 | |
| 33 | {GPMC_AD0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat0 */ |
| 34 | {GPMC_AD1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat1 */ |
| 35 | {GPMC_AD2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat2 */ |
| 36 | {GPMC_AD3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat3 */ |
| 37 | {GPMC_AD4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat4 */ |
| 38 | {GPMC_AD5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat5 */ |
| 39 | {GPMC_AD6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat6 */ |
| 40 | {GPMC_AD7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat7 */ |
| 41 | {GPMC_NOE, (PTU | IEN | OFF_EN | OFF_OUT_PTD | M1)}, /* sdmmc2_clk */ |
| 42 | {GPMC_NWE, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_cmd */ |
| 43 | {SDMMC1_CLK, (PTU | OFF_EN | OFF_OUT_PTD | M0)}, /* sdmmc1_clk */ |
| 44 | {SDMMC1_CMD, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_cmd */ |
| 45 | {SDMMC1_DAT0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat0 */ |
| 46 | {SDMMC1_DAT1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat1 */ |
| 47 | {SDMMC1_DAT2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat2 */ |
| 48 | {SDMMC1_DAT3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat3 */ |
| 49 | {SDMMC1_DAT4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat4 */ |
| 50 | {SDMMC1_DAT5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat5 */ |
| 51 | {SDMMC1_DAT6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat6 */ |
| 52 | {SDMMC1_DAT7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat7 */ |
Sricharan | 9310ff7 | 2011-11-15 09:49:55 -0500 | [diff] [blame] | 53 | {UART3_CTS_RCTX, (PTU | IEN | M0)}, /* uart3_tx */ |
| 54 | {UART3_RTS_SD, (M0)}, /* uart3_rts_sd */ |
| 55 | {UART3_RX_IRRX, (IEN | M0)}, /* uart3_rx */ |
| 56 | {UART3_TX_IRTX, (M0)} /* uart3_tx */ |
| 57 | |
| 58 | }; |
| 59 | |
| 60 | const struct pad_conf_entry wkup_padconf_array_essential[] = { |
| 61 | |
| 62 | {PAD1_SR_SCL, (PTU | IEN | M0)}, /* sr_scl */ |
| 63 | {PAD0_SR_SDA, (PTU | IEN | M0)}, /* sr_sda */ |
| 64 | {PAD1_SYS_32K, (IEN | M0)} /* sys_32k */ |
| 65 | |
| 66 | }; |
| 67 | |
| 68 | const struct pad_conf_entry wkup_padconf_array_essential_4460[] = { |
| 69 | |
Aneesh V | fb4368d | 2011-11-21 23:39:00 +0000 | [diff] [blame^] | 70 | {PAD1_FREF_CLK4_REQ, (PTU | M7)}, /* gpio_wk7 for TPS: safe mode + pull up */ |
Sricharan | 9310ff7 | 2011-11-15 09:49:55 -0500 | [diff] [blame] | 71 | |
| 72 | }; |
| 73 | |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 74 | const struct pad_conf_entry core_padconf_array_non_essential[] = { |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 75 | {GPMC_AD8, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M3)}, /* gpio_32 */ |
| 76 | {GPMC_AD9, (PTU | IEN | M3)}, /* gpio_33 */ |
| 77 | {GPMC_AD10, (PTU | IEN | M3)}, /* gpio_34 */ |
| 78 | {GPMC_AD11, (PTU | IEN | M3)}, /* gpio_35 */ |
| 79 | {GPMC_AD12, (PTU | IEN | M3)}, /* gpio_36 */ |
| 80 | {GPMC_AD13, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)}, /* gpio_37 */ |
| 81 | {GPMC_AD14, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)}, /* gpio_38 */ |
| 82 | {GPMC_AD15, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)}, /* gpio_39 */ |
| 83 | {GPMC_A16, (M3)}, /* gpio_40 */ |
| 84 | {GPMC_A17, (PTD | M3)}, /* gpio_41 */ |
| 85 | {GPMC_A18, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row6 */ |
| 86 | {GPMC_A19, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row7 */ |
| 87 | {GPMC_A20, (IEN | M3)}, /* gpio_44 */ |
| 88 | {GPMC_A21, (M3)}, /* gpio_45 */ |
| 89 | {GPMC_A22, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col6 */ |
| 90 | {GPMC_A23, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col7 */ |
| 91 | {GPMC_A24, (PTD | M3)}, /* gpio_48 */ |
| 92 | {GPMC_A25, (PTD | M3)}, /* gpio_49 */ |
| 93 | {GPMC_NCS0, (M3)}, /* gpio_50 */ |
| 94 | {GPMC_NCS1, (IEN | M3)}, /* gpio_51 */ |
| 95 | {GPMC_NCS2, (IEN | M3)}, /* gpio_52 */ |
| 96 | {GPMC_NCS3, (IEN | M3)}, /* gpio_53 */ |
| 97 | {GPMC_NWP, (M3)}, /* gpio_54 */ |
| 98 | {GPMC_CLK, (PTD | M3)}, /* gpio_55 */ |
| 99 | {GPMC_NADV_ALE, (M3)}, /* gpio_56 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 100 | {GPMC_NBE0_CLE, (M3)}, /* gpio_59 */ |
| 101 | {GPMC_NBE1, (PTD | M3)}, /* gpio_60 */ |
| 102 | {GPMC_WAIT0, (PTU | IEN | M3)}, /* gpio_61 */ |
| 103 | {GPMC_WAIT1, (IEN | M3)}, /* gpio_62 */ |
| 104 | {C2C_DATA11, (PTD | M3)}, /* gpio_100 */ |
| 105 | {C2C_DATA12, (M1)}, /* dsi1_te0 */ |
| 106 | {C2C_DATA13, (PTD | M3)}, /* gpio_102 */ |
| 107 | {C2C_DATA14, (M1)}, /* dsi2_te0 */ |
| 108 | {C2C_DATA15, (PTD | M3)}, /* gpio_104 */ |
| 109 | {HDMI_HPD, (M0)}, /* hdmi_hpd */ |
| 110 | {HDMI_CEC, (M0)}, /* hdmi_cec */ |
| 111 | {HDMI_DDC_SCL, (PTU | M0)}, /* hdmi_ddc_scl */ |
| 112 | {HDMI_DDC_SDA, (PTU | IEN | M0)}, /* hdmi_ddc_sda */ |
| 113 | {CSI21_DX0, (IEN | M0)}, /* csi21_dx0 */ |
| 114 | {CSI21_DY0, (IEN | M0)}, /* csi21_dy0 */ |
| 115 | {CSI21_DX1, (IEN | M0)}, /* csi21_dx1 */ |
| 116 | {CSI21_DY1, (IEN | M0)}, /* csi21_dy1 */ |
| 117 | {CSI21_DX2, (IEN | M0)}, /* csi21_dx2 */ |
| 118 | {CSI21_DY2, (IEN | M0)}, /* csi21_dy2 */ |
| 119 | {CSI21_DX3, (PTD | M7)}, /* csi21_dx3 */ |
| 120 | {CSI21_DY3, (PTD | M7)}, /* csi21_dy3 */ |
| 121 | {CSI21_DX4, (PTD | OFF_EN | OFF_PD | OFF_IN | M7)}, /* csi21_dx4 */ |
| 122 | {CSI21_DY4, (PTD | OFF_EN | OFF_PD | OFF_IN | M7)}, /* csi21_dy4 */ |
| 123 | {CSI22_DX0, (IEN | M0)}, /* csi22_dx0 */ |
| 124 | {CSI22_DY0, (IEN | M0)}, /* csi22_dy0 */ |
| 125 | {CSI22_DX1, (IEN | M0)}, /* csi22_dx1 */ |
| 126 | {CSI22_DY1, (IEN | M0)}, /* csi22_dy1 */ |
| 127 | {CAM_SHUTTER, (OFF_EN | OFF_PD | OFF_OUT_PTD | M0)}, /* cam_shutter */ |
| 128 | {CAM_STROBE, (OFF_EN | OFF_PD | OFF_OUT_PTD | M0)}, /* cam_strobe */ |
| 129 | {CAM_GLOBALRESET, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M3)}, /* gpio_83 */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 130 | {USBB1_ULPITLL_CLK, (IEN | OFF_EN | OFF_IN | M1)}, /* hsi1_cawake */ |
| 131 | {USBB1_ULPITLL_STP, (IEN | OFF_EN | OFF_IN | M1)}, /* hsi1_cadata */ |
| 132 | {USBB1_ULPITLL_DIR, (IEN | OFF_EN | OFF_IN | M1)}, /* hsi1_caflag */ |
| 133 | {USBB1_ULPITLL_NXT, (OFF_EN | M1)}, /* hsi1_acready */ |
| 134 | {USBB1_ULPITLL_DAT0, (OFF_EN | M1)}, /* hsi1_acwake */ |
| 135 | {USBB1_ULPITLL_DAT1, (OFF_EN | M1)}, /* hsi1_acdata */ |
| 136 | {USBB1_ULPITLL_DAT2, (OFF_EN | M1)}, /* hsi1_acflag */ |
| 137 | {USBB1_ULPITLL_DAT3, (IEN | OFF_EN | OFF_IN | M1)}, /* hsi1_caready */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 138 | {USBB1_ULPITLL_DAT4, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat4 */ |
| 139 | {USBB1_ULPITLL_DAT5, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat5 */ |
| 140 | {USBB1_ULPITLL_DAT6, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat6 */ |
| 141 | {USBB1_ULPITLL_DAT7, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat7 */ |
| 142 | {USBB1_HSIC_DATA, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usbb1_hsic_data */ |
| 143 | {USBB1_HSIC_STROBE, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usbb1_hsic_strobe */ |
| 144 | {USBC1_ICUSB_DP, (IEN | M0)}, /* usbc1_icusb_dp */ |
| 145 | {USBC1_ICUSB_DM, (IEN | M0)}, /* usbc1_icusb_dm */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 146 | {ABE_MCBSP2_CLKX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_mcbsp2_clkx */ |
| 147 | {ABE_MCBSP2_DR, (IEN | OFF_EN | OFF_OUT_PTD | M0)}, /* abe_mcbsp2_dr */ |
| 148 | {ABE_MCBSP2_DX, (OFF_EN | OFF_OUT_PTD | M0)}, /* abe_mcbsp2_dx */ |
| 149 | {ABE_MCBSP2_FSX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_mcbsp2_fsx */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 150 | {ABE_MCBSP1_CLKX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_mcbsp1_clkx */ |
| 151 | {ABE_MCBSP1_DR, (IEN | OFF_EN | OFF_OUT_PTD | M0)}, /* abe_mcbsp1_dr */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 152 | {ABE_MCBSP1_DX, (OFF_EN | OFF_OUT_PTD | M0)}, /* abe_mcbsp1_dx */ |
| 153 | {ABE_MCBSP1_FSX, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_mcbsp1_fsx */ |
| 154 | {ABE_PDM_UL_DATA, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_pdm_ul_data */ |
| 155 | {ABE_PDM_DL_DATA, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_pdm_dl_data */ |
| 156 | {ABE_PDM_FRAME, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_pdm_frame */ |
| 157 | {ABE_PDM_LB_CLK, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_pdm_lb_clk */ |
| 158 | {ABE_CLKS, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* abe_clks */ |
| 159 | {ABE_DMIC_CLK1, (M0)}, /* abe_dmic_clk1 */ |
| 160 | {ABE_DMIC_DIN1, (IEN | M0)}, /* abe_dmic_din1 */ |
| 161 | {ABE_DMIC_DIN2, (IEN | M0)}, /* abe_dmic_din2 */ |
| 162 | {ABE_DMIC_DIN3, (IEN | M0)}, /* abe_dmic_din3 */ |
| 163 | {UART2_CTS, (PTU | IEN | M0)}, /* uart2_cts */ |
| 164 | {UART2_RTS, (M0)}, /* uart2_rts */ |
| 165 | {UART2_RX, (PTU | IEN | M0)}, /* uart2_rx */ |
| 166 | {UART2_TX, (M0)}, /* uart2_tx */ |
| 167 | {HDQ_SIO, (M3)}, /* gpio_127 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 168 | {MCSPI1_CLK, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi1_clk */ |
| 169 | {MCSPI1_SOMI, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi1_somi */ |
| 170 | {MCSPI1_SIMO, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi1_simo */ |
| 171 | {MCSPI1_CS0, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi1_cs0 */ |
| 172 | {MCSPI1_CS1, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M3)}, /* mcspi1_cs1 */ |
| 173 | {MCSPI1_CS2, (PTU | OFF_EN | OFF_OUT_PTU | M3)}, /* gpio_139 */ |
| 174 | {MCSPI1_CS3, (PTU | IEN | M3)}, /* gpio_140 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 175 | {SDMMC5_CLK, (PTU | IEN | OFF_EN | OFF_OUT_PTD | M0)}, /* sdmmc5_clk */ |
| 176 | {SDMMC5_CMD, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc5_cmd */ |
| 177 | {SDMMC5_DAT0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc5_dat0 */ |
| 178 | {SDMMC5_DAT1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc5_dat1 */ |
| 179 | {SDMMC5_DAT2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc5_dat2 */ |
| 180 | {SDMMC5_DAT3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc5_dat3 */ |
| 181 | {MCSPI4_CLK, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi4_clk */ |
| 182 | {MCSPI4_SIMO, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi4_simo */ |
| 183 | {MCSPI4_SOMI, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi4_somi */ |
| 184 | {MCSPI4_CS0, (PTD | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* mcspi4_cs0 */ |
| 185 | {UART4_RX, (IEN | M0)}, /* uart4_rx */ |
| 186 | {UART4_TX, (M0)}, /* uart4_tx */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 187 | {USBB2_ULPITLL_CLK, (PTD | IEN | M3)}, /* gpio_157 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 188 | {USBB2_ULPITLL_STP, (IEN | M5)}, /* dispc2_data23 */ |
| 189 | {USBB2_ULPITLL_DIR, (IEN | M5)}, /* dispc2_data22 */ |
| 190 | {USBB2_ULPITLL_NXT, (IEN | M5)}, /* dispc2_data21 */ |
| 191 | {USBB2_ULPITLL_DAT0, (IEN | M5)}, /* dispc2_data20 */ |
| 192 | {USBB2_ULPITLL_DAT1, (IEN | M5)}, /* dispc2_data19 */ |
| 193 | {USBB2_ULPITLL_DAT2, (IEN | M5)}, /* dispc2_data18 */ |
| 194 | {USBB2_ULPITLL_DAT3, (IEN | M5)}, /* dispc2_data15 */ |
| 195 | {USBB2_ULPITLL_DAT4, (IEN | M5)}, /* dispc2_data14 */ |
| 196 | {USBB2_ULPITLL_DAT5, (IEN | M5)}, /* dispc2_data13 */ |
| 197 | {USBB2_ULPITLL_DAT6, (IEN | M5)}, /* dispc2_data12 */ |
| 198 | {USBB2_ULPITLL_DAT7, (IEN | M5)}, /* dispc2_data11 */ |
| 199 | {USBB2_HSIC_DATA, (PTD | OFF_EN | OFF_OUT_PTU | M3)}, /* gpio_169 */ |
| 200 | {USBB2_HSIC_STROBE, (PTD | OFF_EN | OFF_OUT_PTU | M3)}, /* gpio_170 */ |
| 201 | {UNIPRO_TX0, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col0 */ |
| 202 | {UNIPRO_TY0, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col1 */ |
| 203 | {UNIPRO_TX1, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col2 */ |
| 204 | {UNIPRO_TY1, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col3 */ |
| 205 | {UNIPRO_TX2, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col4 */ |
| 206 | {UNIPRO_TY2, (OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_col5 */ |
| 207 | {UNIPRO_RX0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row0 */ |
| 208 | {UNIPRO_RY0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row1 */ |
| 209 | {UNIPRO_RX1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row2 */ |
| 210 | {UNIPRO_RY1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row3 */ |
| 211 | {UNIPRO_RX2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row4 */ |
| 212 | {UNIPRO_RY2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* kpd_row5 */ |
| 213 | {USBA0_OTG_CE, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M0)}, /* usba0_otg_ce */ |
| 214 | {USBA0_OTG_DP, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usba0_otg_dp */ |
| 215 | {USBA0_OTG_DM, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usba0_otg_dm */ |
| 216 | {FREF_CLK1_OUT, (M0)}, /* fref_clk1_out */ |
| 217 | {FREF_CLK2_OUT, (M0)}, /* fref_clk2_out */ |
| 218 | {SYS_NIRQ1, (PTU | IEN | M0)}, /* sys_nirq1 */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 219 | {SYS_NIRQ2, (M7)}, /* sys_nirq2 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 220 | {SYS_BOOT0, (PTU | IEN | M3)}, /* gpio_184 */ |
| 221 | {SYS_BOOT1, (M3)}, /* gpio_185 */ |
| 222 | {SYS_BOOT2, (PTD | IEN | M3)}, /* gpio_186 */ |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 223 | {SYS_BOOT3, (PTD | IEN | M3)}, /* gpio_187 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 224 | {SYS_BOOT4, (M3)}, /* gpio_188 */ |
| 225 | {SYS_BOOT5, (PTD | IEN | M3)}, /* gpio_189 */ |
| 226 | {DPM_EMU0, (IEN | M0)}, /* dpm_emu0 */ |
| 227 | {DPM_EMU1, (IEN | M0)}, /* dpm_emu1 */ |
| 228 | {DPM_EMU2, (IEN | M0)}, /* dpm_emu2 */ |
| 229 | {DPM_EMU3, (IEN | M5)}, /* dispc2_data10 */ |
| 230 | {DPM_EMU4, (IEN | M5)}, /* dispc2_data9 */ |
| 231 | {DPM_EMU5, (IEN | M5)}, /* dispc2_data16 */ |
| 232 | {DPM_EMU6, (IEN | M5)}, /* dispc2_data17 */ |
| 233 | {DPM_EMU7, (IEN | M5)}, /* dispc2_hsync */ |
| 234 | {DPM_EMU8, (IEN | M5)}, /* dispc2_pclk */ |
| 235 | {DPM_EMU9, (IEN | M5)}, /* dispc2_vsync */ |
| 236 | {DPM_EMU10, (IEN | M5)}, /* dispc2_de */ |
| 237 | {DPM_EMU11, (IEN | M5)}, /* dispc2_data8 */ |
| 238 | {DPM_EMU12, (IEN | M5)}, /* dispc2_data7 */ |
| 239 | {DPM_EMU13, (IEN | M5)}, /* dispc2_data6 */ |
| 240 | {DPM_EMU14, (IEN | M5)}, /* dispc2_data5 */ |
| 241 | {DPM_EMU15, (IEN | M5)}, /* dispc2_data4 */ |
| 242 | {DPM_EMU16, (M3)}, /* gpio_27 */ |
| 243 | {DPM_EMU17, (IEN | M5)}, /* dispc2_data2 */ |
| 244 | {DPM_EMU18, (IEN | M5)}, /* dispc2_data1 */ |
| 245 | {DPM_EMU19, (IEN | M5)}, /* dispc2_data0 */ |
Sricharan | 308fe92 | 2011-11-15 09:50:03 -0500 | [diff] [blame] | 246 | {I2C1_SCL, (PTU | IEN | M0)}, /* i2c1_scl */ |
| 247 | {I2C1_SDA, (PTU | IEN | M0)}, /* i2c1_sda */ |
| 248 | {I2C2_SCL, (PTU | IEN | M0)}, /* i2c2_scl */ |
| 249 | {I2C2_SDA, (PTU | IEN | M0)}, /* i2c2_sda */ |
| 250 | {I2C3_SCL, (PTU | IEN | M0)}, /* i2c3_scl */ |
| 251 | {I2C3_SDA, (PTU | IEN | M0)}, /* i2c3_sda */ |
| 252 | {I2C4_SCL, (PTU | IEN | M0)}, /* i2c4_scl */ |
| 253 | {I2C4_SDA, (PTU | IEN | M0)} /* i2c4_sda */ |
| 254 | |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 255 | }; |
| 256 | |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 257 | const struct pad_conf_entry wkup_padconf_array_non_essential[] = { |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 258 | {PAD0_SIM_IO, (IEN | M0)}, /* sim_io */ |
| 259 | {PAD1_SIM_CLK, (M0)}, /* sim_clk */ |
| 260 | {PAD0_SIM_RESET, (M0)}, /* sim_reset */ |
| 261 | {PAD1_SIM_CD, (PTU | IEN | M0)}, /* sim_cd */ |
| 262 | {PAD0_SIM_PWRCTRL, (M0)}, /* sim_pwrctrl */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 263 | {PAD1_FREF_XTAL_IN, (M0)}, /* # */ |
| 264 | {PAD0_FREF_SLICER_IN, (M0)}, /* fref_slicer_in */ |
| 265 | {PAD1_FREF_CLK_IOREQ, (M0)}, /* fref_clk_ioreq */ |
| 266 | {PAD0_FREF_CLK0_OUT, (M2)}, /* sys_drm_msecure */ |
Aneesh V | 4a03e97 | 2011-09-08 11:06:06 -0400 | [diff] [blame] | 267 | {PAD1_FREF_CLK3_REQ, (M3)}, /* gpio_wk30 - Debug led-1 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 268 | {PAD0_FREF_CLK3_OUT, (M0)}, /* fref_clk3_out */ |
Aneesh V | 4a03e97 | 2011-09-08 11:06:06 -0400 | [diff] [blame] | 269 | {PAD0_FREF_CLK4_OUT, (M3)}, /* gpio_wk8 - Debug led-3 */ |
Steve Sakoman | 9bb65b5 | 2010-07-15 13:43:10 -0700 | [diff] [blame] | 270 | {PAD0_SYS_NRESPWRON, (M0)}, /* sys_nrespwron */ |
| 271 | {PAD1_SYS_NRESWARM, (M0)}, /* sys_nreswarm */ |
| 272 | {PAD0_SYS_PWR_REQ, (PTU | M0)}, /* sys_pwr_req */ |
| 273 | {PAD1_SYS_PWRON_RESET, (M3)}, /* gpio_wk29 */ |
| 274 | {PAD0_SYS_BOOT6, (IEN | M3)}, /* gpio_wk9 */ |
| 275 | {PAD1_SYS_BOOT7, (IEN | M3)}, /* gpio_wk10 */ |
| 276 | }; |
| 277 | |
Aneesh V | fb4368d | 2011-11-21 23:39:00 +0000 | [diff] [blame^] | 278 | const struct pad_conf_entry wkup_padconf_array_non_essential_4430[] = { |
| 279 | {PAD1_FREF_CLK4_REQ, (M3)} /* gpio_wk7 - Debug led-2 */ |
| 280 | }; |
| 281 | |
Aneesh V | f908b63 | 2011-07-21 09:10:01 -0400 | [diff] [blame] | 282 | #endif /* _SDP4430_MUX_DATA_H */ |