2011-11-28 23:46:17 +00:00
|
|
|
/*
|
|
|
|
* Pinmux configurations for the DAxxx SoCs
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 OMICRON electronics GmbH
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-11-28 23:46:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_PINMUX_DEFS_H
|
|
|
|
#define __ASM_ARCH_PINMUX_DEFS_H
|
|
|
|
|
|
|
|
#include <asm/arch/davinci_misc.h>
|
2013-05-29 21:55:11 +00:00
|
|
|
#include <config.h>
|
2011-11-28 23:46:17 +00:00
|
|
|
|
2013-05-29 21:55:11 +00:00
|
|
|
/* SPI0 pin muxer settings */
|
|
|
|
extern const struct pinmux_config spi0_pins_base[3];
|
|
|
|
extern const struct pinmux_config spi0_pins_scs0[1];
|
|
|
|
extern const struct pinmux_config spi0_pins_ena[1];
|
|
|
|
|
|
|
|
/* SPI1 pin muxer settings */
|
2011-11-28 23:46:17 +00:00
|
|
|
extern const struct pinmux_config spi1_pins_base[3];
|
|
|
|
extern const struct pinmux_config spi1_pins_scs0[1];
|
|
|
|
|
|
|
|
/* UART pin muxer settings */
|
2012-07-09 08:52:42 +00:00
|
|
|
extern const struct pinmux_config uart0_pins_txrx[2];
|
2013-08-05 14:00:35 +00:00
|
|
|
extern const struct pinmux_config uart0_pins_rtscts[2];
|
2011-11-29 02:33:44 +00:00
|
|
|
extern const struct pinmux_config uart1_pins_txrx[2];
|
2011-11-28 23:46:17 +00:00
|
|
|
extern const struct pinmux_config uart2_pins_txrx[2];
|
|
|
|
extern const struct pinmux_config uart2_pins_rtscts[2];
|
|
|
|
|
|
|
|
/* EMAC pin muxer settings*/
|
2013-08-05 14:00:35 +00:00
|
|
|
extern const struct pinmux_config emac_pins_rmii[8];
|
2013-05-29 21:55:11 +00:00
|
|
|
extern const struct pinmux_config emac_pins_rmii_clk_source[1];
|
2011-11-28 23:46:17 +00:00
|
|
|
extern const struct pinmux_config emac_pins_mii[15];
|
|
|
|
extern const struct pinmux_config emac_pins_mdio[2];
|
|
|
|
|
|
|
|
/* I2C pin muxer settings */
|
|
|
|
extern const struct pinmux_config i2c0_pins[2];
|
|
|
|
extern const struct pinmux_config i2c1_pins[2];
|
|
|
|
|
|
|
|
/* EMIFA pin muxer settings */
|
2013-05-29 21:55:11 +00:00
|
|
|
extern const struct pinmux_config emifa_pins[40];
|
|
|
|
extern const struct pinmux_config emifa_pins_cs0[1];
|
2011-11-28 23:46:17 +00:00
|
|
|
extern const struct pinmux_config emifa_pins_cs2[1];
|
|
|
|
extern const struct pinmux_config emifa_pins_cs3[1];
|
|
|
|
extern const struct pinmux_config emifa_pins_cs4[1];
|
|
|
|
extern const struct pinmux_config emifa_pins_nand[12];
|
|
|
|
extern const struct pinmux_config emifa_pins_nor[43];
|
|
|
|
|
2013-05-29 21:55:11 +00:00
|
|
|
/* USB pin mux setting */
|
|
|
|
extern const struct pinmux_config usb_pins[1];
|
|
|
|
|
2012-06-24 21:35:15 +00:00
|
|
|
/* MMC pin muxer settings */
|
2013-05-29 21:55:11 +00:00
|
|
|
extern const struct pinmux_config mmc0_pins_8bit[10];
|
2012-06-24 21:35:15 +00:00
|
|
|
extern const struct pinmux_config mmc0_pins[6];
|
|
|
|
|
2011-11-28 23:46:17 +00:00
|
|
|
#endif
|