openwrt: swap MOSI and MISO pins on bitbanged SPI
This commit is contained in:
parent
1a9ada411f
commit
2c8f97aadb
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue