1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
23d357619SMasahiro Yamada /*
33d357619SMasahiro Yamada  * Pinmux configurations for the DAxxx SoCs
43d357619SMasahiro Yamada  *
53d357619SMasahiro Yamada  * Copyright (C) 2011 OMICRON electronics GmbH
63d357619SMasahiro Yamada  */
73d357619SMasahiro Yamada 
83d357619SMasahiro Yamada #ifndef __ASM_ARCH_PINMUX_DEFS_H
93d357619SMasahiro Yamada #define __ASM_ARCH_PINMUX_DEFS_H
103d357619SMasahiro Yamada 
113d357619SMasahiro Yamada #include <asm/arch/davinci_misc.h>
123d357619SMasahiro Yamada #include <config.h>
133d357619SMasahiro Yamada 
143d357619SMasahiro Yamada /* SPI0 pin muxer settings */
153d357619SMasahiro Yamada extern const struct pinmux_config spi0_pins_base[3];
163d357619SMasahiro Yamada extern const struct pinmux_config spi0_pins_scs0[1];
173d357619SMasahiro Yamada extern const struct pinmux_config spi0_pins_ena[1];
183d357619SMasahiro Yamada 
193d357619SMasahiro Yamada /* SPI1 pin muxer settings */
203d357619SMasahiro Yamada extern const struct pinmux_config spi1_pins_base[3];
213d357619SMasahiro Yamada extern const struct pinmux_config spi1_pins_scs0[1];
223d357619SMasahiro Yamada 
233d357619SMasahiro Yamada /* UART pin muxer settings */
243d357619SMasahiro Yamada extern const struct pinmux_config uart0_pins_txrx[2];
253d357619SMasahiro Yamada extern const struct pinmux_config uart0_pins_rtscts[2];
263d357619SMasahiro Yamada extern const struct pinmux_config uart1_pins_txrx[2];
273d357619SMasahiro Yamada extern const struct pinmux_config uart2_pins_txrx[2];
283d357619SMasahiro Yamada extern const struct pinmux_config uart2_pins_rtscts[2];
293d357619SMasahiro Yamada 
303d357619SMasahiro Yamada /* EMAC pin muxer settings*/
313d357619SMasahiro Yamada extern const struct pinmux_config emac_pins_rmii[8];
323d357619SMasahiro Yamada extern const struct pinmux_config emac_pins_rmii_clk_source[1];
333d357619SMasahiro Yamada extern const struct pinmux_config emac_pins_mii[15];
343d357619SMasahiro Yamada extern const struct pinmux_config emac_pins_mdio[2];
353d357619SMasahiro Yamada 
363d357619SMasahiro Yamada /* I2C pin muxer settings */
373d357619SMasahiro Yamada extern const struct pinmux_config i2c0_pins[2];
383d357619SMasahiro Yamada extern const struct pinmux_config i2c1_pins[2];
393d357619SMasahiro Yamada 
403d357619SMasahiro Yamada /* EMIFA pin muxer settings */
413d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins[40];
423d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_cs0[1];
433d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_cs2[1];
443d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_cs3[1];
453d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_cs4[1];
463d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_nand[12];
473d357619SMasahiro Yamada extern const struct pinmux_config emifa_pins_nor[43];
483d357619SMasahiro Yamada 
493d357619SMasahiro Yamada /* USB pin mux setting */
503d357619SMasahiro Yamada extern const struct pinmux_config usb_pins[1];
513d357619SMasahiro Yamada 
523d357619SMasahiro Yamada /* MMC pin muxer settings */
533d357619SMasahiro Yamada extern const struct pinmux_config mmc0_pins_8bit[10];
543d357619SMasahiro Yamada extern const struct pinmux_config mmc0_pins[6];
553d357619SMasahiro Yamada 
563d357619SMasahiro Yamada #endif
57