]>
Commit | Line | Data |
---|---|---|
0682edaa OJ |
1 | /* |
2 | * Samsung's Exynos4210 based Universal C210 board device tree source | |
3 | * | |
4 | * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * Device tree source file for Samsung's Universal C210 board which is based on | |
8 | * Samsung's Exynos4210 rev0 SoC. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License version 2 as | |
12 | * published by the Free Software Foundation. | |
13 | */ | |
14 | ||
15 | /dts-v1/; | |
3799279f | 16 | #include "exynos4210.dtsi" |
0682edaa OJ |
17 | |
18 | / { | |
19 | model = "Samsung Universal C210 based on Exynos4210 rev0"; | |
8bdb31b4 | 20 | compatible = "samsung,universal_c210", "samsung,exynos4210", "samsung,exynos4"; |
0682edaa OJ |
21 | |
22 | memory { | |
23 | reg = <0x40000000 0x10000000 | |
24 | 0x50000000 0x10000000>; | |
25 | }; | |
26 | ||
27 | chosen { | |
28 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rw rootwait earlyprintk panic=5 maxcpus=1"; | |
29 | }; | |
30 | ||
b3205dea SK |
31 | sysram@02020000 { |
32 | smp-sysram@0 { | |
33 | status = "disabled"; | |
34 | }; | |
35 | ||
36 | smp-sysram@5000 { | |
37 | compatible = "samsung,exynos4210-sysram"; | |
38 | reg = <0x5000 0x1000>; | |
39 | }; | |
40 | ||
41 | smp-sysram@1f000 { | |
42 | status = "disabled"; | |
43 | }; | |
44 | }; | |
45 | ||
0682edaa OJ |
46 | mct@10050000 { |
47 | compatible = "none"; | |
48 | }; | |
49 | ||
50 | fixed-rate-clocks { | |
51 | xxti { | |
52 | compatible = "samsung,clock-xxti"; | |
53 | clock-frequency = <0>; | |
54 | }; | |
55 | ||
56 | xusbxti { | |
57 | compatible = "samsung,clock-xusbxti"; | |
58 | clock-frequency = <24000000>; | |
59 | }; | |
60 | }; | |
61 | ||
62 | vemmc_reg: voltage-regulator { | |
63 | compatible = "regulator-fixed"; | |
64 | regulator-name = "VMEM_VDD_2_8V"; | |
65 | regulator-min-microvolt = <2800000>; | |
66 | regulator-max-microvolt = <2800000>; | |
67 | gpio = <&gpe1 3 0>; | |
68 | enable-active-high; | |
69 | }; | |
70 | ||
71 | sdhci_emmc: sdhci@12510000 { | |
72 | bus-width = <8>; | |
73 | non-removable; | |
74 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus8>; | |
75 | pinctrl-names = "default"; | |
76 | vmmc-supply = <&vemmc_reg>; | |
77 | status = "okay"; | |
78 | }; | |
79 | ||
80 | serial@13800000 { | |
81 | status = "okay"; | |
82 | }; | |
83 | ||
84 | serial@13810000 { | |
85 | status = "okay"; | |
86 | }; | |
87 | ||
88 | serial@13820000 { | |
89 | status = "okay"; | |
90 | }; | |
91 | ||
92 | serial@13830000 { | |
93 | status = "okay"; | |
94 | }; | |
95 | ||
96 | gpio-keys { | |
97 | compatible = "gpio-keys"; | |
98 | ||
99 | vol-up-key { | |
100 | gpios = <&gpx2 0 1>; | |
101 | linux,code = <115>; | |
102 | label = "volume up"; | |
103 | debounce-interval = <1>; | |
104 | }; | |
105 | ||
106 | vol-down-key { | |
107 | gpios = <&gpx2 1 1>; | |
108 | linux,code = <114>; | |
109 | label = "volume down"; | |
110 | debounce-interval = <1>; | |
111 | }; | |
112 | ||
113 | config-key { | |
114 | gpios = <&gpx2 2 1>; | |
115 | linux,code = <171>; | |
116 | label = "config"; | |
117 | debounce-interval = <1>; | |
118 | gpio-key,wakeup; | |
119 | }; | |
120 | ||
121 | camera-key { | |
122 | gpios = <&gpx2 3 1>; | |
123 | linux,code = <212>; | |
124 | label = "camera"; | |
125 | debounce-interval = <1>; | |
126 | }; | |
127 | ||
128 | power-key { | |
129 | gpios = <&gpx2 7 1>; | |
130 | linux,code = <116>; | |
131 | label = "power"; | |
132 | debounce-interval = <1>; | |
133 | gpio-key,wakeup; | |
134 | }; | |
135 | ||
136 | ok-key { | |
137 | gpios = <&gpx3 5 1>; | |
138 | linux,code = <352>; | |
139 | label = "ok"; | |
140 | debounce-interval = <1>; | |
141 | }; | |
142 | }; | |
143 | ||
144 | tsp_reg: voltage-regulator { | |
145 | compatible = "regulator-fixed"; | |
146 | regulator-name = "TSP_2_8V"; | |
147 | regulator-min-microvolt = <2800000>; | |
148 | regulator-max-microvolt = <2800000>; | |
149 | gpio = <&gpe2 3 0>; | |
150 | enable-active-high; | |
151 | }; | |
152 | ||
153 | i2c@13890000 { | |
154 | samsung,i2c-sda-delay = <100>; | |
155 | samsung,i2c-slave-addr = <0x10>; | |
156 | samsung,i2c-max-bus-freq = <100000>; | |
157 | pinctrl-0 = <&i2c3_bus>; | |
158 | pinctrl-names = "default"; | |
159 | status = "okay"; | |
160 | ||
161 | tsp@4a { | |
162 | /* TBD: Atmel maXtouch touchscreen */ | |
163 | reg = <0x4a>; | |
164 | }; | |
165 | }; | |
166 | ||
167 | i2c@138B0000 { | |
168 | samsung,i2c-sda-delay = <100>; | |
169 | samsung,i2c-slave-addr = <0x10>; | |
170 | samsung,i2c-max-bus-freq = <100000>; | |
171 | pinctrl-0 = <&i2c5_bus>; | |
172 | pinctrl-names = "default"; | |
173 | status = "okay"; | |
174 | ||
175 | vdd_arm_reg: pmic@60 { | |
176 | compatible = "maxim,max8952"; | |
177 | reg = <0x60>; | |
178 | ||
179 | max8952,vid-gpios = <&gpx0 3 0>, <&gpx0 4 0>; | |
180 | max8952,default-mode = <0>; | |
181 | max8952,dvs-mode-microvolt = <1250000>, <1200000>, | |
182 | <1050000>, <950000>; | |
183 | max8952,sync-freq = <0>; | |
184 | max8952,ramp-speed = <0>; | |
185 | ||
186 | regulator-name = "vdd_arm"; | |
187 | regulator-min-microvolt = <770000>; | |
188 | regulator-max-microvolt = <1400000>; | |
189 | regulator-always-on; | |
190 | regulator-boot-on; | |
191 | }; | |
192 | ||
193 | pmic@66 { | |
194 | compatible = "national,lp3974"; | |
195 | reg = <0x66>; | |
196 | ||
197 | max8998,pmic-buck1-default-dvs-idx = <0>; | |
198 | max8998,pmic-buck1-dvs-gpios = <&gpx0 5 0>, | |
199 | <&gpx0 6 0>; | |
200 | max8998,pmic-buck1-dvs-voltage = <1100000>, <1000000>, | |
201 | <1100000>, <1000000>; | |
202 | ||
203 | max8998,pmic-buck2-default-dvs-idx = <0>; | |
204 | max8998,pmic-buck2-dvs-gpio = <&gpe2 0 0>; | |
205 | max8998,pmic-buck2-dvs-voltage = <1200000>, <1100000>; | |
206 | ||
207 | regulators { | |
208 | ldo2_reg: LDO2 { | |
209 | regulator-name = "VALIVE_1.2V"; | |
210 | regulator-min-microvolt = <1200000>; | |
211 | regulator-max-microvolt = <1200000>; | |
212 | regulator-always-on; | |
213 | }; | |
214 | ||
215 | ldo3_reg: LDO3 { | |
216 | regulator-name = "VUSB+MIPI_1.1V"; | |
217 | regulator-min-microvolt = <1100000>; | |
218 | regulator-max-microvolt = <1100000>; | |
219 | }; | |
220 | ||
221 | ldo4_reg: LDO4 { | |
222 | regulator-name = "VADC_3.3V"; | |
223 | regulator-min-microvolt = <3300000>; | |
224 | regulator-max-microvolt = <3300000>; | |
225 | }; | |
226 | ||
227 | ldo5_reg: LDO5 { | |
228 | regulator-name = "VTF_2.8V"; | |
229 | regulator-min-microvolt = <2800000>; | |
230 | regulator-max-microvolt = <2800000>; | |
231 | }; | |
232 | ||
233 | ldo6_reg: LDO6 { | |
234 | regulator-name = "LDO6"; | |
235 | regulator-min-microvolt = <2000000>; | |
236 | regulator-max-microvolt = <2000000>; | |
237 | }; | |
238 | ||
239 | ldo7_reg: LDO7 { | |
240 | regulator-name = "VLCD+VMIPI_1.8V"; | |
241 | regulator-min-microvolt = <1800000>; | |
242 | regulator-max-microvolt = <1800000>; | |
243 | }; | |
244 | ||
245 | ldo8_reg: LDO8 { | |
246 | regulator-name = "VUSB+VDAC_3.3V"; | |
247 | regulator-min-microvolt = <3300000>; | |
248 | regulator-max-microvolt = <3300000>; | |
249 | }; | |
250 | ||
251 | ldo9_reg: LDO9 { | |
252 | regulator-name = "VCC_2.8V"; | |
253 | regulator-min-microvolt = <2800000>; | |
254 | regulator-max-microvolt = <2800000>; | |
255 | regulator-always-on; | |
256 | }; | |
257 | ||
258 | ldo10_reg: LDO10 { | |
259 | regulator-name = "VPLL_1.1V"; | |
260 | regulator-min-microvolt = <1100000>; | |
261 | regulator-max-microvolt = <1100000>; | |
262 | regulator-boot-on; | |
263 | regulator-always-on; | |
264 | }; | |
265 | ||
266 | ldo11_reg: LDO11 { | |
267 | regulator-name = "CAM_AF_3.3V"; | |
268 | regulator-min-microvolt = <3300000>; | |
269 | regulator-max-microvolt = <3300000>; | |
270 | }; | |
271 | ||
272 | ldo12_reg: LDO12 { | |
273 | regulator-name = "PS_2.8V"; | |
274 | regulator-min-microvolt = <2800000>; | |
275 | regulator-max-microvolt = <2800000>; | |
276 | }; | |
277 | ||
278 | ldo13_reg: LDO13 { | |
279 | regulator-name = "VHIC_1.2V"; | |
280 | regulator-min-microvolt = <1200000>; | |
281 | regulator-max-microvolt = <1200000>; | |
282 | }; | |
283 | ||
284 | ldo14_reg: LDO14 { | |
285 | regulator-name = "CAM_I_HOST_1.8V"; | |
286 | regulator-min-microvolt = <1800000>; | |
287 | regulator-max-microvolt = <1800000>; | |
288 | }; | |
289 | ||
290 | ldo15_reg: LDO15 { | |
291 | regulator-name = "CAM_S_DIG+FM33_CORE_1.2V"; | |
292 | regulator-min-microvolt = <1200000>; | |
293 | regulator-max-microvolt = <1200000>; | |
294 | }; | |
295 | ||
296 | ldo16_reg: LDO16 { | |
297 | regulator-name = "CAM_S_ANA_2.8V"; | |
298 | regulator-min-microvolt = <2800000>; | |
299 | regulator-max-microvolt = <2800000>; | |
300 | }; | |
301 | ||
302 | ldo17_reg: LDO17 { | |
303 | regulator-name = "VCC_3.0V_LCD"; | |
304 | regulator-min-microvolt = <3000000>; | |
305 | regulator-max-microvolt = <3000000>; | |
306 | }; | |
307 | ||
308 | buck1_reg: BUCK1 { | |
309 | regulator-name = "VINT_1.1V"; | |
310 | regulator-min-microvolt = <750000>; | |
311 | regulator-max-microvolt = <1500000>; | |
312 | regulator-boot-on; | |
313 | regulator-always-on; | |
314 | }; | |
315 | ||
316 | buck2_reg: BUCK2 { | |
317 | regulator-name = "VG3D_1.1V"; | |
318 | regulator-min-microvolt = <750000>; | |
319 | regulator-max-microvolt = <1500000>; | |
320 | regulator-boot-on; | |
321 | }; | |
322 | ||
323 | buck3_reg: BUCK3 { | |
324 | regulator-name = "VCC_1.8V"; | |
325 | regulator-min-microvolt = <1800000>; | |
326 | regulator-max-microvolt = <1800000>; | |
327 | regulator-always-on; | |
328 | }; | |
329 | ||
330 | buck4_reg: BUCK4 { | |
331 | regulator-name = "VMEM_1.2V"; | |
332 | regulator-min-microvolt = <1200000>; | |
333 | regulator-max-microvolt = <1200000>; | |
334 | regulator-always-on; | |
335 | }; | |
336 | ||
337 | ap32khz_reg: EN32KHz-AP { | |
338 | regulator-name = "32KHz AP"; | |
339 | regulator-always-on; | |
340 | }; | |
341 | ||
342 | cp32khz_reg: EN32KHz-CP { | |
343 | regulator-name = "32KHz CP"; | |
344 | }; | |
345 | ||
346 | vichg_reg: ENVICHG { | |
347 | regulator-name = "VICHG"; | |
348 | }; | |
349 | ||
350 | safeout1_reg: ESAFEOUT1 { | |
351 | regulator-name = "SAFEOUT1"; | |
352 | regulator-always-on; | |
353 | }; | |
354 | ||
355 | safeout2_reg: ESAFEOUT2 { | |
356 | regulator-name = "SAFEOUT2"; | |
357 | regulator-boot-on; | |
358 | }; | |
359 | }; | |
360 | }; | |
361 | }; | |
362 | ||
ffff29d1 AH |
363 | spi-lcd { |
364 | compatible = "spi-gpio"; | |
365 | #address-cells = <1>; | |
366 | #size-cells = <0>; | |
367 | ||
368 | gpio-sck = <&gpy3 1 0>; | |
369 | gpio-mosi = <&gpy3 3 0>; | |
370 | num-chipselects = <1>; | |
371 | cs-gpios = <&gpy4 3 0>; | |
372 | ||
373 | lcd@0 { | |
374 | compatible = "samsung,ld9040"; | |
375 | reg = <0>; | |
376 | vdd3-supply = <&ldo7_reg>; | |
377 | vci-supply = <&ldo17_reg>; | |
378 | reset-gpios = <&gpy4 5 0>; | |
379 | spi-max-frequency = <1200000>; | |
380 | spi-cpol; | |
381 | spi-cpha; | |
382 | power-on-delay = <10>; | |
383 | reset-delay = <10>; | |
384 | panel-width-mm = <90>; | |
385 | panel-height-mm = <154>; | |
386 | display-timings { | |
387 | timing { | |
388 | clock-frequency = <23492370>; | |
389 | hactive = <480>; | |
390 | vactive = <800>; | |
391 | hback-porch = <16>; | |
392 | hfront-porch = <16>; | |
393 | vback-porch = <2>; | |
394 | vfront-porch = <28>; | |
395 | hsync-len = <2>; | |
396 | vsync-len = <1>; | |
397 | hsync-active = <0>; | |
398 | vsync-active = <0>; | |
399 | de-active = <0>; | |
400 | pixelclk-active = <0>; | |
401 | }; | |
402 | }; | |
403 | port { | |
404 | lcd_ep: endpoint { | |
405 | remote-endpoint = <&fimd_dpi_ep>; | |
406 | }; | |
407 | }; | |
408 | }; | |
409 | }; | |
410 | ||
621c5d66 AH |
411 | fimd: fimd@11c00000 { |
412 | pinctrl-0 = <&lcd_clk>, <&lcd_data24>; | |
413 | pinctrl-names = "default"; | |
414 | status = "okay"; | |
415 | samsung,invert-vden; | |
416 | samsung,invert-vclk; | |
ffff29d1 AH |
417 | #address-cells = <1>; |
418 | #size-cells = <0>; | |
419 | port@3 { | |
420 | reg = <3>; | |
421 | fimd_dpi_ep: endpoint { | |
422 | remote-endpoint = <&lcd_ep>; | |
621c5d66 AH |
423 | }; |
424 | }; | |
425 | }; | |
426 | ||
0682edaa OJ |
427 | pwm@139D0000 { |
428 | compatible = "samsung,s5p6440-pwm"; | |
429 | status = "okay"; | |
430 | }; | |
431 | }; | |
22c98592 BZ |
432 | |
433 | &mdma1 { | |
434 | reg = <0x12840000 0x1000>; | |
435 | }; |