Changeset 27057


Ignore:
Timestamp:
2011-06-01T00:53:30+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: enable GPIO support for the AR933x SoCs

Location:
trunk/target/linux/ar71xx/files/arch/mips
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/gpio.c

    r26513 r27057  
    11/* 
    2  *  Atheros AR71xx SoC GPIO API support 
     2 *  Atheros AR7XXX/AR9XXX SoC GPIO API support 
    33 * 
    4  *  Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org> 
     4 *  Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org> 
    55 *  Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> 
    66 * 
     
    173173                break; 
    174174 
     175        case AR71XX_SOC_AR9330: 
     176        case AR71XX_SOC_AR9331: 
     177                ar71xx_gpio_chip.ngpio = AR933X_GPIO_COUNT; 
     178                break; 
     179 
    175180        case AR71XX_SOC_AR9341: 
    176181        case AR71XX_SOC_AR9342: 
  • trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

    r27056 r27057  
    456456#define AR91XX_GPIO_COUNT       22 
    457457 
     458#define AR933X_GPIO_COUNT       30 
     459 
    458460#define AR934X_GPIO_FUNC_SPI_CS_1_EN    BIT(14) 
    459461#define AR934X_GPIO_FUNC_SPI_CS_0_EN    BIT(13) 
Note: See TracChangeset for help on using the changeset viewer.