blob: d1b33a8efa9dc10cdaf558ff3f980aa160c140c3 [file] [log] [blame]
Marek Szyprowskiec601ff2014-07-16 02:54:07 +09001/*
2 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
3 * device tree source
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8*/
9
Marek Szyprowski081a15e2014-07-16 02:54:07 +090010#include <dt-bindings/input/input.h>
Marek Szyprowskiec601ff2014-07-16 02:54:07 +090011#include "exynos4412.dtsi"
12
13/ {
14 firmware@0204F000 {
15 compatible = "samsung,secure-firmware";
16 reg = <0x0204F000 0x1000>;
17 };
18
Marek Szyprowski081a15e2014-07-16 02:54:07 +090019 gpio_keys {
20 compatible = "gpio-keys";
21 pinctrl-names = "default";
22 pinctrl-0 = <&gpio_power_key>;
23
24 power_key {
25 interrupt-parent = <&gpx1>;
26 interrupts = <3 0>;
27 gpios = <&gpx1 3 1>;
28 linux,code = <KEY_POWER>;
29 label = "power key";
30 debounce-interval = <10>;
31 gpio-key,wakeup;
32 };
33 };
34
Marek Szyprowskiec601ff2014-07-16 02:54:07 +090035 mmc@12550000 {
36 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
37 pinctrl-names = "default";
38 vmmc-supply = <&ldo20_reg &buck8_reg>;
39 status = "okay";
40
41 num-slots = <1>;
42 supports-highspeed;
43 broken-cd;
44 card-detect-delay = <200>;
45 samsung,dw-mshc-ciu-div = <3>;
46 samsung,dw-mshc-sdr-timing = <2 3>;
47 samsung,dw-mshc-ddr-timing = <1 2>;
48
49 slot@0 {
50 reg = <0>;
51 bus-width = <8>;
52 };
53 };
54
55 watchdog@10060000 {
56 status = "okay";
57 };
58
59 rtc@10070000 {
60 status = "okay";
61 };
62
63 g2d@10800000 {
64 status = "okay";
65 };
66
67 camera {
68 status = "okay";
69 pinctrl-names = "default";
70 pinctrl-0 = <>;
71
72 fimc_0: fimc@11800000 {
73 status = "okay";
74 };
75
76 fimc_1: fimc@11810000 {
77 status = "okay";
78 };
79
80 fimc_2: fimc@11820000 {
81 status = "okay";
82 };
83
84 fimc_3: fimc@11830000 {
85 status = "okay";
86 };
87 };
88
89 sdhci@12530000 {
90 bus-width = <4>;
91 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
92 pinctrl-names = "default";
93 vmmc-supply = <&ldo4_reg &ldo21_reg>;
94 status = "okay";
95 };
96
97 serial@13800000 {
98 status = "okay";
99 };
100
101 serial@13810000 {
102 status = "okay";
103 };
104
105 fixed-rate-clocks {
106 xxti {
107 compatible = "samsung,clock-xxti";
108 clock-frequency = <0>;
109 };
110
111 xusbxti {
112 compatible = "samsung,clock-xusbxti";
113 clock-frequency = <24000000>;
114 };
115 };
116
117 i2c@13860000 {
118 pinctrl-0 = <&i2c0_bus>;
119 pinctrl-names = "default";
120 status = "okay";
121
122 usb3503: usb3503@08 {
123 compatible = "smsc,usb3503";
124 reg = <0x08>;
125
126 intn-gpios = <&gpx3 0 0>;
127 connect-gpios = <&gpx3 4 0>;
128 reset-gpios = <&gpx3 5 0>;
129 initial-mode = <1>;
130 };
131
132 max77686: pmic@09 {
133 compatible = "maxim,max77686";
134 reg = <0x09>;
135 #clock-cells = <1>;
136
137 voltage-regulators {
138 ldo1_reg: LDO1 {
139 regulator-name = "VDD_ALIVE_1.0V";
140 regulator-min-microvolt = <1000000>;
141 regulator-max-microvolt = <1000000>;
142 regulator-always-on;
143 };
144
145 ldo2_reg: LDO2 {
146 regulator-name = "VDDQ_M1_2_1.8V";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <1800000>;
149 regulator-always-on;
150 };
151
152 ldo3_reg: LDO3 {
153 regulator-name = "VDDQ_EXT_1.8V";
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 regulator-always-on;
157 };
158
159 ldo4_reg: LDO4 {
160 regulator-name = "VDDQ_MMC2_2.8V";
161 regulator-min-microvolt = <2800000>;
162 regulator-max-microvolt = <2800000>;
163 regulator-always-on;
164 regulator-boot-on;
165 };
166
167 ldo5_reg: LDO5 {
168 regulator-name = "VDDQ_MMC1_3_1.8V";
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <1800000>;
171 regulator-always-on;
172 regulator-boot-on;
173 };
174
175 ldo6_reg: LDO6 {
176 regulator-name = "VDD10_MPLL_1.0V";
177 regulator-min-microvolt = <1000000>;
178 regulator-max-microvolt = <1000000>;
179 regulator-always-on;
180 };
181
182 ldo7_reg: LDO7 {
183 regulator-name = "VDD10_XPLL_1.0V";
184 regulator-min-microvolt = <1000000>;
185 regulator-max-microvolt = <1000000>;
186 regulator-always-on;
187 };
188
189 ldo11_reg: LDO11 {
190 regulator-name = "VDD18_ABB1_1.8V";
191 regulator-min-microvolt = <1800000>;
192 regulator-max-microvolt = <1800000>;
193 regulator-always-on;
194 };
195
196 ldo12_reg: LDO12 {
197 regulator-name = "VDD33_USB_3.3V";
198 regulator-min-microvolt = <3300000>;
199 regulator-max-microvolt = <3300000>;
200 regulator-always-on;
201 regulator-boot-on;
202 };
203
204 ldo13_reg: LDO13 {
205 regulator-name = "VDDQ_C2C_W_1.8V";
206 regulator-min-microvolt = <1800000>;
207 regulator-max-microvolt = <1800000>;
208 regulator-always-on;
209 regulator-boot-on;
210 };
211
212 ldo14_reg: LDO14 {
213 regulator-name = "VDD18_ABB0_2_1.8V";
214 regulator-min-microvolt = <1800000>;
215 regulator-max-microvolt = <1800000>;
216 regulator-always-on;
217 regulator-boot-on;
218 };
219
220 ldo15_reg: LDO15 {
221 regulator-name = "VDD10_HSIC_1.0V";
222 regulator-min-microvolt = <1000000>;
223 regulator-max-microvolt = <1000000>;
224 regulator-always-on;
225 regulator-boot-on;
226 };
227
228 ldo16_reg: LDO16 {
229 regulator-name = "VDD18_HSIC_1.8V";
230 regulator-min-microvolt = <1800000>;
231 regulator-max-microvolt = <1800000>;
232 regulator-always-on;
233 regulator-boot-on;
234 };
235
236 ldo20_reg: LDO20 {
237 regulator-name = "LDO20_1.8V";
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <1800000>;
240 regulator-boot-on;
241 };
242
243 ldo21_reg: LDO21 {
244 regulator-name = "LDO21_3.3V";
245 regulator-min-microvolt = <3300000>;
246 regulator-max-microvolt = <3300000>;
247 regulator-always-on;
248 regulator-boot-on;
249 };
250
251 ldo25_reg: LDO25 {
252 regulator-name = "VDDQ_LCD_1.8V";
253 regulator-min-microvolt = <1800000>;
254 regulator-max-microvolt = <1800000>;
255 regulator-always-on;
256 regulator-boot-on;
257 };
258
259 buck1_reg: BUCK1 {
260 regulator-name = "vdd_mif";
261 regulator-min-microvolt = <1000000>;
262 regulator-max-microvolt = <1000000>;
263 regulator-always-on;
264 regulator-boot-on;
265 };
266
267 buck2_reg: BUCK2 {
268 regulator-name = "vdd_arm";
269 regulator-min-microvolt = <900000>;
270 regulator-max-microvolt = <1350000>;
271 regulator-always-on;
272 regulator-boot-on;
273 };
274
275 buck3_reg: BUCK3 {
276 regulator-name = "vdd_int";
277 regulator-min-microvolt = <1000000>;
278 regulator-max-microvolt = <1000000>;
279 regulator-always-on;
280 regulator-boot-on;
281 };
282
283 buck4_reg: BUCK4 {
284 regulator-name = "vdd_g3d";
285 regulator-min-microvolt = <900000>;
286 regulator-max-microvolt = <1100000>;
287 regulator-microvolt-offset = <50000>;
288 };
289
290 buck5_reg: BUCK5 {
291 regulator-name = "VDDQ_CKEM1_2_1.2V";
292 regulator-min-microvolt = <1200000>;
293 regulator-max-microvolt = <1200000>;
294 regulator-always-on;
295 regulator-boot-on;
296 };
297
298 buck6_reg: BUCK6 {
299 regulator-name = "BUCK6_1.35V";
300 regulator-min-microvolt = <1350000>;
301 regulator-max-microvolt = <1350000>;
302 regulator-always-on;
303 regulator-boot-on;
304 };
305
306 buck7_reg: BUCK7 {
307 regulator-name = "BUCK7_2.0V";
308 regulator-min-microvolt = <2000000>;
309 regulator-max-microvolt = <2000000>;
310 regulator-always-on;
311 };
312
313 buck8_reg: BUCK8 {
314 regulator-name = "BUCK8_2.8V";
315 regulator-min-microvolt = <2800000>;
316 regulator-max-microvolt = <2800000>;
Marek Szyprowskiec601ff2014-07-16 02:54:07 +0900317 };
318 };
319 };
320 };
321
322 exynos-usbphy@125B0000 {
323 status = "okay";
324 };
325
326 hsotg@12480000 {
327 status = "okay";
328 vusb_d-supply = <&ldo15_reg>;
329 vusb_a-supply = <&ldo12_reg>;
330 };
331
332 ehci: ehci@12580000 {
333 status = "okay";
334 };
335};
Marek Szyprowski081a15e2014-07-16 02:54:07 +0900336
337&pinctrl_1 {
338 gpio_power_key: power_key {
339 samsung,pins = "gpx1-3";
340 samsung,pin-pud = <0>;
341 };
342};