PageRenderTime 84ms CodeModel.GetById 67ms app.highlight 7ms RepoModel.GetById 3ms app.codeStats 0ms

/arch/arm/boot/dts/exynos5420-arndale-octa.dts

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