ARM: dts: ti: omap: am335x-baltos: add a regulator for the mPCIe slot
Subsystems (2)
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.
Signed-off-by Yegor Yefremov <[email protected]>
--- 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
@@ -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
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]>