Commit | Line | Data |
---|---|---|
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 | ||
151 | max77686: pmic@09 { | |
152 | compatible = "maxim,max77686"; | |
153 | reg = <0x09>; | |
ada12c47 | 154 | #clock-cells = <1>; |
d62347a2 DK |
155 | |
156 | voltage-regulators { | |
157 | ldo1_reg: LDO1 { | |
158 | regulator-name = "VDD_ALIVE_1.0V"; | |
159 | regulator-min-microvolt = <1000000>; | |
160 | regulator-max-microvolt = <1000000>; | |
161 | regulator-always-on; | |
162 | }; | |
163 | ||
164 | ldo2_reg: LDO2 { | |
165 | regulator-name = "VDDQ_M1_2_1.8V"; | |
166 | regulator-min-microvolt = <1800000>; | |
167 | regulator-max-microvolt = <1800000>; | |
168 | regulator-always-on; | |
169 | }; | |
170 | ||
171 | ldo3_reg: LDO3 { | |
172 | regulator-name = "VDDQ_EXT_1.8V"; | |
173 | regulator-min-microvolt = <1800000>; | |
174 | regulator-max-microvolt = <1800000>; | |
175 | regulator-always-on; | |
176 | }; | |
177 | ||
178 | ldo4_reg: LDO4 { | |
179 | regulator-name = "VDDQ_MMC2_2.8V"; | |
180 | regulator-min-microvolt = <2800000>; | |
181 | regulator-max-microvolt = <2800000>; | |
182 | regulator-always-on; | |
183 | regulator-boot-on; | |
184 | }; | |
185 | ||
186 | ldo5_reg: LDO5 { | |
187 | regulator-name = "VDDQ_MMC1_3_1.8V"; | |
188 | regulator-min-microvolt = <1800000>; | |
189 | regulator-max-microvolt = <1800000>; | |
190 | regulator-always-on; | |
191 | regulator-boot-on; | |
192 | }; | |
193 | ||
194 | ldo6_reg: LDO6 { | |
195 | regulator-name = "VDD10_MPLL_1.0V"; | |
196 | regulator-min-microvolt = <1000000>; | |
197 | regulator-max-microvolt = <1000000>; | |
198 | regulator-always-on; | |
199 | }; | |
200 | ||
201 | ldo7_reg: LDO7 { | |
202 | regulator-name = "VDD10_XPLL_1.0V"; | |
203 | regulator-min-microvolt = <1000000>; | |
204 | regulator-max-microvolt = <1000000>; | |
205 | regulator-always-on; | |
206 | }; | |
207 | ||
208 | ldo11_reg: LDO11 { | |
209 | regulator-name = "VDD18_ABB1_1.8V"; | |
210 | regulator-min-microvolt = <1800000>; | |
211 | regulator-max-microvolt = <1800000>; | |
212 | regulator-always-on; | |
213 | }; | |
214 | ||
215 | ldo12_reg: LDO12 { | |
216 | regulator-name = "VDD33_USB_3.3V"; | |
217 | regulator-min-microvolt = <3300000>; | |
218 | regulator-max-microvolt = <3300000>; | |
219 | regulator-always-on; | |
220 | regulator-boot-on; | |
221 | }; | |
222 | ||
223 | ldo13_reg: LDO13 { | |
224 | regulator-name = "VDDQ_C2C_W_1.8V"; | |
225 | regulator-min-microvolt = <1800000>; | |
226 | regulator-max-microvolt = <1800000>; | |
227 | regulator-always-on; | |
228 | regulator-boot-on; | |
229 | }; | |
230 | ||
231 | ldo14_reg: LDO14 { | |
232 | regulator-name = "VDD18_ABB0_2_1.8V"; | |
233 | regulator-min-microvolt = <1800000>; | |
234 | regulator-max-microvolt = <1800000>; | |
235 | regulator-always-on; | |
236 | regulator-boot-on; | |
237 | }; | |
238 | ||
239 | ldo15_reg: LDO15 { | |
240 | regulator-name = "VDD10_HSIC_1.0V"; | |
241 | regulator-min-microvolt = <1000000>; | |
242 | regulator-max-microvolt = <1000000>; | |
243 | regulator-always-on; | |
244 | regulator-boot-on; | |
245 | }; | |
246 | ||
247 | ldo16_reg: LDO16 { | |
248 | regulator-name = "VDD18_HSIC_1.8V"; | |
249 | regulator-min-microvolt = <1800000>; | |
250 | regulator-max-microvolt = <1800000>; | |
251 | regulator-always-on; | |
252 | regulator-boot-on; | |
253 | }; | |
254 | ||
255 | ldo20_reg: LDO20 { | |
256 | regulator-name = "LDO20_1.8V"; | |
257 | regulator-min-microvolt = <1800000>; | |
258 | regulator-max-microvolt = <1800000>; | |
259 | regulator-boot-on; | |
260 | }; | |
261 | ||
262 | ldo21_reg: LDO21 { | |
263 | regulator-name = "LDO21_3.3V"; | |
264 | regulator-min-microvolt = <3300000>; | |
265 | regulator-max-microvolt = <3300000>; | |
266 | regulator-always-on; | |
267 | regulator-boot-on; | |
268 | }; | |
269 | ||
270 | ldo25_reg: LDO25 { | |
271 | regulator-name = "VDDQ_LCD_1.8V"; | |
272 | regulator-min-microvolt = <1800000>; | |
273 | regulator-max-microvolt = <1800000>; | |
274 | regulator-always-on; | |
275 | regulator-boot-on; | |
276 | }; | |
277 | ||
278 | buck1_reg: BUCK1 { | |
279 | regulator-name = "vdd_mif"; | |
280 | regulator-min-microvolt = <1000000>; | |
281 | regulator-max-microvolt = <1000000>; | |
282 | regulator-always-on; | |
283 | regulator-boot-on; | |
284 | }; | |
285 | ||
286 | buck2_reg: BUCK2 { | |
287 | regulator-name = "vdd_arm"; | |
288 | regulator-min-microvolt = <900000>; | |
20a761a3 | 289 | regulator-max-microvolt = <1350000>; |
d62347a2 DK |
290 | regulator-always-on; |
291 | regulator-boot-on; | |
292 | }; | |
293 | ||
294 | buck3_reg: BUCK3 { | |
295 | regulator-name = "vdd_int"; | |
296 | regulator-min-microvolt = <1000000>; | |
297 | regulator-max-microvolt = <1000000>; | |
298 | regulator-always-on; | |
299 | regulator-boot-on; | |
300 | }; | |
301 | ||
302 | buck4_reg: BUCK4 { | |
303 | regulator-name = "vdd_g3d"; | |
304 | regulator-min-microvolt = <900000>; | |
305 | regulator-max-microvolt = <1100000>; | |
306 | regulator-microvolt-offset = <50000>; | |
307 | }; | |
308 | ||
309 | buck5_reg: BUCK5 { | |
310 | regulator-name = "VDDQ_CKEM1_2_1.2V"; | |
311 | regulator-min-microvolt = <1200000>; | |
312 | regulator-max-microvolt = <1200000>; | |
313 | regulator-always-on; | |
314 | regulator-boot-on; | |
315 | }; | |
316 | ||
317 | buck6_reg: BUCK6 { | |
318 | regulator-name = "BUCK6_1.35V"; | |
319 | regulator-min-microvolt = <1350000>; | |
320 | regulator-max-microvolt = <1350000>; | |
321 | regulator-always-on; | |
322 | regulator-boot-on; | |
323 | }; | |
324 | ||
325 | buck7_reg: BUCK7 { | |
326 | regulator-name = "BUCK7_2.0V"; | |
327 | regulator-min-microvolt = <2000000>; | |
328 | regulator-max-microvolt = <2000000>; | |
329 | regulator-always-on; | |
330 | }; | |
331 | ||
332 | buck8_reg: BUCK8 { | |
333 | regulator-name = "BUCK8_2.8V"; | |
334 | regulator-min-microvolt = <2800000>; | |
335 | regulator-max-microvolt = <2800000>; | |
336 | regulator-always-on; | |
337 | }; | |
338 | }; | |
339 | }; | |
340 | }; | |
800974ac | 341 | }; |