[lantiq] pci gpio mapping
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 8 Aug 2012 12:14:43 +0000 (12:14 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 8 Aug 2012 12:14:43 +0000 (12:14 +0000)
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 <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33054 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/patches-3.3/0005-pci-support.patch

index bdc8901..5976999 100644 (file)
@@ -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" },
  };