apm821xx: provide legacy interrupts for PCIe in DT
authorChristian Lamparter <chunkeey@gmail.com>
Thu, 3 Sep 2020 19:24:16 +0000 (21:24 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 5 Sep 2020 21:26:05 +0000 (23:26 +0200)
commit252197f014932c03cea7c080d8ab90e0a963a281
tree5fbb5122a5b4a09080608b6ec286b787a6e25579
parenta487e67cbc12025345f4af55f60af54f1d087005
apm821xx: provide legacy interrupts for PCIe in DT

Devices with PCIe-Switches like the WNDR4700, MR24 and WNDAP660
need to have the interrupts property specified in the device-tree
for the legacy pci interrupt signaling method to work.

If the proper interrupt value is not specified, the default INTA
IRQ 12 is taken for all devices. This is especially bad, if the
device is setup to use INTC, because these interrupts will not
be serviced.

Russell Senior reported his experience on the MR24:
"The symptom is client devices can't see the beacons.
Wifi ifaces appear, can scan and hear other networks,
but clients can't see the MR24's SSIDs."

(The interrupts-property on the WNDAP620 was optional since it
uses INTA by default. Likewise the MX60W is in the same category)

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/dts/meraki-mr24.dts
target/linux/apm821xx/dts/meraki-mx60.dts
target/linux/apm821xx/dts/netgear-wndap620.dts
target/linux/apm821xx/dts/netgear-wndap660.dts
target/linux/apm821xx/dts/netgear-wndr4700.dts