SD card device setting in LS1021a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SD card device setting in LS1021a

657 Views
szlin
Contributor I

TWR-LS1021A equips SD card; however, the esdhc function is disabled in 1021a.dtsi and there is no overwrite setting in ls1021a-twr.dts.

But the SD function works well in TWR board, could you clarify this point?

Labels (1)
0 Kudos
1 Reply

497 Views
Pavel
NXP Employee
NXP Employee

The LS1021a-twr.dts file contains the following:

                               esdhc@1560000 {

                                               compatible = "fsl,ls1021a-esdhc", "fsl,esdhc";

                                               reg = <0x0 0x1560000 0x0 0x10000>;

                                               interrupts = <0x0 0x5e 0x4>;

                                               clock-frequency = <0x0>;

                                               voltage-ranges = <0x708 0x708 0xce4 0xce4>;

                                               sdhci,auto-cmd12;

                                               big-endian;

                                               bus-width = <0x4>;

                                               rcpm-wakeup = <0x3 0x80 0x0>;

                                               status = "disabled";

                               };

 

“disabled” - Indicates that the device is not presently operational, but it might become operational in the future (for example, something is not plugged in, or switched off).

Refer to the device binding for details on what disabled means for a given device.

 

See the following document:

http://elinux.org/images/c/cf/Power_ePAPR_APPROVED_v1.1.pdf

 

It is correct status for SDHC since often SD card is not plugged in.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos