[openwrt/openwrt] ipq40xx: do not remove pci at 40000000 for ap.dk04.1

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 13 12:35:56 EST 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/95b0751d0f626fea70843dd90a3789349c355888

commit 95b0751d0f626fea70843dd90a3789349c355888
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Fri Nov 13 16:04:01 2020 +0100

    ipq40xx: do not remove pci at 40000000 for ap.dk04.1
    
    This pci at 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 at sartura.hr>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 .../ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch b/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch
index a34904b6f7..ca32144846 100644
--- a/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch
+++ b/target/linux/ipq40xx/patches-5.4/902-dts-ipq4019-ap-dk04.1.patch
@@ -102,7 +102,7 @@
  			};
  		};
  
-@@ -89,23 +115,57 @@
+@@ -89,11 +115,11 @@
  			status = "ok";
  			cs-gpios = <&tlmm 12 0>;
  
@@ -116,17 +116,17 @@
  				spi-max-frequency = <24000000>;
  			};
  		};
+@@ -103,9 +129,48 @@
+ 			perst-gpio = <&tlmm 38 0x1>;
+ 		};
  
--		pci at 40000000 {
--			status = "ok";
--			perst-gpio = <&tlmm 38 0x1>;
 +		i2c0: i2c at 78b7000 { /* BLSP1 QUP2 */
 +			pinctrl-0 = <&i2c_0_pins>;
 +			pinctrl-names = "default";
 +
 +			status = "okay";
- 		};
- 
++		};
++
  		qpic-nand at 79b0000 {
  			pinctrl-0 = <&nand_pins>;
  			pinctrl-names = "default";



More information about the lede-commits mailing list