summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx8mm-evk-u-boot.dtsi
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2020-12-05 17:29:17 +0000
committerStefano Babic <sbabic@denx.de>2020-12-26 12:36:19 +0100
commit247bbeb74c186963d9365db3136d0285618bd9a7 (patch)
tree14d58f72260adaef72514225c719161df0b42104 /arch/arm/dts/imx8mm-evk-u-boot.dtsi
parent1a5d9c84b47239ea527f5d8eaa19f35b7fdacb8f (diff)
ARM: dts: imx8m: increase off-on delay on the SD Vcc regulator
Some SD Card controller and power circuitry has increased capacitance, which keeps the internal logic remains powered after regulator is switch off. This is generally the case when card is switched to SD104 mode, where a power cycle should be performed. In case if the card internal logic remains powered, it causes a subsequent failure of mode transition, effectively leading to failed enumeration. Introduce a delay of 20 msec in order to provide a possibility for internal card circuitry to drain voltages and perform a power cycle correctly. Similar fix is done in commit c49d0ac38a76 ("ARM: dts: rmobile: Increase off-on delay on the SD Vcc regulator") targeted Renesas SOCs. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/dts/imx8mm-evk-u-boot.dtsi')
-rw-r--r--arch/arm/dts/imx8mm-evk-u-boot.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
index b5c12105a9..9f77d3c6ff 100644
--- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
@@ -46,6 +46,10 @@
u-boot,dm-spl;
};
+&reg_usdhc2_vmmc {
+ u-boot,off-on-delay-us = <20000>;
+};
+
&pinctrl_reg_usdhc2_vmmc {
u-boot,dm-spl;
};