Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / 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/ "exynos5250.dtsi"
14
15 / {
16 model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
17 compatible = "samsung,smdk5250", "samsung,exynos5250";
18
19 aliases {
20 };
21
22 memory {
23 reg = <0x40000000 0x80000000>;
24 };
25
26 chosen {
27 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
28 };
29
30 i2c@12C60000 {
31 samsung,i2c-sda-delay = <100>;
32 samsung,i2c-max-bus-freq = <20000>;
33
34 eeprom@50 {
35 compatible = "samsung,s524ad0xd1";
36 reg = <0x50>;
37 };
38 };
39
40 i2c@12C70000 {
41 samsung,i2c-sda-delay = <100>;
42 samsung,i2c-max-bus-freq = <20000>;
43
44 eeprom@51 {
45 compatible = "samsung,s524ad0xd1";
46 reg = <0x51>;
47 };
48
49 wm8994: wm8994@1a {
50 compatible = "wlf,wm8994";
51 reg = <0x1a>;
52 };
53 };
54
55 i2c@121D0000 {
56 samsung,i2c-sda-delay = <100>;
57 samsung,i2c-max-bus-freq = <40000>;
58 samsung,i2c-slave-addr = <0x38>;
59
60 sata-phy {
61 compatible = "samsung,sata-phy";
62 reg = <0x38>;
63 };
64 };
65
66 sata@122F0000 {
67 samsung,sata-freq = <66>;
68 };
69
70 i2c@12C80000 {
71 samsung,i2c-sda-delay = <100>;
72 samsung,i2c-max-bus-freq = <66000>;
73
74 hdmiddc@50 {
75 compatible = "samsung,exynos5-hdmiddc";
76 reg = <0x50>;
77 };
78 };
79
80 i2c@12C90000 {
81 status = "disabled";
82 };
83
84 i2c@12CA0000 {
85 status = "disabled";
86 };
87
88 i2c@12CB0000 {
89 status = "disabled";
90 };
91
92 i2c@12CC0000 {
93 status = "disabled";
94 };
95
96 i2c@12CD0000 {
97 status = "disabled";
98 };
99
100 i2c@12CE0000 {
101 samsung,i2c-sda-delay = <100>;
102 samsung,i2c-max-bus-freq = <66000>;
103
104 hdmiphy@38 {
105 compatible = "samsung,exynos5-hdmiphy";
106 reg = <0x38>;
107 };
108 };
109
110 dwmmc0@12200000 {
111 num-slots = <1>;
112 supports-highspeed;
113 broken-cd;
114 fifo-depth = <0x80>;
115 card-detect-delay = <200>;
116 samsung,dw-mshc-ciu-div = <3>;
117 samsung,dw-mshc-sdr-timing = <2 3>;
118 samsung,dw-mshc-ddr-timing = <1 2>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
121
122 slot@0 {
123 reg = <0>;
124 bus-width = <8>;
125 };
126 };
127
128 dwmmc1@12210000 {
129 status = "disabled";
130 };
131
132 dwmmc2@12220000 {
133 num-slots = <1>;
134 supports-highspeed;
135 fifo-depth = <0x80>;
136 card-detect-delay = <200>;
137 samsung,dw-mshc-ciu-div = <3>;
138 samsung,dw-mshc-sdr-timing = <2 3>;
139 samsung,dw-mshc-ddr-timing = <1 2>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
142
143 slot@0 {
144 reg = <0>;
145 bus-width = <4>;
146 disable-wp;
147 };
148 };
149
150 dwmmc3@12230000 {
151 status = "disabled";
152 };
153
154 spi_0: spi@12d20000 {
155 status = "disabled";
156 };
157
158 spi_1: spi@12d30000 {
159 w25q80bw@0 {
160 #address-cells = <1>;
161 #size-cells = <1>;
162 compatible = "w25x80";
163 reg = <0>;
164 spi-max-frequency = <1000000>;
165
166 controller-data {
167 cs-gpio = <&gpa2 5 0>;
168 samsung,spi-feedback-delay = <0>;
169 };
170
171 partition@0 {
172 label = "U-Boot";
173 reg = <0x0 0x40000>;
174 read-only;
175 };
176
177 partition@40000 {
178 label = "Kernel";
179 reg = <0x40000 0xc0000>;
180 };
181 };
182 };
183
184 spi_2: spi@12d40000 {
185 status = "disabled";
186 };
187
188 hdmi {
189 hpd-gpio = <&gpx3 7 0>;
190 };
191
192 codec@11000000 {
193 samsung,mfc-r = <0x43000000 0x800000>;
194 samsung,mfc-l = <0x51000000 0x800000>;
195 };
196
197 i2s0: i2s@03830000 {
198 status = "okay";
199 };
200
201 i2s1: i2s@12D60000 {
202 status = "disabled";
203 };
204
205 i2s2: i2s@12D70000 {
206 status = "disabled";
207 };
208
209 sound {
210 compatible = "samsung,smdk-wm8994";
211
212 samsung,i2s-controller = <&i2s0>;
213 samsung,audio-codec = <&wm8994>;
214 };
215
216 usb@12110000 {
217 samsung,vbus-gpio = <&gpx2 6 0>;
218 };
219
220 dp-controller {
221 samsung,color-space = <0>;
222 samsung,dynamic-range = <0>;
223 samsung,ycbcr-coeff = <0>;
224 samsung,color-depth = <1>;
225 samsung,link-rate = <0x0a>;
226 samsung,lane-count = <4>;
227 };
228
229 display-timings {
230 native-mode = <&timing0>;
231 timing0: timing@0 {
232 /* 1280x800 */
233 clock-frequency = <50000>;
234 hactive = <1280>;
235 vactive = <800>;
236 hfront-porch = <4>;
237 hback-porch = <4>;
238 hsync-len = <4>;
239 vback-porch = <4>;
240 vfront-porch = <4>;
241 vsync-len = <4>;
242 };
243 };
244
245 fixed-rate-clocks {
246 xxti {
247 compatible = "samsung,clock-xxti";
248 clock-frequency = <24000000>;
249 };
250 };
251 };