]>
Commit | Line | Data |
---|---|---|
9dd51c9f SK |
1 | /* |
2 | * Samsung's Exynos5420 based Arndale Octa board device tree source | |
3 | * | |
4 | * Copyright (c) 2013 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 "exynos5420.dtsi" | |
4f0d20ec | 14 | #include "exynos5420-cpus.dtsi" |
31b9903c | 15 | #include <dt-bindings/gpio/gpio.h> |
f4deb687 | 16 | #include <dt-bindings/interrupt-controller/irq.h> |
0c6f6516 | 17 | #include <dt-bindings/input/input.h> |
ce9940a9 | 18 | #include <dt-bindings/clock/samsung,s2mps11.h> |
8b9ac7e3 | 19 | #include "exynos-mfc-reserved-memory.dtsi" |
9dd51c9f SK |
20 | |
21 | / { | |
22 | model = "Insignal Arndale Octa evaluation board based on EXYNOS5420"; | |
8bdb31b4 | 23 | compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5"; |
9dd51c9f SK |
24 | |
25 | memory { | |
26 | reg = <0x20000000 0x80000000>; | |
27 | }; | |
28 | ||
29 | chosen { | |
30 | bootargs = "console=ttySAC3,115200"; | |
31 | }; | |
32 | ||
345e9bf0 TB |
33 | firmware@02073000 { |
34 | compatible = "samsung,secure-firmware"; | |
35 | reg = <0x02073000 0x1000>; | |
36 | }; | |
37 | ||
9dd51c9f SK |
38 | fixed-rate-clocks { |
39 | oscclk { | |
40 | compatible = "samsung,exynos5420-oscclk"; | |
41 | clock-frequency = <24000000>; | |
42 | }; | |
43 | }; | |
44 | ||
0c6f6516 SK |
45 | gpio_keys { |
46 | compatible = "gpio-keys"; | |
47 | ||
48 | wakeup { | |
49 | label = "SW-TACT1"; | |
31b9903c | 50 | gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; |
0c6f6516 | 51 | linux,code = <KEY_WAKEUP>; |
36a0282a | 52 | wakeup-source; |
0c6f6516 SK |
53 | }; |
54 | }; | |
9dd51c9f | 55 | }; |
4e03394e | 56 | |
8b51c5e7 BZ |
57 | &cpu0 { |
58 | cpu-supply = <&buck2_reg>; | |
59 | }; | |
60 | ||
61 | &cpu4 { | |
62 | cpu-supply = <&buck6_reg>; | |
63 | }; | |
64 | ||
4e03394e SS |
65 | &usbdrd_dwc3_1 { |
66 | dr_mode = "host"; | |
67 | }; | |
25217fef AK |
68 | |
69 | &cci { | |
70 | status = "disabled"; | |
71 | }; | |
1fed2252 | 72 | |
5e6b2889 KK |
73 | &hsi2c_4 { |
74 | status = "okay"; | |
75 | ||
76 | s2mps11_pmic@66 { | |
77 | compatible = "samsung,s2mps11-pmic"; | |
78 | reg = <0x66>; | |
5e6b2889 KK |
79 | |
80 | interrupt-parent = <&gpx3>; | |
81 | interrupts = <2 IRQ_TYPE_EDGE_FALLING>; | |
82 | pinctrl-names = "default"; | |
83 | pinctrl-0 = <&s2mps11_irq>; | |
84 | ||
85 | s2mps11_osc: clocks { | |
86 | #clock-cells = <1>; | |
87 | clock-output-names = "s2mps11_ap", | |
88 | "s2mps11_cp", "s2mps11_bt"; | |
89 | }; | |
90 | ||
91 | regulators { | |
92 | ldo1_reg: LDO1 { | |
93 | regulator-name = "PVDD_ALIVE_1V0"; | |
94 | regulator-min-microvolt = <1000000>; | |
95 | regulator-max-microvolt = <1000000>; | |
96 | regulator-always-on; | |
97 | }; | |
98 | ||
99 | ldo2_reg: LDO2 { | |
100 | regulator-name = "PVDD_APIO_1V8"; | |
101 | regulator-min-microvolt = <1800000>; | |
102 | regulator-max-microvolt = <1800000>; | |
103 | }; | |
104 | ||
105 | ldo3_reg: LDO3 { | |
106 | regulator-name = "PVDD_APIO_MMCON_1V8"; | |
107 | regulator-min-microvolt = <1800000>; | |
108 | regulator-max-microvolt = <1800000>; | |
109 | regulator-always-on; | |
110 | }; | |
111 | ||
112 | ldo4_reg: LDO4 { | |
113 | regulator-name = "PVDD_ADC_1V8"; | |
114 | regulator-min-microvolt = <1800000>; | |
115 | regulator-max-microvolt = <1800000>; | |
116 | }; | |
117 | ||
118 | ldo5_reg: LDO5 { | |
119 | regulator-name = "PVDD_PLL_1V8"; | |
120 | regulator-min-microvolt = <1800000>; | |
121 | regulator-max-microvolt = <1800000>; | |
122 | regulator-always-on; | |
123 | }; | |
124 | ||
125 | ldo6_reg: LDO6 { | |
126 | regulator-name = "PVDD_ANAIP_1V0"; | |
127 | regulator-min-microvolt = <1000000>; | |
128 | regulator-max-microvolt = <1000000>; | |
129 | }; | |
130 | ||
131 | ldo7_reg: LDO7 { | |
132 | regulator-name = "PVDD_ANAIP_1V8"; | |
133 | regulator-min-microvolt = <1800000>; | |
134 | regulator-max-microvolt = <1800000>; | |
135 | }; | |
136 | ||
137 | ldo8_reg: LDO8 { | |
138 | regulator-name = "PVDD_ABB_1V8"; | |
139 | regulator-min-microvolt = <1800000>; | |
140 | regulator-max-microvolt = <1800000>; | |
141 | }; | |
142 | ||
143 | ldo9_reg: LDO9 { | |
144 | regulator-name = "PVDD_USB_3V3"; | |
145 | regulator-min-microvolt = <3000000>; | |
146 | regulator-max-microvolt = <3000000>; | |
147 | regulator-always-on; | |
148 | }; | |
149 | ||
150 | ldo10_reg: LDO10 { | |
151 | regulator-name = "PVDD_PRE_1V8"; | |
152 | regulator-min-microvolt = <1800000>; | |
153 | regulator-max-microvolt = <1800000>; | |
154 | regulator-always-on; | |
155 | }; | |
156 | ||
157 | ldo11_reg: LDO11 { | |
158 | regulator-name = "PVDD_USB_1V0"; | |
159 | regulator-min-microvolt = <1000000>; | |
160 | regulator-max-microvolt = <1000000>; | |
161 | regulator-always-on; | |
162 | }; | |
163 | ||
164 | ldo12_reg: LDO12 { | |
165 | regulator-name = "PVDD_HSIC_1V8"; | |
166 | regulator-min-microvolt = <1800000>; | |
167 | regulator-max-microvolt = <1800000>; | |
168 | }; | |
169 | ||
170 | ldo13_reg: LDO13 { | |
171 | regulator-name = "PVDD_APIO_MMCOFF_2V8"; | |
172 | regulator-min-microvolt = <2800000>; | |
173 | regulator-max-microvolt = <2800000>; | |
174 | }; | |
175 | ||
176 | ldo15_reg: LDO15 { | |
177 | regulator-name = "PVDD_PERI_2V8"; | |
178 | regulator-min-microvolt = <3300000>; | |
179 | regulator-max-microvolt = <3300000>; | |
180 | }; | |
181 | ||
182 | ldo16_reg: LDO16 { | |
183 | regulator-name = "PVDD_PERI_3V3"; | |
184 | regulator-min-microvolt = <2200000>; | |
185 | regulator-max-microvolt = <2200000>; | |
186 | }; | |
187 | ||
188 | ldo18_reg: LDO18 { | |
189 | regulator-name = "PVDD_EMMC_1V8"; | |
190 | regulator-min-microvolt = <1800000>; | |
191 | regulator-max-microvolt = <1800000>; | |
192 | }; | |
193 | ||
194 | ldo19_reg: LDO19 { | |
195 | regulator-name = "PVDD_TFLASH_2V8"; | |
196 | regulator-min-microvolt = <2800000>; | |
197 | regulator-max-microvolt = <2800000>; | |
198 | }; | |
199 | ||
200 | ldo20_reg: LDO20 { | |
201 | regulator-name = "PVDD_BTWIFI_1V8"; | |
202 | regulator-min-microvolt = <1800000>; | |
203 | regulator-max-microvolt = <1800000>; | |
204 | }; | |
205 | ||
206 | ldo21_reg: LDO21 { | |
207 | regulator-name = "PVDD_CAM1IO_1V8"; | |
208 | regulator-min-microvolt = <1800000>; | |
209 | regulator-max-microvolt = <1800000>; | |
210 | }; | |
211 | ||
212 | ldo23_reg: LDO23 { | |
213 | regulator-name = "PVDD_MIFS_1V1"; | |
214 | regulator-min-microvolt = <1200000>; | |
215 | regulator-max-microvolt = <1200000>; | |
216 | regulator-always-on; | |
217 | }; | |
218 | ||
219 | ldo24_reg: LDO24 { | |
220 | regulator-name = "PVDD_CAM1_AVDD_2V8"; | |
221 | regulator-min-microvolt = <2800000>; | |
222 | regulator-max-microvolt = <2800000>; | |
223 | }; | |
224 | ||
225 | ldo26_reg: LDO26 { | |
226 | regulator-name = "PVDD_CAM0_AF_2V8"; | |
227 | regulator-min-microvolt = <3000000>; | |
228 | regulator-max-microvolt = <3000000>; | |
229 | }; | |
230 | ||
231 | ldo27_reg: LDO27 { | |
232 | regulator-name = "PVDD_G3DS_1V0"; | |
233 | regulator-min-microvolt = <1200000>; | |
234 | regulator-max-microvolt = <1200000>; | |
235 | }; | |
236 | ||
237 | ldo28_reg: LDO28 { | |
238 | regulator-name = "PVDD_TSP_3V3"; | |
239 | regulator-min-microvolt = <3300000>; | |
240 | regulator-max-microvolt = <3300000>; | |
241 | }; | |
242 | ||
243 | ldo29_reg: LDO29 { | |
244 | regulator-name = "PVDD_AUDIO_1V8"; | |
245 | regulator-min-microvolt = <1800000>; | |
246 | regulator-max-microvolt = <1800000>; | |
247 | }; | |
248 | ||
249 | ldo31_reg: LDO31 { | |
250 | regulator-name = "PVDD_PERI_1V8"; | |
251 | regulator-min-microvolt = <1800000>; | |
252 | regulator-max-microvolt = <1800000>; | |
253 | }; | |
254 | ||
255 | ldo32_reg: LDO32 { | |
256 | regulator-name = "PVDD_LCD_1V8"; | |
257 | regulator-min-microvolt = <1800000>; | |
258 | regulator-max-microvolt = <1800000>; | |
259 | }; | |
260 | ||
261 | ldo33_reg: LDO33 { | |
262 | regulator-name = "PVDD_CAM0IO_1V8"; | |
263 | regulator-min-microvolt = <1800000>; | |
264 | regulator-max-microvolt = <1800000>; | |
265 | }; | |
266 | ||
267 | ldo35_reg: LDO35 { | |
268 | regulator-name = "PVDD_CAM0_DVDD_1V2"; | |
269 | regulator-min-microvolt = <1200000>; | |
270 | regulator-max-microvolt = <1200000>; | |
271 | }; | |
272 | ||
273 | ldo38_reg: LDO38 { | |
274 | regulator-name = "PVDD_CAM0_AVDD_2V8"; | |
275 | regulator-min-microvolt = <2800000>; | |
276 | regulator-max-microvolt = <2800000>; | |
277 | }; | |
278 | ||
279 | buck1_reg: BUCK1 { | |
280 | regulator-name = "PVDD_MIF_1V1"; | |
281 | regulator-min-microvolt = <800000>; | |
282 | regulator-max-microvolt = <1100000>; | |
283 | regulator-always-on; | |
284 | }; | |
285 | ||
286 | buck2_reg: BUCK2 { | |
287 | regulator-name = "vdd_arm"; | |
288 | regulator-min-microvolt = <800000>; | |
289 | regulator-max-microvolt = <1000000>; | |
290 | regulator-always-on; | |
291 | }; | |
292 | ||
293 | buck3_reg: BUCK3 { | |
294 | regulator-name = "PVDD_INT_1V0"; | |
295 | regulator-min-microvolt = <800000>; | |
296 | regulator-max-microvolt = <1000000>; | |
297 | regulator-always-on; | |
298 | }; | |
299 | ||
300 | buck4_reg: BUCK4 { | |
301 | regulator-name = "PVDD_G3D_1V0"; | |
302 | regulator-min-microvolt = <800000>; | |
303 | regulator-max-microvolt = <1000000>; | |
304 | }; | |
305 | ||
306 | buck5_reg: BUCK5 { | |
307 | regulator-name = "PVDD_LPDDR3_1V2"; | |
308 | regulator-min-microvolt = <800000>; | |
309 | regulator-max-microvolt = <1200000>; | |
310 | regulator-always-on; | |
311 | }; | |
312 | ||
313 | buck6_reg: BUCK6 { | |
314 | regulator-name = "PVDD_KFC_1V0"; | |
315 | regulator-min-microvolt = <800000>; | |
316 | regulator-max-microvolt = <1000000>; | |
317 | regulator-always-on; | |
318 | }; | |
319 | ||
320 | buck7_reg: BUCK7 { | |
321 | regulator-name = "VIN_LLDO_1V4"; | |
322 | regulator-min-microvolt = <800000>; | |
323 | regulator-max-microvolt = <1400000>; | |
324 | regulator-always-on; | |
325 | }; | |
326 | ||
327 | buck8_reg: BUCK8 { | |
328 | regulator-name = "VIN_MLDO_2V0"; | |
329 | regulator-min-microvolt = <800000>; | |
330 | regulator-max-microvolt = <2000000>; | |
331 | regulator-always-on; | |
332 | }; | |
333 | ||
334 | buck9_reg: BUCK9 { | |
335 | regulator-name = "VIN_HLDO_3V5"; | |
336 | regulator-min-microvolt = <3000000>; | |
337 | regulator-max-microvolt = <3500000>; | |
338 | regulator-always-on; | |
339 | }; | |
340 | ||
341 | buck10_reg: BUCK10 { | |
342 | regulator-name = "PVDD_EMMCF_2V8"; | |
343 | regulator-min-microvolt = <2800000>; | |
344 | regulator-max-microvolt = <2800000>; | |
345 | }; | |
346 | }; | |
347 | }; | |
348 | }; | |
349 | ||
5e6b2889 KK |
350 | &mmc_0 { |
351 | status = "okay"; | |
352 | broken-cd; | |
353 | card-detect-delay = <200>; | |
354 | samsung,dw-mshc-ciu-div = <3>; | |
355 | samsung,dw-mshc-sdr-timing = <0 4>; | |
356 | samsung,dw-mshc-ddr-timing = <0 2>; | |
357 | pinctrl-names = "default"; | |
358 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>; | |
359 | vmmc-supply = <&ldo10_reg>; | |
360 | bus-width = <8>; | |
361 | cap-mmc-highspeed; | |
362 | }; | |
363 | ||
364 | &mmc_2 { | |
365 | status = "okay"; | |
366 | card-detect-delay = <200>; | |
367 | samsung,dw-mshc-ciu-div = <3>; | |
368 | samsung,dw-mshc-sdr-timing = <2 3>; | |
369 | samsung,dw-mshc-ddr-timing = <1 2>; | |
370 | pinctrl-names = "default"; | |
371 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; | |
372 | vmmc-supply = <&ldo19_reg>; | |
373 | vqmmc-supply = <&ldo13_reg>; | |
374 | bus-width = <4>; | |
375 | cap-sd-highspeed; | |
376 | }; | |
377 | ||
1fed2252 KK |
378 | &pinctrl_0 { |
379 | s2mps11_irq: s2mps11-irq { | |
380 | samsung,pins = "gpx3-2"; | |
381 | samsung,pin-function = <0xf>; | |
382 | samsung,pin-pud = <0>; | |
383 | samsung,pin-drv = <0>; | |
384 | }; | |
385 | }; | |
ce9940a9 KK |
386 | |
387 | &rtc { | |
388 | status = "okay"; | |
389 | clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>; | |
390 | clock-names = "rtc", "rtc_src"; | |
391 | }; |