Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ath79: add AR933X specific GPIO initialization

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
Patchwork: https://patchwork.linux-mips.org/patch/2524/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Gabor Juhos and committed by
Ralf Baechle
fdfbcf47 54eed4c7

+3
+2
arch/mips/ath79/gpio.c
··· 153 153 ath79_gpio_count = AR724X_GPIO_COUNT; 154 154 else if (soc_is_ar913x()) 155 155 ath79_gpio_count = AR913X_GPIO_COUNT; 156 + else if (soc_is_ar933x()) 157 + ath79_gpio_count = AR933X_GPIO_COUNT; 156 158 else 157 159 BUG(); 158 160
+1
arch/mips/include/asm/mach-ath79/ar71xx_regs.h
··· 298 298 #define AR71XX_GPIO_COUNT 16 299 299 #define AR724X_GPIO_COUNT 18 300 300 #define AR913X_GPIO_COUNT 22 301 + #define AR933X_GPIO_COUNT 30 301 302 302 303 #endif /* __ASM_MACH_AR71XX_REGS_H */