1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-11 17:10:13 +00:00

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

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 <yegorslists@googlemail.com>
Link: https://lore.kernel.org/r/20251007085037.3605676-1-yegorslists@googlemail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
Yegor Yefremov 2025-10-07 10:50:37 +02:00 committed by Kevin Hilman
parent 905664e276
commit 473de5d346

View File

@ -45,6 +45,23 @@
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 {