Hi I am working on AM437x-GP_EVM board,
I need to boot from emmc but emmc is not detecting on the board.
I gone through the Schematic and Ti form , from this I understood that based on SEL_eMMCORNANDn(spi2_cs0.gpio) pin selection(PULLDOWN/PULLUP) NAND/emmc will select, and by default it is PULLDOWN state in am437x-gp-evm.dts
So I am trying to enable the emmc by below code
&mmc2 {
status = "okay"; // by defulat it is not there , added to enable the emmc //
vmmc-supply = <&vmmcsd_fixed>;
bus-width = <8>;
ti,non-removable;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
};
emmc_pins: pinmux_emmc_pins {
pinctrl-single,pins = <
0x26C (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_cs0.gpio/eMMCorNANDsel */ // added this line//
0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
0x0c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad3.mmc1_dat3 */
0x10 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad4.mmc1_dat4 */
0x14 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad5.mmc1_dat5 */
0x18 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad6.mmc1_dat6 */
0x1c (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad7.mmc1_dat7 */
>;
};
and disabled the nand pin mux.
but still emmc not detecting.
So can you please tell me the procedure what I need to follow. or anything I am missing.
Thanks & regards
Aravind