linux-4.20 PCIe Fixup
#1
Hi,

for those of you testing the PCIe port of the rockpro64, you should apply the attached patch:
Code:
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
index 1d35f5406b5e..b59b05ea1dc5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
@@ -97,7 +97,7 @@
    vcc3v3_pcie: vcc3v3-pcie-regulator {
        compatible = "regulator-fixed";
        enable-active-high;
-        gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
+        gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&pcie_pwr_en>;
        regulator-name = "vcc3v3_pcie";
@@ -690,3 +690,18 @@
&vopl_mmu {
    status = "okay";
};
+
+&pcie_phy {
+    status = "okay";
+};
+
+&pcie0 {
+    ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;    
+    num-lanes = <4>;
+    max-link-speed = <2>;
+    pinctrl-names = "default";
+    pinctrl-0 = <&pcie_clkreqn_cpm>;
+    vpcie3v3-supply = <&vcc3v3_pcie>;
+    status = "okay";
+};
+

Have fun!
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  PCIe Sata II adapter and ssd TRIM bavay 0 51 08-16-2019, 07:49 AM
Last Post: bavay
  PCIe ath10k on RockPro64 dasfranky 4 91 08-07-2019, 02:02 PM
Last Post: dasfranky
  u-boot for Arch Linux Arm prw 3 140 07-20-2019, 12:38 PM
Last Post: stuartiannaylor
  Major issues with 0.8.3 bionic mate and PCIe TheSupercomputer 2 162 07-03-2019, 03:38 PM
Last Post: ayufan
Information Update 22.02.2019 Feature-complete Debian build - SDIO WiFi/BT / PCIe / 3D / 2D Luke 99 12,404 06-07-2019, 04:34 AM
Last Post: beard5849
  NEMS Linux for RockPro64 pineadmin 0 349 05-09-2019, 05:51 PM
Last Post: pineadmin
  Arch Linux on RockPro64 mmatyas 24 7,617 02-27-2019, 06:07 PM
Last Post: mmatyas
  Image for ZFS on PCIe SATA drives with OpenVPN and WiFi caillou 0 172 02-26-2019, 05:14 PM
Last Post: caillou
Star 0.7.9 Linux release from ayufan Luke 48 16,222 02-25-2019, 02:55 PM
Last Post: Luke
  IMX214 Linux driver development anykey 0 206 01-26-2019, 07:37 AM
Last Post: anykey

Forum Jump:


Users browsing this thread: 1 Guest(s)