Other Parts Discussed in Thread: AM625, SK-AM62
Hi TI Team,
We are going to use AM625 SoC in our custom device, ti-processor-sdk-linux-am62xx-evm-09.00.00.03 as SDK.
We modified k3-am625-sk.dts with reference to mmc1 and used the mmc2 ports to connect to sdmmc, but a problem occurred that no card present.
=> mmc list
mmc@fa20000: 2
=> mmc dev 2
MMC: no card present
Specifically k3-am625-sk.dts is modified as follows
aliases {
+ mmc2 = &sdhci2;
}
vdd_mmc2: regulator-3 {
compatible = "regulator-fixed";
regulator-name = "vdd_mmc2";
pinctrl-names = "default";
pinctrl-0 = <&sd_en_pins_default>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
enable-active-high;
vin-supply = <&vcc_3v3_sys>;
gpio = <&main_gpio0 63 GPIO_ACTIVE_LOW>;
};
sd_en_pins_default:sd-en-default-pins {
pinctrl-single,pins = <
AM62X_IOPAD(0x0100, PIN_OUTPUT, 7) /* (AC25) VOUT0_VSYNC.GPIO0_63 */
>;
};
mymmc21_pins_default: mymmc21-default-pins {
pinctrl-single,pins = <
AM62X_IOPAD(0x0120, PIN_INPUT_PULLUP, 0) /* (C24) MMC2_CMD */
AM62X_IOPAD(0x0118, PIN_OUTPUT_PULLUP, 0) /* (D25) MMC2_CLK */
AM62X_IOPAD(0x011C, PIN_INPUT, 0) /* () MMC2_CLKLB */
AM62X_IOPAD(0x0114, PIN_INPUT_PULLUP, 0) /* (B24) MMC2_DAT0 */
AM62X_IOPAD(0x0110, PIN_INPUT_PULLUP, 0) /* (C25) MMC2_DAT1 */
AM62X_IOPAD(0x010c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */
AM62X_IOPAD(0x0108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */
>;
};
&sdhci2 {
status = "okay";
vmmc-supply = <&vdd_mmc2>;
pinctrl-names = "default";
pinctrl-0 = <&mymmc21_pins_default>;
ti,driver-strength-ohm = <50>;
disable-wp;
};
Related Schematic Diagrams as follows,(Q605)RE1C002ZPMGTL is P-channel mosfet.
Whether or not these changes are wrong,or continue to change the devicetree and deconfig?
Thanks in advance.