Commit | Line | Data |
---|---|---|
abfafc2d SG |
1 | * Freescale Enhanced Secure Digital Host Controller (eSDHC) for i.MX |
2 | ||
3 | The Enhanced Secure Digital Host Controller on Freescale i.MX family | |
4 | provides an interface for MMC, SD, and SDIO types of memory cards. | |
5 | ||
6 | Required properties: | |
7 | - compatible : Should be "fsl,<chip>-esdhc" | |
8 | - reg : Should contain eSDHC registers location and length | |
9 | - interrupts : Should contain eSDHC interrupt | |
10 | ||
11 | Optional properties: | |
7f217794 | 12 | - non-removable : Indicate the card is wired to host permanently |
abfafc2d SG |
13 | - fsl,cd-internal : Indicate to use controller internal card detection |
14 | - fsl,wp-internal : Indicate to use controller internal write protection | |
15 | - cd-gpios : Specify GPIOs for card detection | |
16 | - wp-gpios : Specify GPIOs for write protection | |
17 | ||
18 | Examples: | |
19 | ||
20 | esdhc@70004000 { | |
21 | compatible = "fsl,imx51-esdhc"; | |
22 | reg = <0x70004000 0x4000>; | |
23 | interrupts = <1>; | |
24 | fsl,cd-internal; | |
25 | fsl,wp-internal; | |
26 | }; | |
27 | ||
28 | esdhc@70008000 { | |
29 | compatible = "fsl,imx51-esdhc"; | |
30 | reg = <0x70008000 0x4000>; | |
31 | interrupts = <2>; | |
06693fcd FE |
32 | cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */ |
33 | wp-gpios = <&gpio1 5 0>; /* GPIO1_5 */ | |
abfafc2d | 34 | }; |