From c78d07237459abaf997aff03ffe07df06194f2de Mon Sep 17 00:00:00 2001 From: Shubhi Garg Date: Wed, 31 May 2023 08:50:52 +0000 Subject: [PATCH] arm64: tegra: Add PCIe and DP 3.3V supplies Add the 3.3V supplies for PCIe C1 controller and Display Port controller for the NVIDIA IGX Orin platform. Cherry picked from mainline commit 2fd2ad3a839efea5919f9a64ab74dd05b9ab0058 Bug 4037899 Change-Id: I4007ce7cdedaeda28fc3587452f8e6ab48553534 Signed-off-by: Shubhi Garg Reviewed-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2945322 (cherry picked from commit ba0fab9eb5ca09e8b6455721a68cba767aa30443) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2955591 GVS: Gerrit_Virtual_Submit --- tegra234-p3740-0002+p3701-0008.dts | 1 + tegra234-p3740-0002.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/tegra234-p3740-0002+p3701-0008.dts b/tegra234-p3740-0002+p3701-0008.dts index 314c08b..86f79f7 100644 --- a/tegra234-p3740-0002+p3701-0008.dts +++ b/tegra234-p3740-0002+p3701-0008.dts @@ -87,6 +87,7 @@ pcie@14100000 { status = "okay"; vddio-pex-ctl-supply = <&vdd_1v8_ao>; + vpcie3v3-supply = <&vdd_3v3_wifi>; phys = <&p2u_hsio_3>; phy-names = "p2u-0"; }; diff --git a/tegra234-p3740-0002.dtsi b/tegra234-p3740-0002.dtsi index ab70d8c..5bb34ab 100644 --- a/tegra234-p3740-0002.dtsi +++ b/tegra234-p3740-0002.dtsi @@ -190,4 +190,32 @@ "usb3-0", "usb3-1", "usb3-2"; }; }; + + vdd_3v3_dp: regulator-vdd-3v3-dp { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_DP"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vdd_3v3_sys>; + gpio = <&gpio TEGRA234_MAIN_GPIO(H, 6) 0>; + enable-active-high; + regulator-always-on; + }; + + vdd_3v3_sys: regulator-vdd-3v3-sys { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_SYS"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + vdd_3v3_wifi: regulator-vdd-3v3-wifi { + compatible = "regulator-fixed"; + regulator-name = "VDD_3V3_WIFI"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio TEGRA234_MAIN_GPIO(G, 3) GPIO_ACTIVE_HIGH>; + regulator-boot-on; + enable-active-high; + }; };