ARM: dts: Specify MAX77686 pmic interrupt for exynos5250-smdk5250
[deliverable/linux.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
1 /*
2 * SAMSUNG SMDK5250 board device tree source
3 *
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11
12 /dts-v1/;
13 #include "exynos5250.dtsi"
14
15 / {
16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
17 compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
18
19 aliases {
20 };
21
22 memory {
23 reg = <0x40000000 0x80000000>;
24 };
25
26 chosen {
27 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
28 };
29
30 rtc@101E0000 {
31 status = "okay";
32 };
33
34 i2c@12C60000 {
35 samsung,i2c-sda-delay = <100>;
36 samsung,i2c-max-bus-freq = <20000>;
37 status = "okay";
38
39 eeprom@50 {
40 compatible = "samsung,s524ad0xd1";
41 reg = <0x50>;
42 };
43
44 max77686@09 {
45 compatible = "maxim,max77686";
46 reg = <0x09>;
47 interrupt-parent = <&gpx3>;
48 interrupts = <2 0>;
49
50 voltage-regulators {
51 ldo1_reg: LDO1 {
52 regulator-name = "P1.0V_LDO_OUT1";
53 regulator-min-microvolt = <1000000>;
54 regulator-max-microvolt = <1000000>;
55 regulator-always-on;
56 };
57
58 ldo2_reg: LDO2 {
59 regulator-name = "P1.2V_LDO_OUT2";
60 regulator-min-microvolt = <1200000>;
61 regulator-max-microvolt = <1200000>;
62 regulator-always-on;
63 };
64
65 ldo3_reg: LDO3 {
66 regulator-name = "P1.8V_LDO_OUT3";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <1800000>;
69 regulator-always-on;
70 };
71
72 ldo4_reg: LDO4 {
73 regulator-name = "P2.8V_LDO_OUT4";
74 regulator-min-microvolt = <2800000>;
75 regulator-max-microvolt = <2800000>;
76 };
77
78 ldo5_reg: LDO5 {
79 regulator-name = "P1.8V_LDO_OUT5";
80 regulator-min-microvolt = <1800000>;
81 regulator-max-microvolt = <1800000>;
82 };
83
84 ldo6_reg: LDO6 {
85 regulator-name = "P1.1V_LDO_OUT6";
86 regulator-min-microvolt = <1100000>;
87 regulator-max-microvolt = <1100000>;
88 regulator-always-on;
89 };
90
91 ldo7_reg: LDO7 {
92 regulator-name = "P1.1V_LDO_OUT7";
93 regulator-min-microvolt = <1100000>;
94 regulator-max-microvolt = <1100000>;
95 regulator-always-on;
96 };
97
98 ldo8_reg: LDO8 {
99 regulator-name = "P1.0V_LDO_OUT8";
100 regulator-min-microvolt = <1000000>;
101 regulator-max-microvolt = <1000000>;
102 };
103
104 ldo10_reg: LDO10 {
105 regulator-name = "P1.8V_LDO_OUT10";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
108 };
109
110 ldo11_reg: LDO11 {
111 regulator-name = "P1.8V_LDO_OUT11";
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <1800000>;
114 };
115
116 ldo12_reg: LDO12 {
117 regulator-name = "P3.0V_LDO_OUT12";
118 regulator-min-microvolt = <3000000>;
119 regulator-max-microvolt = <3000000>;
120 };
121
122 ldo13_reg: LDO13 {
123 regulator-name = "P1.8V_LDO_OUT13";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
126 };
127
128 ldo14_reg: LDO14 {
129 regulator-name = "P1.8V_LDO_OUT14";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 };
133
134 ldo15_reg: LDO15 {
135 regulator-name = "P1.0V_LDO_OUT15";
136 regulator-min-microvolt = <1000000>;
137 regulator-max-microvolt = <1000000>;
138 };
139
140 ldo16_reg: LDO16 {
141 regulator-name = "P1.8V_LDO_OUT16";
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <1800000>;
144 };
145
146 buck1_reg: BUCK1 {
147 regulator-name = "vdd_mif";
148 regulator-min-microvolt = <950000>;
149 regulator-max-microvolt = <1300000>;
150 regulator-always-on;
151 regulator-boot-on;
152 };
153
154 buck2_reg: BUCK2 {
155 regulator-name = "vdd_arm";
156 regulator-min-microvolt = <850000>;
157 regulator-max-microvolt = <1350000>;
158 regulator-always-on;
159 regulator-boot-on;
160 };
161
162 buck3_reg: BUCK3 {
163 regulator-name = "vdd_int";
164 regulator-min-microvolt = <900000>;
165 regulator-max-microvolt = <1200000>;
166 regulator-always-on;
167 regulator-boot-on;
168 };
169
170 buck4_reg: BUCK4 {
171 regulator-name = "vdd_g3d";
172 regulator-min-microvolt = <850000>;
173 regulator-max-microvolt = <1300000>;
174 regulator-always-on;
175 regulator-boot-on;
176 };
177
178 buck5_reg: BUCK5 {
179 regulator-name = "P1.8V_BUCK_OUT5";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 regulator-always-on;
183 regulator-boot-on;
184 };
185 };
186 };
187 };
188
189 vdd: fixed-regulator@0 {
190 compatible = "regulator-fixed";
191 regulator-name = "vdd-supply";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-always-on;
195 };
196
197 dbvdd: fixed-regulator@1 {
198 compatible = "regulator-fixed";
199 regulator-name = "dbvdd-supply";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-always-on;
203 };
204
205 spkvdd: fixed-regulator@2 {
206 compatible = "regulator-fixed";
207 regulator-name = "spkvdd-supply";
208 regulator-min-microvolt = <5000000>;
209 regulator-max-microvolt = <5000000>;
210 regulator-always-on;
211 };
212
213 i2c@12C70000 {
214 samsung,i2c-sda-delay = <100>;
215 samsung,i2c-max-bus-freq = <20000>;
216 status = "okay";
217
218 eeprom@51 {
219 compatible = "samsung,s524ad0xd1";
220 reg = <0x51>;
221 };
222
223 wm8994: wm8994@1a {
224 compatible = "wlf,wm8994";
225 reg = <0x1a>;
226
227 gpio-controller;
228 #gpio-cells = <2>;
229
230 clocks = <&codec_mclk>;
231 clock-names = "MCLK1";
232
233 AVDD2-supply = <&vdd>;
234 CPVDD-supply = <&vdd>;
235 DBVDD-supply = <&dbvdd>;
236 SPKVDD1-supply = <&spkvdd>;
237 SPKVDD2-supply = <&spkvdd>;
238 };
239 };
240
241 i2c@121D0000 {
242 samsung,i2c-sda-delay = <100>;
243 samsung,i2c-max-bus-freq = <40000>;
244 samsung,i2c-slave-addr = <0x38>;
245 status = "okay";
246
247 sata_phy_i2c:sata-phy@38 {
248 compatible = "samsung,exynos-sataphy-i2c";
249 reg = <0x38>;
250 };
251 };
252
253 i2c@12C80000 {
254 samsung,i2c-sda-delay = <100>;
255 samsung,i2c-max-bus-freq = <66000>;
256 status = "okay";
257
258 hdmiddc@50 {
259 compatible = "samsung,exynos4210-hdmiddc";
260 reg = <0x50>;
261 };
262 };
263
264 i2c@12CE0000 {
265 samsung,i2c-sda-delay = <100>;
266 samsung,i2c-max-bus-freq = <66000>;
267 status = "okay";
268
269 hdmiphy@38 {
270 compatible = "samsung,exynos4212-hdmiphy";
271 reg = <0x38>;
272 };
273 };
274
275 sata@122F0000 {
276 status = "okay";
277 };
278
279 sata-phy@12170000 {
280 status = "okay";
281 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
282 };
283
284 mmc@12200000 {
285 status = "okay";
286 num-slots = <1>;
287 supports-highspeed;
288 broken-cd;
289 card-detect-delay = <200>;
290 samsung,dw-mshc-ciu-div = <3>;
291 samsung,dw-mshc-sdr-timing = <2 3>;
292 samsung,dw-mshc-ddr-timing = <1 2>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
295
296 slot@0 {
297 reg = <0>;
298 bus-width = <8>;
299 };
300 };
301
302 mmc@12220000 {
303 status = "okay";
304 num-slots = <1>;
305 supports-highspeed;
306 card-detect-delay = <200>;
307 samsung,dw-mshc-ciu-div = <3>;
308 samsung,dw-mshc-sdr-timing = <2 3>;
309 samsung,dw-mshc-ddr-timing = <1 2>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
312
313 slot@0 {
314 reg = <0>;
315 bus-width = <4>;
316 disable-wp;
317 };
318 };
319
320 spi_1: spi@12d30000 {
321 status = "okay";
322
323 w25q80bw@0 {
324 #address-cells = <1>;
325 #size-cells = <1>;
326 compatible = "w25x80";
327 reg = <0>;
328 spi-max-frequency = <1000000>;
329
330 controller-data {
331 cs-gpio = <&gpa2 5 0>;
332 samsung,spi-feedback-delay = <0>;
333 };
334
335 partition@0 {
336 label = "U-Boot";
337 reg = <0x0 0x40000>;
338 read-only;
339 };
340
341 partition@40000 {
342 label = "Kernel";
343 reg = <0x40000 0xc0000>;
344 };
345 };
346 };
347
348 hdmi {
349 hpd-gpio = <&gpx3 7 0>;
350 };
351
352 codec@11000000 {
353 samsung,mfc-r = <0x43000000 0x800000>;
354 samsung,mfc-l = <0x51000000 0x800000>;
355 };
356
357 i2s0: i2s@03830000 {
358 status = "okay";
359 };
360
361 sound {
362 compatible = "samsung,smdk-wm8994";
363
364 samsung,i2s-controller = <&i2s0>;
365 samsung,audio-codec = <&wm8994>;
366 };
367
368 usb@12110000 {
369 samsung,vbus-gpio = <&gpx2 6 0>;
370 };
371
372 dp-controller@145B0000 {
373 samsung,color-space = <0>;
374 samsung,dynamic-range = <0>;
375 samsung,ycbcr-coeff = <0>;
376 samsung,color-depth = <1>;
377 samsung,link-rate = <0x0a>;
378 samsung,lane-count = <4>;
379
380 pinctrl-names = "default";
381 pinctrl-0 = <&dp_hpd>;
382 status = "okay";
383 };
384
385 fimd@14400000 {
386 status = "okay";
387 display-timings {
388 native-mode = <&timing0>;
389 timing0: timing@0 {
390 /* 1280x800 */
391 clock-frequency = <50000>;
392 hactive = <1280>;
393 vactive = <800>;
394 hfront-porch = <4>;
395 hback-porch = <4>;
396 hsync-len = <4>;
397 vback-porch = <4>;
398 vfront-porch = <4>;
399 vsync-len = <4>;
400 };
401 };
402 };
403
404 fixed-rate-clocks {
405 xxti {
406 compatible = "samsung,clock-xxti";
407 clock-frequency = <24000000>;
408 };
409
410 codec_mclk: codec-mclk {
411 compatible = "fixed-clock";
412 #clock-cells = <0>;
413 clock-frequency = <16934000>;
414 };
415 };
416 };
This page took 0.04802 seconds and 5 git commands to generate.