From 5375152a1a3df5dfe8c0e82f6f42a63f059083b6 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 20 Dec 2008 08:28:39 +0000 Subject: [ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas ) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13699 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'target/linux/ar71xx/files/include') diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h index 8379aedab..f5de7c033 100644 --- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/ar71xx.h @@ -201,9 +201,8 @@ extern void ar71xx_add_device_usb(void) __init; #define GPIO_FUNC_STEREO_EN BIT(17) #define GPIO_FUNC_SLIC_EN BIT(16) -#define GPIO_FUNC_SPI_CS1_EN BIT(15) -#define GPIO_FUNC_SPI_CS0_EN BIT(14) -#define GPIO_FUNC_SPI_EN BIT(13) +#define GPIO_FUNC_SPI_CS2_EN BIT(13) +#define GPIO_FUNC_SPI_CS1_EN BIT(12) #define GPIO_FUNC_UART_EN BIT(8) #define GPIO_FUNC_USB_OC_EN BIT(4) #define GPIO_FUNC_USB_CLK_EN BIT(0) -- cgit v1.2.3