ARM: dts: add pinctrl for i2c-arbitrator of exynos5250-snow
authorDoug Anderson <dianders@chromium.org>
Thu, 15 May 2014 20:16:07 +0000 (05:16 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 15 May 2014 20:16:07 +0000 (05:16 +0900)
Added i2c-arbitrator pinctrl node to Snow board.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-snow.dts

index 1ce1088a00fb5828e168888fcc0bab677cb1844f..32715b3489adf545e8d71fe085100d6e82ac2535 100644 (file)
                };
        };
 
+       pinctrl@13400000 {
+               arb_their_claim: arb-their-claim {
+                       samsung,pins = "gpe0-4";
+                       samsung,pin-function = <0>;
+                       samsung,pin-pud = <3>;
+                       samsung,pin-drv = <0>;
+               };
+
+               arb_our_claim: arb-our-claim {
+                       samsung,pins = "gpf0-3";
+                       samsung,pin-function = <1>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+       };
+
        gpio-keys {
                compatible = "gpio-keys";
 
@@ -65,6 +81,9 @@
                wait-retry-us = <3000>;
                wait-free-us = <50000>;
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&arb_our_claim &arb_their_claim>;
+
                /* Use ID 104 as a hint that we're on physical bus 4 */
                i2c_104: i2c@0 {
                        reg = <0>;