ARM: dts: add pinctrl for EC irq of exynos5250-snow
[cascardo/linux.git] / arch / arm / boot / dts / exynos5250-snow.dts
index 1ce1088..469c85d 100644 (file)
        };
 
        pinctrl@11400000 {
+               ec_irq: ec-irq {
+                       samsung,pins = "gpx1-6";
+                       samsung,pin-function = <0>;
+                       samsung,pin-pud = <0>;
+                       samsung,pin-drv = <0>;
+               };
+
                sd3_clk: sd3-clk {
                        samsung,pin-drv = <0>;
                };
                };
        };
 
+       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 +88,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>;
                                reg = <0x1e>;
                                interrupts = <6 0>;
                                interrupt-parent = <&gpx1>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&ec_irq>;
                                wakeup-source;
 
                                keyboard-controller {