From 2c8f97aadb213a8fbda81d430282d73881aa809a Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Mon, 20 Dec 2010 13:23:51 +0100 Subject: [PATCH] openwrt: swap MOSI and MISO pins on bitbanged SPI --- mote/v2/openwrt/patches/410-spi_gpio_enable_cs_line.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mote/v2/openwrt/patches/410-spi_gpio_enable_cs_line.patch b/mote/v2/openwrt/patches/410-spi_gpio_enable_cs_line.patch index 5d961bf..4f84542 100644 --- a/mote/v2/openwrt/patches/410-spi_gpio_enable_cs_line.patch +++ b/mote/v2/openwrt/patches/410-spi_gpio_enable_cs_line.patch @@ -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 = {