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

@ -118,6 +118,8 @@
ranges = <0x2000000 0 0x10000000 0x10000000 0 0x07000000 /* pci memory */
0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
device_type = "pci";
interrupt-parent = <&pci_intc>;
interrupts = <4>;

View File

@ -133,6 +133,8 @@
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";
device_type = "pci";
interrupt-controller;
#interrupt-cells = <1>;

View File

@ -46,6 +46,8 @@
interrupt-parent = <&intc2>;
interrupts = <1>;
device_type = "pci";
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";

View File

@ -164,6 +164,8 @@
interrupt-parent = <&intc2>;
interrupts = <1>;
device_type = "pci";
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";

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";

View File

@ -172,6 +172,8 @@
interrupt-parent = <&intc3>;
interrupts = <0>;
device_type = "pci";
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";