ipq40xx: do not remove pci@40000000 for ap.dk04.1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Nov 2020 15:04:01 +0000 (16:04 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 13 Nov 2020 17:34:41 +0000 (18:34 +0100)
This pci@40000000 node from upstream was dropped when the device
was converted from local DTS(I) files to kernel patches in [1] to
ensure that change was purely cosmetic.

However, the DK04.1 has a PCI-E slot by default, so let's keep
(i.e. not remove) the kernel definition now.

[1] c4beac9ea2e1 ("ipq40xx: use upstream DTS files for IPQ4019/AP-DK04.1")

Suggested-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch

index a34904b6f7cdb1dc0a56e970b654c3705545a434..ca321448466983abcfeffdeede87cb78859ecbac 100644 (file)
                        };
                };
  
-@@ -89,23 +115,57 @@
+@@ -89,11 +115,11 @@
                        status = "ok";
                        cs-gpios = <&tlmm 12 0>;
  
                                spi-max-frequency = <24000000>;
                        };
                };
+@@ -103,9 +129,48 @@
+                       perst-gpio = <&tlmm 38 0x1>;
+               };
  
--              pci@40000000 {
--                      status = "ok";
--                      perst-gpio = <&tlmm 38 0x1>;
 +              i2c0: i2c@78b7000 { /* BLSP1 QUP2 */
 +                      pinctrl-0 = <&i2c_0_pins>;
 +                      pinctrl-names = "default";
 +
 +                      status = "okay";
-               };
++              };
++
                qpic-nand@79b0000 {
                        pinctrl-0 = <&nand_pins>;
                        pinctrl-names = "default";