arm64: dts: imx8mp-skov: describe mains fail detection

The main 24V regulator will toggle GPIO4_IO23 to signal imminent voltage
loss. Reflect this in the DT, so the OS can take appropriate action when
this happens.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Oleksij Rempel 2025-01-06 17:06:43 +01:00 committed by Shawn Guo
parent 4252ede53d
commit fc8efdf8fa

View File

@ -116,6 +116,11 @@ reg_24v: regulator-24v {
regulator-name = "24V";
regulator-min-microvolt = <24000000>;
regulator-max-microvolt = <24000000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_reg24v>;
interrupts-extended = <&gpio4 23 IRQ_TYPE_EDGE_FALLING>;
system-critical-regulator;
regulator-uv-less-critical-window-ms = <50>;
};
reg_can2rs: regulator-can2rs {
@ -591,6 +596,12 @@ MX8MP_IOMUXC_SAI3_MCLK__PWM4_OUT 0x116
>;
};
pinctrl_reg24v: reg24vgrp {
fsl,pins = <
MX8MP_IOMUXC_SAI2_RXD0__GPIO4_IO23 0x154
>;
};
pinctrl_reg_vsd_3v3: regvsd3v3grp {
fsl,pins = <
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x40