Changeset 26513


Ignore:
Timestamp:
2011-04-07T22:53:00+02:00 (7 years ago)
Author:
juhosg
Message:

ar71xx: enable GPIO support for the AR934x SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@…>

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

    r20494 r26513  
    173173                break; 
    174174 
     175        case AR71XX_SOC_AR9341: 
     176        case AR71XX_SOC_AR9342: 
     177        case AR71XX_SOC_AR9344: 
     178                ar71xx_gpio_chip.ngpio = AR934X_GPIO_COUNT; 
     179                break; 
     180 
    175181        default: 
    176182                BUG(); 
  • trunk/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

    r26510 r26513  
    428428#define AR91XX_GPIO_COUNT       22 
    429429 
     430#define AR934X_GPIO_FUNC_SPI_CS_1_EN    BIT(14) 
     431#define AR934X_GPIO_FUNC_SPI_CS_0_EN    BIT(13) 
     432 
     433#define AR934X_GPIO_COUNT               32 
     434#define AR934X_GPIO_FUNC_DDR_DQOE_EN    BIT(17) 
     435 
    430436extern void __iomem *ar71xx_gpio_base; 
    431437 
Note: See TracChangeset for help on using the changeset viewer.