mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 20:58:25 +02:00
[ar71xx] aw-nr580: add support for the PCI slot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14686 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ccf3bdc4a6
commit
28b2a5f4c4
@ -54,6 +54,15 @@ static struct gpio_button aw_nr580_gpio_buttons[] __initdata = {
|
||||
}
|
||||
};
|
||||
|
||||
static struct ar71xx_pci_irq aw_nr580_pci_irqs[] __initdata = {
|
||||
{
|
||||
.slot = 1,
|
||||
.pin = 1,
|
||||
.irq = AR71XX_PCI_IRQ_DEV1,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
static void __init aw_nr580_setup(void)
|
||||
{
|
||||
ar71xx_add_device_mdio(0x0);
|
||||
@ -65,6 +74,8 @@ static void __init aw_nr580_setup(void)
|
||||
|
||||
ar71xx_add_device_eth(0);
|
||||
|
||||
ar71xx_pci_init(ARRAY_SIZE(aw_nr580_pci_irqs), aw_nr580_pci_irqs);
|
||||
|
||||
ar71xx_add_device_spi(NULL, aw_nr580_spi_info,
|
||||
ARRAY_SIZE(aw_nr580_spi_info));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user