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