Commit | Line | Data |
---|---|---|
34dcedfb CK |
1 | /* |
2 | * SAMSUNG SMDK5420 board device tree source | |
3 | * | |
4 | * Copyright (c) 2013 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 "exynos5420.dtsi" | |
14 | ||
15 | / { | |
16 | model = "Samsung SMDK5420 board based on EXYNOS5420"; | |
8bdb31b4 | 17 | compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5"; |
34dcedfb CK |
18 | |
19 | memory { | |
20 | reg = <0x20000000 0x80000000>; | |
21 | }; | |
22 | ||
23 | chosen { | |
24 | bootargs = "console=ttySAC2,115200 init=/linuxrc"; | |
25 | }; | |
26 | ||
27 | fixed-rate-clocks { | |
28 | oscclk { | |
29 | compatible = "samsung,exynos5420-oscclk"; | |
30 | clock-frequency = <24000000>; | |
31 | }; | |
7e03ff33 SK |
32 | }; |
33 | ||
34 | regulators { | |
35 | compatible = "simple-bus"; | |
36 | #address-cells = <1>; | |
37 | #size-cells = <0>; | |
38 | ||
39 | vdd: fixed-regulator@0 { | |
40 | compatible = "regulator-fixed"; | |
41 | reg = <0>; | |
42 | regulator-name = "vdd-supply"; | |
43 | regulator-min-microvolt = <1800000>; | |
44 | regulator-max-microvolt = <1800000>; | |
45 | regulator-always-on; | |
46 | }; | |
47 | ||
48 | dbvdd: fixed-regulator@1 { | |
49 | compatible = "regulator-fixed"; | |
50 | reg = <1>; | |
51 | regulator-name = "dbvdd-supply"; | |
52 | regulator-min-microvolt = <3300000>; | |
53 | regulator-max-microvolt = <3300000>; | |
54 | regulator-always-on; | |
55 | }; | |
56 | ||
57 | spkvdd: fixed-regulator@2 { | |
58 | compatible = "regulator-fixed"; | |
59 | reg = <2>; | |
60 | regulator-name = "spkvdd-supply"; | |
61 | regulator-min-microvolt = <5000000>; | |
62 | regulator-max-microvolt = <5000000>; | |
63 | regulator-always-on; | |
64 | }; | |
34dcedfb | 65 | }; |
ee3381d4 | 66 | |
451c402b SK |
67 | rtc@101E0000 { |
68 | status = "okay"; | |
69 | }; | |
70 | ||
b5839bd8 SK |
71 | codec@11000000 { |
72 | samsung,mfc-r = <0x43000000 0x800000>; | |
73 | samsung,mfc-l = <0x51000000 0x800000>; | |
74 | }; | |
75 | ||
0e2c5915 YK |
76 | mmc@12200000 { |
77 | status = "okay"; | |
78 | broken-cd; | |
0e2c5915 YK |
79 | card-detect-delay = <200>; |
80 | samsung,dw-mshc-ciu-div = <3>; | |
81 | samsung,dw-mshc-sdr-timing = <0 4>; | |
82 | samsung,dw-mshc-ddr-timing = <0 2>; | |
83 | pinctrl-names = "default"; | |
84 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>; | |
aaa25a5a JC |
85 | bus-width = <8>; |
86 | cap-mmc-highspeed; | |
0e2c5915 YK |
87 | }; |
88 | ||
89 | mmc@12220000 { | |
90 | status = "okay"; | |
0e2c5915 YK |
91 | card-detect-delay = <200>; |
92 | samsung,dw-mshc-ciu-div = <3>; | |
93 | samsung,dw-mshc-sdr-timing = <2 3>; | |
94 | samsung,dw-mshc-ddr-timing = <1 2>; | |
95 | pinctrl-names = "default"; | |
96 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
aaa25a5a JC |
97 | bus-width = <4>; |
98 | cap-sd-highspeed; | |
0e2c5915 YK |
99 | }; |
100 | ||
1339d33a | 101 | dp-controller@145B0000 { |
4e780892 VS |
102 | pinctrl-names = "default"; |
103 | pinctrl-0 = <&dp_hpd>; | |
1339d33a VS |
104 | samsung,color-space = <0>; |
105 | samsung,dynamic-range = <0>; | |
106 | samsung,ycbcr-coeff = <0>; | |
107 | samsung,color-depth = <1>; | |
108 | samsung,link-rate = <0x0a>; | |
109 | samsung,lane-count = <4>; | |
110 | status = "okay"; | |
111 | }; | |
112 | ||
ee3381d4 VS |
113 | fimd@14400000 { |
114 | status = "okay"; | |
115 | display-timings { | |
116 | native-mode = <&timing0>; | |
117 | timing0: timing@0 { | |
118 | clock-frequency = <50000>; | |
119 | hactive = <2560>; | |
120 | vactive = <1600>; | |
121 | hfront-porch = <48>; | |
122 | hback-porch = <80>; | |
123 | hsync-len = <32>; | |
124 | vback-porch = <16>; | |
125 | vfront-porch = <8>; | |
126 | vsync-len = <6>; | |
127 | }; | |
128 | }; | |
129 | }; | |
130 | ||
29f86661 RS |
131 | pinctrl@13400000 { |
132 | hdmi_hpd_irq: hdmi-hpd-irq { | |
133 | samsung,pins = "gpx3-7"; | |
134 | samsung,pin-function = <0>; | |
135 | samsung,pin-pud = <1>; | |
136 | samsung,pin-drv = <0>; | |
137 | }; | |
138 | }; | |
139 | ||
9c6096e9 VG |
140 | pinctrl@14000000 { |
141 | usb300_vbus_en: usb300-vbus-en { | |
142 | samsung,pins = "gpg0-5"; | |
143 | samsung,pin-function = <1>; | |
144 | samsung,pin-pud = <0>; | |
145 | samsung,pin-drv = <0>; | |
146 | }; | |
147 | ||
148 | usb301_vbus_en: usb301-vbus-en { | |
149 | samsung,pins = "gpg1-4"; | |
150 | samsung,pin-function = <1>; | |
151 | samsung,pin-pud = <0>; | |
152 | samsung,pin-drv = <0>; | |
153 | }; | |
154 | }; | |
155 | ||
29f86661 RS |
156 | hdmi@14530000 { |
157 | status = "okay"; | |
158 | hpd-gpio = <&gpx3 7 0>; | |
159 | pinctrl-names = "default"; | |
160 | pinctrl-0 = <&hdmi_hpd_irq>; | |
161 | }; | |
162 | ||
9c6096e9 VG |
163 | usb300_vbus_reg: regulator-usb300 { |
164 | compatible = "regulator-fixed"; | |
165 | regulator-name = "VBUS0"; | |
166 | regulator-min-microvolt = <5000000>; | |
167 | regulator-max-microvolt = <5000000>; | |
168 | gpio = <&gpg0 5 0>; | |
169 | pinctrl-names = "default"; | |
170 | pinctrl-0 = <&usb300_vbus_en>; | |
171 | enable-active-high; | |
172 | }; | |
173 | ||
174 | usb301_vbus_reg: regulator-usb301 { | |
175 | compatible = "regulator-fixed"; | |
176 | regulator-name = "VBUS1"; | |
177 | regulator-min-microvolt = <5000000>; | |
178 | regulator-max-microvolt = <5000000>; | |
179 | gpio = <&gpg1 4 0>; | |
180 | pinctrl-names = "default"; | |
181 | pinctrl-0 = <&usb301_vbus_en>; | |
182 | enable-active-high; | |
183 | }; | |
184 | ||
185 | phy@12100000 { | |
186 | vbus-supply = <&usb300_vbus_reg>; | |
187 | }; | |
188 | ||
189 | phy@12500000 { | |
190 | vbus-supply = <&usb301_vbus_reg>; | |
191 | }; | |
192 | ||
29f86661 RS |
193 | i2c_2: i2c@12C80000 { |
194 | samsung,i2c-sda-delay = <100>; | |
195 | samsung,i2c-max-bus-freq = <66000>; | |
196 | status = "okay"; | |
197 | ||
198 | hdmiddc@50 { | |
199 | compatible = "samsung,exynos4210-hdmiddc"; | |
200 | reg = <0x50>; | |
201 | }; | |
202 | }; | |
c8c253fc SK |
203 | |
204 | hsi2c_4: i2c@12CA0000 { | |
205 | status = "okay"; | |
206 | ||
207 | s2mps11_pmic@66 { | |
208 | compatible = "samsung,s2mps11-pmic"; | |
209 | reg = <0x66>; | |
210 | s2mps11,buck2-ramp-delay = <12>; | |
211 | s2mps11,buck34-ramp-delay = <12>; | |
212 | s2mps11,buck16-ramp-delay = <12>; | |
213 | s2mps11,buck6-ramp-enable = <1>; | |
214 | s2mps11,buck2-ramp-enable = <1>; | |
215 | s2mps11,buck3-ramp-enable = <1>; | |
216 | s2mps11,buck4-ramp-enable = <1>; | |
217 | ||
218 | s2mps11_osc: clocks { | |
219 | #clock-cells = <1>; | |
220 | clock-output-names = "s2mps11_ap", | |
221 | "s2mps11_cp", "s2mps11_bt"; | |
222 | }; | |
223 | ||
224 | regulators { | |
225 | ldo1_reg: LDO1 { | |
226 | regulator-name = "vdd_ldo1"; | |
227 | regulator-min-microvolt = <1000000>; | |
228 | regulator-max-microvolt = <1000000>; | |
229 | regulator-always-on; | |
230 | }; | |
231 | ||
232 | ldo3_reg: LDO3 { | |
233 | regulator-name = "vdd_ldo3"; | |
234 | regulator-min-microvolt = <1800000>; | |
235 | regulator-max-microvolt = <1800000>; | |
236 | regulator-always-on; | |
237 | }; | |
238 | ||
239 | ldo5_reg: LDO5 { | |
240 | regulator-name = "vdd_ldo5"; | |
241 | regulator-min-microvolt = <1800000>; | |
242 | regulator-max-microvolt = <1800000>; | |
243 | regulator-always-on; | |
244 | }; | |
245 | ||
246 | ldo6_reg: LDO6 { | |
247 | regulator-name = "vdd_ldo6"; | |
248 | regulator-min-microvolt = <1000000>; | |
249 | regulator-max-microvolt = <1000000>; | |
250 | regulator-always-on; | |
251 | }; | |
252 | ||
253 | ldo7_reg: LDO7 { | |
254 | regulator-name = "vdd_ldo7"; | |
255 | regulator-min-microvolt = <1800000>; | |
256 | regulator-max-microvolt = <1800000>; | |
257 | regulator-always-on; | |
258 | }; | |
259 | ||
260 | ldo8_reg: LDO8 { | |
261 | regulator-name = "vdd_ldo8"; | |
262 | regulator-min-microvolt = <1800000>; | |
263 | regulator-max-microvolt = <1800000>; | |
264 | regulator-always-on; | |
265 | }; | |
266 | ||
267 | ldo9_reg: LDO9 { | |
268 | regulator-name = "vdd_ldo9"; | |
269 | regulator-min-microvolt = <3000000>; | |
270 | regulator-max-microvolt = <3000000>; | |
271 | regulator-always-on; | |
272 | }; | |
273 | ||
274 | ldo10_reg: LDO10 { | |
275 | regulator-name = "vdd_ldo10"; | |
276 | regulator-min-microvolt = <1800000>; | |
277 | regulator-max-microvolt = <1800000>; | |
278 | regulator-always-on; | |
279 | }; | |
280 | ||
281 | ldo11_reg: LDO11 { | |
282 | regulator-name = "vdd_ldo11"; | |
283 | regulator-min-microvolt = <1000000>; | |
284 | regulator-max-microvolt = <1000000>; | |
285 | regulator-always-on; | |
286 | }; | |
287 | ||
288 | ldo12_reg: LDO12 { | |
289 | regulator-name = "vdd_ldo12"; | |
290 | regulator-min-microvolt = <1800000>; | |
291 | regulator-max-microvolt = <1800000>; | |
292 | regulator-always-on; | |
293 | }; | |
294 | ||
295 | ldo13_reg: LDO13 { | |
296 | regulator-name = "vdd_ldo13"; | |
297 | regulator-min-microvolt = <2800000>; | |
298 | regulator-max-microvolt = <2800000>; | |
299 | regulator-always-on; | |
300 | }; | |
301 | ||
302 | ldo15_reg: LDO15 { | |
303 | regulator-name = "vdd_ldo15"; | |
304 | regulator-min-microvolt = <3100000>; | |
305 | regulator-max-microvolt = <3100000>; | |
306 | regulator-always-on; | |
307 | }; | |
308 | ||
309 | ldo16_reg: LDO16 { | |
310 | regulator-name = "vdd_ldo16"; | |
311 | regulator-min-microvolt = <2200000>; | |
312 | regulator-max-microvolt = <2200000>; | |
313 | regulator-always-on; | |
314 | }; | |
315 | ||
316 | ldo17_reg: LDO17 { | |
317 | regulator-name = "tsp_avdd"; | |
318 | regulator-min-microvolt = <3300000>; | |
319 | regulator-max-microvolt = <3300000>; | |
320 | regulator-always-on; | |
321 | }; | |
322 | ||
323 | ldo19_reg: LDO19 { | |
324 | regulator-name = "vdd_sd"; | |
325 | regulator-min-microvolt = <2800000>; | |
326 | regulator-max-microvolt = <2800000>; | |
327 | regulator-always-on; | |
328 | }; | |
329 | ||
330 | ldo24_reg: LDO24 { | |
331 | regulator-name = "tsp_io"; | |
332 | regulator-min-microvolt = <2800000>; | |
333 | regulator-max-microvolt = <2800000>; | |
334 | regulator-always-on; | |
335 | }; | |
336 | ||
337 | buck1_reg: BUCK1 { | |
338 | regulator-name = "vdd_mif"; | |
339 | regulator-min-microvolt = <800000>; | |
340 | regulator-max-microvolt = <1300000>; | |
341 | regulator-always-on; | |
342 | regulator-boot-on; | |
343 | }; | |
344 | ||
345 | buck2_reg: BUCK2 { | |
346 | regulator-name = "vdd_arm"; | |
347 | regulator-min-microvolt = <800000>; | |
348 | regulator-max-microvolt = <1500000>; | |
349 | regulator-always-on; | |
350 | regulator-boot-on; | |
351 | }; | |
352 | ||
353 | buck3_reg: BUCK3 { | |
354 | regulator-name = "vdd_int"; | |
355 | regulator-min-microvolt = <800000>; | |
356 | regulator-max-microvolt = <1400000>; | |
357 | regulator-always-on; | |
358 | regulator-boot-on; | |
359 | }; | |
360 | ||
361 | buck4_reg: BUCK4 { | |
362 | regulator-name = "vdd_g3d"; | |
363 | regulator-min-microvolt = <800000>; | |
364 | regulator-max-microvolt = <1400000>; | |
365 | regulator-always-on; | |
366 | regulator-boot-on; | |
367 | }; | |
368 | ||
369 | buck5_reg: BUCK5 { | |
370 | regulator-name = "vdd_mem"; | |
371 | regulator-min-microvolt = <800000>; | |
372 | regulator-max-microvolt = <1400000>; | |
373 | regulator-always-on; | |
374 | regulator-boot-on; | |
375 | }; | |
376 | ||
377 | buck6_reg: BUCK6 { | |
378 | regulator-name = "vdd_kfc"; | |
379 | regulator-min-microvolt = <800000>; | |
380 | regulator-max-microvolt = <1500000>; | |
381 | regulator-always-on; | |
382 | regulator-boot-on; | |
383 | }; | |
384 | ||
385 | buck7_reg: BUCK7 { | |
386 | regulator-name = "vdd_1.0v_ldo"; | |
387 | regulator-min-microvolt = <800000>; | |
388 | regulator-max-microvolt = <1500000>; | |
389 | regulator-always-on; | |
390 | regulator-boot-on; | |
391 | }; | |
392 | ||
393 | buck8_reg: BUCK8 { | |
394 | regulator-name = "vdd_1.8v_ldo"; | |
395 | regulator-min-microvolt = <800000>; | |
396 | regulator-max-microvolt = <1500000>; | |
397 | regulator-always-on; | |
398 | regulator-boot-on; | |
399 | }; | |
400 | ||
401 | buck9_reg: BUCK9 { | |
402 | regulator-name = "vdd_2.8v_ldo"; | |
403 | regulator-min-microvolt = <3000000>; | |
404 | regulator-max-microvolt = <3750000>; | |
405 | regulator-always-on; | |
406 | regulator-boot-on; | |
407 | }; | |
408 | ||
409 | buck10_reg: BUCK10 { | |
410 | regulator-name = "vdd_vmem"; | |
411 | regulator-min-microvolt = <2850000>; | |
412 | regulator-max-microvolt = <2850000>; | |
413 | regulator-always-on; | |
414 | regulator-boot-on; | |
415 | }; | |
416 | }; | |
417 | }; | |
418 | }; | |
34dcedfb | 419 | }; |