[PATCH 2/2] ARM: dts: imx8m: add UHS or HS400/HS400ES properties
Andrey Zhizhikin
andrey.zhizhikin at leica-geosystems.com
Tue Dec 1 09:58:21 CET 2020
i.MX8M series provide support for high speed grades in their
usdhc controllers, which has eMMC and SDHC connected to them.
Enable this support across the entire i.MX8M family by providing quirks
to usdhc controllers designated by storage media connected to them.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin at leica-geosystems.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Ye Li <ye.li at nxp.com>
---
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 3 +++
arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 3 +++
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 4 ++++
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 4 ++++
arch/arm/dts/imx8mp-evk-u-boot.dtsi | 4 ++++
arch/arm/dts/imx8mq-evk.dts | 3 +++
6 files changed, 21 insertions(+)
diff --git a/arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi b/arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
index 80d6475b7c..2f86fcce3e 100644
--- a/arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
+++ b/arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi
@@ -118,8 +118,11 @@
&usdhc1 {
u-boot,dm-spl;
+ u-boot,mmc-hs400-1_8v;
};
&usdhc2 {
u-boot,dm-spl;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
};
diff --git a/arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi b/arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi
index 771ab635f1..f4332edac5 100644
--- a/arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi
+++ b/arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi
@@ -118,8 +118,11 @@
&usdhc1 {
u-boot,dm-spl;
+ u-boot,mmc-hs400-1_8v;
};
&usdhc2 {
u-boot,dm-spl;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
};
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
index 9f77d3c6ff..67666a08ec 100644
--- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
@@ -100,10 +100,14 @@
&usdhc2 {
u-boot,dm-spl;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
};
&usdhc3 {
u-boot,dm-spl;
+ u-boot,mmc-hs400-1_8v;
+ u-boot,mmc-hs400-enhanced-strobe;
};
&i2c1 {
diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
index 98b0b9891b..e03e635213 100644
--- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi
@@ -97,10 +97,14 @@
&usdhc2 {
u-boot,dm-spl;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
};
&usdhc3 {
u-boot,dm-spl;
+ u-boot,mmc-hs400-1_8v;
+ u-boot,mmc-hs400-enhanced-strobe;
};
&wdog1 {
diff --git a/arch/arm/dts/imx8mp-evk-u-boot.dtsi b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
index 2452e9175c..0776b24a6e 100644
--- a/arch/arm/dts/imx8mp-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
@@ -126,10 +126,14 @@
&usdhc2 {
u-boot,dm-spl;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
};
&usdhc3 {
u-boot,dm-spl;
+ u-boot,mmc-hs400-1_8v;
+ u-boot,mmc-hs400-enhanced-strobe;
};
&wdog1 {
diff --git a/arch/arm/dts/imx8mq-evk.dts b/arch/arm/dts/imx8mq-evk.dts
index 9663683f69..985e7e7f8b 100644
--- a/arch/arm/dts/imx8mq-evk.dts
+++ b/arch/arm/dts/imx8mq-evk.dts
@@ -291,6 +291,7 @@
non-removable;
no-sd;
no-sdio;
+ u-boot,mmc-hs400-1_8v;
status = "okay";
};
@@ -301,6 +302,8 @@
pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
vmmc-supply = <®_usdhc2_vmmc>;
+ u-boot,sd-uhs-sdr104;
+ u-boot,sd-uhs-ddr50;
status = "okay";
};
--
2.17.1
More information about the U-Boot
mailing list