• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Pinmux configurations for the DAxxx SoCs
4  *
5  * Copyright (C) 2011 OMICRON electronics GmbH
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 #include <config.h>
13 
14 /* SPI0 pin muxer settings */
15 extern const struct pinmux_config spi0_pins_base[3];
16 extern const struct pinmux_config spi0_pins_scs0[1];
17 extern const struct pinmux_config spi0_pins_ena[1];
18 
19 /* SPI1 pin muxer settings */
20 extern const struct pinmux_config spi1_pins_base[3];
21 extern const struct pinmux_config spi1_pins_scs0[1];
22 
23 /* UART pin muxer settings */
24 extern const struct pinmux_config uart0_pins_txrx[2];
25 extern const struct pinmux_config uart0_pins_rtscts[2];
26 extern const struct pinmux_config uart1_pins_txrx[2];
27 extern const struct pinmux_config uart2_pins_txrx[2];
28 extern const struct pinmux_config uart2_pins_rtscts[2];
29 
30 /* EMAC pin muxer settings*/
31 extern const struct pinmux_config emac_pins_rmii[8];
32 extern const struct pinmux_config emac_pins_rmii_clk_source[1];
33 extern const struct pinmux_config emac_pins_mii[15];
34 extern const struct pinmux_config emac_pins_mdio[2];
35 
36 /* I2C pin muxer settings */
37 extern const struct pinmux_config i2c0_pins[2];
38 extern const struct pinmux_config i2c1_pins[2];
39 
40 /* EMIFA pin muxer settings */
41 extern const struct pinmux_config emifa_pins[40];
42 extern const struct pinmux_config emifa_pins_cs0[1];
43 extern const struct pinmux_config emifa_pins_cs2[1];
44 extern const struct pinmux_config emifa_pins_cs3[1];
45 extern const struct pinmux_config emifa_pins_cs4[1];
46 extern const struct pinmux_config emifa_pins_nand[12];
47 extern const struct pinmux_config emifa_pins_nor[43];
48 
49 /* USB pin mux setting */
50 extern const struct pinmux_config usb_pins[1];
51 
52 /* MMC pin muxer settings */
53 extern const struct pinmux_config mmc0_pins_8bit[10];
54 extern const struct pinmux_config mmc0_pins[6];
55 
56 #endif
57