Tool/software:
Hi, Dear Expert
I try to debug some eMMC issues, and try to slow down eMMC speed.
related thread as below.
May I know how to modify DTS in u-boot/linux?
If "legacy mode only", does this code correct?
sdhci0: mmc@fa10000 { compatible = "ti,am62-sdhci"; reg = <0x00 0x0fa10000 0x00 0x1000>, <0x00 0x0fa18000 0x00 0x400>; interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>; clocks = <&k3_clks 57 5>, <&k3_clks 57 6>; clock-names = "clk_ahb", "clk_xin"; assigned-clocks = <&k3_clks 57 6>; assigned-clock-parents = <&k3_clks 57 8>; bus-width = <8>; /* mmc-ddr-1_8v; */ /* mmc-hs200-1_8v; */ ti,clkbuf-sel = <0x7>; ti,otap-del-sel-legacy = <0x0>; /delete-property/ ti,otap-del-sel-mmc-hs = <0x0>; /delete-property/ti,otap-del-sel-ddr52 = <0x5>; /delete-property/ ti,otap-del-sel-hs200 = <0x5>; ti,itap-del-sel-legacy = <0xa>; /delete-property/ ti,itap-del-sel-mmc-hs = <0x1>; status = "ok"; };
If "ddr52 mode only", does this code correct?
we still remain legacy speed mode, isn't?
sdhci0: mmc@fa10000 {
compatible = "ti,am62-sdhci";
reg = <0x00 0x0fa10000 0x00 0x1000>, <0x00 0x0fa18000 0x00 0x400>;
interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 57 5>, <&k3_clks 57 6>;
clock-names = "clk_ahb", "clk_xin";
assigned-clocks = <&k3_clks 57 6>;
assigned-clock-parents = <&k3_clks 57 8>;
bus-width = <8>;
/* mmc-ddr-1_8v; */
/* mmc-hs200-1_8v; */
ti,clkbuf-sel = <0x7>;
ti,otap-del-sel-legacy = <0x0>;
/delete-property/ ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-ddr52 = <0x5>;
/delete-property/ ti,otap-del-sel-hs200 = <0x5>;
ti,itap-del-sel-legacy = <0xa>;
/delete-property/ ti,itap-del-sel-mmc-hs = <0x1>;
status = "ok";
};
If boot success, how do I check eMMC working mode?
Thank You Very Much
Gibbs