#ifndef __YAMUNA_SPI__ #define __YAMUNA_SPI__ #define AVALANCHE_SPI_BUS_NUM 0 #define AVALANCHE_SPI_MAX_CHIPSELECT 7 #define AVALANCHE_DEFAULT_SYS_CLK 8*1000*1000 /* chip select macros, this includes the logic on the board the slave device should use these macros inside the spi_board_info structure to select the chip select number*/ #define TNETD84XX_TID1_SPI_CS0 0 /* cs for TID #1 device 0 */ #define TNETD84XX_TID1_SPI_CS1 1 /* cs for TID #1 device 1 */ #define TNETD84XX_TID2_SPI_CS0 2 /* cs for TID #2 device 0 */ #define TNETD84XX_TID2_SPI_CS1 3 /* cs for TID #2 device 1 */ #define TNETD84XX_EEPROM_SPI_CS1 4 /* cs for SERIAL FLASH */ #define VOLCANO_SST_CS1 5 #define VOLCANO_ATMEL_CS0 6 #endif /* __YAMUNA_SPI__ */