ARM: dts: add support for USB phy, host and device for exynos4412-odroidx
[deliverable/linux.git] / arch / arm / boot / dts / exynos4412-odroidx.dts
CommitLineData
800974ac
DK
1/*
2 * Hardkernel's Exynos4412 based ODROID-X board device tree source
3 *
4 * Copyright (c) 2012 Dongjin Kim <tobetter@gmail.com>
5 *
6 * Device tree source file for Hardkernel's ODROID-X board which is based on
7 * Samsung's Exynos4412 SoC.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12*/
13
14/dts-v1/;
3799279f 15#include "exynos4412.dtsi"
800974ac
DK
16
17/ {
18 model = "Hardkernel ODROID-X board based on Exynos4412";
8bdb31b4 19 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
800974ac
DK
20
21 memory {
22 reg = <0x40000000 0x40000000>;
23 };
24
0c80244f
MS
25 firmware@0204F000 {
26 compatible = "samsung,secure-firmware";
27 reg = <0x0204F000 0x1000>;
28 };
29
800974ac
DK
30 leds {
31 compatible = "gpio-leds";
32 led1 {
33 label = "led1:heart";
34 gpios = <&gpc1 0 1>;
35 default-state = "on";
36 linux,default-trigger = "heartbeat";
37 };
38 led2 {
39 label = "led2:mmc0";
40 gpios = <&gpc1 2 1>;
41 default-state = "on";
42 linux,default-trigger = "mmc0";
43 };
44 };
45
56d52bfb 46 mmc@12550000 {
800974ac
DK
47 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
48 pinctrl-names = "default";
52e870ef 49 vmmc-supply = <&ldo20_reg &buck8_reg>;
800974ac
DK
50 status = "okay";
51
52 num-slots = <1>;
53 supports-highspeed;
54 broken-cd;
800974ac
DK
55 card-detect-delay = <200>;
56 samsung,dw-mshc-ciu-div = <3>;
ec34d52e
DK
57 samsung,dw-mshc-sdr-timing = <2 3>;
58 samsung,dw-mshc-ddr-timing = <1 2>;
800974ac
DK
59
60 slot@0 {
61 reg = <0>;
62 bus-width = <8>;
63 };
64 };
65
66 regulator_p3v3 {
67 compatible = "regulator-fixed";
68 regulator-name = "p3v3_en";
69 regulator-min-microvolt = <3300000>;
70 regulator-max-microvolt = <3300000>;
71 gpio = <&gpa1 1 1>;
72 enable-active-high;
73 regulator-boot-on;
74 };
75
0c80244f
MS
76 watchdog@10060000 {
77 status = "okay";
78 };
79
f11503d9
DK
80 rtc@10070000 {
81 status = "okay";
82 };
83
0c80244f
MS
84 g2d@10800000 {
85 status = "okay";
86 };
87
88 camera {
89 status = "okay";
90 pinctrl-names = "default";
91 pinctrl-0 = <>;
92
93 fimc_0: fimc@11800000 {
94 status = "okay";
95 };
96
97 fimc_1: fimc@11810000 {
98 status = "okay";
99 };
100
101 fimc_2: fimc@11820000 {
102 status = "okay";
103 };
104
105 fimc_3: fimc@11830000 {
106 status = "okay";
107 };
108 };
109
800974ac
DK
110 sdhci@12530000 {
111 bus-width = <4>;
112 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
113 pinctrl-names = "default";
52e870ef 114 vmmc-supply = <&ldo4_reg &ldo21_reg>;
800974ac
DK
115 status = "okay";
116 };
117
118 serial@13800000 {
119 status = "okay";
120 };
121
122 serial@13810000 {
123 status = "okay";
124 };
125
126 serial@13820000 {
127 status = "okay";
128 };
129
130 serial@13830000 {
131 status = "okay";
132 };
8b6076d4
TA
133
134 fixed-rate-clocks {
135 xxti {
136 compatible = "samsung,clock-xxti";
137 clock-frequency = <0>;
138 };
139
140 xusbxti {
141 compatible = "samsung,clock-xusbxti";
142 clock-frequency = <24000000>;
143 };
144 };
d62347a2
DK
145
146 i2c@13860000 {
147 pinctrl-0 = <&i2c0_bus>;
148 pinctrl-names = "default";
149 status = "okay";
150
5eb30193
KD
151 usb3503@08 {
152 compatible = "smsc,usb3503";
153 reg = <0x08>;
154
155 intn-gpios = <&gpx3 0 0>;
156 connect-gpios = <&gpx3 4 0>;
157 reset-gpios = <&gpx3 5 0>;
158 initial-mode = <1>;
159 };
160
d62347a2
DK
161 max77686: pmic@09 {
162 compatible = "maxim,max77686";
163 reg = <0x09>;
ada12c47 164 #clock-cells = <1>;
d62347a2
DK
165
166 voltage-regulators {
167 ldo1_reg: LDO1 {
168 regulator-name = "VDD_ALIVE_1.0V";
169 regulator-min-microvolt = <1000000>;
170 regulator-max-microvolt = <1000000>;
171 regulator-always-on;
172 };
173
174 ldo2_reg: LDO2 {
175 regulator-name = "VDDQ_M1_2_1.8V";
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
178 regulator-always-on;
179 };
180
181 ldo3_reg: LDO3 {
182 regulator-name = "VDDQ_EXT_1.8V";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
185 regulator-always-on;
186 };
187
188 ldo4_reg: LDO4 {
189 regulator-name = "VDDQ_MMC2_2.8V";
190 regulator-min-microvolt = <2800000>;
191 regulator-max-microvolt = <2800000>;
192 regulator-always-on;
193 regulator-boot-on;
194 };
195
196 ldo5_reg: LDO5 {
197 regulator-name = "VDDQ_MMC1_3_1.8V";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-always-on;
201 regulator-boot-on;
202 };
203
204 ldo6_reg: LDO6 {
205 regulator-name = "VDD10_MPLL_1.0V";
206 regulator-min-microvolt = <1000000>;
207 regulator-max-microvolt = <1000000>;
208 regulator-always-on;
209 };
210
211 ldo7_reg: LDO7 {
212 regulator-name = "VDD10_XPLL_1.0V";
213 regulator-min-microvolt = <1000000>;
214 regulator-max-microvolt = <1000000>;
215 regulator-always-on;
216 };
217
218 ldo11_reg: LDO11 {
219 regulator-name = "VDD18_ABB1_1.8V";
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <1800000>;
222 regulator-always-on;
223 };
224
225 ldo12_reg: LDO12 {
226 regulator-name = "VDD33_USB_3.3V";
227 regulator-min-microvolt = <3300000>;
228 regulator-max-microvolt = <3300000>;
229 regulator-always-on;
230 regulator-boot-on;
231 };
232
233 ldo13_reg: LDO13 {
234 regulator-name = "VDDQ_C2C_W_1.8V";
235 regulator-min-microvolt = <1800000>;
236 regulator-max-microvolt = <1800000>;
237 regulator-always-on;
238 regulator-boot-on;
239 };
240
241 ldo14_reg: LDO14 {
242 regulator-name = "VDD18_ABB0_2_1.8V";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
245 regulator-always-on;
246 regulator-boot-on;
247 };
248
249 ldo15_reg: LDO15 {
250 regulator-name = "VDD10_HSIC_1.0V";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
253 regulator-always-on;
254 regulator-boot-on;
255 };
256
257 ldo16_reg: LDO16 {
258 regulator-name = "VDD18_HSIC_1.8V";
259 regulator-min-microvolt = <1800000>;
260 regulator-max-microvolt = <1800000>;
261 regulator-always-on;
262 regulator-boot-on;
263 };
264
265 ldo20_reg: LDO20 {
266 regulator-name = "LDO20_1.8V";
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 regulator-boot-on;
270 };
271
272 ldo21_reg: LDO21 {
273 regulator-name = "LDO21_3.3V";
274 regulator-min-microvolt = <3300000>;
275 regulator-max-microvolt = <3300000>;
276 regulator-always-on;
277 regulator-boot-on;
278 };
279
280 ldo25_reg: LDO25 {
281 regulator-name = "VDDQ_LCD_1.8V";
282 regulator-min-microvolt = <1800000>;
283 regulator-max-microvolt = <1800000>;
284 regulator-always-on;
285 regulator-boot-on;
286 };
287
288 buck1_reg: BUCK1 {
289 regulator-name = "vdd_mif";
290 regulator-min-microvolt = <1000000>;
291 regulator-max-microvolt = <1000000>;
292 regulator-always-on;
293 regulator-boot-on;
294 };
295
296 buck2_reg: BUCK2 {
297 regulator-name = "vdd_arm";
298 regulator-min-microvolt = <900000>;
20a761a3 299 regulator-max-microvolt = <1350000>;
d62347a2
DK
300 regulator-always-on;
301 regulator-boot-on;
302 };
303
304 buck3_reg: BUCK3 {
305 regulator-name = "vdd_int";
306 regulator-min-microvolt = <1000000>;
307 regulator-max-microvolt = <1000000>;
308 regulator-always-on;
309 regulator-boot-on;
310 };
311
312 buck4_reg: BUCK4 {
313 regulator-name = "vdd_g3d";
314 regulator-min-microvolt = <900000>;
315 regulator-max-microvolt = <1100000>;
316 regulator-microvolt-offset = <50000>;
317 };
318
319 buck5_reg: BUCK5 {
320 regulator-name = "VDDQ_CKEM1_2_1.2V";
321 regulator-min-microvolt = <1200000>;
322 regulator-max-microvolt = <1200000>;
323 regulator-always-on;
324 regulator-boot-on;
325 };
326
327 buck6_reg: BUCK6 {
328 regulator-name = "BUCK6_1.35V";
329 regulator-min-microvolt = <1350000>;
330 regulator-max-microvolt = <1350000>;
331 regulator-always-on;
332 regulator-boot-on;
333 };
334
335 buck7_reg: BUCK7 {
336 regulator-name = "BUCK7_2.0V";
337 regulator-min-microvolt = <2000000>;
338 regulator-max-microvolt = <2000000>;
339 regulator-always-on;
340 };
341
342 buck8_reg: BUCK8 {
343 regulator-name = "BUCK8_2.8V";
344 regulator-min-microvolt = <2800000>;
345 regulator-max-microvolt = <2800000>;
346 regulator-always-on;
347 };
348 };
349 };
350 };
5eb30193
KD
351
352 exynos-usbphy@125B0000 {
353 status = "okay";
354 };
355
356 hsotg@12480000 {
357 status = "okay";
358 vusb_d-supply = <&ldo15_reg>;
359 vusb_a-supply = <&ldo12_reg>;
360 };
361
362 ehci@12580000 {
363 status = "okay";
364 port@1 {
365 status = "okay";
366 };
367 };
800974ac 368};
This page took 0.126766 seconds and 5 git commands to generate.