Arnd Bergmann | 7f21779 | 2012-05-13 00:14:24 -0400 | [diff] [blame^] | 1 | These properties are common to multiple MMC host controllers. Any host |
| 2 | that requires the respective functionality should implement them using |
| 3 | these definitions. |
| 4 | |
| 5 | Required properties: |
| 6 | - bus-width: Number of data lines, can be <1>, <4>, or <8> |
| 7 | |
| 8 | Optional properties: |
| 9 | - cd-gpios : Specify GPIOs for card detection, see gpio binding |
| 10 | - wp-gpios : Specify GPIOs for write protection, see gpio binding |
| 11 | - cd-inverted: when present, polarity on the wp gpio line is inverted |
| 12 | - wp-inverted: when present, polarity on the wp gpio line is inverted |
| 13 | - non-removable: non-removable slot (like eMMC) |
| 14 | - max-frequency: maximum operating clock frequency |
| 15 | |
| 16 | Example: |
| 17 | |
| 18 | sdhci@ab000000 { |
| 19 | compatible = "sdhci"; |
| 20 | reg = <0xab000000 0x200>; |
| 21 | interrupts = <23>; |
| 22 | bus-width = <4>; |
| 23 | cd-gpios = <&gpio 69 0>; |
| 24 | cd-inverted; |
| 25 | wp-gpios = <&gpio 70 0>; |
| 26 | max-frequency = <50000000>; |
| 27 | } |