mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-01 16:58:22 +00:00
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> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
dd55639e66
commit
c99988c46c
@ -118,6 +118,8 @@
|
|||||||
ranges = <0x2000000 0 0x10000000 0x10000000 0 0x07000000 /* pci memory */
|
ranges = <0x2000000 0 0x10000000 0x10000000 0 0x07000000 /* pci memory */
|
||||||
0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
|
0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
interrupt-parent = <&pci_intc>;
|
interrupt-parent = <&pci_intc>;
|
||||||
interrupts = <4>;
|
interrupts = <4>;
|
||||||
|
|
||||||
|
@ -133,6 +133,8 @@
|
|||||||
resets = <&rst 6>, <&rst 7>;
|
resets = <&rst 6>, <&rst 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
interrupt-controller;
|
interrupt-controller;
|
||||||
#interrupt-cells = <1>;
|
#interrupt-cells = <1>;
|
||||||
|
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
interrupt-parent = <&intc2>;
|
interrupt-parent = <&intc2>;
|
||||||
interrupts = <1>;
|
interrupts = <1>;
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
resets = <&rst 6>, <&rst 7>;
|
resets = <&rst 6>, <&rst 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
|
@ -164,6 +164,8 @@
|
|||||||
interrupt-parent = <&intc2>;
|
interrupt-parent = <&intc2>;
|
||||||
interrupts = <1>;
|
interrupts = <1>;
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
resets = <&rst 6>, <&rst 7>;
|
resets = <&rst 6>, <&rst 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
|
@ -201,6 +201,8 @@
|
|||||||
interrupt-parent = <&intc2>;
|
interrupt-parent = <&intc2>;
|
||||||
interrupts = <1>;
|
interrupts = <1>;
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
resets = <&rst 6>, <&rst 7>;
|
resets = <&rst 6>, <&rst 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
@ -236,6 +238,8 @@
|
|||||||
interrupt-parent = <&intc3>;
|
interrupt-parent = <&intc3>;
|
||||||
interrupts = <0>;
|
interrupts = <0>;
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
resets = <&rst2 6>, <&rst2 7>;
|
resets = <&rst2 6>, <&rst2 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
|
@ -172,6 +172,8 @@
|
|||||||
interrupt-parent = <&intc3>;
|
interrupt-parent = <&intc3>;
|
||||||
interrupts = <0>;
|
interrupts = <0>;
|
||||||
|
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
resets = <&rst 6>, <&rst 7>;
|
resets = <&rst 6>, <&rst 7>;
|
||||||
reset-names = "hc", "phy";
|
reset-names = "hc", "phy";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user