Commit 11d1447e authored by Vincent Guittot's avatar Vincent Guittot Committed by Wei Xu

arm64: dts: hikey960: fix SDcard detection

The SDcard detection of hikey960 is active low so cd-inverted is wrong.
Instead of adding cd-inverted, we should better set correctly cd-gpios
to use GPIO_ACTIVE_LOW.
Signed-off-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 87988511
......@@ -581,8 +581,7 @@ &dwmmc1 {
sd-uhs-sdr50;
sd-uhs-sdr104;
disable-wp;
cd-inverted;
cd-gpios = <&gpio25 3 0>;
cd-gpios = <&gpio25 3 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&sd_pmx_func
&sd_clk_cfg_func
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment