-
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.
mmc: sdhci-spear: add device tree bindings
This adds simple DT bindings for SDHCI SPEAr controller. It uses cd-gpios from common mmc bindings. This also fixes spear300-evb.dts with correct name for card detect binding. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
- Loading branch information
Viresh Kumar
authored and
Chris Ball
committed
Oct 7, 2012
1 parent
2abeb5c
commit 067bf74
Showing
4 changed files
with
77 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
* SPEAr SDHCI Controller | ||
|
||
This file documents differences between the core properties in mmc.txt | ||
and the properties used by the sdhci-spear driver. | ||
|
||
Required properties: | ||
- compatible: "st,spear300-sdhci" | ||
|
||
Optional properties: | ||
- cd-gpios: card detect gpio, with zero flags. | ||
|
||
If your board don't support these gpios then don't pass the entry. | ||
|
||
Example: | ||
|
||
sdhci@fc000000 { | ||
compatible = "st,spear300-sdhci"; | ||
reg = <0xfc000000 0x1000>; | ||
|
||
cd-gpios = <&gpio0 6 0> | ||
}; |
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
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 |
---|---|---|
|
@@ -103,8 +103,6 @@ | |
}; | ||
|
||
sdhci@70000000 { | ||
power-gpio = <&gpio0 2 1>; | ||
power_always_enb; | ||
status = "okay"; | ||
}; | ||
|
||
|
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