Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / arm / boot / dts / exynos5250-smdk5250.dts
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/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include "exynos5250.dtsi"
16
17 / {
18         model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
19         compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
20
21         aliases {
22         };
23
24         memory {
25                 reg = <0x40000000 0x80000000>;
26         };
27
28         chosen {
29                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
30         };
31
32         vdd: fixed-regulator@0 {
33                 compatible = "regulator-fixed";
34                 regulator-name = "vdd-supply";
35                 regulator-min-microvolt = <1800000>;
36                 regulator-max-microvolt = <1800000>;
37                 regulator-always-on;
38         };
39
40         dbvdd: fixed-regulator@1 {
41                 compatible = "regulator-fixed";
42                 regulator-name = "dbvdd-supply";
43                 regulator-min-microvolt = <3300000>;
44                 regulator-max-microvolt = <3300000>;
45                 regulator-always-on;
46         };
47
48         spkvdd: fixed-regulator@2 {
49                 compatible = "regulator-fixed";
50                 regulator-name = "spkvdd-supply";
51                 regulator-min-microvolt = <5000000>;
52                 regulator-max-microvolt = <5000000>;
53                 regulator-always-on;
54         };
55
56         sound {
57                 compatible = "samsung,smdk-wm8994";
58
59                 samsung,i2s-controller = <&i2s0>;
60                 samsung,audio-codec = <&wm8994>;
61         };
62
63         fixed-rate-clocks {
64                 xxti {
65                         compatible = "samsung,clock-xxti";
66                         clock-frequency = <24000000>;
67                 };
68
69                 codec_mclk: codec-mclk {
70                         compatible = "fixed-clock";
71                         #clock-cells = <0>;
72                         clock-frequency = <16934000>;
73                 };
74         };
75 };
76
77 &dp {
78         samsung,color-space = <0>;
79         samsung,dynamic-range = <0>;
80         samsung,ycbcr-coeff = <0>;
81         samsung,color-depth = <1>;
82         samsung,link-rate = <0x0a>;
83         samsung,lane-count = <4>;
84
85         pinctrl-names = "default";
86         pinctrl-0 = <&dp_hpd>;
87         status = "okay";
88 };
89
90 &ehci {
91         samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
92 };
93
94 &fimd {
95         status = "okay";
96
97         display-timings {
98                 native-mode = <&timing0>;
99
100                 timing0: timing@0 {
101                         /* 1280x800 */
102                         clock-frequency = <50000>;
103                         hactive = <1280>;
104                         vactive = <800>;
105                         hfront-porch = <4>;
106                         hback-porch = <4>;
107                         hsync-len = <4>;
108                         vback-porch = <4>;
109                         vfront-porch = <4>;
110                         vsync-len = <4>;
111                 };
112         };
113 };
114
115 &hdmi {
116         hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
117 };
118
119 &i2c_0 {
120         status = "okay";
121         samsung,i2c-sda-delay = <100>;
122         samsung,i2c-max-bus-freq = <20000>;
123
124         eeprom@50 {
125                 compatible = "samsung,s524ad0xd1";
126                 reg = <0x50>;
127         };
128
129         max77686@09 {
130                 compatible = "maxim,max77686";
131                 reg = <0x09>;
132                 interrupt-parent = <&gpx3>;
133                 interrupts = <2 IRQ_TYPE_NONE>;
134
135                 voltage-regulators {
136                         ldo1_reg: LDO1 {
137                                 regulator-name = "P1.0V_LDO_OUT1";
138                                 regulator-min-microvolt = <1000000>;
139                                 regulator-max-microvolt = <1000000>;
140                                 regulator-always-on;
141                         };
142
143                         ldo2_reg: LDO2 {
144                                 regulator-name = "P1.2V_LDO_OUT2";
145                                 regulator-min-microvolt = <1200000>;
146                                 regulator-max-microvolt = <1200000>;
147                                 regulator-always-on;
148                         };
149
150                         ldo3_reg: LDO3 {
151                                 regulator-name = "P1.8V_LDO_OUT3";
152                                 regulator-min-microvolt = <1800000>;
153                                 regulator-max-microvolt = <1800000>;
154                                 regulator-always-on;
155                         };
156
157                         ldo4_reg: LDO4 {
158                                 regulator-name = "P2.8V_LDO_OUT4";
159                                 regulator-min-microvolt = <2800000>;
160                                 regulator-max-microvolt = <2800000>;
161                         };
162
163                         ldo5_reg: LDO5 {
164                                 regulator-name = "P1.8V_LDO_OUT5";
165                                 regulator-min-microvolt = <1800000>;
166                                 regulator-max-microvolt = <1800000>;
167                         };
168
169                         ldo6_reg: LDO6 {
170                                 regulator-name = "P1.1V_LDO_OUT6";
171                                 regulator-min-microvolt = <1100000>;
172                                 regulator-max-microvolt = <1100000>;
173                                 regulator-always-on;
174                         };
175
176                         ldo7_reg: LDO7 {
177                                 regulator-name = "P1.1V_LDO_OUT7";
178                                 regulator-min-microvolt = <1100000>;
179                                 regulator-max-microvolt = <1100000>;
180                                 regulator-always-on;
181                         };
182
183                         ldo8_reg: LDO8 {
184                                 regulator-name = "P1.0V_LDO_OUT8";
185                                 regulator-min-microvolt = <1000000>;
186                                 regulator-max-microvolt = <1000000>;
187                         };
188
189                         ldo10_reg: LDO10 {
190                                 regulator-name = "P1.8V_LDO_OUT10";
191                                 regulator-min-microvolt = <1800000>;
192                                 regulator-max-microvolt = <1800000>;
193                         };
194
195                         ldo11_reg: LDO11 {
196                                 regulator-name = "P1.8V_LDO_OUT11";
197                                 regulator-min-microvolt = <1800000>;
198                                 regulator-max-microvolt = <1800000>;
199                         };
200
201                         ldo12_reg: LDO12 {
202                                 regulator-name = "P3.0V_LDO_OUT12";
203                                 regulator-min-microvolt = <3000000>;
204                                 regulator-max-microvolt = <3000000>;
205                         };
206
207                         ldo13_reg: LDO13 {
208                                 regulator-name = "P1.8V_LDO_OUT13";
209                                 regulator-min-microvolt = <1800000>;
210                                 regulator-max-microvolt = <1800000>;
211                         };
212
213                         ldo14_reg: LDO14 {
214                                 regulator-name = "P1.8V_LDO_OUT14";
215                                 regulator-min-microvolt = <1800000>;
216                                 regulator-max-microvolt = <1800000>;
217                         };
218
219                         ldo15_reg: LDO15 {
220                                 regulator-name = "P1.0V_LDO_OUT15";
221                                 regulator-min-microvolt = <1000000>;
222                                 regulator-max-microvolt = <1000000>;
223                         };
224
225                         ldo16_reg: LDO16 {
226                                 regulator-name = "P1.8V_LDO_OUT16";
227                                 regulator-min-microvolt = <1800000>;
228                                 regulator-max-microvolt = <1800000>;
229                         };
230
231                         buck1_reg: BUCK1 {
232                                 regulator-name = "vdd_mif";
233                                 regulator-min-microvolt = <950000>;
234                                 regulator-max-microvolt = <1300000>;
235                                 regulator-always-on;
236                                 regulator-boot-on;
237                         };
238
239                         buck2_reg: BUCK2 {
240                                 regulator-name = "vdd_arm";
241                                 regulator-min-microvolt = <850000>;
242                                 regulator-max-microvolt = <1350000>;
243                                 regulator-always-on;
244                                 regulator-boot-on;
245                         };
246
247                         buck3_reg: BUCK3 {
248                                 regulator-name = "vdd_int";
249                                 regulator-min-microvolt = <900000>;
250                                 regulator-max-microvolt = <1200000>;
251                                 regulator-always-on;
252                                 regulator-boot-on;
253                         };
254
255                         buck4_reg: BUCK4 {
256                                 regulator-name = "vdd_g3d";
257                                 regulator-min-microvolt = <850000>;
258                                 regulator-max-microvolt = <1300000>;
259                                 regulator-always-on;
260                                 regulator-boot-on;
261                         };
262
263                         buck5_reg: BUCK5 {
264                                 regulator-name = "P1.8V_BUCK_OUT5";
265                                 regulator-min-microvolt = <1800000>;
266                                 regulator-max-microvolt = <1800000>;
267                                 regulator-always-on;
268                                 regulator-boot-on;
269                         };
270                 };
271         };
272 };
273
274 &i2c_1 {
275         status = "okay";
276         samsung,i2c-sda-delay = <100>;
277         samsung,i2c-max-bus-freq = <20000>;
278
279         eeprom@51 {
280                 compatible = "samsung,s524ad0xd1";
281                 reg = <0x51>;
282         };
283
284         wm8994: wm8994@1a {
285                 compatible = "wlf,wm8994";
286                 reg = <0x1a>;
287
288                 gpio-controller;
289                 #gpio-cells = <2>;
290
291                 clocks = <&codec_mclk>;
292                 clock-names = "MCLK1";
293
294                 AVDD2-supply = <&vdd>;
295                 CPVDD-supply = <&vdd>;
296                 DBVDD-supply = <&dbvdd>;
297                 SPKVDD1-supply = <&spkvdd>;
298                 SPKVDD2-supply = <&spkvdd>;
299         };
300 };
301
302 &i2c_2 {
303         status = "okay";
304         samsung,i2c-sda-delay = <100>;
305         samsung,i2c-max-bus-freq = <66000>;
306
307         hdmiddc@50 {
308                 compatible = "samsung,exynos4210-hdmiddc";
309                 reg = <0x50>;
310         };
311 };
312
313 &i2c_8 {
314         status = "okay";
315         samsung,i2c-sda-delay = <100>;
316         samsung,i2c-max-bus-freq = <66000>;
317
318         hdmiphy@38 {
319                 compatible = "samsung,exynos4212-hdmiphy";
320                 reg = <0x38>;
321         };
322 };
323
324 &i2c_9 {
325         status = "okay";
326         samsung,i2c-sda-delay = <100>;
327         samsung,i2c-max-bus-freq = <40000>;
328         samsung,i2c-slave-addr = <0x38>;
329
330         sata_phy_i2c: sata-phy@38 {
331                 compatible = "samsung,exynos-sataphy-i2c";
332                 reg = <0x38>;
333         };
334 };
335
336 &i2s0 {
337         status = "okay";
338 };
339
340 &mfc {
341         samsung,mfc-r = <0x43000000 0x800000>;
342         samsung,mfc-l = <0x51000000 0x800000>;
343 };
344
345 &mmc_0 {
346         status = "okay";
347         num-slots = <1>;
348         broken-cd;
349         card-detect-delay = <200>;
350         samsung,dw-mshc-ciu-div = <3>;
351         samsung,dw-mshc-sdr-timing = <2 3>;
352         samsung,dw-mshc-ddr-timing = <1 2>;
353         pinctrl-names = "default";
354         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
355         bus-width = <8>;
356         cap-mmc-highspeed;
357 };
358
359 &mmc_2 {
360         status = "okay";
361         num-slots = <1>;
362         card-detect-delay = <200>;
363         samsung,dw-mshc-ciu-div = <3>;
364         samsung,dw-mshc-sdr-timing = <2 3>;
365         samsung,dw-mshc-ddr-timing = <1 2>;
366         pinctrl-names = "default";
367         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
368         bus-width = <4>;
369         disable-wp;
370         cap-sd-highspeed;
371 };
372
373 &rtc {
374         status = "okay";
375 };
376
377 &sata {
378         status = "okay";
379 };
380
381 &sata_phy {
382         status = "okay";
383         samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
384 };
385
386 &spi_1 {
387         status = "okay";
388         cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
389
390         w25q80bw@0 {
391                 #address-cells = <1>;
392                 #size-cells = <1>;
393                 compatible = "w25x80";
394                 reg = <0>;
395                 spi-max-frequency = <1000000>;
396
397                 controller-data {
398                         samsung,spi-feedback-delay = <0>;
399                 };
400
401                 partition@0 {
402                         label = "U-Boot";
403                         reg = <0x0 0x40000>;
404                         read-only;
405                 };
406
407                 partition@40000 {
408                         label = "Kernel";
409                         reg = <0x40000 0xc0000>;
410                 };
411         };
412 };