aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2021-02-17 05:53:32 +0100
committerDavid Bauer <mail@david-bauer.net>2021-02-20 01:26:14 +0100
commitda55758cc58a2e6f0570eacd4bb9c2d4792572a6 (patch)
tree19e65acec9e792ed958be5105a6405054b54571b /target/linux
parent3832403771f3319f2c95a9a084e0c3d46b7ee929 (diff)
downloadupstream-da55758cc58a2e6f0570eacd4bb9c2d4792572a6.tar.gz
upstream-da55758cc58a2e6f0570eacd4bb9c2d4792572a6.tar.bz2
upstream-da55758cc58a2e6f0570eacd4bb9c2d4792572a6.zip
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar7100.dtsi2
-rw-r--r--target/linux/ath79/dts/ar724x.dtsi2
-rw-r--r--target/linux/ath79/dts/ar9344.dtsi2
-rw-r--r--target/linux/ath79/dts/qca953x.dtsi2
-rw-r--r--target/linux/ath79/dts/qca955x.dtsi4
-rw-r--r--target/linux/ath79/dts/qca956x.dtsi2
6 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7100.dtsi b/target/linux/ath79/dts/ar7100.dtsi
index 2617c68521..64702f2df2 100644
--- a/target/linux/ath79/dts/ar7100.dtsi
+++ b/target/linux/ath79/dts/ar7100.dtsi
@@ -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>;
diff --git a/target/linux/ath79/dts/ar724x.dtsi b/target/linux/ath79/dts/ar724x.dtsi
index e9daae0678..a078712e01 100644
--- a/target/linux/ath79/dts/ar724x.dtsi
+++ b/target/linux/ath79/dts/ar724x.dtsi
@@ -133,6 +133,8 @@
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";
+ device_type = "pci";
+
interrupt-controller;
#interrupt-cells = <1>;
diff --git a/target/linux/ath79/dts/ar9344.dtsi b/target/linux/ath79/dts/ar9344.dtsi
index e99d962933..fb23c53d41 100644
--- a/target/linux/ath79/dts/ar9344.dtsi
+++ b/target/linux/ath79/dts/ar9344.dtsi
@@ -46,6 +46,8 @@
interrupt-parent = <&intc2>;
interrupts = <1>;
+ device_type = "pci";
+
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";
diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi
index 1c2c1350f7..1a64b01300 100644
--- a/target/linux/ath79/dts/qca953x.dtsi
+++ b/target/linux/ath79/dts/qca953x.dtsi
@@ -164,6 +164,8 @@
interrupt-parent = <&intc2>;
interrupts = <1>;
+ device_type = "pci";
+
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";
diff --git a/target/linux/ath79/dts/qca955x.dtsi b/target/linux/ath79/dts/qca955x.dtsi
index f910d2a822..9817843edf 100644
--- a/target/linux/ath79/dts/qca955x.dtsi
+++ b/target/linux/ath79/dts/qca955x.dtsi
@@ -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";
diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi
index 6489efbf0b..30ede3e55b 100644
--- a/target/linux/ath79/dts/qca956x.dtsi
+++ b/target/linux/ath79/dts/qca956x.dtsi
@@ -172,6 +172,8 @@
interrupt-parent = <&intc3>;
interrupts = <0>;
+ device_type = "pci";
+
resets = <&rst 6>, <&rst 7>;
reset-names = "hc", "phy";