blob: ac35aefd320ff0acc0998f11b96c3375dc2454c5 [file] [log] [blame]
Chander Kashyap34dcedf2013-06-19 00:29:35 +09001/*
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"
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090014#include <dt-bindings/gpio/gpio.h>
Chander Kashyap34dcedf2013-06-19 00:29:35 +090015
16/ {
17 model = "Samsung SMDK5420 board based on EXYNOS5420";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090018 compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5";
Chander Kashyap34dcedf2013-06-19 00:29:35 +090019
20 memory {
21 reg = <0x20000000 0x80000000>;
22 };
23
24 chosen {
25 bootargs = "console=ttySAC2,115200 init=/linuxrc";
26 };
27
28 fixed-rate-clocks {
29 oscclk {
30 compatible = "samsung,exynos5420-oscclk";
31 clock-frequency = <24000000>;
32 };
33 };
Vikas Sajjanee3381d2013-08-14 17:08:33 +090034
Sachin Kamat7e03ff32014-02-24 08:47:29 +090035 regulators {
36 compatible = "simple-bus";
37 #address-cells = <1>;
38 #size-cells = <0>;
39
40 vdd: fixed-regulator@0 {
41 compatible = "regulator-fixed";
42 reg = <0>;
43 regulator-name = "vdd-supply";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
46 regulator-always-on;
47 };
48
49 dbvdd: fixed-regulator@1 {
50 compatible = "regulator-fixed";
51 reg = <1>;
52 regulator-name = "dbvdd-supply";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
55 regulator-always-on;
56 };
57
58 spkvdd: fixed-regulator@2 {
59 compatible = "regulator-fixed";
60 reg = <2>;
61 regulator-name = "spkvdd-supply";
62 regulator-min-microvolt = <5000000>;
63 regulator-max-microvolt = <5000000>;
64 regulator-always-on;
65 };
66 };
67
Vivek Gautam9c6096e2014-05-19 22:30:48 +090068 usb300_vbus_reg: regulator-usb300 {
69 compatible = "regulator-fixed";
70 regulator-name = "VBUS0";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090073 gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>;
Vivek Gautam9c6096e2014-05-19 22:30:48 +090074 pinctrl-names = "default";
75 pinctrl-0 = <&usb300_vbus_en>;
76 enable-active-high;
77 };
78
79 usb301_vbus_reg: regulator-usb301 {
80 compatible = "regulator-fixed";
81 regulator-name = "VBUS1";
82 regulator-min-microvolt = <5000000>;
83 regulator-max-microvolt = <5000000>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090084 gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>;
Vivek Gautam9c6096e2014-05-19 22:30:48 +090085 pinctrl-names = "default";
86 pinctrl-0 = <&usb301_vbus_en>;
87 enable-active-high;
88 };
89
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +090090};
Vivek Gautam9c6096e2014-05-19 22:30:48 +090091
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +090092&dp {
93 pinctrl-names = "default";
94 pinctrl-0 = <&dp_hpd>;
95 samsung,color-space = <0>;
96 samsung,dynamic-range = <0>;
97 samsung,ycbcr-coeff = <0>;
98 samsung,color-depth = <1>;
99 samsung,link-rate = <0x0a>;
100 samsung,lane-count = <4>;
101 status = "okay";
Vivek Gautam9c6096e2014-05-19 22:30:48 +0900102
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900103 display-timings {
104 native-mode = <&timing0>;
105 timing0: timing@0 {
106 clock-frequency = <50000>;
107 hactive = <2560>;
108 vactive = <1600>;
109 hfront-porch = <48>;
110 hback-porch = <80>;
111 hsync-len = <32>;
112 vback-porch = <16>;
113 vfront-porch = <8>;
114 vsync-len = <6>;
Rahul Sharma29f86662013-10-08 06:49:46 +0900115 };
116 };
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900117};
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530118
Sean Paulc5185062015-09-17 14:48:39 +0200119&fimd {
120 status = "okay";
121};
122
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900123&hdmi {
124 status = "okay";
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900125 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900126 pinctrl-names = "default";
127 pinctrl-0 = <&hdmi_hpd_irq>;
128};
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530129
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900130&hsi2c_4 {
131 status = "okay";
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530132
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900133 s2mps11_pmic@66 {
134 compatible = "samsung,s2mps11-pmic";
135 reg = <0x66>;
136 s2mps11,buck2-ramp-delay = <12>;
137 s2mps11,buck34-ramp-delay = <12>;
138 s2mps11,buck16-ramp-delay = <12>;
139 s2mps11,buck6-ramp-enable = <1>;
140 s2mps11,buck2-ramp-enable = <1>;
141 s2mps11,buck3-ramp-enable = <1>;
142 s2mps11,buck4-ramp-enable = <1>;
143
144 s2mps11_osc: clocks {
145 #clock-cells = <1>;
146 clock-output-names = "s2mps11_ap",
147 "s2mps11_cp", "s2mps11_bt";
148 };
149
150 regulators {
151 ldo1_reg: LDO1 {
152 regulator-name = "vdd_ldo1";
153 regulator-min-microvolt = <1000000>;
154 regulator-max-microvolt = <1000000>;
155 regulator-always-on;
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530156 };
157
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900158 ldo3_reg: LDO3 {
159 regulator-name = "vdd_ldo3";
160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
162 regulator-always-on;
163 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530164
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900165 ldo5_reg: LDO5 {
166 regulator-name = "vdd_ldo5";
167 regulator-min-microvolt = <1800000>;
168 regulator-max-microvolt = <1800000>;
169 regulator-always-on;
170 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530171
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900172 ldo6_reg: LDO6 {
173 regulator-name = "vdd_ldo6";
174 regulator-min-microvolt = <1000000>;
175 regulator-max-microvolt = <1000000>;
176 regulator-always-on;
177 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530178
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900179 ldo7_reg: LDO7 {
180 regulator-name = "vdd_ldo7";
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
183 regulator-always-on;
184 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530185
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900186 ldo8_reg: LDO8 {
187 regulator-name = "vdd_ldo8";
188 regulator-min-microvolt = <1800000>;
189 regulator-max-microvolt = <1800000>;
190 regulator-always-on;
191 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530192
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900193 ldo9_reg: LDO9 {
194 regulator-name = "vdd_ldo9";
195 regulator-min-microvolt = <3000000>;
196 regulator-max-microvolt = <3000000>;
197 regulator-always-on;
198 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530199
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900200 ldo10_reg: LDO10 {
201 regulator-name = "vdd_ldo10";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
204 regulator-always-on;
205 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530206
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900207 ldo11_reg: LDO11 {
208 regulator-name = "vdd_ldo11";
209 regulator-min-microvolt = <1000000>;
210 regulator-max-microvolt = <1000000>;
211 regulator-always-on;
212 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530213
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900214 ldo12_reg: LDO12 {
215 regulator-name = "vdd_ldo12";
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
218 regulator-always-on;
219 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530220
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900221 ldo13_reg: LDO13 {
222 regulator-name = "vdd_ldo13";
223 regulator-min-microvolt = <2800000>;
224 regulator-max-microvolt = <2800000>;
225 regulator-always-on;
226 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530227
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900228 ldo15_reg: LDO15 {
229 regulator-name = "vdd_ldo15";
230 regulator-min-microvolt = <3100000>;
231 regulator-max-microvolt = <3100000>;
232 regulator-always-on;
233 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530234
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900235 ldo16_reg: LDO16 {
236 regulator-name = "vdd_ldo16";
237 regulator-min-microvolt = <2200000>;
238 regulator-max-microvolt = <2200000>;
239 regulator-always-on;
240 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530241
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900242 ldo17_reg: LDO17 {
243 regulator-name = "tsp_avdd";
244 regulator-min-microvolt = <3300000>;
245 regulator-max-microvolt = <3300000>;
246 regulator-always-on;
247 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530248
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900249 ldo19_reg: LDO19 {
250 regulator-name = "vdd_sd";
251 regulator-min-microvolt = <2800000>;
252 regulator-max-microvolt = <2800000>;
253 regulator-always-on;
254 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530255
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900256 ldo24_reg: LDO24 {
257 regulator-name = "tsp_io";
258 regulator-min-microvolt = <2800000>;
259 regulator-max-microvolt = <2800000>;
260 regulator-always-on;
261 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530262
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900263 buck1_reg: BUCK1 {
264 regulator-name = "vdd_mif";
265 regulator-min-microvolt = <800000>;
266 regulator-max-microvolt = <1300000>;
267 regulator-always-on;
268 regulator-boot-on;
269 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530270
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900271 buck2_reg: BUCK2 {
272 regulator-name = "vdd_arm";
273 regulator-min-microvolt = <800000>;
274 regulator-max-microvolt = <1500000>;
275 regulator-always-on;
276 regulator-boot-on;
277 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530278
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900279 buck3_reg: BUCK3 {
280 regulator-name = "vdd_int";
281 regulator-min-microvolt = <800000>;
282 regulator-max-microvolt = <1400000>;
283 regulator-always-on;
284 regulator-boot-on;
285 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530286
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900287 buck4_reg: BUCK4 {
288 regulator-name = "vdd_g3d";
289 regulator-min-microvolt = <800000>;
290 regulator-max-microvolt = <1400000>;
291 regulator-always-on;
292 regulator-boot-on;
293 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530294
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900295 buck5_reg: BUCK5 {
296 regulator-name = "vdd_mem";
297 regulator-min-microvolt = <800000>;
298 regulator-max-microvolt = <1400000>;
299 regulator-always-on;
300 regulator-boot-on;
301 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530302
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900303 buck6_reg: BUCK6 {
304 regulator-name = "vdd_kfc";
305 regulator-min-microvolt = <800000>;
306 regulator-max-microvolt = <1500000>;
307 regulator-always-on;
308 regulator-boot-on;
309 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530310
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900311 buck7_reg: BUCK7 {
312 regulator-name = "vdd_1.0v_ldo";
313 regulator-min-microvolt = <800000>;
314 regulator-max-microvolt = <1500000>;
315 regulator-always-on;
316 regulator-boot-on;
317 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530318
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900319 buck8_reg: BUCK8 {
320 regulator-name = "vdd_1.8v_ldo";
321 regulator-min-microvolt = <800000>;
322 regulator-max-microvolt = <1500000>;
323 regulator-always-on;
324 regulator-boot-on;
325 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530326
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900327 buck9_reg: BUCK9 {
328 regulator-name = "vdd_2.8v_ldo";
329 regulator-min-microvolt = <3000000>;
330 regulator-max-microvolt = <3750000>;
331 regulator-always-on;
332 regulator-boot-on;
333 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530334
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900335 buck10_reg: BUCK10 {
336 regulator-name = "vdd_vmem";
337 regulator-min-microvolt = <2850000>;
338 regulator-max-microvolt = <2850000>;
339 regulator-always-on;
340 regulator-boot-on;
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530341 };
342 };
343 };
Chander Kashyap34dcedf2013-06-19 00:29:35 +0900344};
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900345
346&i2c_2 {
347 samsung,i2c-sda-delay = <100>;
348 samsung,i2c-max-bus-freq = <66000>;
349 status = "okay";
350
351 hdmiddc@50 {
352 compatible = "samsung,exynos4210-hdmiddc";
353 reg = <0x50>;
354 };
355};
356
357&mfc {
358 samsung,mfc-r = <0x43000000 0x800000>;
359 samsung,mfc-l = <0x51000000 0x800000>;
360};
361
362&mmc_0 {
363 status = "okay";
364 broken-cd;
365 card-detect-delay = <200>;
366 samsung,dw-mshc-ciu-div = <3>;
367 samsung,dw-mshc-sdr-timing = <0 4>;
368 samsung,dw-mshc-ddr-timing = <0 2>;
369 samsung,dw-mshc-hs400-timing = <0 2>;
370 samsung,read-strobe-delay = <90>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8
373 &sd0_rclk>;
374 bus-width = <8>;
375 cap-mmc-highspeed;
376};
377
378&mmc_2 {
379 status = "okay";
380 card-detect-delay = <200>;
381 samsung,dw-mshc-ciu-div = <3>;
382 samsung,dw-mshc-sdr-timing = <2 3>;
383 samsung,dw-mshc-ddr-timing = <1 2>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
386 bus-width = <4>;
387 cap-sd-highspeed;
388};
389
390&pinctrl_0 {
391 hdmi_hpd_irq: hdmi-hpd-irq {
392 samsung,pins = "gpx3-7";
393 samsung,pin-function = <0>;
394 samsung,pin-pud = <1>;
395 samsung,pin-drv = <0>;
396 };
397};
398
399&pinctrl_2 {
400 usb300_vbus_en: usb300-vbus-en {
401 samsung,pins = "gpg0-5";
402 samsung,pin-function = <1>;
403 samsung,pin-pud = <0>;
404 samsung,pin-drv = <0>;
405 };
406
407 usb301_vbus_en: usb301-vbus-en {
408 samsung,pins = "gpg1-4";
409 samsung,pin-function = <1>;
410 samsung,pin-pud = <0>;
411 samsung,pin-drv = <0>;
412 };
413};
414
415&rtc {
416 status = "okay";
417};
418
419&usbdrd_phy0 {
420 vbus-supply = <&usb300_vbus_reg>;
421};
422
423&usbdrd_phy1 {
424 vbus-supply = <&usb301_vbus_reg>;
425};