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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -581,8 +581,7 @@
	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