Add apex-regulators device tree node
* This ensures that the Apex PMIC is on when the kernel boots.
Change-Id: Ib8b5d34d66068a380b64400a8acc73ea7c99de69
diff --git a/arch/arm/dts/fsl-imx8mq-phanbell.dts b/arch/arm/dts/fsl-imx8mq-phanbell.dts
index 1e0ce15..a7e5c62 100644
--- a/arch/arm/dts/fsl-imx8mq-phanbell.dts
+++ b/arch/arm/dts/fsl-imx8mq-phanbell.dts
@@ -48,6 +48,18 @@
gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
+
+ reg_apex: apex_pmic {
+ compatible = "regulator-fixed";
+ regulator-name = "apex_regulators";
+ regulator-min-microvolt = <1000000>;
+ regulator-max-microvolt = <1000000>;
+ gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>;
+ gpio-open-drain;
+ enable-active-high;
+ regulator-boot-on;
+ startup-delay-us = <1000000>;
+ };
};
modem_reset: modem-reset {