blob: 9a9efe7a5460e46cd588a503130c888169edb5b5 [file] [log] [blame]
Steve Sakoman2ad853c2010-07-15 13:43:10 -07001/*
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 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02008 * SPDX-License-Identifier: GPL-2.0+
Steve Sakoman2ad853c2010-07-15 13:43:10 -07009 */
Aneesh V469ec1e2011-07-21 09:10:01 -040010#ifndef _SDP4430_MUX_DATA_H
11#define _SDP4430_MUX_DATA_H
Steve Sakoman2ad853c2010-07-15 13:43:10 -070012
Steve Sakoman2ad853c2010-07-15 13:43:10 -070013#include <asm/arch/mux_omap4.h>
14
Sricharan508a58f2011-11-15 09:49:55 -050015const struct pad_conf_entry core_padconf_array_essential[] = {
16
17{GPMC_AD0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat0 */
18{GPMC_AD1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat1 */
19{GPMC_AD2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat2 */
20{GPMC_AD3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat3 */
21{GPMC_AD4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat4 */
22{GPMC_AD5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat5 */
23{GPMC_AD6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat6 */
24{GPMC_AD7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_dat7 */
25{GPMC_NOE, (PTU | IEN | OFF_EN | OFF_OUT_PTD | M1)}, /* sdmmc2_clk */
26{GPMC_NWE, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M1)}, /* sdmmc2_cmd */
27{SDMMC1_CLK, (PTU | OFF_EN | OFF_OUT_PTD | M0)}, /* sdmmc1_clk */
28{SDMMC1_CMD, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_cmd */
29{SDMMC1_DAT0, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat0 */
30{SDMMC1_DAT1, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat1 */
31{SDMMC1_DAT2, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat2 */
32{SDMMC1_DAT3, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat3 */
33{SDMMC1_DAT4, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat4 */
34{SDMMC1_DAT5, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat5 */
35{SDMMC1_DAT6, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat6 */
36{SDMMC1_DAT7, (PTU | IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* sdmmc1_dat7 */
Sricharan508a58f2011-11-15 09:49:55 -050037{UART3_CTS_RCTX, (PTU | IEN | M0)}, /* uart3_tx */
38{UART3_RTS_SD, (M0)}, /* uart3_rts_sd */
39{UART3_RX_IRRX, (IEN | M0)}, /* uart3_rx */
SRICHARAN R1a89a212012-06-12 19:53:32 +000040{UART3_TX_IRTX, (M0)}, /* uart3_tx */
41{USBB1_ULPITLL_DAT4, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat4 */
42{USBB1_ULPITLL_DAT5, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat5 */
43{USBB1_ULPITLL_DAT6, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat6 */
44{USBB1_ULPITLL_DAT7, (IEN | OFF_EN | OFF_PD | OFF_IN | M4)}, /* usbb1_ulpiphy_dat7 */
45{USBB1_HSIC_DATA, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usbb1_hsic_data */
46{USBB1_HSIC_STROBE, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usbb1_hsic_strobe */
47{USBC1_ICUSB_DP, (IEN | M0)}, /* usbc1_icusb_dp */
48{USBC1_ICUSB_DM, (IEN | M0)}, /* usbc1_icusb_dm */
49{USBA0_OTG_CE, (PTD | OFF_EN | OFF_PD | OFF_OUT_PTD | M0)}, /* usba0_otg_ce */
50{USBA0_OTG_DP, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usba0_otg_dp */
51{USBA0_OTG_DM, (IEN | OFF_EN | OFF_PD | OFF_IN | M0)}, /* usba0_otg_dm */
Sricharan508a58f2011-11-15 09:49:55 -050052};
53
54const struct pad_conf_entry wkup_padconf_array_essential[] = {
55
56{PAD1_SR_SCL, (PTU | IEN | M0)}, /* sr_scl */
57{PAD0_SR_SDA, (PTU | IEN | M0)}, /* sr_sda */
58{PAD1_SYS_32K, (IEN | M0)} /* sys_32k */
59
60};
61
62const struct pad_conf_entry wkup_padconf_array_essential_4460[] = {
63
Nishanth Menon3acb5532012-03-01 14:17:38 +000064{PAD1_FREF_CLK4_REQ, (M3)}, /* gpio_wk7 for TPS: Mode 3 */
Sricharan508a58f2011-11-15 09:49:55 -050065
66};
67
Aneesh V469ec1e2011-07-21 09:10:01 -040068#endif /* _SDP4430_MUX_DATA_H */