P3701: Move nodes of regulator from base to overlay

The regulator nodes are added into the base file of P3701.
This DTSI file is synced from mainline and the addition
is done without upstreaming to mainline.

Move such nodes to overlay file to make the DTSI file
synced to mainline.

Bug 4037899

Change-Id: I0ba58a70977e8b65738ae36c6e6c805c018df60a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/t23x/concord-generic-dts/+/2873621
Reviewed-by: svcacv <svcacv@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Laxman Dewangan
2023-03-20 08:36:34 +00:00
parent 72ca2c5715
commit 8b2cafa4ea
2 changed files with 65 additions and 57 deletions

View File

@@ -4,7 +4,7 @@
#include "tegra234-p3737-0000-camera-imx274-dual.dtsi" #include "tegra234-p3737-0000-camera-imx274-dual.dtsi"
#include "tegra234-p3737-0000-camera-imx185-a00.dtsi" #include "tegra234-p3737-0000-camera-imx185-a00.dtsi"
/ { / {
fragment-t234-p3701-0001@0 { fragment-t234-p3701-0000@0 {
target-path = "/bus@0/i2c@c240000"; target-path = "/bus@0/i2c@c240000";
__overlay__ { __overlay__ {
status = "okay"; status = "okay";
@@ -54,4 +54,68 @@
}; };
}; };
}; };
fragment-t234-p3701-0000@1 {
target-path = "/bus@0/padctl@3520000";
__overlay__ {
vclamp-usb-supply = <&vdd_ao_1v8>;
avdd-usb-supply = <&vdd_ao_3v3>;
ports {
usb2-0 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-1 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-2 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-3 {
vbus-supply = <&vdd_5v0_sys>;
};
};
};
};
fragment-t234-p3701-0000@2 {
target-path = "/";
__overlay__ {
vdd_5v0_sys: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "VIN_SYS_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_ao_1v8: regulator@1 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
vdd_ao_3v3: regulator@2 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
hdr40_vdd_3v3: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "vdd-3v3-sys";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
};
};
}; };

View File

@@ -62,29 +62,6 @@
non-removable; non-removable;
}; };
padctl@3520000 {
vclamp-usb-supply = <&vdd_ao_1v8>;
avdd-usb-supply = <&vdd_ao_3v3>;
ports {
usb2-0 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-1 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-2 {
vbus-supply = <&vdd_5v0_sys>;
};
usb2-3 {
vbus-supply = <&vdd_5v0_sys>;
};
};
};
rtc@c2a0000 { rtc@c2a0000 {
status = "okay"; status = "okay";
}; };
@@ -94,37 +71,4 @@
}; };
}; };
vdd_5v0_sys: regulator@0 {
compatible = "regulator-fixed";
regulator-name = "VIN_SYS_5V0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
vdd_ao_1v8: regulator@1 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
vdd_ao_3v3: regulator@2 {
compatible = "regulator-fixed";
regulator-name = "vdd-AO-3v3";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
hdr40_vdd_3v3: regulator@3 {
compatible = "regulator-fixed";
reg = <3>;
regulator-name = "vdd-3v3-sys";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
};
}; };