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!


Possibly Related Threads…
Thread Author Replies Views Last Post
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 399 07-14-2021, 02:37 PM
Last Post: TRS-80
Brick Maintained Linux booting from eMMC ootoovak 5 696 07-06-2021, 02:28 PM
Last Post: TRS-80
  WiFi not working with PCIe SSD installed mikeD 0 343 05-25-2021, 07:48 AM
Last Post: mikeD
  Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? daffy 8 1,313 05-20-2021, 10:04 PM
Last Post: t4_4t
  Booting Linux/Debian from the eMMC linuxha 4 1,131 03-02-2021, 07:01 PM
Last Post: linuxha
  Xen EFI with Alpine Linux dom0 sir.lami 0 1,104 08-26-2020, 12:25 PM
Last Post: sir.lami
  Linux Host - QEMU Android Guest? rik-shaw 0 956 07-09-2020, 08:02 PM
Last Post: rik-shaw
  RETRO GAMING BATOCERA LINUX + ROSHAMBO CASE - Tutoriel Fr TheMiniCakeTV 0 1,810 07-02-2020, 12:45 PM
Last Post: TheMiniCakeTV
  Arch Linux on RockPro64 mmatyas 30 25,218 05-30-2020, 12:08 PM
Last Post: mmatyas
  RockPro64 Linux Manjaro HDMI 4K mkne 12 6,113 05-03-2020, 07:23 AM
Last Post: PakoSt

Forum Jump:


Users browsing this thread: 1 Guest(s)