ath79: specify device-type for PCI controllers
authorDavid Bauer <mail@david-bauer.net>
Wed, 17 Feb 2021 04:53:32 +0000 (05:53 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 20 Feb 2021 00:26:14 +0000 (01:26 +0100)
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>
target/linux/ath79/dts/ar7100.dtsi
target/linux/ath79/dts/ar724x.dtsi
target/linux/ath79/dts/ar9344.dtsi
target/linux/ath79/dts/qca953x.dtsi
target/linux/ath79/dts/qca955x.dtsi
target/linux/ath79/dts/qca956x.dtsi

index 2617c685218b5bb44f82eef22668409f154546bd..64702f2df2331ca5bb5d0b274614a5ceaad14561 100644 (file)
                                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>;
 
index e9daae06787b83dd2397531460362c2d5761d4c4..a078712e01d97e9f0ddba65c7eda046f5adca480 100644 (file)
                                resets = <&rst 6>, <&rst 7>;
                                reset-names = "hc", "phy";
 
+                               device_type = "pci";
+
                                interrupt-controller;
                                #interrupt-cells = <1>;
 
index e99d962933b45c703920e2559daa905d57942981..fb23c53d41eb7a3c7438fb5dbfc5b248bb660702 100644 (file)
@@ -46,6 +46,8 @@
                interrupt-parent = <&intc2>;
                interrupts = <1>;
 
+               device_type = "pci";
+
                resets = <&rst 6>, <&rst 7>;
                reset-names = "hc", "phy";
 
index 1c2c1350f72f3a770572f081a0cf504f3de56f63..1a64b01300220e649cb419da03c064de01afad94 100644 (file)
                        interrupt-parent = <&intc2>;
                        interrupts = <1>;
 
+                       device_type = "pci";
+
                        resets = <&rst 6>, <&rst 7>;
                        reset-names = "hc", "phy";
 
index f910d2a8221da72ce7145055eb5ec096af12f07e..9817843edf2a47fac92eec52f4f7aebefc39da3d 100644 (file)
                        interrupt-parent = <&intc2>;
                        interrupts = <1>;
 
+                       device_type = "pci";
+
                        resets = <&rst 6>, <&rst 7>;
                        reset-names = "hc", "phy";
 
                        interrupt-parent = <&intc3>;
                        interrupts = <0>;
 
+                       device_type = "pci";
+
                        resets = <&rst2 6>, <&rst2 7>;
                        reset-names = "hc", "phy";
 
index 6489efbf0b0201f64c7cb61aa8000f094f70f4af..30ede3e55b54ca1f9466b84c4e9c03a8e79f8b2d 100644 (file)
                        interrupt-parent = <&intc3>;
                        interrupts = <0>;
 
+                       device_type = "pci";
+
                        resets = <&rst 6>, <&rst 7>;
                        reset-names = "hc", "phy";