@@ -681,52 +681,56 @@ MMC support in u-boot
681681
682682 **eMMC HS400 support **
683683
684- For 11.0 and 11.1 SDK, am62px device does not support eMMC HS400 mode due to errata `i2458 <https://www.ti.com/lit/pdf/sprz574 >`__.
685- If support for HS400 is required, add the following to k3-am62p-j722s-common-main.dtsi:
686-
687- .. code-block :: diff
688-
689- diff --git a/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi b/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
690- index 8bfc6539b2a..8a536b081e1 100644
691- --- a/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
692- +++ b/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
693- @@ -593,12 +593,16 @@
694- bus-width = <8>;
695- mmc-ddr-1_8v;
696- mmc-hs200-1_8v;
697- + mmc-hs400-1_8v;
698- ti,clkbuf-sel = <0x7>;
699- + ti,strobe-sel = <0x55>;
700- ti,trm-icp = <0x8>;
701- ti,otap-del-sel-legacy = <0x1>;
702- ti,otap-del-sel-mmc-hs = <0x1>;
703- ti,otap-del-sel-ddr52 = <0x6>;
704- ti,otap-del-sel-hs200 = <0x8>;
705- + ti,otap-del-sel-hs400 = <0x5>; // at 0.85V VDD_CORE
706- + //ti,otap-del-sel-hs400 = <0x7>; // at 0.75V VDD_CORE
707- ti,itap-del-sel-legacy = <0x10>;
708- ti,itap-del-sel-mmc-hs = <0xa>;
709- ti,itap-del-sel-ddr52 = <0x3>;
710-
711- and enable the following config options:
712-
713- .. code-block :: diff
714-
715- diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig
716- index 09a91248ce6..f95879f41c9 100644
717- --- a/configs/am62px_evm_a53_defconfig
718- +++ b/configs/am62px_evm_a53_defconfig
719- @@ -114,8 +114,8 @@ CONFIG_MMC_IO_VOLTAGE=y
720- CONFIG_SPL_MMC_IO_VOLTAGE=y
721- CONFIG_MMC_UHS_SUPPORT=y
722- CONFIG_SPL_MMC_UHS_SUPPORT=y
723- -CONFIG_MMC_HS200_SUPPORT=y
724- -CONFIG_SPL_MMC_HS200_SUPPORT=y
725- +CONFIG_MMC_HS400_SUPPORT=y
726- +CONFIG_SPL_MMC_HS400_SUPPORT=y
727- CONFIG_MMC_SDHCI=y
728- CONFIG_MMC_SDHCI_ADMA=y
729- CONFIG_SPL_MMC_SDHCI_ADMA=y
684+ - For 11.1.1 SDK, only am62px SR1.2 supports eMMC HS400 mode, all earlier silicon revisions
685+ only support up to eMMC HS200 mode. Logic to determine eMMC mode is abstracted away in host
686+ driver and depends on silicon revision parsing.
687+
688+ - For 11.0 and 11.1 SDK, am62px device does not support eMMC HS400 mode due to errata `i2458 <https://www.ti.com/lit/pdf/sprz574 >`__.
689+ If support for HS400 is required, add the following to k3-am62p-j722s-common-main.dtsi:
690+
691+ .. code-block :: diff
692+
693+ diff --git a/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi b/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
694+ index 8bfc6539b2a..8a536b081e1 100644
695+ --- a/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
696+ +++ b/dts/upstream/src/arm64/ti/k3-am62p-j722s-common-main.dtsi
697+ @@ -593,12 +593,16 @@
698+ bus-width = <8>;
699+ mmc-ddr-1_8v;
700+ mmc-hs200-1_8v;
701+ + mmc-hs400-1_8v;
702+ ti,clkbuf-sel = <0x7>;
703+ + ti,strobe-sel = <0x55>;
704+ ti,trm-icp = <0x8>;
705+ ti,otap-del-sel-legacy = <0x1>;
706+ ti,otap-del-sel-mmc-hs = <0x1>;
707+ ti,otap-del-sel-ddr52 = <0x6>;
708+ ti,otap-del-sel-hs200 = <0x8>;
709+ + ti,otap-del-sel-hs400 = <0x5>; // at 0.85V VDD_CORE
710+ + //ti,otap-del-sel-hs400 = <0x7>; // at 0.75V VDD_CORE
711+ ti,itap-del-sel-legacy = <0x10>;
712+ ti,itap-del-sel-mmc-hs = <0xa>;
713+ ti,itap-del-sel-ddr52 = <0x3>;
714+
715+ and enable the following config options:
716+
717+ .. code-block :: diff
718+
719+ diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig
720+ index 09a91248ce6..f95879f41c9 100644
721+ --- a/configs/am62px_evm_a53_defconfig
722+ +++ b/configs/am62px_evm_a53_defconfig
723+ @@ -114,8 +114,8 @@ CONFIG_MMC_IO_VOLTAGE=y
724+ CONFIG_SPL_MMC_IO_VOLTAGE=y
725+ CONFIG_MMC_UHS_SUPPORT=y
726+ CONFIG_SPL_MMC_UHS_SUPPORT=y
727+ -CONFIG_MMC_HS200_SUPPORT=y
728+ -CONFIG_SPL_MMC_HS200_SUPPORT=y
729+ +CONFIG_MMC_HS400_SUPPORT=y
730+ +CONFIG_SPL_MMC_HS400_SUPPORT=y
731+ CONFIG_MMC_SDHCI=y
732+ CONFIG_MMC_SDHCI_ADMA=y
733+ CONFIG_SPL_MMC_SDHCI_ADMA=y
730734
731735 .. ifconfig :: CONFIG_part_family in ('AM62X_family')
732736
0 commit comments