]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - arch/arm/boot/dts/exynos5250-smdk5250.dts
Merge branch 'akpm' (incoming from Andrew)
[mirror_ubuntu-zesty-kernel.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 status = "okay";
34
35 eeprom@50 {
36 compatible = "samsung,s524ad0xd1";
37 reg = <0x50>;
38 };
39 };
40
41 vdd: fixed-regulator@0 {
42 compatible = "regulator-fixed";
43 regulator-name = "vdd-supply";
44 regulator-min-microvolt = <1800000>;
45 regulator-max-microvolt = <1800000>;
46 regulator-always-on;
47 };
48
49 dbvdd: fixed-regulator@1 {
50 compatible = "regulator-fixed";
51 regulator-name = "dbvdd-supply";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
54 regulator-always-on;
55 };
56
57 spkvdd: fixed-regulator@2 {
58 compatible = "regulator-fixed";
59 regulator-name = "spkvdd-supply";
60 regulator-min-microvolt = <5000000>;
61 regulator-max-microvolt = <5000000>;
62 regulator-always-on;
63 };
64
65 i2c@12C70000 {
66 samsung,i2c-sda-delay = <100>;
67 samsung,i2c-max-bus-freq = <20000>;
68 status = "okay";
69
70 eeprom@51 {
71 compatible = "samsung,s524ad0xd1";
72 reg = <0x51>;
73 };
74
75 wm8994: wm8994@1a {
76 compatible = "wlf,wm8994";
77 reg = <0x1a>;
78
79 gpio-controller;
80 #gpio-cells = <2>;
81
82 clocks = <&codec_mclk>;
83 clock-names = "MCLK1";
84
85 AVDD2-supply = <&vdd>;
86 CPVDD-supply = <&vdd>;
87 DBVDD-supply = <&dbvdd>;
88 SPKVDD1-supply = <&spkvdd>;
89 SPKVDD2-supply = <&spkvdd>;
90 };
91 };
92
93 i2c@121D0000 {
94 samsung,i2c-sda-delay = <100>;
95 samsung,i2c-max-bus-freq = <40000>;
96 samsung,i2c-slave-addr = <0x38>;
97 status = "okay";
98
99 sata-phy {
100 compatible = "samsung,sata-phy";
101 reg = <0x38>;
102 };
103 };
104
105 sata@122F0000 {
106 samsung,sata-freq = <66>;
107 };
108
109 i2c@12C80000 {
110 samsung,i2c-sda-delay = <100>;
111 samsung,i2c-max-bus-freq = <66000>;
112 status = "okay";
113
114 hdmiddc@50 {
115 compatible = "samsung,exynos4210-hdmiddc";
116 reg = <0x50>;
117 };
118 };
119
120 i2c@12CE0000 {
121 samsung,i2c-sda-delay = <100>;
122 samsung,i2c-max-bus-freq = <66000>;
123 status = "okay";
124
125 hdmiphy@38 {
126 compatible = "samsung,exynos4212-hdmiphy";
127 reg = <0x38>;
128 };
129 };
130
131 mmc@12200000 {
132 status = "okay";
133 num-slots = <1>;
134 supports-highspeed;
135 broken-cd;
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 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
142
143 slot@0 {
144 reg = <0>;
145 bus-width = <8>;
146 };
147 };
148
149 mmc@12220000 {
150 status = "okay";
151 num-slots = <1>;
152 supports-highspeed;
153 card-detect-delay = <200>;
154 samsung,dw-mshc-ciu-div = <3>;
155 samsung,dw-mshc-sdr-timing = <2 3>;
156 samsung,dw-mshc-ddr-timing = <1 2>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
159
160 slot@0 {
161 reg = <0>;
162 bus-width = <4>;
163 disable-wp;
164 };
165 };
166
167 spi_0: spi@12d20000 {
168 status = "disabled";
169 };
170
171 spi_1: spi@12d30000 {
172 status = "okay";
173
174 w25q80bw@0 {
175 #address-cells = <1>;
176 #size-cells = <1>;
177 compatible = "w25x80";
178 reg = <0>;
179 spi-max-frequency = <1000000>;
180
181 controller-data {
182 cs-gpio = <&gpa2 5 0>;
183 samsung,spi-feedback-delay = <0>;
184 };
185
186 partition@0 {
187 label = "U-Boot";
188 reg = <0x0 0x40000>;
189 read-only;
190 };
191
192 partition@40000 {
193 label = "Kernel";
194 reg = <0x40000 0xc0000>;
195 };
196 };
197 };
198
199 hdmi {
200 hpd-gpio = <&gpx3 7 0>;
201 };
202
203 codec@11000000 {
204 samsung,mfc-r = <0x43000000 0x800000>;
205 samsung,mfc-l = <0x51000000 0x800000>;
206 };
207
208 i2s0: i2s@03830000 {
209 status = "okay";
210 };
211
212 sound {
213 compatible = "samsung,smdk-wm8994";
214
215 samsung,i2s-controller = <&i2s0>;
216 samsung,audio-codec = <&wm8994>;
217 };
218
219 usb@12110000 {
220 samsung,vbus-gpio = <&gpx2 6 0>;
221 };
222
223 dp-controller@145B0000 {
224 samsung,color-space = <0>;
225 samsung,dynamic-range = <0>;
226 samsung,ycbcr-coeff = <0>;
227 samsung,color-depth = <1>;
228 samsung,link-rate = <0x0a>;
229 samsung,lane-count = <4>;
230
231 pinctrl-names = "default";
232 pinctrl-0 = <&dp_hpd>;
233 status = "okay";
234 };
235
236 fimd@14400000 {
237 status = "okay";
238 display-timings {
239 native-mode = <&timing0>;
240 timing0: timing@0 {
241 /* 1280x800 */
242 clock-frequency = <50000>;
243 hactive = <1280>;
244 vactive = <800>;
245 hfront-porch = <4>;
246 hback-porch = <4>;
247 hsync-len = <4>;
248 vback-porch = <4>;
249 vfront-porch = <4>;
250 vsync-len = <4>;
251 };
252 };
253 };
254
255 fixed-rate-clocks {
256 xxti {
257 compatible = "samsung,clock-xxti";
258 clock-frequency = <24000000>;
259 };
260
261 codec_mclk: codec-mclk {
262 compatible = "fixed-clock";
263 #clock-cells = <0>;
264 clock-frequency = <16934000>;
265 };
266 };
267 };