Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: exynos: Add pin configuration for SD write protect on Odroid XU3/XU4/HC1

Add SD card write-protect pin configuration to be sure that it will be
properly pulled down to indicate write access.

Suggested-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

authored by

Anand Moon and committed by
Krzysztof Kozlowski
6135ee70 4289c86c

+8 -1
+7
arch/arm/boot/dts/exynos5420-pinctrl.dtsi
··· 289 289 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 290 290 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>; 291 291 }; 292 + 293 + sd2_wp: sd2-wp { 294 + samsung,pins = "gpc4-0"; 295 + samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 296 + samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 297 + samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV4>; 298 + }; 292 299 }; 293 300 294 301 &pinctrl_2 {
+1 -1
arch/arm/boot/dts/exynos5422-odroid-core.dtsi
··· 499 499 samsung,dw-mshc-sdr-timing = <0 4>; 500 500 samsung,dw-mshc-ddr-timing = <0 2>; 501 501 pinctrl-names = "default"; 502 - pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; 502 + pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_wp &sd2_bus1 &sd2_bus4>; 503 503 bus-width = <4>; 504 504 cap-sd-highspeed; 505 505 max-frequency = <200000000>;