blob: 120935310807153f739c81fec7f777476aee1257 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Christian Riesch588c6782011-11-28 23:46:17 +00002/*
3 * Pinmux configurations for the DAxxx SoCs
4 *
5 * Copyright (C) 2011 OMICRON electronics GmbH
Christian Riesch588c6782011-11-28 23:46:17 +00006 */
7
8#ifndef __ASM_ARCH_PINMUX_DEFS_H
9#define __ASM_ARCH_PINMUX_DEFS_H
10
11#include <asm/arch/davinci_misc.h>
12
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000013/* SPI0 pin muxer settings */
14extern const struct pinmux_config spi0_pins_base[3];
15extern const struct pinmux_config spi0_pins_scs0[1];
16extern const struct pinmux_config spi0_pins_ena[1];
17
18/* SPI1 pin muxer settings */
Christian Riesch588c6782011-11-28 23:46:17 +000019extern const struct pinmux_config spi1_pins_base[3];
20extern const struct pinmux_config spi1_pins_scs0[1];
21
22/* UART pin muxer settings */
Mikhail Kshevetskiy32435c72012-07-09 08:52:42 +000023extern const struct pinmux_config uart0_pins_txrx[2];
Heiko Schocher3a2274f2013-08-05 16:00:35 +020024extern const struct pinmux_config uart0_pins_rtscts[2];
Heiko Schocherc8f2b6b2011-11-29 02:33:44 +000025extern const struct pinmux_config uart1_pins_txrx[2];
Christian Riesch588c6782011-11-28 23:46:17 +000026extern const struct pinmux_config uart2_pins_txrx[2];
27extern const struct pinmux_config uart2_pins_rtscts[2];
28
29/* EMAC pin muxer settings*/
Heiko Schocher3a2274f2013-08-05 16:00:35 +020030extern const struct pinmux_config emac_pins_rmii[8];
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000031extern const struct pinmux_config emac_pins_rmii_clk_source[1];
Christian Riesch588c6782011-11-28 23:46:17 +000032extern const struct pinmux_config emac_pins_mii[15];
33extern const struct pinmux_config emac_pins_mdio[2];
34
35/* I2C pin muxer settings */
36extern const struct pinmux_config i2c0_pins[2];
37extern const struct pinmux_config i2c1_pins[2];
38
39/* EMIFA pin muxer settings */
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000040extern const struct pinmux_config emifa_pins[40];
41extern const struct pinmux_config emifa_pins_cs0[1];
Christian Riesch588c6782011-11-28 23:46:17 +000042extern const struct pinmux_config emifa_pins_cs2[1];
43extern const struct pinmux_config emifa_pins_cs3[1];
44extern const struct pinmux_config emifa_pins_cs4[1];
45extern const struct pinmux_config emifa_pins_nand[12];
46extern const struct pinmux_config emifa_pins_nor[43];
47
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000048/* USB pin mux setting */
49extern const struct pinmux_config usb_pins[1];
50
Lad, Prabhakar16787da2012-06-24 21:35:15 +000051/* MMC pin muxer settings */
Vishwanathrao Badarkhe, Manish213c0eb2013-05-29 21:55:11 +000052extern const struct pinmux_config mmc0_pins_8bit[10];
Lad, Prabhakar16787da2012-06-24 21:35:15 +000053extern const struct pinmux_config mmc0_pins[6];
54
Christian Riesch588c6782011-11-28 23:46:17 +000055#endif