summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2017-12-22 21:57:38 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-02-14 13:18:59 +0100
commitb75cb68d83fd55584b96380a2274de59bb1e6406 (patch)
tree168718164d60bf27911a1177269032d3081d88d9 /arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
parentarm64: dts: allwinner: a64: Add DAI nodes (diff)
downloadlinux-b75cb68d83fd55584b96380a2274de59bb1e6406.tar.xz
linux-b75cb68d83fd55584b96380a2274de59bb1e6406.zip
arm64: dts: sunxi: Switch MMC nodes away from cd-inverted property
Using the cd-inverted property is not useful when GPIOs are used as card detects since the polarity can be specified with the usual GPIO_ACTIVE_(HIGH|LOW) GPIO flags. It has also caused confusion for U-Boot developers, so migrate all sunxi boards away from cd-inverted. Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
index 8807664f363a..3b3081b10ecb 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts
@@ -68,8 +68,7 @@
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
vmmc-supply = <&reg_dcdc1>;
- cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
- cd-inverted;
+ cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
disable-wp;
bus-width = <4>;
status = "okay";