1 --- a/arch/mips/ath79/pci.c
2 +++ b/arch/mips/ath79/pci.c
3 @@ -53,6 +53,15 @@ static const struct ath79_pci_irq ar724x
7 +static const struct ath79_pci_irq qca953x_pci_irq_map[] __initconst = {
12 + .irq = ATH79_PCI_IRQ(0),
16 static const struct ath79_pci_irq qca955x_pci_irq_map[] __initconst = {
19 @@ -98,6 +107,9 @@ int __init pcibios_map_irq(const struct
21 ath79_pci_irq_map = ar724x_pci_irq_map;
22 ath79_pci_nr_irqs = ARRAY_SIZE(ar724x_pci_irq_map);
23 + } else if (soc_is_qca953x()) {
24 + ath79_pci_irq_map = qca953x_pci_irq_map;
25 + ath79_pci_nr_irqs = ARRAY_SIZE(qca953x_pci_irq_map);
26 } else if (soc_is_qca955x()) {
27 ath79_pci_irq_map = qca955x_pci_irq_map;
28 ath79_pci_nr_irqs = ARRAY_SIZE(qca955x_pci_irq_map);
29 @@ -303,6 +315,15 @@ int __init ath79_register_pci(void)
33 + } else if (soc_is_qca9533()) {
34 + pdev = ath79_register_pci_ar724x(0,
35 + QCA953X_PCI_CFG_BASE0,
36 + QCA953X_PCI_CTRL_BASE0,
37 + QCA953X_PCI_CRP_BASE0,
38 + QCA953X_PCI_MEM_BASE0,
39 + QCA953X_PCI_MEM_SIZE,
42 } else if (soc_is_qca9558()) {
43 pdev = ath79_register_pci_ar724x(0,
44 QCA955X_PCI_CFG_BASE0,