blob: 39a3b81478fd3978e1451b86f7c0d90e59c096e0 [file] [log] [blame]
Sachin Kamat9dd51c92013-12-12 07:32:39 +09001/*
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"
Krzysztof Kozlowski4f0d20e2015-12-11 15:05:56 +090014#include "exynos5420-cpus.dtsi"
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090015#include <dt-bindings/gpio/gpio.h>
Sachin Kamatf4deb682014-02-24 08:47:29 +090016#include <dt-bindings/interrupt-controller/irq.h>
Sachin Kamat0c6f6512014-02-24 08:54:51 +090017#include <dt-bindings/input/input.h>
Krzysztof Kozlowskice9940a2015-05-02 14:40:08 +090018#include <dt-bindings/clock/samsung,s2mps11.h>
Marek Szyprowski8b9ac7e2016-05-24 15:31:29 +020019#include "exynos-mfc-reserved-memory.dtsi"
Sachin Kamat9dd51c92013-12-12 07:32:39 +090020
21/ {
22 model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090023 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
Sachin Kamat9dd51c92013-12-12 07:32:39 +090024
25 memory {
26 reg = <0x20000000 0x80000000>;
27 };
28
29 chosen {
30 bootargs = "console=ttySAC3,115200";
31 };
32
Tushar Behera345e9bf2014-05-31 02:21:50 +090033 firmware@02073000 {
34 compatible = "samsung,secure-firmware";
35 reg = <0x02073000 0x1000>;
36 };
37
Sachin Kamat9dd51c92013-12-12 07:32:39 +090038 fixed-rate-clocks {
39 oscclk {
40 compatible = "samsung,exynos5420-oscclk";
41 clock-frequency = <24000000>;
42 };
43 };
44
Sachin Kamat0c6f6512014-02-24 08:54:51 +090045 gpio_keys {
46 compatible = "gpio-keys";
47
48 wakeup {
49 label = "SW-TACT1";
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090050 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
Sachin Kamat0c6f6512014-02-24 08:54:51 +090051 linux,code = <KEY_WAKEUP>;
Sudeep Holla36a02822016-01-28 15:59:58 +000052 wakeup-source;
Sachin Kamat0c6f6512014-02-24 08:54:51 +090053 };
54 };
Sachin Kamat9dd51c92013-12-12 07:32:39 +090055};
Sjoerd Simons4e033942014-09-25 17:32:31 +090056
Bartlomiej Zolnierkiewicz8b51c5e2015-12-15 18:33:15 +010057&cpu0 {
58 cpu-supply = <&buck2_reg>;
59};
60
61&cpu4 {
62 cpu-supply = <&buck6_reg>;
63};
64
Sjoerd Simons4e033942014-09-25 17:32:31 +090065&usbdrd_dwc3_1 {
66 dr_mode = "host";
67};
Abhilash Kesavan25217fef2015-01-10 08:41:36 +053068
69&cci {
70 status = "disabled";
71};
Krzysztof Kozlowski1fed2252015-04-02 16:15:20 +020072
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +090073&hsi2c_4 {
74 status = "okay";
75
76 s2mps11_pmic@66 {
77 compatible = "samsung,s2mps11-pmic";
78 reg = <0x66>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +090079
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
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900350&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
Krzysztof Kozlowski1fed2252015-04-02 16:15:20 +0200378&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};
Krzysztof Kozlowskice9940a2015-05-02 14:40:08 +0900386
387&rtc {
388 status = "okay";
389 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
390 clock-names = "rtc", "rtc_src";
391};