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