uqmi: also try newer pin verification
[openwrt/openwrt.git] / target / linux / ramips / patches-4.4 / 0101-MIPS-ralink-Fix-MT7628-pinmux.patch
1 From 8ef4b43cd3794d63052d85898e42424fd3b14d24 Mon Sep 17 00:00:00 2001
2 From: Mathias Kresin <dev@kresin.me>
3 Date: Thu, 11 May 2017 08:11:14 +0200
4 Subject: [PATCH 1/2] MIPS: ralink: Fix MT7628 pinmux
5
6 According to the datasheet the REFCLK pin is shared with GPIO#37 and
7 the PERST pin is shared with GPIO#36.
8
9 Fixes: 53263a1c6852 ("MIPS: ralink: add mt7628an support")
10 Signed-off-by: Mathias Kresin <dev@kresin.me>
11 Acked-by: John Crispin <john@phrozen.org>
12 Cc: Ralf Baechle <ralf@linux-mips.org>
13 Cc: linux-mips@linux-mips.org
14 Cc: <stable@vger.kernel.org> # 3.19+
15 Patchwork: https://patchwork.linux-mips.org/patch/16046/
16 Signed-off-by: James Hogan <jhogan@kernel.org>
17 ---
18 arch/mips/ralink/mt7620.c | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21 --- a/arch/mips/ralink/mt7620.c
22 +++ b/arch/mips/ralink/mt7620.c
23 @@ -141,8 +141,8 @@ static struct rt2880_pmx_func i2c_grp_mt
24 FUNC("i2c", 0, 4, 2),
25 };
26
27 -static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 36, 1) };
28 -static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 37, 1) };
29 +static struct rt2880_pmx_func refclk_grp_mt7628[] = { FUNC("reclk", 0, 37, 1) };
30 +static struct rt2880_pmx_func perst_grp_mt7628[] = { FUNC("perst", 0, 36, 1) };
31 static struct rt2880_pmx_func wdt_grp_mt7628[] = { FUNC("wdt", 0, 38, 1) };
32 static struct rt2880_pmx_func spi_grp_mt7628[] = { FUNC("spi", 0, 7, 4) };
33