-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 332792 b: refs/heads/master c: e919fd2 h: refs/heads/master v: v3
- Loading branch information
Ludovic Desroches
authored and
Chris Ball
committed
Sep 4, 2012
1 parent
1ef9b84
commit 859e00c
Showing
3 changed files
with
152 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 77dcb3f4c344d4c9619803848f1aba4d271dac7b | ||
refs/heads/master: e919fd200033e80b26f152d22c00a8fae7f8d548 |
68 changes: 68 additions & 0 deletions
68
trunk/Documentation/devicetree/bindings/mmc/atmel-hsmci.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
* Atmel High Speed MultiMedia Card Interface | ||
|
||
This controller on atmel products provides an interface for MMC, SD and SDIO | ||
types of memory cards. | ||
|
||
This file documents differences between the core properties described | ||
by mmc.txt and the properties used by the atmel-mci driver. | ||
|
||
1) MCI node | ||
|
||
Required properties: | ||
- compatible: should be "atmel,hsmci" | ||
- #address-cells: should be one. The cell is the slot id. | ||
- #size-cells: should be zero. | ||
- at least one slot node | ||
|
||
The node contains child nodes for each slot that the platform uses | ||
|
||
Example MCI node: | ||
|
||
mmc0: mmc@f0008000 { | ||
compatible = "atmel,hsmci"; | ||
reg = <0xf0008000 0x600>; | ||
interrupts = <12 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
[ child node definitions...] | ||
}; | ||
|
||
2) slot nodes | ||
|
||
Required properties: | ||
- reg: should contain the slot id. | ||
- bus-width: number of data lines connected to the controller | ||
|
||
Optional properties: | ||
- cd-gpios: specify GPIOs for card detection | ||
- cd-inverted: invert the value of external card detect gpio line | ||
- wp-gpios: specify GPIOs for write protection | ||
|
||
Example slot node: | ||
|
||
slot@0 { | ||
reg = <0>; | ||
bus-width = <4>; | ||
cd-gpios = <&pioD 15 0> | ||
cd-inverted; | ||
}; | ||
|
||
Example full MCI node: | ||
mmc0: mmc@f0008000 { | ||
compatible = "atmel,hsmci"; | ||
reg = <0xf0008000 0x600>; | ||
interrupts = <12 4>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
slot@0 { | ||
reg = <0>; | ||
bus-width = <4>; | ||
cd-gpios = <&pioD 15 0> | ||
cd-inverted; | ||
}; | ||
slot@1 { | ||
reg = <1>; | ||
bus-width = <4>; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters