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,pin-drv = <0>;
33 samsung,pin-pud = <3>;
34 samsung,pin-drv = <0>;
37 sd3_bus4: sd3-bus-width4 {
38 samsung,pin-drv = <0>;
43 arb_their_claim: arb-their-claim {
44 samsung,pins = "gpe0-4";
45 samsung,pin-function = <0>;
46 samsung,pin-pud = <3>;
47 samsung,pin-drv = <0>;
50 arb_our_claim: arb-our-claim {
51 samsung,pins = "gpf0-3";
52 samsung,pin-function = <1>;
53 samsung,pin-pud = <0>;
54 samsung,pin-drv = <0>;
59 compatible = "gpio-keys";
64 linux,input-type = <5>; /* EV_SW */
65 linux,code = <0>; /* SW_LID */
66 debounce-interval = <1>;
72 compatible = "i2c-arb-gpio-challenge";
76 i2c-parent = <&{/i2c@12CA0000}>;
78 our-claim-gpio = <&gpf0 3 1>;
79 their-claim-gpios = <&gpe0 4 1>;
81 wait-retry-us = <3000>;
82 wait-free-us = <50000>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
87 /* Use ID 104 as a hint that we're on physical bus 4 */
93 battery: sbs-battery@b {
94 compatible = "sbs,sbs-battery";
96 sbs,poll-retry-count = <1>;
99 ec: embedded-controller {
100 compatible = "google,cros-ec-i2c";
103 interrupt-parent = <&gpx1>;
106 keyboard-controller {
107 compatible = "google,cros-ec-keyb";
108 keypad,num-rows = <8>;
109 keypad,num-columns = <13>;
110 google,needs-ghost-filter;
111 linux,keymap = <0x0001007d /* L_META */
117 0x000a0064 /* R_ALT */
126 0x010b000e /* BKSPACE */
128 0x0200001d /* L_CTRL */
135 0x02070056 /* 102ND */
139 0x03010029 /* GRAVE */
147 0x04000061 /* R_CTRL */
157 0x040b001c /* ENTER */
165 0x0507002a /* L_SHIFT */
168 0x050B0039 /* SPACE */
178 0x060a0038 /* L_ALT */
179 0x060b006c /* DOWN */
180 0x060c006a /* RIGHT */
188 0x07070036 /* R_SHIFT */
192 0x070c0069>; /* LEFT */
207 * On Snow we've got SIP WiFi and so can keep drive strengths low to
213 pinctrl-names = "default";
214 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
219 samsung,vbus-gpio = <&gpx1 1 0>;
224 compatible = "samsung,clock-xxti";
225 clock-frequency = <24000000>;