openwrt: swap MOSI and MISO pins on bitbanged SPI

This commit is contained in:
Bart Van Der Meerssche 2010-12-20 13:23:51 +01:00
parent 1a9ada411f
commit 2c8f97aadb
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
+++ b/arch/mips/ar231x/ar2315.c 2010-08-08 15:56:06.009475860 +0200
@@ -407,6 +407,7 @@
#define SPI_GPIO_SCK 3
#define SPI_GPIO_MOSI 2
#define SPI_GPIO_MISO 1
#define SPI_GPIO_MOSI 1
#define SPI_GPIO_MISO 2
+#define SPI_GPIO_CS 4
static struct spi_gpio_platform_data ar2315_spi_gpio_platform_data = {