Fix the CS line definitions. These bits are for the CS2/CS1 lines

rather than CS1/CS0.

This has been tested on the Ubiqiti Routerstation Pro board.
This commit is contained in:
Adrian Chadd 2010-07-07 15:05:44 +00:00
parent 2544a9be98
commit ac35b90587
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209769

View File

@ -151,10 +151,10 @@
#define AR71XX_GPIO_FUNCTION 0x28
#define GPIO_FUNC_STEREO_EN (1 << 17)
#define GPIO_FUNC_SLIC_EN (1 << 16)
#define GPIO_FUNC_SPI_CS1_EN (1 << 15)
/* CS1 is shared with GPIO_1 */
#define GPIO_FUNC_SPI_CS0_EN (1 << 14)
/* CS0 is shared with GPIO_0 */
#define GPIO_FUNC_SPI_CS2_EN (1 << 15)
/* CS2 is shared with GPIO_1 */
#define GPIO_FUNC_SPI_CS1_EN (1 << 14)
/* CS1 is shared with GPIO_0 */
#define GPIO_FUNC_SPI_EN (1 << 13)
#define GPIO_FUNC_UART_EN (1 << 8)
#define GPIO_FUNC_USB_OC_EN (1 << 4)