arm64: tegra: Fix PCIe regulator for Orin Jetson AGX
authorJon Hunter <jonathanh@nvidia.com>
Fri, 26 May 2023 11:17:27 +0000 (12:17 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 26 May 2023 15:05:27 +0000 (17:05 +0200)
The PCIe slot on the Jetson Orin AGX is not working and PCIe cards
are not detected. The regulator for the 3.3V regulator for the PCIe is
using the wrong GPIO for turning on the regulator. Fix this by updating
the 3.3V regulator to use the correct GPIO.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi

index 2378da3..8124999 100644 (file)
                regulator-name = "VDD_3V3_PCIE";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
-               gpio = <&gpio TEGRA234_MAIN_GPIO(Z, 2) GPIO_ACTIVE_HIGH>;
+               gpio = <&gpio TEGRA234_MAIN_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
                regulator-boot-on;
                enable-active-high;
        };