There is currently no driver for the STPMIC1, which supplies the 3v3 rail into the SDMMC2. The regulator is on on boot though, so lets replace it with a fixed regulator till we have a regulator driver for the STPMIC1.
Signed-off-by: Oleksij Rempel <o.rem...@pengutronix.de> [afa: replaced /delete-node/ with fixed-regulator] Signed-off-by: Ahmad Fatoum <a.fat...@pengutronix.de> --- arch/arm/dts/stm32mp157a-dk1.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/stm32mp157a-dk1.dtsi b/arch/arm/dts/stm32mp157a-dk1.dtsi index cd3d614d46..460637450a 100644 --- a/arch/arm/dts/stm32mp157a-dk1.dtsi +++ b/arch/arm/dts/stm32mp157a-dk1.dtsi @@ -33,4 +33,17 @@ pool; }; }; + + reg_vmmc: regulator-vmmc { + compatible = "regulator-fixed"; + regulator-name = "vmmc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; +}; + +&sdmmc1 { + /* regulator driver not yet ported to barebox, but always on */ + vmmc-supply = <®_vmmc>; }; -- 2.23.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox