blob: 62eceb4f0d3fa74fc0fe010e3f4ce5b494dc1738 [file] [log] [blame]
Doug Anderson95e82942012-11-21 13:32:21 +09001/*
2 * Common device tree include for all Exynos 5250 boards based off of Daisy.
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/ {
12 aliases {
13 };
14
15 memory {
16 reg = <0x40000000 0x80000000>;
17 };
18
19 chosen {
20 };
21
22 i2c@12C60000 {
23 samsung,i2c-sda-delay = <100>;
24 samsung,i2c-max-bus-freq = <378000>;
25 gpios = <&gpb3 0 2 3 0>,
26 <&gpb3 1 2 3 0>;
Abhilash Kesavanc8775332013-02-12 21:24:08 -080027
28 max77686@09 {
29 compatible = "maxim,max77686";
30 reg = <0x09>;
31
32 voltage-regulators {
33 ldo1_reg: LDO1 {
34 regulator-name = "P1.0V_LDO_OUT1";
35 regulator-min-microvolt = <1000000>;
36 regulator-max-microvolt = <1000000>;
37 regulator-always-on;
38 };
39
40 ldo2_reg: LDO2 {
41 regulator-name = "P1.8V_LDO_OUT2";
42 regulator-min-microvolt = <1800000>;
43 regulator-max-microvolt = <1800000>;
44 regulator-always-on;
45 };
46
47 ldo3_reg: LDO3 {
48 regulator-name = "P1.8V_LDO_OUT3";
49 regulator-min-microvolt = <1800000>;
50 regulator-max-microvolt = <1800000>;
51 regulator-always-on;
52 };
53
54 ldo7_reg: LDO7 {
55 regulator-name = "P1.1V_LDO_OUT7";
56 regulator-min-microvolt = <1100000>;
57 regulator-max-microvolt = <1100000>;
58 regulator-always-on;
59 };
60
61 ldo8_reg: LDO8 {
62 regulator-name = "P1.0V_LDO_OUT8";
63 regulator-min-microvolt = <1000000>;
64 regulator-max-microvolt = <1000000>;
65 regulator-always-on;
66 };
67
68 ldo10_reg: LDO10 {
69 regulator-name = "P1.8V_LDO_OUT10";
70 regulator-min-microvolt = <1800000>;
71 regulator-max-microvolt = <1800000>;
72 regulator-always-on;
73 };
74
75 ldo12_reg: LDO12 {
76 regulator-name = "P3.0V_LDO_OUT12";
77 regulator-min-microvolt = <3000000>;
78 regulator-max-microvolt = <3000000>;
79 regulator-always-on;
80 };
81
82 ldo14_reg: LDO14 {
83 regulator-name = "P1.8V_LDO_OUT14";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <1800000>;
86 regulator-always-on;
87 };
88
89 ldo15_reg: LDO15 {
90 regulator-name = "P1.0V_LDO_OUT15";
91 regulator-min-microvolt = <1000000>;
92 regulator-max-microvolt = <1000000>;
93 regulator-always-on;
94 };
95
96 ldo16_reg: LDO16 {
97 regulator-name = "P1.8V_LDO_OUT16";
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <1800000>;
100 regulator-always-on;
101 };
102
103 buck1_reg: BUCK1 {
104 regulator-name = "vdd_mif";
105 regulator-min-microvolt = <950000>;
106 regulator-max-microvolt = <1300000>;
107 regulator-always-on;
108 regulator-boot-on;
109 };
110
111 buck2_reg: BUCK2 {
112 regulator-name = "vdd_arm";
113 regulator-min-microvolt = <850000>;
114 regulator-max-microvolt = <1350000>;
115 regulator-always-on;
116 regulator-boot-on;
117 };
118
119 buck3_reg: BUCK3 {
120 regulator-name = "vdd_int";
121 regulator-min-microvolt = <900000>;
122 regulator-max-microvolt = <1200000>;
123 regulator-always-on;
124 regulator-boot-on;
125 };
126
127 buck4_reg: BUCK4 {
128 regulator-name = "vdd_g3d";
129 regulator-min-microvolt = <850000>;
130 regulator-max-microvolt = <1300000>;
131 regulator-always-on;
132 regulator-boot-on;
133 };
134
135 buck5_reg: BUCK5 {
136 regulator-name = "P1.8V_BUCK_OUT5";
137 regulator-min-microvolt = <1800000>;
138 regulator-max-microvolt = <1800000>;
139 regulator-always-on;
140 regulator-boot-on;
141 };
142
143 buck6_reg: BUCK6 {
144 regulator-name = "P1.35V_BUCK_OUT6";
145 regulator-min-microvolt = <1350000>;
146 regulator-max-microvolt = <1350000>;
147 regulator-always-on;
148 };
149
150 buck7_reg: BUCK7 {
151 regulator-name = "P2.0V_BUCK_OUT7";
152 regulator-min-microvolt = <2000000>;
153 regulator-max-microvolt = <2000000>;
154 regulator-always-on;
155 };
156
157 buck8_reg: BUCK8 {
158 regulator-name = "P2.85V_BUCK_OUT8";
159 regulator-min-microvolt = <2850000>;
160 regulator-max-microvolt = <2850000>;
161 regulator-always-on;
162 };
163 };
164 };
Doug Anderson95e82942012-11-21 13:32:21 +0900165 };
166
167 i2c@12C70000 {
168 samsung,i2c-sda-delay = <100>;
169 samsung,i2c-max-bus-freq = <378000>;
170 gpios = <&gpb3 2 2 3 0>,
171 <&gpb3 3 2 3 0>;
172 };
173
174 i2c@12C80000 {
175 samsung,i2c-sda-delay = <100>;
176 samsung,i2c-max-bus-freq = <66000>;
177
178 /*
179 * Disabled pullups since external part has its own pullups and
180 * double-pulling gets us out of spec in some cases.
181 */
182 gpios = <&gpa0 6 3 0 0>,
183 <&gpa0 7 3 0 0>;
184
185 hdmiddc@50 {
186 compatible = "samsung,exynos5-hdmiddc";
187 reg = <0x50>;
188 };
189 };
190
191 i2c@12C90000 {
192 samsung,i2c-sda-delay = <100>;
193 samsung,i2c-max-bus-freq = <66000>;
194 gpios = <&gpa1 2 3 3 0>,
195 <&gpa1 3 3 3 0>;
196 };
197
198 i2c@12CA0000 {
199 status = "disabled";
200 };
201
202 i2c@12CB0000 {
203 samsung,i2c-sda-delay = <100>;
204 samsung,i2c-max-bus-freq = <66000>;
205 gpios = <&gpa2 2 3 3 0>,
206 <&gpa2 3 3 3 0>;
207 };
208
209 i2c@12CC0000 {
210 status = "disabled";
211 };
212
213 i2c@12CD0000 {
214 samsung,i2c-sda-delay = <100>;
215 samsung,i2c-max-bus-freq = <66000>;
216 gpios = <&gpb2 2 3 3 0>,
217 <&gpb2 3 3 3 0>;
218 };
219
220 i2c@12CE0000 {
221 samsung,i2c-sda-delay = <100>;
222 samsung,i2c-max-bus-freq = <378000>;
223
224 hdmiphy@38 {
225 compatible = "samsung,exynos5-hdmiphy";
226 reg = <0x38>;
227 };
228 };
229
230 dwmmc0@12200000 {
231 num-slots = <1>;
232 supports-highspeed;
233 broken-cd;
234 fifo-depth = <0x80>;
235 card-detect-delay = <200>;
236 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800237 samsung,dw-mshc-sdr-timing = <2 3>;
238 samsung,dw-mshc-ddr-timing = <1 2>;
Doug Anderson95e82942012-11-21 13:32:21 +0900239
240 slot@0 {
241 reg = <0>;
242 bus-width = <8>;
243 gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>,
244 <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>,
245 <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>,
246 <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>,
247 <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>;
248 };
249 };
250
251 dwmmc1@12210000 {
252 status = "disabled";
253 };
254
255 dwmmc2@12220000 {
256 num-slots = <1>;
257 supports-highspeed;
258 fifo-depth = <0x80>;
259 card-detect-delay = <200>;
260 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800261 samsung,dw-mshc-sdr-timing = <2 3>;
262 samsung,dw-mshc-ddr-timing = <1 2>;
Doug Anderson95e82942012-11-21 13:32:21 +0900263
264 slot@0 {
265 reg = <0>;
266 bus-width = <4>;
267 samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>;
268 wp-gpios = <&gpc2 1 0 0 3>;
269 gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>,
270 <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>,
271 <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>;
272 };
273 };
274
275 dwmmc3@12230000 {
276 num-slots = <1>;
277 supports-highspeed;
278 broken-cd;
279 fifo-depth = <0x80>;
280 card-detect-delay = <200>;
281 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800282 samsung,dw-mshc-sdr-timing = <2 3>;
283 samsung,dw-mshc-ddr-timing = <1 2>;
Doug Anderson95e82942012-11-21 13:32:21 +0900284
285 slot@0 {
286 reg = <0>;
287 bus-width = <4>;
288 /* See board-specific dts files for GPIOs */
289 };
290 };
291
292 spi_0: spi@12d20000 {
293 status = "disabled";
294 };
295
296 spi_1: spi@12d30000 {
297 gpios = <&gpa2 4 2 3 0>,
298 <&gpa2 6 2 3 0>,
299 <&gpa2 7 2 3 0>;
300 samsung,spi-src-clk = <0>;
301 num-cs = <1>;
302 };
303
304 spi_2: spi@12d40000 {
305 status = "disabled";
306 };
307
308 hdmi {
309 hpd-gpio = <&gpx3 7 0xf 1 3>;
310 };
311
312 gpio-keys {
313 compatible = "gpio-keys";
314
315 power {
316 label = "Power";
317 gpios = <&gpx1 3 0 0x10000 0>;
318 linux,code = <116>; /* KEY_POWER */
319 gpio-key,wakeup;
320 };
321 };
322};