arm64: dts: Fix RTC by providing rtc_src clock
[linux-2.6-block.git] / arch / arm64 / boot / dts / exynos / exynos7-espresso.dts
CommitLineData
b9024cbc
NKC
1/*
2 * SAMSUNG Exynos7 Espresso board device tree source
3 *
4 * Copyright (c) 2014 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 "exynos7.dtsi"
9589f772 14#include <dt-bindings/interrupt-controller/irq.h>
1fabaddd 15#include <dt-bindings/clock/samsung,s2mps11.h>
b9024cbc
NKC
16
17/ {
18 model = "Samsung Exynos7 Espresso board based on EXYNOS7";
19 compatible = "samsung,exynos7-espresso", "samsung,exynos7";
20
21 aliases {
22 serial0 = &serial_2;
6de6f73c
AK
23 mshc0 = &mmc_0;
24 mshc2 = &mmc_2;
b9024cbc
NKC
25 };
26
27 chosen {
28 linux,stdout-path = &serial_2;
29 };
30
31 memory@40000000 {
32 device_type = "memory";
33 reg = <0x0 0x40000000 0x0 0xC0000000>;
34 };
35};
36
37&fin_pll {
38 clock-frequency = <24000000>;
39};
40
41&serial_2 {
42 status = "okay";
43};
6de6f73c
AK
44
45&rtc {
46 status = "okay";
1fabaddd
AA
47 clocks = <&clock_ccore PCLK_RTC>, <&s2mps15_osc S2MPS11_CLK_AP>;
48 clock-names = "rtc", "rtc_src";
6de6f73c
AK
49};
50
51&watchdog {
52 status = "okay";
53};
54
55&adc {
56 status = "okay";
57};
58
9589f772
AA
59&hsi2c_4 {
60 samsung,i2c-sda-delay = <100>;
61 samsung,i2c-max-bus-freq = <200000>;
62 status = "okay";
63
64 s2mps15_pmic@66 {
65 compatible = "samsung,s2mps15-pmic";
66 reg = <0x66>;
67 interrupts = <2 IRQ_TYPE_NONE>;
68 interrupt-parent = <&gpa0>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&pmic_irq>;
71 wakeup-source;
72
73 s2mps15_osc: clocks {
74 compatible = "samsung,s2mps13-clk";
75 #clock-cells = <1>;
76 clock-output-names = "s2mps13_ap", "s2mps13_cp",
77 "s2mps13_bt";
78 };
79
80 regulators {
81 ldo1_reg: LDO1 {
82 regulator-name = "vdd_ldo1";
83 regulator-min-microvolt = <500000>;
84 regulator-max-microvolt = <900000>;
85 regulator-always-on;
86 regulator-enable-ramp-delay = <125>;
87 };
88
89 ldo2_reg: LDO2 {
90 regulator-name = "vqmmc-sdcard";
91 regulator-min-microvolt = <1620000>;
92 regulator-max-microvolt = <3300000>;
93 regulator-always-on;
94 regulator-enable-ramp-delay = <125>;
95 };
96
97 ldo3_reg: LDO3 {
98 regulator-name = "vdd_ldo3";
99 regulator-min-microvolt = <1620000>;
100 regulator-max-microvolt = <1980000>;
101 regulator-always-on;
102 regulator-boot-on;
103 regulator-enable-ramp-delay = <125>;
104 };
105
106 ldo4_reg: LDO4 {
107 regulator-name = "vdd_ldo4";
108 regulator-min-microvolt = <800000>;
109 regulator-max-microvolt = <1110000>;
110 regulator-always-on;
111 regulator-enable-ramp-delay = <125>;
112 };
113
114 ldo5_reg: LDO5 {
115 regulator-name = "vdd_ldo5";
116 regulator-min-microvolt = <1620000>;
117 regulator-max-microvolt = <1980000>;
118 regulator-always-on;
119 regulator-enable-ramp-delay = <125>;
120 };
121
122 ldo6_reg: LDO6 {
123 regulator-name = "vdd_ldo6";
124 regulator-min-microvolt = <2250000>;
125 regulator-max-microvolt = <3300000>;
126 regulator-enable-ramp-delay = <125>;
127 };
128
129 ldo7_reg: LDO7 {
130 regulator-name = "vdd_ldo7";
131 regulator-min-microvolt = <700000>;
132 regulator-max-microvolt = <1150000>;
133 regulator-enable-ramp-delay = <125>;
134 };
135
136 ldo8_reg: LDO8 {
137 regulator-name = "vdd_ldo8";
138 regulator-min-microvolt = <700000>;
139 regulator-max-microvolt = <1000000>;
140 regulator-enable-ramp-delay = <125>;
141 };
142
143 ldo9_reg: LDO9 {
144 regulator-name = "vdd_ldo9";
145 regulator-min-microvolt = <700000>;
146 regulator-max-microvolt = <1000000>;
147 regulator-enable-ramp-delay = <125>;
148 };
149
150 ldo10_reg: LDO10 {
151 regulator-name = "vdd_ldo10";
152 regulator-min-microvolt = <700000>;
153 regulator-max-microvolt = <1000000>;
154 regulator-enable-ramp-delay = <125>;
155 };
156
157 ldo11_reg: LDO11 {
158 regulator-name = "vdd_ldo11";
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1300000>;
161 regulator-always-on;
162 regulator-enable-ramp-delay = <125>;
163 };
164
165 ldo12_reg: LDO12 {
166 regulator-name = "vdd_ldo12";
167 regulator-min-microvolt = <1000000>;
168 regulator-max-microvolt = <1300000>;
169 regulator-enable-ramp-delay = <125>;
170 };
171
172 ldo13_reg: LDO13 {
173 regulator-name = "vdd_ldo13";
174 regulator-min-microvolt = <1000000>;
175 regulator-max-microvolt = <1300000>;
176 regulator-always-on;
177 regulator-enable-ramp-delay = <125>;
178 };
179
180 ldo14_reg: LDO14 {
181 regulator-name = "vdd_ldo14";
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <3375000>;
184 regulator-enable-ramp-delay = <125>;
185 };
186
187 ldo17_reg: LDO17 {
188 regulator-name = "vmmc-sdcard";
189 regulator-min-microvolt = <1800000>;
190 regulator-max-microvolt = <3375000>;
191 regulator-enable-ramp-delay = <125>;
192 };
193
194 ldo18_reg: LDO18 {
195 regulator-name = "vdd_ldo18";
196 regulator-min-microvolt = <1500000>;
197 regulator-max-microvolt = <2275000>;
198 regulator-enable-ramp-delay = <125>;
199 };
200
201 ldo19_reg: LDO19 {
202 regulator-name = "vdd_ldo19";
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <3375000>;
205 regulator-enable-ramp-delay = <125>;
206 };
207
208 ldo21_reg: LDO21 {
209 regulator-name = "vdd_ldo21";
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <3375000>;
212 regulator-enable-ramp-delay = <125>;
213 };
214
215 ldo23_reg: LDO23 {
216 regulator-name = "vdd_ldo23";
217 regulator-min-microvolt = <1500000>;
218 regulator-max-microvolt = <2275000>;
219 regulator-enable-ramp-delay = <125>;
220 };
221
222 ldo25_reg: LDO25 {
223 regulator-name = "vdd_ldo25";
224 regulator-min-microvolt = <1800000>;
225 regulator-max-microvolt = <3375000>;
226 regulator-enable-ramp-delay = <125>;
227 };
228
229 ldo26_reg: LDO26 {
230 regulator-name = "vdd_ldo26";
231 regulator-min-microvolt = <700000>;
232 regulator-max-microvolt = <1470000>;
233 regulator-enable-ramp-delay = <125>;
234 };
235
236 ldo27_reg: LDO27 {
237 regulator-name = "vdd_ldo27";
238 regulator-min-microvolt = <1500000>;
239 regulator-max-microvolt = <2275000>;
240 regulator-enable-ramp-delay = <125>;
241 };
242
243 buck1_reg: BUCK1 {
244 regulator-name = "vdd_mif";
245 regulator-min-microvolt = <500000>;
246 regulator-max-microvolt = <1200000>;
247 regulator-always-on;
248 regulator-boot-on;
249 regulator-ramp-delay = <25000>;
250 regulator-enable-ramp-delay = <250>;
251 };
252
253 buck2_reg: BUCK2 {
254 regulator-name = "vdd_atlas";
a1924466 255 regulator-min-microvolt = <500000>;
9589f772
AA
256 regulator-max-microvolt = <1200000>;
257 regulator-always-on;
258 regulator-boot-on;
259 regulator-ramp-delay = <12500>;
260 regulator-enable-ramp-delay = <250>;
261 };
262
263 buck4_reg: BUCK4 {
264 regulator-name = "vdd_int";
265 regulator-min-microvolt = <500000>;
266 regulator-max-microvolt = <1200000>;
267 regulator-always-on;
268 regulator-boot-on;
269 regulator-ramp-delay = <12500>;
270 regulator-enable-ramp-delay = <250>;
271 };
272
273 buck5_reg: BUCK5 {
274 regulator-name = "vdd_buck5";
275 regulator-min-microvolt = <500000>;
276 regulator-max-microvolt = <1300000>;
277 regulator-ramp-delay = <25000>;
278 regulator-enable-ramp-delay = <250>;
279 };
280
281 buck6_reg: BUCK6 {
282 regulator-name = "vdd_g3d";
283 regulator-min-microvolt = <500000>;
284 regulator-max-microvolt = <1400000>;
285 regulator-ramp-delay = <12500>;
286 regulator-enable-ramp-delay = <250>;
287 };
288
289 buck7_reg: BUCK7 {
290 regulator-name = "vdd_buck7";
291 regulator-min-microvolt = <1000000>;
292 regulator-max-microvolt = <1500000>;
293 regulator-always-on;
294 regulator-ramp-delay = <25000>;
295 regulator-enable-ramp-delay = <250>;
296 };
297
298 buck8_reg: BUCK8 {
299 regulator-name = "vdd_buck8";
300 regulator-min-microvolt = <1000000>;
301 regulator-max-microvolt = <1500000>;
302 regulator-always-on;
303 regulator-ramp-delay = <25000>;
304 regulator-enable-ramp-delay = <250>;
305 };
306
307 buck9_reg: BUCK9 {
308 regulator-name = "vdd_buck9";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <2100000>;
311 regulator-always-on;
312 regulator-ramp-delay = <25000>;
313 regulator-enable-ramp-delay = <250>;
314 };
315
316 buck10_reg: BUCK10 {
317 regulator-name = "vdd_buck10";
318 regulator-min-microvolt = <1000000>;
319 regulator-max-microvolt = <3000000>;
320 regulator-always-on;
321 regulator-ramp-delay = <25000>;
322 regulator-enable-ramp-delay = <250>;
323 };
324 };
325 };
326};
327
328&pinctrl_alive {
329 pmic_irq: pmic-irq {
330 samsung,pins = "gpa0-2";
331 samsung,pin-pud = <3>;
332 samsung,pin-drv = <3>;
333 };
334};
335
6de6f73c
AK
336&mmc_0 {
337 status = "okay";
338 num-slots = <1>;
6de6f73c 339 cap-mmc-highspeed;
4fe5dc48 340 mmc-hs200-1_8v;
6de6f73c
AK
341 non-removable;
342 card-detect-delay = <200>;
343 clock-frequency = <800000000>;
344 samsung,dw-mshc-ciu-div = <3>;
345 samsung,dw-mshc-sdr-timing = <0 4>;
346 samsung,dw-mshc-ddr-timing = <0 2>;
347 pinctrl-names = "default";
348 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_qrdy &sd0_bus1 &sd0_bus4 &sd0_bus8>;
349 bus-width = <8>;
350};
351
352&mmc_2 {
353 status = "okay";
354 num-slots = <1>;
355 cap-sd-highspeed;
356 card-detect-delay = <200>;
357 clock-frequency = <400000000>;
358 samsung,dw-mshc-ciu-div = <3>;
359 samsung,dw-mshc-sdr-timing = <2 3>;
360 samsung,dw-mshc-ddr-timing = <1 2>;
361 pinctrl-names = "default";
362 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
363 bus-width = <4>;
9589f772
AA
364 vmmc-supply = <&ldo17_reg>;
365 vqmmc-supply = <&ldo2_reg>;
6de6f73c
AK
366 disable-wp;
367};