blob: 6a0f4c0ff763f64c0846d539d74abd0d8fccd52e [file] [log] [blame]
Kukjin Kimb074abb2012-02-10 13:12:21 +09001/*
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/;
Padmavathi Venna37992792013-06-18 00:02:08 +090013#include "exynos5250.dtsi"
Kukjin Kimb074abb2012-02-10 13:12:21 +090014
15/ {
16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090017 compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
Kukjin Kimb074abb2012-02-10 13:12:21 +090018
Thomas Abraham84bd48a2012-09-26 09:02:59 +090019 aliases {
Thomas Abraham84bd48a2012-09-26 09:02:59 +090020 };
21
Kukjin Kimb074abb2012-02-10 13:12:21 +090022 memory {
23 reg = <0x40000000 0x80000000>;
24 };
25
26 chosen {
Kukjin Kim3c817102012-09-21 11:04:20 +090027 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
Kukjin Kimb074abb2012-02-10 13:12:21 +090028 };
Thomas Abraham009f7c92012-05-15 23:47:53 +090029
Sachin Kamat65cedf02014-02-24 08:47:28 +090030 rtc@101E0000 {
31 status = "okay";
32 };
33
Thomas Abraham009f7c92012-05-15 23:47:53 +090034 i2c@12C60000 {
35 samsung,i2c-sda-delay = <100>;
36 samsung,i2c-max-bus-freq = <20000>;
Mark Brown6ad8ebf2013-12-21 08:33:23 +090037 status = "okay";
Thomas Abraham009f7c92012-05-15 23:47:53 +090038
39 eeprom@50 {
40 compatible = "samsung,s524ad0xd1";
41 reg = <0x50>;
42 };
Thomas Abraham275dcd22014-02-16 02:10:11 +090043
44 max77686@09 {
45 compatible = "maxim,max77686";
46 reg = <0x09>;
Thomas Abraham47580e82014-07-30 07:54:46 +090047 interrupt-parent = <&gpx3>;
48 interrupts = <2 0>;
Thomas Abraham275dcd22014-02-16 02:10:11 +090049
50 voltage-regulators {
51 ldo1_reg: LDO1 {
52 regulator-name = "P1.0V_LDO_OUT1";
53 regulator-min-microvolt = <1000000>;
54 regulator-max-microvolt = <1000000>;
55 regulator-always-on;
56 };
57
58 ldo2_reg: LDO2 {
59 regulator-name = "P1.2V_LDO_OUT2";
60 regulator-min-microvolt = <1200000>;
61 regulator-max-microvolt = <1200000>;
62 regulator-always-on;
63 };
64
65 ldo3_reg: LDO3 {
66 regulator-name = "P1.8V_LDO_OUT3";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <1800000>;
69 regulator-always-on;
70 };
71
72 ldo4_reg: LDO4 {
73 regulator-name = "P2.8V_LDO_OUT4";
74 regulator-min-microvolt = <2800000>;
75 regulator-max-microvolt = <2800000>;
76 };
77
78 ldo5_reg: LDO5 {
79 regulator-name = "P1.8V_LDO_OUT5";
80 regulator-min-microvolt = <1800000>;
81 regulator-max-microvolt = <1800000>;
82 };
83
84 ldo6_reg: LDO6 {
85 regulator-name = "P1.1V_LDO_OUT6";
86 regulator-min-microvolt = <1100000>;
87 regulator-max-microvolt = <1100000>;
88 regulator-always-on;
89 };
90
91 ldo7_reg: LDO7 {
92 regulator-name = "P1.1V_LDO_OUT7";
93 regulator-min-microvolt = <1100000>;
94 regulator-max-microvolt = <1100000>;
95 regulator-always-on;
96 };
97
98 ldo8_reg: LDO8 {
99 regulator-name = "P1.0V_LDO_OUT8";
100 regulator-min-microvolt = <1000000>;
101 regulator-max-microvolt = <1000000>;
102 };
103
104 ldo10_reg: LDO10 {
105 regulator-name = "P1.8V_LDO_OUT10";
106 regulator-min-microvolt = <1800000>;
107 regulator-max-microvolt = <1800000>;
108 };
109
110 ldo11_reg: LDO11 {
111 regulator-name = "P1.8V_LDO_OUT11";
112 regulator-min-microvolt = <1800000>;
113 regulator-max-microvolt = <1800000>;
114 };
115
116 ldo12_reg: LDO12 {
117 regulator-name = "P3.0V_LDO_OUT12";
118 regulator-min-microvolt = <3000000>;
119 regulator-max-microvolt = <3000000>;
120 };
121
122 ldo13_reg: LDO13 {
123 regulator-name = "P1.8V_LDO_OUT13";
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
126 };
127
128 ldo14_reg: LDO14 {
129 regulator-name = "P1.8V_LDO_OUT14";
130 regulator-min-microvolt = <1800000>;
131 regulator-max-microvolt = <1800000>;
132 };
133
134 ldo15_reg: LDO15 {
135 regulator-name = "P1.0V_LDO_OUT15";
136 regulator-min-microvolt = <1000000>;
137 regulator-max-microvolt = <1000000>;
138 };
139
140 ldo16_reg: LDO16 {
141 regulator-name = "P1.8V_LDO_OUT16";
142 regulator-min-microvolt = <1800000>;
143 regulator-max-microvolt = <1800000>;
144 };
145
146 buck1_reg: BUCK1 {
147 regulator-name = "vdd_mif";
148 regulator-min-microvolt = <950000>;
149 regulator-max-microvolt = <1300000>;
150 regulator-always-on;
151 regulator-boot-on;
152 };
153
154 buck2_reg: BUCK2 {
155 regulator-name = "vdd_arm";
156 regulator-min-microvolt = <850000>;
157 regulator-max-microvolt = <1350000>;
158 regulator-always-on;
159 regulator-boot-on;
160 };
161
162 buck3_reg: BUCK3 {
163 regulator-name = "vdd_int";
164 regulator-min-microvolt = <900000>;
165 regulator-max-microvolt = <1200000>;
166 regulator-always-on;
167 regulator-boot-on;
168 };
169
170 buck4_reg: BUCK4 {
171 regulator-name = "vdd_g3d";
172 regulator-min-microvolt = <850000>;
173 regulator-max-microvolt = <1300000>;
174 regulator-always-on;
175 regulator-boot-on;
176 };
177
178 buck5_reg: BUCK5 {
179 regulator-name = "P1.8V_BUCK_OUT5";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
182 regulator-always-on;
183 regulator-boot-on;
184 };
185 };
186 };
Thomas Abraham009f7c92012-05-15 23:47:53 +0900187 };
188
Tomasz Figa0572b722013-12-19 03:17:54 +0900189 vdd: fixed-regulator@0 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +0900190 compatible = "regulator-fixed";
191 regulator-name = "vdd-supply";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-always-on;
195 };
196
Tomasz Figa0572b722013-12-19 03:17:54 +0900197 dbvdd: fixed-regulator@1 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +0900198 compatible = "regulator-fixed";
199 regulator-name = "dbvdd-supply";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-always-on;
203 };
204
Tomasz Figa0572b722013-12-19 03:17:54 +0900205 spkvdd: fixed-regulator@2 {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +0900206 compatible = "regulator-fixed";
207 regulator-name = "spkvdd-supply";
208 regulator-min-microvolt = <5000000>;
209 regulator-max-microvolt = <5000000>;
210 regulator-always-on;
211 };
212
Thomas Abraham009f7c92012-05-15 23:47:53 +0900213 i2c@12C70000 {
214 samsung,i2c-sda-delay = <100>;
215 samsung,i2c-max-bus-freq = <20000>;
Mark Brown6ad8ebf2013-12-21 08:33:23 +0900216 status = "okay";
Thomas Abraham009f7c92012-05-15 23:47:53 +0900217
218 eeprom@51 {
219 compatible = "samsung,s524ad0xd1";
220 reg = <0x51>;
221 };
Padmavathi Venna28a48052013-01-18 17:17:06 +0530222
223 wm8994: wm8994@1a {
Padmavathi Venna40cb43b2013-06-18 06:38:13 +0900224 compatible = "wlf,wm8994";
225 reg = <0x1a>;
226
227 gpio-controller;
228 #gpio-cells = <2>;
229
Mark Brown24b714f2013-12-21 07:24:26 +0900230 clocks = <&codec_mclk>;
231 clock-names = "MCLK1";
232
Padmavathi Venna40cb43b2013-06-18 06:38:13 +0900233 AVDD2-supply = <&vdd>;
234 CPVDD-supply = <&vdd>;
235 DBVDD-supply = <&dbvdd>;
236 SPKVDD1-supply = <&spkvdd>;
237 SPKVDD2-supply = <&spkvdd>;
Padmavathi Venna28a48052013-01-18 17:17:06 +0530238 };
Thomas Abraham009f7c92012-05-15 23:47:53 +0900239 };
240
Vasanth Ananthanc47d2442012-11-20 21:02:11 +0900241 i2c@121D0000 {
242 samsung,i2c-sda-delay = <100>;
243 samsung,i2c-max-bus-freq = <40000>;
244 samsung,i2c-slave-addr = <0x38>;
Mark Brown6ad8ebf2013-12-21 08:33:23 +0900245 status = "okay";
Vasanth Ananthanc47d2442012-11-20 21:02:11 +0900246
Yuvaraj Kumar C Dba0d7ed2014-03-18 07:49:14 +0900247 sata_phy_i2c:sata-phy@38 {
248 compatible = "samsung,exynos-sataphy-i2c";
Vasanth Ananthanc47d2442012-11-20 21:02:11 +0900249 reg = <0x38>;
250 };
251 };
252
Thomas Abraham009f7c92012-05-15 23:47:53 +0900253 i2c@12C80000 {
Rahul Sharma62a1f832012-10-29 21:51:47 +0900254 samsung,i2c-sda-delay = <100>;
255 samsung,i2c-max-bus-freq = <66000>;
Mark Brown6ad8ebf2013-12-21 08:33:23 +0900256 status = "okay";
Rahul Sharma62a1f832012-10-29 21:51:47 +0900257
258 hdmiddc@50 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530259 compatible = "samsung,exynos4210-hdmiddc";
Rahul Sharma62a1f832012-10-29 21:51:47 +0900260 reg = <0x50>;
261 };
Thomas Abraham009f7c92012-05-15 23:47:53 +0900262 };
263
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900264 i2c@12CE0000 {
265 samsung,i2c-sda-delay = <100>;
266 samsung,i2c-max-bus-freq = <66000>;
Mark Brown6ad8ebf2013-12-21 08:33:23 +0900267 status = "okay";
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900268
269 hdmiphy@38 {
Rahul Sharma0d1fc822013-06-19 18:21:09 +0530270 compatible = "samsung,exynos4212-hdmiphy";
Rahul Sharma3e3e9ce2012-10-29 21:51:42 +0900271 reg = <0x38>;
272 };
273 };
274
Yuvaraj Kumar C Dba0d7ed2014-03-18 07:49:14 +0900275 sata@122F0000 {
276 status = "okay";
277 };
278
279 sata-phy@12170000 {
280 status = "okay";
281 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
282 };
283
Yuvaraj Kumar C Dc8149df2013-10-21 05:48:16 +0900284 mmc@12200000 {
Yuvaraj Kumar C De908d5c2013-10-21 05:48:06 +0900285 status = "okay";
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900286 num-slots = <1>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900287 broken-cd;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900288 card-detect-delay = <200>;
289 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800290 samsung,dw-mshc-sdr-timing = <2 3>;
291 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900292 pinctrl-names = "default";
293 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500294 bus-width = <8>;
295 cap-mmc-highspeed;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900296 };
297
Yuvaraj Kumar C Dc8149df2013-10-21 05:48:16 +0900298 mmc@12220000 {
Yuvaraj Kumar C De908d5c2013-10-21 05:48:06 +0900299 status = "okay";
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900300 num-slots = <1>;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900301 card-detect-delay = <200>;
302 samsung,dw-mshc-ciu-div = <3>;
Alim Akhtar753bd6d2013-01-16 15:41:01 -0800303 samsung,dw-mshc-sdr-timing = <2 3>;
304 samsung,dw-mshc-ddr-timing = <1 2>;
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900305 pinctrl-names = "default";
306 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500307 bus-width = <4>;
308 disable-wp;
309 cap-sd-highspeed;
Thomas Abraham84bd48a2012-09-26 09:02:59 +0900310 };
311
Thomas Abraham79989ba2012-07-14 10:45:36 +0900312 spi_1: spi@12d30000 {
Naveen Krishna Chatradhie138d432014-07-16 17:19:10 +0200313 cs-gpios = <&gpa2 5 0>;
Mark Brownfae93f72013-12-21 08:31:30 +0900314 status = "okay";
315
Thomas Abraham79989ba2012-07-14 10:45:36 +0900316 w25q80bw@0 {
317 #address-cells = <1>;
318 #size-cells = <1>;
319 compatible = "w25x80";
320 reg = <0>;
321 spi-max-frequency = <1000000>;
322
323 controller-data {
Thomas Abraham79989ba2012-07-14 10:45:36 +0900324 samsung,spi-feedback-delay = <0>;
325 };
326
327 partition@0 {
328 label = "U-Boot";
329 reg = <0x0 0x40000>;
330 read-only;
331 };
332
333 partition@40000 {
334 label = "Kernel";
335 reg = <0x40000 0xc0000>;
336 };
337 };
338 };
339
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900340 hdmi {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900341 hpd-gpio = <&gpx3 7 0>;
Rahul Sharma566cf8e2012-10-29 21:48:43 +0900342 };
Olof Johansson24025f62012-11-21 11:30:32 -0800343
Arun Kumar K2eae6132012-10-23 22:51:33 +0900344 codec@11000000 {
345 samsung,mfc-r = <0x43000000 0x800000>;
346 samsung,mfc-l = <0x51000000 0x800000>;
347 };
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530348
Padmavathi Venna28a48052013-01-18 17:17:06 +0530349 i2s0: i2s@03830000 {
Thomas Abrahamf8bfe2b2013-04-04 14:16:11 +0900350 status = "okay";
Padmavathi Venna4c4c7462013-01-18 17:17:04 +0530351 };
352
Padmavathi Venna28a48052013-01-18 17:17:06 +0530353 sound {
354 compatible = "samsung,smdk-wm8994";
355
356 samsung,i2s-controller = <&i2s0>;
357 samsung,audio-codec = <&wm8994>;
358 };
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800359
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800360 usb@12110000 {
Doug Andersonc58c1a42013-05-08 10:37:16 -0700361 samsung,vbus-gpio = <&gpx2 6 0>;
Vivek Gautam13cbd1e2013-02-12 15:24:15 -0800362 };
363
Vikas Sajjan77899d52013-08-14 17:15:00 +0900364 dp-controller@145B0000 {
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800365 samsung,color-space = <0>;
366 samsung,dynamic-range = <0>;
367 samsung,ycbcr-coeff = <0>;
368 samsung,color-depth = <1>;
369 samsung,link-rate = <0x0a>;
370 samsung,lane-count = <4>;
Jingoo Han74478332013-06-10 17:36:39 +0900371
372 pinctrl-names = "default";
373 pinctrl-0 = <&dp_hpd>;
Vikas Sajjan77899d52013-08-14 17:15:00 +0900374 status = "okay";
Jingoo Hanad4aebe2013-02-12 11:11:58 -0800375 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900376
Vikas Sajjand1bf2ab2013-08-14 17:08:32 +0900377 fimd@14400000 {
378 status = "okay";
379 display-timings {
380 native-mode = <&timing0>;
381 timing0: timing@0 {
382 /* 1280x800 */
383 clock-frequency = <50000>;
384 hactive = <1280>;
385 vactive = <800>;
386 hfront-porch = <4>;
387 hback-porch = <4>;
388 hsync-len = <4>;
389 vback-porch = <4>;
390 vfront-porch = <4>;
391 vsync-len = <4>;
392 };
Leela Krishna Amudala06c460b2013-04-04 15:59:46 +0900393 };
394 };
395
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900396 fixed-rate-clocks {
397 xxti {
398 compatible = "samsung,clock-xxti";
399 clock-frequency = <24000000>;
400 };
Mark Brown24b714f2013-12-21 07:24:26 +0900401
402 codec_mclk: codec-mclk {
403 compatible = "fixed-clock";
404 #clock-cells = <0>;
405 clock-frequency = <16934000>;
406 };
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900407 };
Kukjin Kimb074abb2012-02-10 13:12:21 +0900408};