summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2017-01-06 21:21:11 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-01-09 15:08:12 +0100
commite07ee06aad412fe417c6b50bba8ba2f723cd1433 (patch)
tree23a327e23fa761b91faba29a3698d9c920db9d79 /target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch
parent7bc25dfa63c084298edcc8bf5c5cdf258229d24a (diff)
downloadmtk-20170518-e07ee06aad412fe417c6b50bba8ba2f723cd1433.zip
mtk-20170518-e07ee06aad412fe417c6b50bba8ba2f723cd1433.tar.gz
mtk-20170518-e07ee06aad412fe417c6b50bba8ba2f723cd1433.tar.bz2
ar71xx: QCA956X: add missing register
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
Diffstat (limited to 'target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch')
-rw-r--r--target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch b/target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch
index 7db6ad3..6b33158 100644
--- a/target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch
+++ b/target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch
@@ -48,7 +48,7 @@ functions on the Arduino Yun.
void __iomem *reg = ath79_gpio_get_function_reg();
--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
+++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
-@@ -850,6 +850,7 @@
+@@ -855,6 +855,7 @@
#define AR71XX_GPIO_REG_INT_PENDING 0x20
#define AR71XX_GPIO_REG_INT_ENABLE 0x24
#define AR71XX_GPIO_REG_FUNC 0x28
@@ -56,7 +56,7 @@ functions on the Arduino Yun.
#define AR934X_GPIO_REG_OUT_FUNC0 0x2c
#define AR934X_GPIO_REG_OUT_FUNC1 0x30
-@@ -974,6 +975,8 @@
+@@ -979,6 +980,8 @@
#define AR724X_GPIO_FUNC_UART_EN BIT(1)
#define AR724X_GPIO_FUNC_JTAG_DISABLE BIT(0)