diff options
| author | Chin Liang See <clsee@altera.com> | 2013-09-11 11:26:10 -0500 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-10-07 19:32:30 +0200 | 
| commit | 572886af5984febafa6f083e6b8af0465f4f5764 (patch) | |
| tree | 71a9cfd01ad8599ba313361d186baf900b71da19 /board/altera/socfpga/pinmux_config.h | |
| parent | 5d649d2b089836f118fcd5a008c5f9d1f5a83e4f (diff) | |
| download | olio-uboot-2014.01-572886af5984febafa6f083e6b8af0465f4f5764.tar.xz olio-uboot-2014.01-572886af5984febafa6f083e6b8af0465f4f5764.zip | |
socfpga: Adding pin mux handoff files
Adding the generated pin mux configuration by Preloader
Generator tool
Signed-off-by: Chin Liang See <clsee@altera.com>
Reviewed-by: Pavel Machek <pavel@denx.de>
Acked-by: Dinh Nguyen <dinguyen@altera.com>
Cc: Wolfgang Denk <wd@denx.de>
CC: Pavel Machek <pavel@denx.de>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Tom Rini <trini@ti.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Diffstat (limited to 'board/altera/socfpga/pinmux_config.h')
| -rw-r--r-- | board/altera/socfpga/pinmux_config.h | 54 | 
1 files changed, 54 insertions, 0 deletions
| diff --git a/board/altera/socfpga/pinmux_config.h b/board/altera/socfpga/pinmux_config.h new file mode 100644 index 000000000..f278f2b28 --- /dev/null +++ b/board/altera/socfpga/pinmux_config.h @@ -0,0 +1,54 @@ +/* This file is generated by Preloader Generator */ + +#ifndef _PRELOADER_PINMUX_CONFIG_H_ +#define _PRELOADER_PINMUX_CONFIG_H_ + +/* + * State of enabling for which IP connected out through the muxing. + * Value 1 mean the IP connection is muxed out + */ +#define CONFIG_HPS_EMAC0		(0) +#define CONFIG_HPS_EMAC1		(1) +#define CONFIG_HPS_USB0			(0) +#define CONFIG_HPS_USB1			(1) +#define CONFIG_HPS_NAND			(0) +#define CONFIG_HPS_SDMMC		(1) +#define CONFIG_HPS_QSPI			(1) +#define CONFIG_HPS_UART0		(1) +#define CONFIG_HPS_UART1		(0) +#define CONFIG_HPS_TRACE		(1) +#define CONFIG_HPS_I2C0			(1) +#define CONFIG_HPS_I2C1			(0) +#define CONFIG_HPS_I2C2			(0) +#define CONFIG_HPS_I2C3			(0) +#define CONFIG_HPS_SPIM0		(1) +#define CONFIG_HPS_SPIM1		(0) +#define CONFIG_HPS_SPIS0		(0) +#define CONFIG_HPS_SPIS1		(0) +#define CONFIG_HPS_CAN0			(1) +#define CONFIG_HPS_CAN1			(0) + +/* IP attribute value (which affected by pin muxing configuration) */ +#define CONFIG_HPS_SDMMC_BUSWIDTH	(4) + +/* 1 if the pins are connected out */ +#define CONFIG_HPS_QSPI_CS0		(1) +#define CONFIG_HPS_QSPI_CS1		(0) +#define CONFIG_HPS_QSPI_CS2		(0) +#define CONFIG_HPS_QSPI_CS3		(0) + +/* UART */ +/* 1 means the pin is mux out or available */ +#define CONFIG_HPS_UART0_TX		(1) +#define CONFIG_HPS_UART0_RX		(1) +#define CONFIG_HPS_UART0_CTS		(0) +#define CONFIG_HPS_UART0_RTS		(0) +#define CONFIG_HPS_UART1_TX		(0) +#define CONFIG_HPS_UART1_RX		(0) +#define CONFIG_HPS_UART1_CTS		(0) +#define CONFIG_HPS_UART1_RTS		(0) + +/* Pin mux data */ +#define CONFIG_HPS_PINMUX_NUM		(207) + +#endif /* _PRELOADER_PINMUX_CONFIG_H_ */ |