blob: 29546465d3da6db92b3155400934907579e17900 [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"
Krzysztof Kozlowski4f0d20e2015-12-11 15:05:56 +090014#include "exynos5420-cpus.dtsi"
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090015#include <dt-bindings/gpio/gpio.h>
Marek Szyprowski8b9ac7e2016-05-24 15:31:29 +020016#include "exynos-mfc-reserved-memory.dtsi"
Chander Kashyap34dcedf2013-06-19 00:29:35 +090017
18/ {
19 model = "Samsung SMDK5420 board based on EXYNOS5420";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090020 compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5";
Chander Kashyap34dcedf2013-06-19 00:29:35 +090021
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 };
35 };
Vikas Sajjanee3381d2013-08-14 17:08:33 +090036
Sachin Kamat7e03ff32014-02-24 08:47:29 +090037 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 };
68 };
69
Vivek Gautam9c6096e2014-05-19 22:30:48 +090070 usb300_vbus_reg: regulator-usb300 {
71 compatible = "regulator-fixed";
72 regulator-name = "VBUS0";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090075 gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>;
Vivek Gautam9c6096e2014-05-19 22:30:48 +090076 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>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090086 gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>;
Vivek Gautam9c6096e2014-05-19 22:30:48 +090087 pinctrl-names = "default";
88 pinctrl-0 = <&usb301_vbus_en>;
89 enable-active-high;
90 };
91
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +090092};
Vivek Gautam9c6096e2014-05-19 22:30:48 +090093
Bartlomiej Zolnierkiewicz8b51c5e2015-12-15 18:33:15 +010094&cpu0 {
95 cpu-supply = <&buck2_reg>;
96};
97
98&cpu4 {
99 cpu-supply = <&buck6_reg>;
100};
101
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900102&dp {
103 pinctrl-names = "default";
104 pinctrl-0 = <&dp_hpd>;
105 samsung,color-space = <0>;
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900106 samsung,color-depth = <1>;
107 samsung,link-rate = <0x0a>;
108 samsung,lane-count = <4>;
109 status = "okay";
Vivek Gautam9c6096e2014-05-19 22:30:48 +0900110
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900111 display-timings {
112 native-mode = <&timing0>;
Krzysztof Kozlowskifed3b4a2016-04-06 11:00:48 +0900113 timing0: timing {
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900114 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>;
Rahul Sharma29f86662013-10-08 06:49:46 +0900123 };
124 };
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900125};
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530126
Sean Paulc5185062015-09-17 14:48:39 +0200127&fimd {
128 status = "okay";
129};
130
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900131&hdmi {
132 status = "okay";
Milo Kim05b01dd2016-08-24 22:07:16 +0900133 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900134 pinctrl-names = "default";
135 pinctrl-0 = <&hdmi_hpd_irq>;
136};
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530137
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900138&hsi2c_4 {
139 status = "okay";
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530140
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900141 s2mps11_pmic@66 {
142 compatible = "samsung,s2mps11-pmic";
143 reg = <0x66>;
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900144
145 s2mps11_osc: clocks {
146 #clock-cells = <1>;
147 clock-output-names = "s2mps11_ap",
148 "s2mps11_cp", "s2mps11_bt";
149 };
150
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;
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530157 };
158
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900159 ldo3_reg: LDO3 {
160 regulator-name = "vdd_ldo3";
161 regulator-min-microvolt = <1800000>;
162 regulator-max-microvolt = <1800000>;
163 regulator-always-on;
164 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530165
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900166 ldo5_reg: LDO5 {
167 regulator-name = "vdd_ldo5";
168 regulator-min-microvolt = <1800000>;
169 regulator-max-microvolt = <1800000>;
170 regulator-always-on;
171 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530172
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900173 ldo6_reg: LDO6 {
174 regulator-name = "vdd_ldo6";
175 regulator-min-microvolt = <1000000>;
176 regulator-max-microvolt = <1000000>;
177 regulator-always-on;
178 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530179
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900180 ldo7_reg: LDO7 {
181 regulator-name = "vdd_ldo7";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <1800000>;
184 regulator-always-on;
185 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530186
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900187 ldo8_reg: LDO8 {
188 regulator-name = "vdd_ldo8";
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <1800000>;
191 regulator-always-on;
192 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530193
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900194 ldo9_reg: LDO9 {
195 regulator-name = "vdd_ldo9";
196 regulator-min-microvolt = <3000000>;
197 regulator-max-microvolt = <3000000>;
198 regulator-always-on;
199 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530200
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900201 ldo10_reg: LDO10 {
202 regulator-name = "vdd_ldo10";
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <1800000>;
205 regulator-always-on;
206 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530207
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900208 ldo11_reg: LDO11 {
209 regulator-name = "vdd_ldo11";
210 regulator-min-microvolt = <1000000>;
211 regulator-max-microvolt = <1000000>;
212 regulator-always-on;
213 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530214
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900215 ldo12_reg: LDO12 {
216 regulator-name = "vdd_ldo12";
217 regulator-min-microvolt = <1800000>;
218 regulator-max-microvolt = <1800000>;
219 regulator-always-on;
220 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530221
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900222 ldo13_reg: LDO13 {
223 regulator-name = "vdd_ldo13";
224 regulator-min-microvolt = <2800000>;
225 regulator-max-microvolt = <2800000>;
226 regulator-always-on;
227 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530228
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900229 ldo15_reg: LDO15 {
230 regulator-name = "vdd_ldo15";
231 regulator-min-microvolt = <3100000>;
232 regulator-max-microvolt = <3100000>;
233 regulator-always-on;
234 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530235
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900236 ldo16_reg: LDO16 {
237 regulator-name = "vdd_ldo16";
238 regulator-min-microvolt = <2200000>;
239 regulator-max-microvolt = <2200000>;
240 regulator-always-on;
241 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530242
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900243 ldo17_reg: LDO17 {
244 regulator-name = "tsp_avdd";
245 regulator-min-microvolt = <3300000>;
246 regulator-max-microvolt = <3300000>;
247 regulator-always-on;
248 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530249
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900250 ldo19_reg: LDO19 {
251 regulator-name = "vdd_sd";
252 regulator-min-microvolt = <2800000>;
253 regulator-max-microvolt = <2800000>;
254 regulator-always-on;
255 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530256
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900257 ldo24_reg: LDO24 {
258 regulator-name = "tsp_io";
259 regulator-min-microvolt = <2800000>;
260 regulator-max-microvolt = <2800000>;
261 regulator-always-on;
262 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530263
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900264 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530271
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900272 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530279
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900280 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530287
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900288 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530295
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900296 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530303
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900304 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530311
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900312 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530319
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900320 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530327
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900328 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 };
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530335
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900336 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;
Sachin Kamatc8c253f2013-11-06 13:44:41 +0530342 };
343 };
344 };
Chander Kashyap34dcedf2013-06-19 00:29:35 +0900345};
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900346
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
Krzysztof Kozlowskie7d7ef32015-04-12 20:59:34 +0900358&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};