Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Pinmux configurations for the DAxxx SoCs |
| 4 | * |
| 5 | * Copyright (C) 2011 OMICRON electronics GmbH |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 6 | */ |
| 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, Manish | 213c0eb | 2013-05-29 21:55:11 +0000 | [diff] [blame] | 13 | /* SPI0 pin muxer settings */ |
| 14 | extern const struct pinmux_config spi0_pins_base[3]; |
| 15 | extern const struct pinmux_config spi0_pins_scs0[1]; |
| 16 | extern const struct pinmux_config spi0_pins_ena[1]; |
| 17 | |
| 18 | /* SPI1 pin muxer settings */ |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 19 | extern const struct pinmux_config spi1_pins_base[3]; |
| 20 | extern const struct pinmux_config spi1_pins_scs0[1]; |
| 21 | |
| 22 | /* UART pin muxer settings */ |
Mikhail Kshevetskiy | 32435c7 | 2012-07-09 08:52:42 +0000 | [diff] [blame] | 23 | extern const struct pinmux_config uart0_pins_txrx[2]; |
Heiko Schocher | 3a2274f | 2013-08-05 16:00:35 +0200 | [diff] [blame] | 24 | extern const struct pinmux_config uart0_pins_rtscts[2]; |
Heiko Schocher | c8f2b6b | 2011-11-29 02:33:44 +0000 | [diff] [blame] | 25 | extern const struct pinmux_config uart1_pins_txrx[2]; |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 26 | extern const struct pinmux_config uart2_pins_txrx[2]; |
| 27 | extern const struct pinmux_config uart2_pins_rtscts[2]; |
| 28 | |
| 29 | /* EMAC pin muxer settings*/ |
Heiko Schocher | 3a2274f | 2013-08-05 16:00:35 +0200 | [diff] [blame] | 30 | extern const struct pinmux_config emac_pins_rmii[8]; |
Vishwanathrao Badarkhe, Manish | 213c0eb | 2013-05-29 21:55:11 +0000 | [diff] [blame] | 31 | extern const struct pinmux_config emac_pins_rmii_clk_source[1]; |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 32 | extern const struct pinmux_config emac_pins_mii[15]; |
| 33 | extern const struct pinmux_config emac_pins_mdio[2]; |
| 34 | |
| 35 | /* I2C pin muxer settings */ |
| 36 | extern const struct pinmux_config i2c0_pins[2]; |
| 37 | extern const struct pinmux_config i2c1_pins[2]; |
| 38 | |
| 39 | /* EMIFA pin muxer settings */ |
Vishwanathrao Badarkhe, Manish | 213c0eb | 2013-05-29 21:55:11 +0000 | [diff] [blame] | 40 | extern const struct pinmux_config emifa_pins[40]; |
| 41 | extern const struct pinmux_config emifa_pins_cs0[1]; |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 42 | extern const struct pinmux_config emifa_pins_cs2[1]; |
| 43 | extern const struct pinmux_config emifa_pins_cs3[1]; |
| 44 | extern const struct pinmux_config emifa_pins_cs4[1]; |
| 45 | extern const struct pinmux_config emifa_pins_nand[12]; |
| 46 | extern const struct pinmux_config emifa_pins_nor[43]; |
| 47 | |
Vishwanathrao Badarkhe, Manish | 213c0eb | 2013-05-29 21:55:11 +0000 | [diff] [blame] | 48 | /* USB pin mux setting */ |
| 49 | extern const struct pinmux_config usb_pins[1]; |
| 50 | |
Lad, Prabhakar | 16787da | 2012-06-24 21:35:15 +0000 | [diff] [blame] | 51 | /* MMC pin muxer settings */ |
Vishwanathrao Badarkhe, Manish | 213c0eb | 2013-05-29 21:55:11 +0000 | [diff] [blame] | 52 | extern const struct pinmux_config mmc0_pins_8bit[10]; |
Lad, Prabhakar | 16787da | 2012-06-24 21:35:15 +0000 | [diff] [blame] | 53 | extern const struct pinmux_config mmc0_pins[6]; |
| 54 | |
Christian Riesch | 588c678 | 2011-11-28 23:46:17 +0000 | [diff] [blame] | 55 | #endif |