mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: Add support for ath79_gpio_function_* on QCA955X
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49074
This commit is contained in:
parent
1702e3b2a9
commit
601462ea2f
@ -1,6 +1,16 @@
|
||||
--- a/arch/mips/ath79/gpio.c
|
||||
+++ b/arch/mips/ath79/gpio.c
|
||||
@@ -185,15 +185,27 @@ void __init ath79_gpio_output_select(uns
|
||||
@@ -146,7 +146,8 @@ static void __iomem *ath79_gpio_get_func
|
||||
if (soc_is_ar71xx() ||
|
||||
soc_is_ar724x() ||
|
||||
soc_is_ar913x() ||
|
||||
- soc_is_ar933x())
|
||||
+ soc_is_ar933x() ||
|
||||
+ soc_is_qca955x())
|
||||
reg = AR71XX_GPIO_REG_FUNC;
|
||||
else if (soc_is_ar934x() ||
|
||||
soc_is_qca953x() || soc_is_qca956x())
|
||||
@@ -185,15 +186,27 @@ void __init ath79_gpio_output_select(uns
|
||||
{
|
||||
void __iomem *base = ath79_gpio_base;
|
||||
unsigned long flags;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user