]>
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>; | |
47 | ||
48 | voltage-regulators { | |
49 | ldo1_reg: LDO1 { | |
50 | regulator-name = "P1.0V_LDO_OUT1"; | |
51 | regulator-min-microvolt = <1000000>; | |
52 | regulator-max-microvolt = <1000000>; | |
53 | regulator-always-on; | |
54 | }; | |
55 | ||
56 | ldo2_reg: LDO2 { | |
57 | regulator-name = "P1.2V_LDO_OUT2"; | |
58 | regulator-min-microvolt = <1200000>; | |
59 | regulator-max-microvolt = <1200000>; | |
60 | regulator-always-on; | |
61 | }; | |
62 | ||
63 | ldo3_reg: LDO3 { | |
64 | regulator-name = "P1.8V_LDO_OUT3"; | |
65 | regulator-min-microvolt = <1800000>; | |
66 | regulator-max-microvolt = <1800000>; | |
67 | regulator-always-on; | |
68 | }; | |
69 | ||
70 | ldo4_reg: LDO4 { | |
71 | regulator-name = "P2.8V_LDO_OUT4"; | |
72 | regulator-min-microvolt = <2800000>; | |
73 | regulator-max-microvolt = <2800000>; | |
74 | }; | |
75 | ||
76 | ldo5_reg: LDO5 { | |
77 | regulator-name = "P1.8V_LDO_OUT5"; | |
78 | regulator-min-microvolt = <1800000>; | |
79 | regulator-max-microvolt = <1800000>; | |
80 | }; | |
81 | ||
82 | ldo6_reg: LDO6 { | |
83 | regulator-name = "P1.1V_LDO_OUT6"; | |
84 | regulator-min-microvolt = <1100000>; | |
85 | regulator-max-microvolt = <1100000>; | |
86 | regulator-always-on; | |
87 | }; | |
88 | ||
89 | ldo7_reg: LDO7 { | |
90 | regulator-name = "P1.1V_LDO_OUT7"; | |
91 | regulator-min-microvolt = <1100000>; | |
92 | regulator-max-microvolt = <1100000>; | |
93 | regulator-always-on; | |
94 | }; | |
95 | ||
96 | ldo8_reg: LDO8 { | |
97 | regulator-name = "P1.0V_LDO_OUT8"; | |
98 | regulator-min-microvolt = <1000000>; | |
99 | regulator-max-microvolt = <1000000>; | |
100 | }; | |
101 | ||
102 | ldo10_reg: LDO10 { | |
103 | regulator-name = "P1.8V_LDO_OUT10"; | |
104 | regulator-min-microvolt = <1800000>; | |
105 | regulator-max-microvolt = <1800000>; | |
106 | }; | |
107 | ||
108 | ldo11_reg: LDO11 { | |
109 | regulator-name = "P1.8V_LDO_OUT11"; | |
110 | regulator-min-microvolt = <1800000>; | |
111 | regulator-max-microvolt = <1800000>; | |
112 | }; | |
113 | ||
114 | ldo12_reg: LDO12 { | |
115 | regulator-name = "P3.0V_LDO_OUT12"; | |
116 | regulator-min-microvolt = <3000000>; | |
117 | regulator-max-microvolt = <3000000>; | |
118 | }; | |
119 | ||
120 | ldo13_reg: LDO13 { | |
121 | regulator-name = "P1.8V_LDO_OUT13"; | |
122 | regulator-min-microvolt = <1800000>; | |
123 | regulator-max-microvolt = <1800000>; | |
124 | }; | |
125 | ||
126 | ldo14_reg: LDO14 { | |
127 | regulator-name = "P1.8V_LDO_OUT14"; | |
128 | regulator-min-microvolt = <1800000>; | |
129 | regulator-max-microvolt = <1800000>; | |
130 | }; | |
131 | ||
132 | ldo15_reg: LDO15 { | |
133 | regulator-name = "P1.0V_LDO_OUT15"; | |
134 | regulator-min-microvolt = <1000000>; | |
135 | regulator-max-microvolt = <1000000>; | |
136 | }; | |
137 | ||
138 | ldo16_reg: LDO16 { | |
139 | regulator-name = "P1.8V_LDO_OUT16"; | |
140 | regulator-min-microvolt = <1800000>; | |
141 | regulator-max-microvolt = <1800000>; | |
142 | }; | |
143 | ||
144 | buck1_reg: BUCK1 { | |
145 | regulator-name = "vdd_mif"; | |
146 | regulator-min-microvolt = <950000>; | |
147 | regulator-max-microvolt = <1300000>; | |
148 | regulator-always-on; | |
149 | regulator-boot-on; | |
150 | }; | |
151 | ||
152 | buck2_reg: BUCK2 { | |
153 | regulator-name = "vdd_arm"; | |
154 | regulator-min-microvolt = <850000>; | |
155 | regulator-max-microvolt = <1350000>; | |
156 | regulator-always-on; | |
157 | regulator-boot-on; | |
158 | }; | |
159 | ||
160 | buck3_reg: BUCK3 { | |
161 | regulator-name = "vdd_int"; | |
162 | regulator-min-microvolt = <900000>; | |
163 | regulator-max-microvolt = <1200000>; | |
164 | regulator-always-on; | |
165 | regulator-boot-on; | |
166 | }; | |
167 | ||
168 | buck4_reg: BUCK4 { | |
169 | regulator-name = "vdd_g3d"; | |
170 | regulator-min-microvolt = <850000>; | |
171 | regulator-max-microvolt = <1300000>; | |
172 | regulator-always-on; | |
173 | regulator-boot-on; | |
174 | }; | |
175 | ||
176 | buck5_reg: BUCK5 { | |
177 | regulator-name = "P1.8V_BUCK_OUT5"; | |
178 | regulator-min-microvolt = <1800000>; | |
179 | regulator-max-microvolt = <1800000>; | |
180 | regulator-always-on; | |
181 | regulator-boot-on; | |
182 | }; | |
183 | }; | |
184 | }; | |
009f7c9f TA |
185 | }; |
186 | ||
0572b725 | 187 | vdd: fixed-regulator@0 { |
40cb43bd PV |
188 | compatible = "regulator-fixed"; |
189 | regulator-name = "vdd-supply"; | |
190 | regulator-min-microvolt = <1800000>; | |
191 | regulator-max-microvolt = <1800000>; | |
192 | regulator-always-on; | |
193 | }; | |
194 | ||
0572b725 | 195 | dbvdd: fixed-regulator@1 { |
40cb43bd PV |
196 | compatible = "regulator-fixed"; |
197 | regulator-name = "dbvdd-supply"; | |
198 | regulator-min-microvolt = <3300000>; | |
199 | regulator-max-microvolt = <3300000>; | |
200 | regulator-always-on; | |
201 | }; | |
202 | ||
0572b725 | 203 | spkvdd: fixed-regulator@2 { |
40cb43bd PV |
204 | compatible = "regulator-fixed"; |
205 | regulator-name = "spkvdd-supply"; | |
206 | regulator-min-microvolt = <5000000>; | |
207 | regulator-max-microvolt = <5000000>; | |
208 | regulator-always-on; | |
209 | }; | |
210 | ||
009f7c9f TA |
211 | i2c@12C70000 { |
212 | samsung,i2c-sda-delay = <100>; | |
213 | samsung,i2c-max-bus-freq = <20000>; | |
6ad8ebff | 214 | status = "okay"; |
009f7c9f TA |
215 | |
216 | eeprom@51 { | |
217 | compatible = "samsung,s524ad0xd1"; | |
218 | reg = <0x51>; | |
219 | }; | |
28a48058 PV |
220 | |
221 | wm8994: wm8994@1a { | |
40cb43bd PV |
222 | compatible = "wlf,wm8994"; |
223 | reg = <0x1a>; | |
224 | ||
225 | gpio-controller; | |
226 | #gpio-cells = <2>; | |
227 | ||
24b714f8 MB |
228 | clocks = <&codec_mclk>; |
229 | clock-names = "MCLK1"; | |
230 | ||
40cb43bd PV |
231 | AVDD2-supply = <&vdd>; |
232 | CPVDD-supply = <&vdd>; | |
233 | DBVDD-supply = <&dbvdd>; | |
234 | SPKVDD1-supply = <&spkvdd>; | |
235 | SPKVDD2-supply = <&spkvdd>; | |
28a48058 | 236 | }; |
009f7c9f TA |
237 | }; |
238 | ||
c47d244a VA |
239 | i2c@121D0000 { |
240 | samsung,i2c-sda-delay = <100>; | |
241 | samsung,i2c-max-bus-freq = <40000>; | |
242 | samsung,i2c-slave-addr = <0x38>; | |
6ad8ebff | 243 | status = "okay"; |
c47d244a | 244 | |
ba0d7ed3 YK |
245 | sata_phy_i2c:sata-phy@38 { |
246 | compatible = "samsung,exynos-sataphy-i2c"; | |
c47d244a VA |
247 | reg = <0x38>; |
248 | }; | |
249 | }; | |
250 | ||
009f7c9f | 251 | i2c@12C80000 { |
62a1f83f RS |
252 | samsung,i2c-sda-delay = <100>; |
253 | samsung,i2c-max-bus-freq = <66000>; | |
6ad8ebff | 254 | status = "okay"; |
62a1f83f RS |
255 | |
256 | hdmiddc@50 { | |
0d1fc829 | 257 | compatible = "samsung,exynos4210-hdmiddc"; |
62a1f83f RS |
258 | reg = <0x50>; |
259 | }; | |
009f7c9f TA |
260 | }; |
261 | ||
3e3e9ce4 RS |
262 | i2c@12CE0000 { |
263 | samsung,i2c-sda-delay = <100>; | |
264 | samsung,i2c-max-bus-freq = <66000>; | |
6ad8ebff | 265 | status = "okay"; |
3e3e9ce4 RS |
266 | |
267 | hdmiphy@38 { | |
0d1fc829 | 268 | compatible = "samsung,exynos4212-hdmiphy"; |
3e3e9ce4 RS |
269 | reg = <0x38>; |
270 | }; | |
271 | }; | |
272 | ||
ba0d7ed3 YK |
273 | sata@122F0000 { |
274 | status = "okay"; | |
275 | }; | |
276 | ||
277 | sata-phy@12170000 { | |
278 | status = "okay"; | |
279 | samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>; | |
280 | }; | |
281 | ||
c8149df0 | 282 | mmc@12200000 { |
e908d5c5 | 283 | status = "okay"; |
84bd48a0 TA |
284 | num-slots = <1>; |
285 | supports-highspeed; | |
286 | broken-cd; | |
84bd48a0 TA |
287 | card-detect-delay = <200>; |
288 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
289 | samsung,dw-mshc-sdr-timing = <2 3>; |
290 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
291 | pinctrl-names = "default"; |
292 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
84bd48a0 TA |
293 | |
294 | slot@0 { | |
295 | reg = <0>; | |
296 | bus-width = <8>; | |
84bd48a0 TA |
297 | }; |
298 | }; | |
299 | ||
c8149df0 | 300 | mmc@12220000 { |
e908d5c5 | 301 | status = "okay"; |
84bd48a0 TA |
302 | num-slots = <1>; |
303 | supports-highspeed; | |
84bd48a0 TA |
304 | card-detect-delay = <200>; |
305 | samsung,dw-mshc-ciu-div = <3>; | |
753bd6dd AA |
306 | samsung,dw-mshc-sdr-timing = <2 3>; |
307 | samsung,dw-mshc-ddr-timing = <1 2>; | |
f8bfe2b0 TA |
308 | pinctrl-names = "default"; |
309 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
84bd48a0 TA |
310 | |
311 | slot@0 { | |
312 | reg = <0>; | |
313 | bus-width = <4>; | |
488755b5 | 314 | disable-wp; |
84bd48a0 TA |
315 | }; |
316 | }; | |
317 | ||
79989ba3 | 318 | spi_1: spi@12d30000 { |
fae93f7c MB |
319 | status = "okay"; |
320 | ||
79989ba3 TA |
321 | w25q80bw@0 { |
322 | #address-cells = <1>; | |
323 | #size-cells = <1>; | |
324 | compatible = "w25x80"; | |
325 | reg = <0>; | |
326 | spi-max-frequency = <1000000>; | |
327 | ||
328 | controller-data { | |
f8bfe2b0 | 329 | cs-gpio = <&gpa2 5 0>; |
79989ba3 TA |
330 | samsung,spi-feedback-delay = <0>; |
331 | }; | |
332 | ||
333 | partition@0 { | |
334 | label = "U-Boot"; | |
335 | reg = <0x0 0x40000>; | |
336 | read-only; | |
337 | }; | |
338 | ||
339 | partition@40000 { | |
340 | label = "Kernel"; | |
341 | reg = <0x40000 0xc0000>; | |
342 | }; | |
343 | }; | |
344 | }; | |
345 | ||
566cf8ee | 346 | hdmi { |
f8bfe2b0 | 347 | hpd-gpio = <&gpx3 7 0>; |
566cf8ee | 348 | }; |
24025f6f | 349 | |
2eae613b AK |
350 | codec@11000000 { |
351 | samsung,mfc-r = <0x43000000 0x800000>; | |
352 | samsung,mfc-l = <0x51000000 0x800000>; | |
353 | }; | |
4c4c7463 | 354 | |
28a48058 | 355 | i2s0: i2s@03830000 { |
f8bfe2b0 | 356 | status = "okay"; |
4c4c7463 PV |
357 | }; |
358 | ||
28a48058 PV |
359 | sound { |
360 | compatible = "samsung,smdk-wm8994"; | |
361 | ||
362 | samsung,i2s-controller = <&i2s0>; | |
363 | samsung,audio-codec = <&wm8994>; | |
364 | }; | |
ad4aebe1 | 365 | |
13cbd1e3 | 366 | usb@12110000 { |
c58c1a4c | 367 | samsung,vbus-gpio = <&gpx2 6 0>; |
13cbd1e3 VG |
368 | }; |
369 | ||
77899d53 | 370 | dp-controller@145B0000 { |
ad4aebe1 JH |
371 | samsung,color-space = <0>; |
372 | samsung,dynamic-range = <0>; | |
373 | samsung,ycbcr-coeff = <0>; | |
374 | samsung,color-depth = <1>; | |
375 | samsung,link-rate = <0x0a>; | |
376 | samsung,lane-count = <4>; | |
74478338 JH |
377 | |
378 | pinctrl-names = "default"; | |
379 | pinctrl-0 = <&dp_hpd>; | |
77899d53 | 380 | status = "okay"; |
ad4aebe1 | 381 | }; |
8b6076d4 | 382 | |
d1bf2abe VS |
383 | fimd@14400000 { |
384 | status = "okay"; | |
385 | display-timings { | |
386 | native-mode = <&timing0>; | |
387 | timing0: timing@0 { | |
388 | /* 1280x800 */ | |
389 | clock-frequency = <50000>; | |
390 | hactive = <1280>; | |
391 | vactive = <800>; | |
392 | hfront-porch = <4>; | |
393 | hback-porch = <4>; | |
394 | hsync-len = <4>; | |
395 | vback-porch = <4>; | |
396 | vfront-porch = <4>; | |
397 | vsync-len = <4>; | |
398 | }; | |
06c460b7 LKA |
399 | }; |
400 | }; | |
401 | ||
8b6076d4 TA |
402 | fixed-rate-clocks { |
403 | xxti { | |
404 | compatible = "samsung,clock-xxti"; | |
405 | clock-frequency = <24000000>; | |
406 | }; | |
24b714f8 MB |
407 | |
408 | codec_mclk: codec-mclk { | |
409 | compatible = "fixed-clock"; | |
410 | #clock-cells = <0>; | |
411 | clock-frequency = <16934000>; | |
412 | }; | |
8b6076d4 | 413 | }; |
b074abb7 | 414 | }; |