From: John Crispin Date: Wed, 8 Aug 2012 12:14:43 +0000 (+0000) Subject: pci gpio mapping X-Git-Tag: reboot~13195 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=64b385dda7650a3f1a2600873ac436383b408bb5;p=openwrt%2Fstaging%2Fxback.git pci gpio mapping This patch fixes the GPIO ALTSEL settings for some of the GPIOs used by the PCI subsystem in Lantiq Danube. These changes are required for more than one PCI device to work. Tested with an ARV7510PW having two PCI-devices; a VIA USB controller and a Ralink WLAN mini-PCI card. Signed-off-by: Matti Laakso SVN-Revision: 33054 --- diff --git a/target/linux/lantiq/patches-3.3/0005-pci-support.patch b/target/linux/lantiq/patches-3.3/0005-pci-support.patch index bdc8901f41..59769992df 100644 --- a/target/linux/lantiq/patches-3.3/0005-pci-support.patch +++ b/target/linux/lantiq/patches-3.3/0005-pci-support.patch @@ -182,17 +182,17 @@ index be1e1af..7a29738 100644 - { 37, 1, 0, 0, "pci-req4" }, + { 0, 2, 0, "pci-exin0" }, + { 1, 2, 0, "pci-exin1" }, -+ { 2, 2, 0, "pci-exin2" }, ++ { 2, 1, 0, "pci-exin2" }, + { 39, 2, 0, "pci-exin3" }, + { 10, 2, 0, "pci-exin4" }, + { 9, 2, 0, "pci-exin5" }, + { 30, 2, 1, "pci-gnt1" }, -+ { 23, 2, 1, "pci-gnt2" }, ++ { 23, 1, 1, "pci-gnt2" }, + { 19, 2, 1, "pci-gnt3" }, + { 38, 2, 1, "pci-gnt4" }, + { 29, 2, 0, "pci-req1" }, -+ { 31, 2, 0, "pci-req2" }, -+ { 3, 2, 0, "pci-req3" }, ++ { 31, 1, 0, "pci-req2" }, ++ { 3, 3, 0, "pci-req3" }, + { 37, 2, 0, "pci-req4" }, };