]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/arm/boot/dts/exynos5250-smdk5250.dts
ARM: dts: unuse the slot-node and deprecate the supports-highspeed for dw-mmc in...
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
CommitLineData
b074abb7
KK
1/*
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/;
3799279f 13#include "exynos5250.dtsi"
b074abb7
KK
14
15/ {
16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
8bdb31b4 17 compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
b074abb7 18
84bd48a0 19 aliases {
84bd48a0
TA
20 };
21
b074abb7
KK
22 memory {
23 reg = <0x40000000 0x80000000>;
24 };
25
26 chosen {
3c817102 27 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
b074abb7 28 };
009f7c9f 29
65cedf0e
SK
30 rtc@101E0000 {
31 status = "okay";
32 };
33
009f7c9f
TA
34 i2c@12C60000 {
35 samsung,i2c-sda-delay = <100>;
36 samsung,i2c-max-bus-freq = <20000>;
6ad8ebff 37 status = "okay";
009f7c9f
TA
38
39 eeprom@50 {
40 compatible = "samsung,s524ad0xd1";
41 reg = <0x50>;
42 };
275dcd22
TA
43
44 max77686@09 {
45 compatible = "maxim,max77686";
46 reg = <0x09>;
47580e8d
TA
47 interrupt-parent = <&gpx3>;
48 interrupts = <2 0>;
275dcd22
TA
49
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 };
009f7c9f
TA
187 };
188
0572b725 189 vdd: fixed-regulator@0 {
40cb43bd
PV
190 compatible = "regulator-fixed";
191 regulator-name = "vdd-supply";
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <1800000>;
194 regulator-always-on;
195 };
196
0572b725 197 dbvdd: fixed-regulator@1 {
40cb43bd
PV
198 compatible = "regulator-fixed";
199 regulator-name = "dbvdd-supply";
200 regulator-min-microvolt = <3300000>;
201 regulator-max-microvolt = <3300000>;
202 regulator-always-on;
203 };
204
0572b725 205 spkvdd: fixed-regulator@2 {
40cb43bd
PV
206 compatible = "regulator-fixed";
207 regulator-name = "spkvdd-supply";
208 regulator-min-microvolt = <5000000>;
209 regulator-max-microvolt = <5000000>;
210 regulator-always-on;
211 };
212
009f7c9f
TA
213 i2c@12C70000 {
214 samsung,i2c-sda-delay = <100>;
215 samsung,i2c-max-bus-freq = <20000>;
6ad8ebff 216 status = "okay";
009f7c9f
TA
217
218 eeprom@51 {
219 compatible = "samsung,s524ad0xd1";
220 reg = <0x51>;
221 };
28a48058
PV
222
223 wm8994: wm8994@1a {
40cb43bd
PV
224 compatible = "wlf,wm8994";
225 reg = <0x1a>;
226
227 gpio-controller;
228 #gpio-cells = <2>;
229
24b714f8
MB
230 clocks = <&codec_mclk>;
231 clock-names = "MCLK1";
232
40cb43bd
PV
233 AVDD2-supply = <&vdd>;
234 CPVDD-supply = <&vdd>;
235 DBVDD-supply = <&dbvdd>;
236 SPKVDD1-supply = <&spkvdd>;
237 SPKVDD2-supply = <&spkvdd>;
28a48058 238 };
009f7c9f
TA
239 };
240
c47d244a
VA
241 i2c@121D0000 {
242 samsung,i2c-sda-delay = <100>;
243 samsung,i2c-max-bus-freq = <40000>;
244 samsung,i2c-slave-addr = <0x38>;
6ad8ebff 245 status = "okay";
c47d244a 246
ba0d7ed3
YK
247 sata_phy_i2c:sata-phy@38 {
248 compatible = "samsung,exynos-sataphy-i2c";
c47d244a
VA
249 reg = <0x38>;
250 };
251 };
252
009f7c9f 253 i2c@12C80000 {
62a1f83f
RS
254 samsung,i2c-sda-delay = <100>;
255 samsung,i2c-max-bus-freq = <66000>;
6ad8ebff 256 status = "okay";
62a1f83f
RS
257
258 hdmiddc@50 {
0d1fc829 259 compatible = "samsung,exynos4210-hdmiddc";
62a1f83f
RS
260 reg = <0x50>;
261 };
009f7c9f
TA
262 };
263
3e3e9ce4
RS
264 i2c@12CE0000 {
265 samsung,i2c-sda-delay = <100>;
266 samsung,i2c-max-bus-freq = <66000>;
6ad8ebff 267 status = "okay";
3e3e9ce4
RS
268
269 hdmiphy@38 {
0d1fc829 270 compatible = "samsung,exynos4212-hdmiphy";
3e3e9ce4
RS
271 reg = <0x38>;
272 };
273 };
274
ba0d7ed3
YK
275 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
c8149df0 284 mmc@12200000 {
e908d5c5 285 status = "okay";
84bd48a0 286 num-slots = <1>;
84bd48a0 287 broken-cd;
84bd48a0
TA
288 card-detect-delay = <200>;
289 samsung,dw-mshc-ciu-div = <3>;
753bd6dd
AA
290 samsung,dw-mshc-sdr-timing = <2 3>;
291 samsung,dw-mshc-ddr-timing = <1 2>;
f8bfe2b0
TA
292 pinctrl-names = "default";
293 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
aaa25a5a
JC
294 bus-width = <8>;
295 cap-mmc-highspeed;
84bd48a0
TA
296 };
297
c8149df0 298 mmc@12220000 {
e908d5c5 299 status = "okay";
84bd48a0 300 num-slots = <1>;
84bd48a0
TA
301 card-detect-delay = <200>;
302 samsung,dw-mshc-ciu-div = <3>;
753bd6dd
AA
303 samsung,dw-mshc-sdr-timing = <2 3>;
304 samsung,dw-mshc-ddr-timing = <1 2>;
f8bfe2b0
TA
305 pinctrl-names = "default";
306 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
aaa25a5a
JC
307 bus-width = <4>;
308 disable-wp;
309 cap-sd-highspeed;
84bd48a0
TA
310 };
311
79989ba3 312 spi_1: spi@12d30000 {
e138d433 313 cs-gpios = <&gpa2 5 0>;
fae93f7c
MB
314 status = "okay";
315
79989ba3
TA
316 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 {
79989ba3
TA
324 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
566cf8ee 340 hdmi {
f8bfe2b0 341 hpd-gpio = <&gpx3 7 0>;
566cf8ee 342 };
24025f6f 343
2eae613b
AK
344 codec@11000000 {
345 samsung,mfc-r = <0x43000000 0x800000>;
346 samsung,mfc-l = <0x51000000 0x800000>;
347 };
4c4c7463 348
28a48058 349 i2s0: i2s@03830000 {
f8bfe2b0 350 status = "okay";
4c4c7463
PV
351 };
352
28a48058
PV
353 sound {
354 compatible = "samsung,smdk-wm8994";
355
356 samsung,i2s-controller = <&i2s0>;
357 samsung,audio-codec = <&wm8994>;
358 };
ad4aebe1 359
13cbd1e3 360 usb@12110000 {
c58c1a4c 361 samsung,vbus-gpio = <&gpx2 6 0>;
13cbd1e3
VG
362 };
363
77899d53 364 dp-controller@145B0000 {
ad4aebe1
JH
365 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>;
74478338
JH
371
372 pinctrl-names = "default";
373 pinctrl-0 = <&dp_hpd>;
77899d53 374 status = "okay";
ad4aebe1 375 };
8b6076d4 376
d1bf2abe
VS
377 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 };
06c460b7
LKA
393 };
394 };
395
8b6076d4
TA
396 fixed-rate-clocks {
397 xxti {
398 compatible = "samsung,clock-xxti";
399 clock-frequency = <24000000>;
400 };
24b714f8
MB
401
402 codec_mclk: codec-mclk {
403 compatible = "fixed-clock";
404 #clock-cells = <0>;
405 clock-frequency = <16934000>;
406 };
8b6076d4 407 };
b074abb7 408};