2 * Google Snow board device tree source
4 * Copyright (c) 2012 Google, Inc
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 #include "exynos5250.dtsi"
13 #include "exynos5250-cros-common.dtsi"
16 model = "Google Snow";
17 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
29 samsung,pins = "gpx1-6";
30 samsung,pin-function = <0>;
31 samsung,pin-pud = <0>;
32 samsung,pin-drv = <0>;
36 samsung,pin-drv = <0>;
40 samsung,pin-pud = <3>;
41 samsung,pin-drv = <0>;
44 sd3_bus4: sd3-bus-width4 {
45 samsung,pin-drv = <0>;
50 arb_their_claim: arb-their-claim {
51 samsung,pins = "gpe0-4";
52 samsung,pin-function = <0>;
53 samsung,pin-pud = <3>;
54 samsung,pin-drv = <0>;
57 arb_our_claim: arb-our-claim {
58 samsung,pins = "gpf0-3";
59 samsung,pin-function = <1>;
60 samsung,pin-pud = <0>;
61 samsung,pin-drv = <0>;
66 compatible = "gpio-keys";
71 linux,input-type = <5>; /* EV_SW */
72 linux,code = <0>; /* SW_LID */
73 debounce-interval = <1>;
79 compatible = "i2c-arb-gpio-challenge";
83 i2c-parent = <&{/i2c@12CA0000}>;
85 our-claim-gpio = <&gpf0 3 1>;
86 their-claim-gpios = <&gpe0 4 1>;
88 wait-retry-us = <3000>;
89 wait-free-us = <50000>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
94 /* Use ID 104 as a hint that we're on physical bus 4 */
100 battery: sbs-battery@b {
101 compatible = "sbs,sbs-battery";
103 sbs,poll-retry-count = <1>;
106 ec: embedded-controller {
107 compatible = "google,cros-ec-i2c";
110 interrupt-parent = <&gpx1>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&ec_irq>;
115 keyboard-controller {
116 compatible = "google,cros-ec-keyb";
117 keypad,num-rows = <8>;
118 keypad,num-columns = <13>;
119 google,needs-ghost-filter;
120 linux,keymap = <0x0001007d /* L_META */
126 0x000a0064 /* R_ALT */
135 0x010b000e /* BKSPACE */
137 0x0200001d /* L_CTRL */
144 0x02070056 /* 102ND */
148 0x03010029 /* GRAVE */
156 0x04000061 /* R_CTRL */
166 0x040b001c /* ENTER */
174 0x0507002a /* L_SHIFT */
177 0x050B0039 /* SPACE */
187 0x060a0038 /* L_ALT */
188 0x060b006c /* DOWN */
189 0x060c006a /* RIGHT */
197 0x07070036 /* R_SHIFT */
201 0x070c0069>; /* LEFT */
216 * On Snow we've got SIP WiFi and so can keep drive strengths low to
222 pinctrl-names = "default";
223 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
228 samsung,vbus-gpio = <&gpx1 1 0>;
233 compatible = "samsung,clock-xxti";
234 clock-frequency = <24000000>;