summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2018-07-21 14:50:53 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2018-07-23 19:12:01 +0200
commit965228d33cd2b47adb493bb1864761420c632e41 (patch)
tree6a2b2864f4b9f76d926997680855160bf386399c /arch/arm
parentARM: dts: exynos: Configure max77686 IRQ pin on Midas (diff)
downloadlinux-965228d33cd2b47adb493bb1864761420c632e41.tar.xz
linux-965228d33cd2b47adb493bb1864761420c632e41.zip
ARM: dts: exynos: Configure Midas SD card CD pin
This pin is externally pulled up, so we need to disable the SoC's internal pull down resistor to allow it to function properly. Signed-off-by: Simon Shields <simon@lineageos.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/exynos4412-midas.dtsi7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi
index dd56e4d53145..c0476c290977 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -1035,6 +1035,11 @@
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
};
+ sdhci2_cd: sdhci2-cd-irq {
+ samsung,pins = "gpx3-4";
+ samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
+ };
+
hdmi_hpd: hdmi-hpd {
samsung,pins = "gpx3-7";
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
@@ -1266,7 +1271,7 @@
bus-width = <4>;
cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
cd-inverted;
- pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
+ pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
pinctrl-names = "default";
vmmc-supply = <&ldo21_reg>;
status = "okay";