2
0
forked from Ivasoft/openwrt

ath79: specify device-type for PCI controllers

Specify the device_type property for PCI as well as PCIe controllers.
Otherwise, the PCI range parser will not be selected when using kernel
5.10.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer
2021-02-17 05:53:32 +01:00
parent 3832403771
commit da55758cc5
6 changed files with 14 additions and 0 deletions

View File

@@ -201,6 +201,8 @@
interrupt-parent = <&intc2>;
interrupts = <1>;
device_type = "pci";
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";
@@ -236,6 +238,8 @@
interrupt-parent = <&intc3>;
interrupts = <0>;
device_type = "pci";
resets = <&rst2 6>, <&rst2 7>;
reset-names = "hc", "phy";