lantiq: fix some alt function on pinctrl-xway
authorJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 20:06:51 +0000 (20:06 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 6 Oct 2014 20:06:51 +0000 (20:06 +0000)
SVN-Revision: 42815

target/linux/lantiq/patches-3.14/0150-lantiq-pinctrl-xway.patch [new file with mode: 0644]

diff --git a/target/linux/lantiq/patches-3.14/0150-lantiq-pinctrl-xway.patch b/target/linux/lantiq/patches-3.14/0150-lantiq-pinctrl-xway.patch
new file mode 100644 (file)
index 0000000..55cb2b9
--- /dev/null
@@ -0,0 +1,15 @@
+--- linux-3.14.18.orig/drivers/pinctrl/pinctrl-xway.c.orig     2014-09-27 14:55:20.000000000 +0200
++++ linux-3.14.18/drivers/pinctrl/pinctrl-xway.c       2014-10-05 21:15:02.000000000 +0200
+@@ -152,10 +152,10 @@
+       MFP_XWAY(GPIO41, GPIO,  NONE,   NONE,   NONE),
+       MFP_XWAY(GPIO42, GPIO,  MDIO,   NONE,   NONE),
+       MFP_XWAY(GPIO43, GPIO,  MDIO,   NONE,   NONE),
+-      MFP_XWAY(GPIO44, GPIO,  NONE,   GPHY,   SIN),
++      MFP_XWAY(GPIO44, GPIO,  MII,    SIN,    GPHY),
+       MFP_XWAY(GPIO45, GPIO,  NONE,   GPHY,   SIN),
+       MFP_XWAY(GPIO46, GPIO,  NONE,   NONE,   EXIN),
+-      MFP_XWAY(GPIO47, GPIO,  NONE,   GPHY,   SIN),
++      MFP_XWAY(GPIO47, GPIO,  MII,    GPHY,   SIN),
+       MFP_XWAY(GPIO48, GPIO,  EBU,    NONE,   NONE),
+       MFP_XWAY(GPIO49, GPIO,  EBU,    NONE,   NONE),
+       MFP_XWAY(GPIO50, GPIO,  NONE,   NONE,   NONE),