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 <[email protected]>
---
--- a/arch/mips/pci/pci-lantiq.c
+++ b/arch/mips/pci/pci-lantiq.c
@@ -79,17 +79,17 @@ struct ltq_pci_gpio_map {
static struct ltq_pci_gpio_map ltq_pci_gpio_map[] = {
{ 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" },
};
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel