<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ls1088ardb emmc HS200 mode error in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2108754#M15807</link>
    <description>dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245540"&gt;@zeroqruel&lt;/a&gt;,&lt;BR /&gt;change the property &lt;BR /&gt;sdhci,auto-cmd12;&lt;BR /&gt;for&lt;BR /&gt;sdhci,auto-cmd21;</description>
    <pubDate>Mon, 02 Jun 2025 15:44:53 GMT</pubDate>
    <dc:creator>LFGP</dc:creator>
    <dc:date>2025-06-02T15:44:53Z</dc:date>
    <item>
      <title>ls1088ardb emmc HS200 mode error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2104470#M15792</link>
      <description>&lt;P&gt;Hello experts,&amp;nbsp;I need support urgently.&lt;/P&gt;&lt;P&gt;I have ls1088ardb based custom board.&amp;nbsp;The only difference from the reference design is that we use 128GB emmc.&amp;nbsp;We u"se two different boot. One is SD, the other is NOR(qspi). SD/eMMC transition is done by CPLD according to SD Detect pin. If SD is inserted, u-boot is opened via SD card, if not inserted, via NOR. Also, when SD is not inserted, eMMC is activated as 8-bit. In short;&lt;BR /&gt;SD DetectPin active: Uboot from SD and SD Card init&lt;BR /&gt;SD DetectPin passive: Uboot from NOR, and eMMC init&lt;BR /&gt;All these parts are done successfully. When I want to run eMMC in HS200 mode, I get an error and eMMC is running at 52MHz.&lt;/P&gt;&lt;P&gt;U-boot HS200 support config opened:&lt;BR /&gt;CONFIG_MMC_HS200_SUPPORT=y&lt;BR /&gt;CONFIG_SPL_MMC_HS200_SUPPORT=y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;u-boot dtsi;
	esdhc: esdhc@2140000 {
		compatible = "fsl,esdhc";
		reg = &amp;lt;0x0 0x2140000 0x0 0x10000&amp;gt;;
		interrupts = &amp;lt;0 28 0x4&amp;gt;; /* Level high type */
		little-endian;
		bus-width = &amp;lt;8&amp;gt;;
	};
dts;
&amp;amp;esdhc {
	status = "okay";
	compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
	non-removable;
	bus-width = &amp;lt;8&amp;gt;;
	mmc-hs200-1_8v;
	clock-frequency = &amp;lt;200000000&amp;gt;;
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;kernel dtsi;
		esdhc: esdhc@2140000 {
			compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
			reg = &amp;lt;0x0 0x2140000 0x0 0x10000&amp;gt;;
			interrupts = &amp;lt;0 28 0x4&amp;gt;; /* Level high type */
			clock-frequency = &amp;lt;0&amp;gt;;
			voltage-ranges = &amp;lt;1800 1800 3300 3300&amp;gt;;
			sdhci,auto-cmd12;
			little-endian;
			bus-width = &amp;lt;8&amp;gt;;
			status = "okay";
		};

kernel dts;
&amp;amp;esdhc {
	status = "okay";
	compatible = "fsl,ls1088a-esdhc", "fsl,esdhc";
	non-removable;
	bus-width = &amp;lt;8&amp;gt;;
	mmc-hs200-1_8v;
	clock-frequency = &amp;lt;200000000&amp;gt;;
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I add the "mmc-hs200-1_8v;" feature to both uboot and kernel dts, I get an error.&lt;BR /&gt;Uboot errors;&lt;BR /&gt;esdhc_change_pinstate 4 error&lt;BR /&gt;esdhc_set_timing error -22&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=&amp;gt; mmcinfo                                                                                                                                                                                                                          
esdhc_change_pinstate 4 error                                                                                                       
esdhc_set_timing error -22                                                                                                          
Device: FSL_SDHC                                                                                                                    
Manufacturer ID: 13                                                                                                                 
OEM: 14e                                                                                                                            
Name: 0IM20                                                                                                                         
Bus Speed: 52000000                                                                                                                 
Mode : MMC High Speed (52MHz)                                                                                                       
Rd Block Len: 512                                                                                                                   
MMC version 5.1                                                                                                                     
High Capacity: Yes                                                                                                                  
Capacity: 118.6 GiB                                                                                                                 
Bus Width: 8-bit                                                                                                                    
Erase Group Size: 512 KiB                                                                                                           
HC WP Group Size: 32 MiB                                                                                                            
User Capacity: 118.6 GiB WRREL                                                                                                      
Boot Capacity: 31.5 MiB ENH                                                                                                         
RPMB Capacity: 4 MiB ENH  &lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;kernel error:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;dmesg | grep mmc                                                                                
[    1.581730] mmc0: SDHCI controller on 2140000.esdhc [2140000.esdhc] using ADMA 64-bit                                            
[    1.778072] mmc0: Tuning timeout, falling back to fixed sampling clock                                                           
[    1.783469] mmc0: tuning execution failed: -110                                                                                  
[    1.783478] mmc0: error -110 whilst initialising MMC card                                                                        
[    3.173735] mmc0: Tuning timeout, falling back to fixed sampling clock                                                           
[    3.174387] mmc0: tuning execution failed: -110                                                                                  
[    3.174405] mmc0: error -110 whilst initialising MMC card                                                                        
[    3.347129] mmc0: Tuning timeout, falling back to fixed sampling clock                                                           
[    3.347876] mmc0: tuning execution failed: -110                                                                                  
[    3.347886] mmc0: error -110 whilst initialising MMC card                                                                        
[    3.559183] mmc0: Tuning timeout, falling back to fixed sampling clock                                                           
[    3.560100] mmc0: tuning execution failed: -110                                                                                  
[    3.560116] mmc0: error -110 whilst initialising MMC card                                                                        
[   18.973289] /dev/mmcblk0p1: Can't open blockdev&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Note: EVDD and OVDD are 1.8V (Verification was done with an oscilloscope)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I remove the "mmc-hs200-1_8v;" feature, the kernel successfully init emmc.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/sys/kernel/debug/mmc0# cat ios                                                                                         
clock:          52000000 Hz                                                                                                         
actual clock:   50000000 Hz                                                                                                         
vdd:            21 (3.3 ~ 3.4 V)                                                                                                    
bus mode:       2 (push-pull)                                                                                                       
chip select:    0 (don't care)                                                                                                      
power mode:     2 (on)                                                                                                              
bus width:      3 (8 bits)                                                                                                          
timing spec:    1 (mmc high-speed)                                                                                                  
signal voltage: 0 (3.30 V)                                                                                                          
driver type:    0 (driver type B)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any missing/faulty settings?&amp;nbsp;In my research on the forum, I saw parameters like "pinctrl-names", "pinctrl-0" "pinctrl-1" on the dts side. Do I need to add such parameters to dts? Because the error on the uboot side is related to pinctl? I couldn't see any example. I need your help on this issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 12:15:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2104470#M15792</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-26T12:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: ls1088ardb emmc HS200 mode error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2105470#M15797</link>
      <description>Dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245540"&gt;@zeroqruel&lt;/a&gt;,&lt;BR /&gt;please verify that you have added the next config in the RCW &lt;BR /&gt;SDHC1_DIR_PMUX=4&lt;BR /&gt;&lt;BR /&gt;and please set &lt;BR /&gt;bus-width = &amp;lt;4&amp;gt;; &lt;BR /&gt;	mmc-hs200-1_8v;&lt;BR /&gt;&lt;BR /&gt;remove the next line:&lt;BR /&gt;	clock-frequency = &amp;lt;200000000&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;let me know the results please</description>
      <pubDate>Tue, 27 May 2025 17:31:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2105470#M15797</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-05-27T17:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: ls1088ardb emmc HS200 mode error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2105852#M15799</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371" target="_self"&gt;&lt;SPAN class=""&gt;@LFGP&lt;/SPAN&gt;&lt;/A&gt;, thank you for reply.&lt;BR /&gt;&lt;BR /&gt;After adding the line SDHC1_DIR_PMUX=4 to the rcw file, I got an error during compilation&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; Building RCW ...
....
Error: Unknown bitfield SDHC1_DIR_PMUX&lt;/LI-CODE&gt;&lt;P&gt;I did not come across such a definition like "&lt;SPAN&gt;SDHC1_DIR_PMUX"&amp;nbsp;&lt;/SPAN&gt;among the RCW(0-1023) field names in the reference manual.&amp;nbsp;When I looked at the forum, I saw that this definition is generally valid for lx2xxx series processors.&amp;nbsp;I am using ls1088a-rdb processor, so I am getting error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 05:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2105852#M15799</guid>
      <dc:creator>zeroqruel</dc:creator>
      <dc:date>2025-05-28T05:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: ls1088ardb emmc HS200 mode error</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2108754#M15807</link>
      <description>dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245540"&gt;@zeroqruel&lt;/a&gt;,&lt;BR /&gt;change the property &lt;BR /&gt;sdhci,auto-cmd12;&lt;BR /&gt;for&lt;BR /&gt;sdhci,auto-cmd21;</description>
      <pubDate>Mon, 02 Jun 2025 15:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1088ardb-emmc-HS200-mode-error/m-p/2108754#M15807</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2025-06-02T15:44:53Z</dc:date>
    </item>
  </channel>
</rss>

