This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: MMC pin settings

Expert 2990 points
Part Number: AM5728

Tool/software: Linux

HI:

Just now we visit the am5728's devicetree.

and found the mmc's devicetree is like below and we don't know how to change it

&mmc4 {
status = "okay";
pinctrl-names = "default-rev11", "hs-rev11";
pinctrl-0 = <&mmc4_pins_default &mmc4_iodelay_ds_rev11_conf>;;
pinctrl-1 = <&mmc4_pins_hs &mmc4_iodelay_sdr12_hs_sdr25_rev11_conf>;

}

We want to know :

1 the mmc4 driver is How to choose this parameter such as mmc4_pins_default and mmc4_pins_hs

2 what does this mean by "mmc4_iodelay_ds_rev11_conf"

mmc4_iodelay_ds_rev11_conf: mmc4_iodelay_ds_rev11_conf {
pinctrl-pin-array = <
0x840 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_IN */
0x848 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_CTSN_OUT */
0x84c A_DELAY_PS(96) G_DELAY_PS(0) /* CFG_UART1_RTSN_IN */
0x850 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OEN */
0x854 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART1_RTSN_OUT */
0x870 A_DELAY_PS(582) G_DELAY_PS(0) /* CFG_UART2_CTSN_IN */
0x874 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OEN */
0x878 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_CTSN_OUT */
0x87c A_DELAY_PS(391) G_DELAY_PS(0) /* CFG_UART2_RTSN_IN */
0x880 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OEN */
0x884 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RTSN_OUT */
0x888 A_DELAY_PS(561) G_DELAY_PS(0) /* CFG_UART2_RXD_IN */
0x88c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OEN */
0x890 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_RXD_OUT */
0x894 A_DELAY_PS(588) G_DELAY_PS(0) /* CFG_UART2_TXD_IN */
0x898 A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OEN */
0x89c A_DELAY_PS(0) G_DELAY_PS(0) /* CFG_UART2_TXD_OUT */
>;
};

Thanks

Best regards

xixi

  • The software team have been notified. They will respond here.
  • Hi,

    I/O delays are explained in Section 18.4.6.1.4 Clear to 0 if vddshv8 = 1.8V Set to 1 if vddshv8 = 3.3V IOSETs through section 18.4.6.1.8 IO Delay Recalibration in the device Technical reference manual. These sections should be read along with Section7.5 Virtual and Manual I/O Timing Modes and Section 7.23.1 MMC1—SD Card Interface in the device Data Manual.

    I strongly recommend calculating the IO delays using the Pinmux tool.

    Best Regards,
    Yordan