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
  My PCIe disk controller works with Linux 5.3.6 guannais 1 98 10-30-2019, 07:11 PM
Last Post: guannais
  Frequent kernel panic, possibly due to PCIe SSD? meier 3 172 10-29-2019, 10:28 AM
Last Post: Happybuilder
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 178 10-10-2019, 12:51 PM
Last Post: ihamilton
Information Update 22.02.2019 Feature-complete Debian build - SDIO WiFi/BT / PCIe / 3D / 2D Luke 100 14,104 10-04-2019, 08:57 PM
Last Post: tuxd3v
  Void Linux WIP losinggeneration 0 124 10-04-2019, 03:23 AM
Last Post: losinggeneration
  Arch Linux on RockPro64 mmatyas 27 8,699 09-28-2019, 04:30 AM
Last Post: TaborFife
  Rockpro64 and stock arch linux TaborFife 0 135 09-21-2019, 04:29 PM
Last Post: TaborFife
  Linux distro that will work with Kodi? SBCraok 9 246 09-18-2019, 02:12 AM
Last Post: mtrcycllvr
  PCIe ath10k on RockPro64 dasfranky 5 193 08-31-2019, 11:36 AM
Last Post: tuxd3v
  PCIe Sata II adapter and ssd TRIM bavay 0 90 08-16-2019, 07:49 AM
Last Post: bavay

Forum Jump:


Users browsing this thread: 1 Guest(s)