ARM: dts: Make DP a consumer of DISP1 power domain on Exynos5420
[deliverable/linux.git] / arch / arm / boot / dts / exynos4412-odroid-common.dtsi
CommitLineData
ec601ff3
MS
1/*
2 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
3 * device tree source
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8*/
9
3635acef 10#include <dt-bindings/sound/samsung-i2s.h>
081a15e3 11#include <dt-bindings/input/input.h>
ec601ff3
MS
12#include "exynos4412.dtsi"
13
14/ {
62d38099
TF
15 chosen {
16 stdout-path = &serial_1;
17 };
18
ec601ff3
MS
19 firmware@0204F000 {
20 compatible = "samsung,secure-firmware";
21 reg = <0x0204F000 0x1000>;
22 };
23
081a15e3
MS
24 gpio_keys {
25 compatible = "gpio-keys";
26 pinctrl-names = "default";
27 pinctrl-0 = <&gpio_power_key>;
28
29 power_key {
30 interrupt-parent = <&gpx1>;
31 interrupts = <3 0>;
32 gpios = <&gpx1 3 1>;
33 linux,code = <KEY_POWER>;
34 label = "power key";
35 debounce-interval = <10>;
36 gpio-key,wakeup;
37 };
38 };
39
5a852743
SN
40 i2s0: i2s@03830000 {
41 pinctrl-0 = <&i2s0_bus>;
42 pinctrl-names = "default";
43 status = "okay";
44 clocks = <&clock_audss EXYNOS_I2S_BUS>,
3635acef
SN
45 <&clock_audss EXYNOS_DOUT_AUD_BUS>,
46 <&clock_audss EXYNOS_SCLK_I2S>;
47 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
5a852743
SN
48 };
49
50 sound: sound {
16696337 51 compatible = "simple-audio-card";
59760009
SN
52 assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
53 <&clock_audss EXYNOS_MOUT_I2S>,
54 <&clock_audss EXYNOS_DOUT_SRP>,
55 <&clock_audss EXYNOS_DOUT_AUD_BUS>;
56 assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
57 <&clock_audss EXYNOS_MOUT_AUDSS>;
58 assigned-clock-rates = <0>,
59 <0>,
60 <192000000>,
61 <19200000>;
16696337
SN
62
63 simple-audio-card,format = "i2s";
64 simple-audio-card,bitclock-master = <&link0_codec>;
65 simple-audio-card,frame-master = <&link0_codec>;
66
67 simple-audio-card,cpu {
68 sound-dai = <&i2s0 0>;
69 system-clock-frequency = <19200000>;
70 };
71
72 link0_codec: simple-audio-card,codec {
73 sound-dai = <&max98090>;
74 clocks = <&i2s0 CLK_I2S_CDCLK>;
75 };
5a852743
SN
76 };
77
225da7e6
MS
78 emmc_pwrseq: pwrseq {
79 pinctrl-0 = <&sd1_cd>;
80 pinctrl-names = "default";
81 compatible = "mmc-pwrseq-emmc";
82 reset-gpios = <&gpk1 2 1>;
83 };
84
ec601ff3
MS
85 mmc@12550000 {
86 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
87 pinctrl-names = "default";
88 vmmc-supply = <&ldo20_reg &buck8_reg>;
225da7e6 89 mmc-pwrseq = <&emmc_pwrseq>;
ec601ff3
MS
90 status = "okay";
91
92 num-slots = <1>;
ec601ff3
MS
93 broken-cd;
94 card-detect-delay = <200>;
95 samsung,dw-mshc-ciu-div = <3>;
96 samsung,dw-mshc-sdr-timing = <2 3>;
97 samsung,dw-mshc-ddr-timing = <1 2>;
aaa25a5a
JC
98 bus-width = <8>;
99 cap-mmc-highspeed;
ec601ff3
MS
100 };
101
102 watchdog@10060000 {
103 status = "okay";
104 };
105
106 rtc@10070000 {
107 status = "okay";
108 };
109
110 g2d@10800000 {
111 status = "okay";
112 };
113
114 camera {
115 status = "okay";
116 pinctrl-names = "default";
117 pinctrl-0 = <>;
118
119 fimc_0: fimc@11800000 {
120 status = "okay";
0357a443
SN
121 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
122 <&clock CLK_SCLK_FIMC0>;
123 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
124 assigned-clock-rates = <0>, <176000000>;
ec601ff3
MS
125 };
126
127 fimc_1: fimc@11810000 {
128 status = "okay";
0357a443
SN
129 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
130 <&clock CLK_SCLK_FIMC1>;
131 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
132 assigned-clock-rates = <0>, <176000000>;
ec601ff3
MS
133 };
134
135 fimc_2: fimc@11820000 {
136 status = "okay";
0357a443
SN
137 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
138 <&clock CLK_SCLK_FIMC2>;
139 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
140 assigned-clock-rates = <0>, <176000000>;
ec601ff3
MS
141 };
142
143 fimc_3: fimc@11830000 {
144 status = "okay";
0357a443
SN
145 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
146 <&clock CLK_SCLK_FIMC3>;
147 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
148 assigned-clock-rates = <0>, <176000000>;
ec601ff3
MS
149 };
150 };
151
152 sdhci@12530000 {
153 bus-width = <4>;
154 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
155 pinctrl-names = "default";
156 vmmc-supply = <&ldo4_reg &ldo21_reg>;
78f54db1
MS
157 cd-gpios = <&gpk2 2 0>;
158 cd-inverted;
ec601ff3
MS
159 status = "okay";
160 };
161
162 serial@13800000 {
163 status = "okay";
164 };
165
166 serial@13810000 {
167 status = "okay";
168 };
169
170 fixed-rate-clocks {
171 xxti {
172 compatible = "samsung,clock-xxti";
173 clock-frequency = <0>;
174 };
175
176 xusbxti {
177 compatible = "samsung,clock-xusbxti";
178 clock-frequency = <24000000>;
179 };
180 };
181
182 i2c@13860000 {
183 pinctrl-0 = <&i2c0_bus>;
184 pinctrl-names = "default";
cc3fe7ab
DD
185 samsung,i2c-sda-delay = <100>;
186 samsung,i2c-max-bus-freq = <400000>;
ec601ff3
MS
187 status = "okay";
188
189 usb3503: usb3503@08 {
190 compatible = "smsc,usb3503";
191 reg = <0x08>;
192
193 intn-gpios = <&gpx3 0 0>;
194 connect-gpios = <&gpx3 4 0>;
195 reset-gpios = <&gpx3 5 0>;
196 initial-mode = <1>;
197 };
198
199 max77686: pmic@09 {
200 compatible = "maxim,max77686";
eea6653a
DD
201 interrupt-parent = <&gpx3>;
202 interrupts = <2 0>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&max77686_irq>;
ec601ff3
MS
205 reg = <0x09>;
206 #clock-cells = <1>;
207
208 voltage-regulators {
209 ldo1_reg: LDO1 {
210 regulator-name = "VDD_ALIVE_1.0V";
211 regulator-min-microvolt = <1000000>;
212 regulator-max-microvolt = <1000000>;
213 regulator-always-on;
214 };
215
216 ldo2_reg: LDO2 {
217 regulator-name = "VDDQ_M1_2_1.8V";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
220 regulator-always-on;
221 };
222
223 ldo3_reg: LDO3 {
224 regulator-name = "VDDQ_EXT_1.8V";
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <1800000>;
227 regulator-always-on;
228 };
229
230 ldo4_reg: LDO4 {
231 regulator-name = "VDDQ_MMC2_2.8V";
232 regulator-min-microvolt = <2800000>;
233 regulator-max-microvolt = <2800000>;
234 regulator-always-on;
235 regulator-boot-on;
236 };
237
238 ldo5_reg: LDO5 {
239 regulator-name = "VDDQ_MMC1_3_1.8V";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
242 regulator-always-on;
243 regulator-boot-on;
244 };
245
246 ldo6_reg: LDO6 {
247 regulator-name = "VDD10_MPLL_1.0V";
248 regulator-min-microvolt = <1000000>;
249 regulator-max-microvolt = <1000000>;
250 regulator-always-on;
251 };
252
253 ldo7_reg: LDO7 {
254 regulator-name = "VDD10_XPLL_1.0V";
255 regulator-min-microvolt = <1000000>;
256 regulator-max-microvolt = <1000000>;
257 regulator-always-on;
258 };
259
2561658b
MS
260 ldo8_reg: ldo@8 {
261 regulator-compatible = "LDO8";
262 regulator-name = "VDD10_HDMI_1.0V";
263 regulator-min-microvolt = <1000000>;
264 regulator-max-microvolt = <1000000>;
265 };
266
267 ldo10_reg: ldo@10 {
268 regulator-compatible = "LDO10";
269 regulator-name = "VDDQ_MIPIHSI_1.8V";
a59acc17
LM
270 regulator-min-microvolt = <1800000>;
271 regulator-max-microvolt = <1800000>;
a59acc17
LM
272 };
273
ec601ff3
MS
274 ldo11_reg: LDO11 {
275 regulator-name = "VDD18_ABB1_1.8V";
276 regulator-min-microvolt = <1800000>;
277 regulator-max-microvolt = <1800000>;
278 regulator-always-on;
279 };
280
281 ldo12_reg: LDO12 {
282 regulator-name = "VDD33_USB_3.3V";
283 regulator-min-microvolt = <3300000>;
284 regulator-max-microvolt = <3300000>;
285 regulator-always-on;
286 regulator-boot-on;
287 };
288
289 ldo13_reg: LDO13 {
290 regulator-name = "VDDQ_C2C_W_1.8V";
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
293 regulator-always-on;
294 regulator-boot-on;
295 };
296
297 ldo14_reg: LDO14 {
298 regulator-name = "VDD18_ABB0_2_1.8V";
299 regulator-min-microvolt = <1800000>;
300 regulator-max-microvolt = <1800000>;
301 regulator-always-on;
302 regulator-boot-on;
303 };
304
305 ldo15_reg: LDO15 {
306 regulator-name = "VDD10_HSIC_1.0V";
307 regulator-min-microvolt = <1000000>;
308 regulator-max-microvolt = <1000000>;
309 regulator-always-on;
310 regulator-boot-on;
311 };
312
313 ldo16_reg: LDO16 {
314 regulator-name = "VDD18_HSIC_1.8V";
315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <1800000>;
317 regulator-always-on;
318 regulator-boot-on;
319 };
320
321 ldo20_reg: LDO20 {
322 regulator-name = "LDO20_1.8V";
323 regulator-min-microvolt = <1800000>;
324 regulator-max-microvolt = <1800000>;
325 regulator-boot-on;
326 };
327
328 ldo21_reg: LDO21 {
329 regulator-name = "LDO21_3.3V";
330 regulator-min-microvolt = <3300000>;
331 regulator-max-microvolt = <3300000>;
332 regulator-always-on;
333 regulator-boot-on;
334 };
335
336 ldo25_reg: LDO25 {
337 regulator-name = "VDDQ_LCD_1.8V";
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <1800000>;
340 regulator-always-on;
341 regulator-boot-on;
342 };
343
344 buck1_reg: BUCK1 {
345 regulator-name = "vdd_mif";
346 regulator-min-microvolt = <1000000>;
347 regulator-max-microvolt = <1000000>;
348 regulator-always-on;
349 regulator-boot-on;
350 };
351
352 buck2_reg: BUCK2 {
353 regulator-name = "vdd_arm";
354 regulator-min-microvolt = <900000>;
355 regulator-max-microvolt = <1350000>;
356 regulator-always-on;
357 regulator-boot-on;
358 };
359
360 buck3_reg: BUCK3 {
361 regulator-name = "vdd_int";
362 regulator-min-microvolt = <1000000>;
363 regulator-max-microvolt = <1000000>;
364 regulator-always-on;
365 regulator-boot-on;
366 };
367
368 buck4_reg: BUCK4 {
369 regulator-name = "vdd_g3d";
370 regulator-min-microvolt = <900000>;
371 regulator-max-microvolt = <1100000>;
372 regulator-microvolt-offset = <50000>;
373 };
374
375 buck5_reg: BUCK5 {
376 regulator-name = "VDDQ_CKEM1_2_1.2V";
377 regulator-min-microvolt = <1200000>;
378 regulator-max-microvolt = <1200000>;
379 regulator-always-on;
380 regulator-boot-on;
381 };
382
383 buck6_reg: BUCK6 {
384 regulator-name = "BUCK6_1.35V";
385 regulator-min-microvolt = <1350000>;
386 regulator-max-microvolt = <1350000>;
387 regulator-always-on;
388 regulator-boot-on;
389 };
390
391 buck7_reg: BUCK7 {
392 regulator-name = "BUCK7_2.0V";
393 regulator-min-microvolt = <2000000>;
394 regulator-max-microvolt = <2000000>;
395 regulator-always-on;
396 };
397
398 buck8_reg: BUCK8 {
399 regulator-name = "BUCK8_2.8V";
400 regulator-min-microvolt = <2800000>;
401 regulator-max-microvolt = <2800000>;
ec601ff3
MS
402 };
403 };
404 };
405 };
406
5a852743
SN
407 i2c@13870000 {
408 pinctrl-names = "default";
409 pinctrl-0 = <&i2c1_bus>;
410 status = "okay";
411 max98090: max98090@10 {
412 compatible = "maxim,max98090";
413 reg = <0x10>;
414 interrupt-parent = <&gpx0>;
415 interrupts = <0 0>;
3635acef
SN
416 clocks = <&i2s0 CLK_I2S_CDCLK>;
417 clock-names = "mclk";
16696337 418 #sound-dai-cells = <0>;
5a852743
SN
419 };
420 };
421
ec601ff3
MS
422 exynos-usbphy@125B0000 {
423 status = "okay";
424 };
425
426 hsotg@12480000 {
32f144f2 427 dr_mode = "peripheral";
ec601ff3
MS
428 status = "okay";
429 vusb_d-supply = <&ldo15_reg>;
430 vusb_a-supply = <&ldo12_reg>;
431 };
432
433 ehci: ehci@12580000 {
434 status = "okay";
435 };
233e274a
LM
436
437 tmu@100C0000 {
438 vtmu-supply = <&ldo10_reg>;
439 status = "okay";
440 };
bf4a0bed
LM
441
442 thermal-zones {
443 cpu_thermal: cpu-thermal {
444 cooling-maps {
445 map0 {
446 /* Corresponds to 800MHz at freq_table */
447 cooling-device = <&cpu0 7 7>;
448 };
449 map1 {
450 /* Corresponds to 200MHz at freq_table */
451 cooling-device = <&cpu0 13 13>;
452 };
453 };
454 };
455 };
2561658b
MS
456
457 mixer: mixer@12C10000 {
458 status = "okay";
459 };
460
461 hdmi@12D00000 {
462 hpd-gpio = <&gpx3 7 0>;
463 pinctrl-names = "default";
464 pinctrl-0 = <&hdmi_hpd>;
465 vdd-supply = <&ldo8_reg>;
466 vdd_osc-supply = <&ldo10_reg>;
467 vdd_pll-supply = <&ldo8_reg>;
468 ddc = <&hdmi_ddc>;
469 status = "okay";
470 };
471
472 hdmi_ddc: i2c@13880000 {
473 status = "okay";
474 pinctrl-names = "default";
475 pinctrl-0 = <&i2c2_bus>;
476 };
477
478 i2c@138E0000 {
479 status = "okay";
480 };
ec601ff3 481};
081a15e3 482
225da7e6
MS
483/* RSTN signal for eMMC */
484&sd1_cd {
485 samsung,pin-pud = <0>;
486 samsung,pin-drv = <0>;
487};
488
081a15e3
MS
489&pinctrl_1 {
490 gpio_power_key: power_key {
491 samsung,pins = "gpx1-3";
492 samsung,pin-pud = <0>;
493 };
eea6653a
DD
494
495 max77686_irq: max77686-irq {
496 samsung,pins = "gpx3-2";
497 samsung,pin-function = <0>;
498 samsung,pin-pud = <0>;
499 samsung,pin-drv = <0>;
500 };
2561658b
MS
501
502 hdmi_hpd: hdmi-hpd {
503 samsung,pins = "gpx3-7";
504 samsung,pin-pud = <1>;
505 };
081a15e3 506};
This page took 0.091703 seconds and 5 git commands to generate.