ARM: dts: exynos: Add initial gpio setting of MMC2 device for exynos3250-monk
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 31 Mar 2016 02:48:02 +0000 (11:48 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 1 Apr 2016 00:20:47 +0000 (09:20 +0900)
This patch adds initial pin configuration of MMC2 device on exynos3250-monk
board because the MMC2 gpio pin (gpk2[0-6]) are NC (not connected) state.

Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/boot/dts/exynos3250-monk.dts

index 9e2840b59ae8520582717eb85369780090de7416..267f81adb42fbc01e4361fc6ea9014bfa2bc5a9a 100644 (file)
 
 &pinctrl_1 {
        pinctrl-names = "default";
-       pinctrl-0 = <&sleep1>;
+       pinctrl-0 = <&initial1 &sleep1>;
+
+       initial1: initial-state {
+               PIN_IN(gpk2-0, DOWN, LV1);
+               PIN_IN(gpk2-1, DOWN, LV1);
+               PIN_IN(gpk2-2, DOWN, LV1);
+               PIN_IN(gpk2-3, DOWN, LV1);
+               PIN_IN(gpk2-4, DOWN, LV1);
+               PIN_IN(gpk2-5, DOWN, LV1);
+               PIN_IN(gpk2-6, DOWN, LV1);
+       };
 
        sleep1: sleep-state {
                PIN_SLP(gpe0-0, PREV, NONE);