Skip to contentSkip to conversation

ARM: dts: ti: omap: am335x-baltos: add a regulator for the mPCIe slot

PATCH Applied [email protected] 2 participants 2 messages Oct 7, 2025 – Nov 4, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: ti: omap: am335x-baltos: add a regulator for the mPCIe slot

From: Yegor Yefremov <[email protected]>

Baltos device provide a mPCIe slot that can be power cycled via a GPIO.

Add a userspace consumer mpcie-power-switch that references a fixed regulator attached to the GPIO3_4.

---
 arch/arm/boot/dts/ti/omap/am335x-baltos.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/ti/omap/am335x-baltos.dtsi +17 -0
index ea47f9960c35..afb38f023b83 100644
@@ -45,6 +45,23 @@ wl12xx_vmmc: fixedregulator2 {
 		startup-delay-us = <70000>;
 		enable-active-high;
 	};
+
+	mpcie_regulator: mpcie-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "mpcie-regulator";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&gpio3 4 0>;
+		enable-active-high;
+		regulator-boot-on;
+	};
+
+	mpcie_power_switch: mpcie-power-switch {
+		compatible = "regulator-output";
+		regulator-name = "mpcie-power-switch";
+		regulator-supplies = "vcc";
+		vout-supply = <&mpcie_regulator>;
+	};
 };
 
 &am33xx_pinmux {
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 6 lines · On Tue, 07 Oct 2025 10:50:37 +0200, [email protected] wrote:

Baltos device provide a mPCIe slot that can be power cycled via a GPIO.

Add a userspace consumer mpcie-power-switch that references a fixed regulator attached to the GPIO3_4.

Applied, thanks!

[1/1] ARM: dts: ti: omap: am335x-baltos: add a regulator for the mPCIe slot

      commit: 473de5d3466f879b84a9d063fa34acdd9e895d76

Best regards,

Signature · 1 line
Kevin Hilman <[email protected]>