diff mbox series

[v3,5/6] arm64: dts: ti: am62-lp-sk: Add vddshv_canuart regulator

Message ID 20241012-topic-am62-partialio-v6-12-b4-v3-5-f7c6c2739681@baylibre.com (mailing list archive)
State New, archived
Headers show
Series firmware: ti_sci: Partial-IO support | expand

Commit Message

Markus Schneider-Pargmann Oct. 12, 2024, 2:39 p.m. UTC
vddshv_canuart on am62-lp-sk is used to power a few units specific units
of the SoC that remain active in a special low power mode. Model this
relationship explicitly.

Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
---
 arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
index 529360b5e6fe052dd99f04b74c129193922f76ac..783ad65e6165ea74010c3240069fc6d99a0cd035 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
@@ -80,6 +80,17 @@  vcc_3v3_sys: regulator-5 {
 		regulator-always-on;
 		regulator-boot-on;
 	};
+
+	vddshv_canuart: regulator-7 {
+		/* TPS22965DSGT */
+		compatible = "regulator-fixed";
+		regulator-name = "vddshv_canuart";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		vin-supply = <&vcc_3v3_main>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
 };
 
 &main_pmx0 {
@@ -242,3 +253,11 @@  &tlv320aic3106 {
 &gpmc0 {
 	ranges = <0 0 0x00 0x51000000 0x01000000>; /* CS0 space. Min partition = 16MB */
 };
+
+&mcu_mcan0 {
+	vio-supply = <&vddshv_canuart>;
+};
+
+&mcu_mcan1 {
+	vio-supply = <&vddshv_canuart>;
+};