]>
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. | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
3799279f | 13 | #include "exynos5250.dtsi" |
b074abb7 KK |
14 | |
15 | / { | |
16 | model = "SAMSUNG SMDK5250 board based on EXYNOS5250"; | |
8bdb31b4 | 17 | compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5"; |
b074abb7 | 18 | |
84bd48a0 | 19 | aliases { |
84bd48a0 TA |
20 | }; |
21 | ||
b074abb7 KK |
22 | memory { |
23 | reg = <0x40000000 0x80000000>; | |
24 | }; | |
25 | ||
26 | chosen { | |
3c817102 | 27 | bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc"; |
b074abb7 | 28 | }; |
009f7c9f | 29 | |
65cedf0e SK |
30 | rtc@101E0000 { |
31 | status = "okay"; | |
32 | }; | |
33 | ||
009f7c9f TA |
34 | i2c@12C60000 { |
35 | samsung,i2c-sda-delay = <100>; | |
36 | samsung,i2c-max-bus-freq = <20000>; | |
6ad8ebff | 37 | status = "okay"; |
009f7c9f TA |
38 | |
39 | eeprom@50 { | |
40 | compatible = "samsung,s524ad0xd1"; | |
41 | reg = <0x50>; | |
42 | }; | |
275dcd22 TA |
43 | |
44 | max77686@09 { | |
45 | compatible = "maxim,max77686"; | |
46 | reg = <0x09>; | |
47580e8d TA |
47 | interrupt-parent = <&gpx3>; |
48 | interrupts = <2 0>; | |
275dcd22 TA |
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 | }; | |
009f7c9f TA |
187 | }; |
188 | ||
0572b725 | 189 | vdd: fixed-regulator@0 { |
40cb43bd PV |
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 | ||
0572b725 | 197 | dbvdd: fixed-regulator@1 { |
40cb43bd PV |
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 | ||
0572b725 | 205 | spkvdd: fixed-regulator@2 { |
40cb43bd PV |
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 | ||
009f7c9f TA |
213 | i2c@12C70000 { |
214 | samsung,i2c-sda-delay = <100>; | |
215 | samsung,i2c-max-bus-freq = <20000>; | |
6ad8ebff | 216 | status = "okay"; |
009f7c9f TA |
217 | |
218 | eeprom@51 { | |
219 | compatible = "samsung,s524ad0xd1"; | |
220 | reg = <0x51>; | |
221 | }; | |
28a48058 PV |
222 | |
223 | wm8994: wm8994@1a { | |
40cb43bd PV |
224 | compatible = "wlf,wm8994"; |
225 | reg = <0x1a>; | |
226 | ||
227 | gpio-controller; | |
228 | #gpio-cells = <2>; | |
229 | ||
24b714f8 MB |
230 | clocks = <&codec_mclk>; |
231 | clock-names = "MCLK1"; | |
232 | ||
40cb43bd PV |
233 | AVDD2-supply = <&vdd>; |
234 | CPVDD-supply = <&vdd>; | |
235 | DBVDD-supply = <&dbvdd>; | |
236 | SPKVDD1-supply = <&spkvdd>; | |
237 | SPKVDD2-supply = <&spkvdd>; | |
28a48058 | 238 | }; |
009f7c9f TA |
239 | }; |
240 | ||
c47d244a VA |
241 | i2c@121D0000 { |
242 | samsung,i2c-sda-delay = <100>; | |
243 | samsung,i2c-max-bus-freq = <40000>; | |
244 | samsung,i2c-slave-addr = <0x38>; | |
6ad8ebff | 245 | status = "okay"; |
c47d244a | 246 | |
ba0d7ed3 YK |
247 | sata_phy_i2c:sata-phy@38 { |
248 | compatible = "samsung,exynos-sataphy-i2c"; | |
c47d244a VA |
249 | reg = <0x38>; |
250 | }; | |
251 | }; | |
252 | ||
009f7c9f | 253 | i2c@12C80000 { |
62a1f83f RS |
254 | samsung,i2c-sda-delay = <100>; |
255 | samsung,i2c-max-bus-freq = <66000>; | |
6ad8ebff | 256 | status = "okay"; |
62a1f83f RS |
257 | |
258 | hdmiddc@50 { | |
0d1fc829 | 259 | compatible = "samsung,exynos4210-hdmiddc"; |
62a1f83f RS |
260 | reg = <0x50>; |
261 | }; | |
009f7c9f TA |
262 | }; |
263 | ||
3e3e9ce4 RS |
264 | i2c@12CE0000 { |
265 | samsung,i2c-sda-delay = <100>; | |
266 | samsung,i2c-max-bus-freq = <66000>; | |
6ad8ebff | 267 | status = "okay"; |
3e3e9ce4 RS |
268 | |
269 | hdmiphy@38 { | |
0d1fc829 | 270 | compatible = "samsung,exynos4212-hdmiphy"; |
3e3e9ce4 RS |
271 | reg = <0x38>; |
272 | }; | |
273 | }; | |
274 | ||
ba0d7ed3 YK |
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 | ||
c8149df0 | 284 | mmc@12200000 { |
e908d5c5 | 285 | status = "okay"; |
84bd48a0 TA |
286 | num-slots = <1>; |
287 | supports-highspeed; | |
288 | broken-cd; | |
84bd48a0 TA |
289 | card-detect-delay = <200>; |
290 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
291 | samsung,dw-mshc-sdr-timing = <2 3>; |
292 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
293 | pinctrl-names = "default"; |
294 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
84bd48a0 TA |
295 | |
296 | slot@0 { | |
297 | reg = <0>; | |
298 | bus-width = <8>; | |
84bd48a0 TA |
299 | }; |
300 | }; | |
301 | ||
c8149df0 | 302 | mmc@12220000 { |
e908d5c5 | 303 | status = "okay"; |
84bd48a0 TA |
304 | num-slots = <1>; |
305 | supports-highspeed; | |
84bd48a0 TA |
306 | card-detect-delay = <200>; |
307 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
308 | samsung,dw-mshc-sdr-timing = <2 3>; |
309 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
310 | pinctrl-names = "default"; |
311 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
84bd48a0 TA |
312 | |
313 | slot@0 { | |
314 | reg = <0>; | |
315 | bus-width = <4>; | |
488755b5 | 316 | disable-wp; |
84bd48a0 TA |
317 | }; |
318 | }; | |
319 | ||
79989ba3 | 320 | spi_1: spi@12d30000 { |
e138d433 | 321 | cs-gpios = <&gpa2 5 0>; |
fae93f7c MB |
322 | status = "okay"; |
323 | ||
79989ba3 TA |
324 | w25q80bw@0 { |
325 | #address-cells = <1>; | |
326 | #size-cells = <1>; | |
327 | compatible = "w25x80"; | |
328 | reg = <0>; | |
329 | spi-max-frequency = <1000000>; | |
330 | ||
331 | controller-data { | |
79989ba3 TA |
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 | ||
566cf8ee | 348 | hdmi { |
f8bfe2b0 | 349 | hpd-gpio = <&gpx3 7 0>; |
566cf8ee | 350 | }; |
24025f6f | 351 | |
2eae613b AK |
352 | codec@11000000 { |
353 | samsung,mfc-r = <0x43000000 0x800000>; | |
354 | samsung,mfc-l = <0x51000000 0x800000>; | |
355 | }; | |
4c4c7463 | 356 | |
28a48058 | 357 | i2s0: i2s@03830000 { |
f8bfe2b0 | 358 | status = "okay"; |
4c4c7463 PV |
359 | }; |
360 | ||
28a48058 PV |
361 | sound { |
362 | compatible = "samsung,smdk-wm8994"; | |
363 | ||
364 | samsung,i2s-controller = <&i2s0>; | |
365 | samsung,audio-codec = <&wm8994>; | |
366 | }; | |
ad4aebe1 | 367 | |
13cbd1e3 | 368 | usb@12110000 { |
c58c1a4c | 369 | samsung,vbus-gpio = <&gpx2 6 0>; |
13cbd1e3 VG |
370 | }; |
371 | ||
77899d53 | 372 | dp-controller@145B0000 { |
ad4aebe1 JH |
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>; | |
74478338 JH |
379 | |
380 | pinctrl-names = "default"; | |
381 | pinctrl-0 = <&dp_hpd>; | |
77899d53 | 382 | status = "okay"; |
ad4aebe1 | 383 | }; |
8b6076d4 | 384 | |
d1bf2abe VS |
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 | }; | |
06c460b7 LKA |
401 | }; |
402 | }; | |
403 | ||
8b6076d4 TA |
404 | fixed-rate-clocks { |
405 | xxti { | |
406 | compatible = "samsung,clock-xxti"; | |
407 | clock-frequency = <24000000>; | |
408 | }; | |
24b714f8 MB |
409 | |
410 | codec_mclk: codec-mclk { | |
411 | compatible = "fixed-clock"; | |
412 | #clock-cells = <0>; | |
413 | clock-frequency = <16934000>; | |
414 | }; | |
8b6076d4 | 415 | }; |
b074abb7 | 416 | }; |