aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBintian Wang <bintian.wang@huawei.com>2015-01-20 15:37:09 +0800
committerFei Wang <w.f@huawei.com>2015-02-06 12:57:37 +0800
commitc9d1e2bce99427919c34a7f95ef832ab4d93b6c2 (patch)
treea0f59dee4cb24e603ca6c335954cb97df9335b86
parent54137c8137e96d3a256edf31a5a960ae65979e2f (diff)
hikey: configure the sd card detect method
Configure the gpio for microSD card detecting, and disable the write protect for microSD. Signed-off-by: Bintian Wang <bintian.wang@huawei.com>
-rw-r--r--arch/arm64/boot/dts/hi6220-hikey.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/hi6220-hikey.dts b/arch/arm64/boot/dts/hi6220-hikey.dts
index 43dac426356b..39b34f308e3e 100644
--- a/arch/arm64/boot/dts/hi6220-hikey.dts
+++ b/arch/arm64/boot/dts/hi6220-hikey.dts
@@ -90,8 +90,8 @@
};
dwmmc_1: dwmmc1@f723e000 {
- cd-vol = <0x0>;
- cd-gpios = <&gpio_sd_det>;
+ disable-wp;
+ cd-gpios = <&gpio1 0 1>;
pinctrl-names = "default", "idle";
pinctrl-0 = <&SD_CLK_pmx_func
&SD_CLK_cfg_func