Shawn Guo | abfafc2 | 2011-06-30 15:44:44 +0800 | [diff] [blame] | 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: |
| 12 | - fsl,card-wired : Indicate the card is wired to host permanently |
| 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>; |
| 32 | cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */ |
| 33 | wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */ |
| 34 | }; |