]> git.ipfire.org Git - people/arne_f/kernel.git/blame - arch/arm/boot/dts/exynos5250-snow.dts
sun7i: dts: add bananapro.
[people/arne_f/kernel.git] / arch / arm / boot / dts / exynos5250-snow.dts
CommitLineData
95e82941
DA
1/*
2 * Google Snow board device tree source
3 *
4 * Copyright (c) 2012 Google, Inc
5 *
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.
9*/
10
11/dts-v1/;
3799279f 12#include "exynos5250.dtsi"
a22d060e 13#include "exynos5250-cros-common.dtsi"
95e82941
DA
14
15/ {
16 model = "Google Snow";
17 compatible = "google,snow", "samsung,exynos5250";
18
97a4a1ba
DA
19 aliases {
20 i2c104 = &i2c_104;
21 };
22
f8bfe2b0
TA
23 pinctrl@11400000 {
24 sd3_clk: sd3-clk {
25 samsung,pin-drv = <0>;
26 };
27
28 sd3_cmd: sd3-cmd {
29 samsung,pin-pud = <3>;
30 samsung,pin-drv = <0>;
31 };
32
33 sd3_bus4: sd3-bus-width4 {
34 samsung,pin-drv = <0>;
35 };
36 };
37
95e82941
DA
38 gpio-keys {
39 compatible = "gpio-keys";
40
41 lid-switch {
42 label = "Lid";
f8bfe2b0 43 gpios = <&gpx3 5 1>;
95e82941
DA
44 linux,input-type = <5>; /* EV_SW */
45 linux,code = <0>; /* SW_LID */
46 debounce-interval = <1>;
47 gpio-key,wakeup;
48 };
49 };
50
97a4a1ba
DA
51 i2c-arbitrator {
52 compatible = "i2c-arb-gpio-challenge";
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 i2c-parent = <&{/i2c@12CA0000}>;
57
58 our-claim-gpio = <&gpf0 3 1>;
59 their-claim-gpios = <&gpe0 4 1>;
60 slew-delay-us = <10>;
61 wait-retry-us = <3000>;
62 wait-free-us = <50000>;
63
64 /* Use ID 104 as a hint that we're on physical bus 4 */
65 i2c_104: i2c@0 {
66 reg = <0>;
67 #address-cells = <1>;
68 #size-cells = <0>;
61d4f052
DA
69
70 battery: sbs-battery@b {
71 compatible = "sbs,sbs-battery";
72 reg = <0xb>;
73 sbs,poll-retry-count = <1>;
74 };
a4591dcf
OJ
75
76 ec: embedded-controller {
77 compatible = "google,cros-ec-i2c";
78 reg = <0x1e>;
79 interrupts = <6 0>;
80 interrupt-parent = <&gpx1>;
81 wakeup-source;
82
83 keyboard-controller {
84 compatible = "google,cros-ec-keyb";
85 keypad,num-rows = <8>;
86 keypad,num-columns = <13>;
87 google,needs-ghost-filter;
a98e3190 88 linux,keymap = <0x0001007d /* L_META */
a4591dcf
OJ
89 0x0002003b /* F1 */
90 0x00030030 /* B */
91 0x00040044 /* F10 */
92 0x00060031 /* N */
93 0x0008000d /* = */
94 0x000a0064 /* R_ALT */
95
96 0x01010001 /* ESC */
97 0x0102003e /* F4 */
98 0x01030022 /* G */
99 0x01040041 /* F7 */
100 0x01060023 /* H */
101 0x01080028 /* ' */
102 0x01090043 /* F9 */
103 0x010b000e /* BKSPACE */
104
105 0x0200001d /* L_CTRL */
106 0x0201000f /* TAB */
107 0x0202003d /* F3 */
108 0x02030014 /* T */
109 0x02040040 /* F6 */
110 0x0205001b /* ] */
111 0x02060015 /* Y */
112 0x02070056 /* 102ND */
113 0x0208001a /* [ */
114 0x02090042 /* F8 */
115
116 0x03010029 /* GRAVE */
117 0x0302003c /* F2 */
118 0x03030006 /* 5 */
119 0x0304003f /* F5 */
120 0x03060007 /* 6 */
121 0x0308000c /* - */
122 0x030b002b /* \ */
123
124 0x04000061 /* R_CTRL */
125 0x0401001e /* A */
126 0x04020020 /* D */
127 0x04030021 /* F */
128 0x0404001f /* S */
129 0x04050025 /* K */
130 0x04060024 /* J */
131 0x04080027 /* ; */
132 0x04090026 /* L */
c63965b3 133 0x040a002b /* \ */
a4591dcf
OJ
134 0x040b001c /* ENTER */
135
136 0x0501002c /* Z */
137 0x0502002e /* C */
138 0x0503002f /* V */
139 0x0504002d /* X */
140 0x05050033 /* , */
141 0x05060032 /* M */
142 0x0507002a /* L_SHIFT */
143 0x05080035 /* / */
144 0x05090034 /* . */
145 0x050B0039 /* SPACE */
146
147 0x06010002 /* 1 */
148 0x06020004 /* 3 */
149 0x06030005 /* 4 */
150 0x06040003 /* 2 */
151 0x06050009 /* 8 */
152 0x06060008 /* 7 */
153 0x0608000b /* 0 */
154 0x0609000a /* 9 */
155 0x060a0038 /* L_ALT */
156 0x060b006c /* DOWN */
157 0x060c006a /* RIGHT */
158
159 0x07010010 /* Q */
160 0x07020012 /* E */
161 0x07030013 /* R */
162 0x07040011 /* W */
163 0x07050017 /* I */
164 0x07060016 /* U */
165 0x07070036 /* R_SHIFT */
166 0x07080019 /* P */
167 0x07090018 /* O */
168 0x070b0067 /* UP */
169 0x070c0069>; /* LEFT */
170 };
171 };
97a4a1ba
DA
172 };
173 };
174
e8dd3ee3
YK
175 mmc@12200000 {
176 status = "okay";
177 };
178
179 mmc@12220000 {
180 status = "okay";
181 };
182
95e82941
DA
183 /*
184 * On Snow we've got SIP WiFi and so can keep drive strengths low to
185 * reduce EMI.
186 */
c8149df0 187 mmc@12230000 {
e8dd3ee3 188 status = "okay";
95e82941 189 slot@0 {
f8bfe2b0
TA
190 pinctrl-names = "default";
191 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
95e82941
DA
192 };
193 };
13cbd1e3
VG
194
195 usb@12110000 {
c58c1a4c 196 samsung,vbus-gpio = <&gpx1 1 0>;
13cbd1e3 197 };
8b6076d4
TA
198
199 fixed-rate-clocks {
200 xxti {
201 compatible = "samsung,clock-xxti";
202 clock-frequency = <24000000>;
203 };
204 };
95e82941 205};