]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: ti: k3-am62p5-sk: Add regulator nodes for AM62P
authorRishikesh Donadkar <r-donadkar@ti.com>
Fri, 2 May 2025 16:25:36 +0000 (21:55 +0530)
committerNishanth Menon <nm@ti.com>
Tue, 6 May 2025 12:27:06 +0000 (07:27 -0500)
Add regulator node for AM62P-SK

VCC_3V3_MAIN is the output of LM5141-Q1, and it serves as an input to
TPS22965DSGT which produces VCC_3V3_SYS [1]

VCC_3V3_SYS servers as vin-supply for peripherals like CSI [1].

Link: https://www.ti.com/lit/zip/sprr487
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com>
Link: https://lore.kernel.org/r/20250502162539.322091-2-r-donadkar@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts

index b89b7a779bcc1607f205393c91663c8a4dff8352..fa94f723aef04a8da00d200f9bdabef1cf3c34bb 100644 (file)
                bootph-all;
        };
 
+       vcc_3v3_main: regulator-4 {
+               /* output of LM5141-Q1 */
+               compatible = "regulator-fixed";
+               regulator-name = "vcc_3v3_main";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&vmain_pd>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
+       vcc_3v3_sys: regulator-5 {
+               /* output of TPS222965DSGT */
+               compatible = "regulator-fixed";
+               regulator-name = "vcc_3v3_sys";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_3v3_main>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";