Enable EMMC3 Interface On Beagle Board x15

51 views
Skip to first unread message

johnson...@gmail.com

unread,
Aug 8, 2018, 11:35:42 PM8/8/18
to beagleboard-x15
Dear All engineers,

How can I enable MMC3 interface ON AM5728?

Linux Kernerl:Linux arm 4.9.69-ti-rt-r85

I add the following content in the device tree,But MMC3 still fails to mount the device, and need to modify the kernel?

//add the am57xx-beagle-x15-revc.dts
&mmc3 {
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
pinctrl-0 = <&mmc3_pins_default>;
pinctrl-1 = <&mmc3_pins_hs>;
pinctrl-2 = <&mmc3_pins_sdr12>;
pinctrl-3 = <&mmc3_pins_sdr25>;
pinctrl-4 = <&mmc3_pins_sdr50>;

max-frequency = <48000000>;
vmmc-supply = <&vdd_3v3>;
};
*****************************************************************
//add the am57xx-beagle-x15-common.dtsi
&mmc3 {
status = "okay";

max-frequency = <48000000>;
pinctrl-names = "default";
pinctrl-0 = <&mmc3_pins_ds>;

bus-width = <4>;
vmmc-supply = <&vdd_3v3>;
};
&dra7_pmx_core {
mmc3_pins_default: mmc3_pins_default {
pinctrl-single,pins = <
DRA7XX_CORE_IOPAD(0x377c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_clk.mmc3_clk */
DRA7XX_CORE_IOPAD(0x3780, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_cmd.mmc3_cmd */
DRA7XX_CORE_IOPAD(0x3784, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat0.mmc3_dat0 */
DRA7XX_CORE_IOPAD(0x3788, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat1.mmc3_dat1 */
DRA7XX_CORE_IOPAD(0x378c, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat2.mmc3_dat2 */
DRA7XX_CORE_IOPAD(0x3790, (PIN_INPUT_PULLUP | MUX_MODE0)) /* mmc3_dat3.mmc3_dat3 */
>;
};
};
Reply all
Reply to author
Forward
0 new messages