PCIe x16 supply not enabled on Development Kit

Hello,

I’m trying to use a PCIe card with the AGX Orin Developer Kit.
The problem is that the 3.3V and 12V power supplies are not enabled after inserting a card. Only the 3V3AUX supply is active.

Now, I was able to enable the power supplies by updating the device tree file tegra234-p3737-fixed-regulator.dtsi as follows:

  • remove the flag “regulator-boot-on” for the nodes p3737_vdd_3v3_pcie and p3737_vdd_12v_pcie
  • p3737_vdd_3v3_pcie: change the gpio pin value to TEGRA234_MAIN_GPIO(H, 4)

Is this a known issue?

Thanks,
Ralf

We’re checking with internal team, will do the updte once clarified. Thanks

Hi, have you checked the pin PRSNT2 status when PCIe device plug in? It should be changed when device plug in, otherwise module can’t get the note and then enable power supply.

Hi,

Confirmed there is a software patch missing in this release.

diff --git a/tegra234-p3737-overlay-pcie.dts b/tegra234-p3737-overlay-pcie.dts
index e274d9c..835fadf 100644
--- a/tegra234-p3737-overlay-pcie.dts
+++ b/tegra234-p3737-overlay-pcie.dts
@@ -14,6 +14,8 @@
 /dts-v1/;
 /plugin/;
 
+#include <dt-bindings/gpio/tegra234-gpio.h>
+
 / {
 	overlay-name = "Add PCIe C5 dual mode support";
 	compatible = "nvidia,tegra23x";
@@ -51,4 +53,24 @@
 			};
 		};
 	};
+
+	/* PCIe changes for >= P3737-A04 revision. */
+	fragment@2 {
+		target-path = "/";
+		board_config {
+			ids = ">=3737-0000-TS4";
+		};
+		__overlay__ {
+			pcie_ep@141a0000 {
+				nvidia,refclk-select-gpios = <&tegra_main_gpio
+							      TEGRA234_MAIN_GPIO(Q, 4)
+							      GPIO_ACTIVE_HIGH>;
+			};
+			fixed-regulators {
+				regulator@105 {
+					gpio = <&tegra_main_gpio TEGRA234_MAIN_GPIO(H, 4) 0>;
+				};
+			};
+		};
+	};
 };
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.