blob: 2d82af554bea5b8ee99bd892c8617d04b18d699f [file] [log] [blame]
Christian Riesch588c6782011-11-28 23:46:17 +00001/*
2 * Pinmux configurations for the DAxxx SoCs
3 *
4 * Copyright (C) 2011 OMICRON electronics GmbH
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Christian Riesch588c6782011-11-28 23:46:17 +00007 */
8
9#ifndef __ASM_ARCH_PINMUX_DEFS_H
10#define __ASM_ARCH_PINMUX_DEFS_H
11
12#include <asm/arch/davinci_misc.h>
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000013#include <config.h>
Christian Riesch588c6782011-11-28 23:46:17 +000014
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000015/* SPI0 pin muxer settings */
16extern const struct pinmux_config spi0_pins_base[3];
17extern const struct pinmux_config spi0_pins_scs0[1];
18extern const struct pinmux_config spi0_pins_ena[1];
19
20/* SPI1 pin muxer settings */
Christian Riesch588c6782011-11-28 23:46:17 +000021extern const struct pinmux_config spi1_pins_base[3];
22extern const struct pinmux_config spi1_pins_scs0[1];
23
24/* UART pin muxer settings */
Mikhail Kshevetskiy32435c72012-07-09 08:52:42 +000025extern const struct pinmux_config uart0_pins_txrx[2];
Heiko Schocher3a2274f2013-08-05 16:00:35 +020026extern const struct pinmux_config uart0_pins_rtscts[2];
Heiko Schocherc8f2b6b2011-11-29 02:33:44 +000027extern const struct pinmux_config uart1_pins_txrx[2];
Christian Riesch588c6782011-11-28 23:46:17 +000028extern const struct pinmux_config uart2_pins_txrx[2];
29extern const struct pinmux_config uart2_pins_rtscts[2];
30
31/* EMAC pin muxer settings*/
Heiko Schocher3a2274f2013-08-05 16:00:35 +020032extern const struct pinmux_config emac_pins_rmii[8];
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000033extern const struct pinmux_config emac_pins_rmii_clk_source[1];
Christian Riesch588c6782011-11-28 23:46:17 +000034extern const struct pinmux_config emac_pins_mii[15];
35extern const struct pinmux_config emac_pins_mdio[2];
36
37/* I2C pin muxer settings */
38extern const struct pinmux_config i2c0_pins[2];
39extern const struct pinmux_config i2c1_pins[2];
40
41/* EMIFA pin muxer settings */
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000042extern const struct pinmux_config emifa_pins[40];
43extern const struct pinmux_config emifa_pins_cs0[1];
Christian Riesch588c6782011-11-28 23:46:17 +000044extern const struct pinmux_config emifa_pins_cs2[1];
45extern const struct pinmux_config emifa_pins_cs3[1];
46extern const struct pinmux_config emifa_pins_cs4[1];
47extern const struct pinmux_config emifa_pins_nand[12];
48extern const struct pinmux_config emifa_pins_nor[43];
49
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000050/* USB pin mux setting */
51extern const struct pinmux_config usb_pins[1];
52
Lad, Prabhakar16787da2012-06-24 21:35:15 +000053/* MMC pin muxer settings */
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000054extern const struct pinmux_config mmc0_pins_8bit[10];
Lad, Prabhakar16787da2012-06-24 21:35:15 +000055extern const struct pinmux_config mmc0_pins[6];
56
Christian Riesch588c6782011-11-28 23:46:17 +000057#endif