• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Samsung's Exynos5250 based Arndale 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 <dt-bindings/gpio/gpio.h>
14#include <dt-bindings/interrupt-controller/irq.h>
15#include <dt-bindings/input/input.h>
16#include "exynos5250.dtsi"
17
18/ {
19	model = "Insignal Arndale evaluation board based on EXYNOS5250";
20	compatible = "insignal,arndale", "samsung,exynos5250", "samsung,exynos5";
21
22	memory@40000000 {
23		device_type = "memory";
24		reg = <0x40000000 0x80000000>;
25	};
26
27	chosen {
28		bootargs = "console=ttySAC2,115200";
29	};
30
31	gpio_keys {
32		compatible = "gpio-keys";
33
34		menu {
35			label = "SW-TACT2";
36			gpios = <&gpx1 4 GPIO_ACTIVE_LOW>;
37			linux,code = <KEY_MENU>;
38			wakeup-source;
39		};
40
41		home {
42			label = "SW-TACT3";
43			gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;
44			linux,code = <KEY_HOME>;
45			wakeup-source;
46		};
47
48		up {
49			label = "SW-TACT4";
50			gpios = <&gpx1 6 GPIO_ACTIVE_LOW>;
51			linux,code = <KEY_UP>;
52			wakeup-source;
53		};
54
55		down {
56			label = "SW-TACT5";
57			gpios = <&gpx1 7 GPIO_ACTIVE_LOW>;
58			linux,code = <KEY_DOWN>;
59			wakeup-source;
60		};
61
62		back {
63			label = "SW-TACT6";
64			gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
65			linux,code = <KEY_BACK>;
66			wakeup-source;
67		};
68
69		wakeup {
70			label = "SW-TACT7";
71			gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
72			linux,code = <KEY_WAKEUP>;
73			wakeup-source;
74		};
75	};
76
77	regulators {
78		compatible = "simple-bus";
79		#address-cells = <1>;
80		#size-cells = <0>;
81
82		main_dc_reg: regulator@0 {
83			compatible = "regulator-fixed";
84			reg = <0>;
85			regulator-name = "MAIN_DC";
86		};
87
88		mmc_reg: regulator@1 {
89			compatible = "regulator-fixed";
90			reg = <1>;
91			regulator-name = "VDD_33ON_2.8V";
92			regulator-min-microvolt = <2800000>;
93			regulator-max-microvolt = <2800000>;
94			gpio = <&gpx1 1 GPIO_ACTIVE_LOW>;
95			enable-active-high;
96		};
97
98		reg_hdmi_en: regulator@2 {
99			compatible = "regulator-fixed";
100			reg = <2>;
101			regulator-name = "hdmi-en";
102		};
103	};
104
105	fixed-rate-clocks {
106		xxti {
107			compatible = "samsung,clock-xxti";
108			clock-frequency = <24000000>;
109		};
110	};
111
112	// SMSC USB3503 connected in hardware only mode as a PHY
113	usb_hub: usb-hub {
114		compatible = "smsc,usb3503a";
115
116		reset-gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
117		connect-gpios = <&gpd1 7 GPIO_ACTIVE_LOW>;
118	};
119};
120
121&cpu0 {
122	cpu0-supply = <&buck2_reg>;
123};
124
125&dp {
126	status = "okay";
127	samsung,color-space = <0>;
128	samsung,color-depth = <1>;
129	samsung,link-rate = <0x0a>;
130	samsung,lane-count = <4>;
131
132	display-timings {
133		native-mode = <&timing0>;
134
135		timing0: timing {
136			/* 2560x1600 DP panel */
137			clock-frequency = <50000>;
138			hactive = <2560>;
139			vactive = <1600>;
140			hfront-porch = <48>;
141			hback-porch = <80>;
142			hsync-len = <32>;
143			vback-porch = <16>;
144			vfront-porch = <8>;
145			vsync-len = <6>;
146		};
147	};
148};
149
150&fimd {
151	status = "okay";
152};
153
154&hdmi {
155	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_LOW>;
156	vdd_osc-supply = <&ldo10_reg>;
157	vdd_pll-supply = <&ldo8_reg>;
158	vdd-supply = <&ldo8_reg>;
159};
160
161&i2c_0 {
162	status = "okay";
163	samsung,i2c-sda-delay = <100>;
164	samsung,i2c-max-bus-freq = <20000>;
165	samsung,i2c-slave-addr = <0x66>;
166
167	s5m8767_pmic@66 {
168		compatible = "samsung,s5m8767-pmic";
169		reg = <0x66>;
170		interrupt-parent = <&gpx3>;
171		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
172		pinctrl-names = "default";
173		pinctrl-0 = <&s5m8767_irq>;
174
175		vinb1-supply = <&main_dc_reg>;
176		vinb2-supply = <&main_dc_reg>;
177		vinb3-supply = <&main_dc_reg>;
178		vinb4-supply = <&main_dc_reg>;
179		vinb5-supply = <&main_dc_reg>;
180		vinb6-supply = <&main_dc_reg>;
181		vinb7-supply = <&main_dc_reg>;
182		vinb8-supply = <&main_dc_reg>;
183		vinb9-supply = <&main_dc_reg>;
184
185		vinl1-supply = <&buck7_reg>;
186		vinl2-supply = <&buck7_reg>;
187		vinl3-supply = <&buck7_reg>;
188		vinl4-supply = <&main_dc_reg>;
189		vinl5-supply = <&main_dc_reg>;
190		vinl6-supply = <&main_dc_reg>;
191		vinl7-supply = <&main_dc_reg>;
192		vinl8-supply = <&buck8_reg>;
193		vinl9-supply = <&buck8_reg>;
194
195		s5m8767,pmic-buck2-dvs-voltage = <1300000>;
196		s5m8767,pmic-buck3-dvs-voltage = <1100000>;
197		s5m8767,pmic-buck4-dvs-voltage = <1200000>;
198		s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>,
199		                              <&gpd1 1 GPIO_ACTIVE_HIGH>,
200		                              <&gpd1 2 GPIO_ACTIVE_HIGH>;
201		s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
202		                             <&gpx2 4 GPIO_ACTIVE_HIGH>,
203		                             <&gpx2 5 GPIO_ACTIVE_HIGH>;
204
205		regulators {
206			ldo1_reg: LDO1 {
207				regulator-name = "VDD_ALIVE_1.0V";
208				regulator-min-microvolt = <1100000>;
209				regulator-max-microvolt = <1100000>;
210				regulator-always-on;
211				regulator-boot-on;
212				op_mode = <1>;
213			};
214
215			ldo2_reg: LDO2 {
216				regulator-name = "VDD_28IO_DP_1.35V";
217				regulator-min-microvolt = <1200000>;
218				regulator-max-microvolt = <1200000>;
219				regulator-always-on;
220				regulator-boot-on;
221				op_mode = <1>;
222			};
223
224			ldo3_reg: LDO3 {
225				regulator-name = "VDD_COMMON1_1.8V";
226				regulator-min-microvolt = <1800000>;
227				regulator-max-microvolt = <1800000>;
228				regulator-always-on;
229				regulator-boot-on;
230				op_mode = <1>;
231			};
232
233			ldo4_reg: LDO4 {
234				regulator-name = "VDD_IOPERI_1.8V";
235				regulator-min-microvolt = <1800000>;
236				regulator-max-microvolt = <1800000>;
237				regulator-always-on;
238				op_mode = <1>;
239			};
240
241			ldo5_reg: LDO5 {
242				regulator-name = "VDD_EXT_1.8V";
243				regulator-min-microvolt = <1800000>;
244				regulator-max-microvolt = <1800000>;
245				regulator-always-on;
246				regulator-boot-on;
247				op_mode = <1>;
248			};
249
250			ldo6_reg: LDO6 {
251				regulator-name = "VDD_MPLL_1.1V";
252				regulator-min-microvolt = <1100000>;
253				regulator-max-microvolt = <1100000>;
254				regulator-always-on;
255				regulator-boot-on;
256				op_mode = <1>;
257			};
258
259			ldo7_reg: LDO7 {
260				regulator-name = "VDD_XPLL_1.1V";
261				regulator-min-microvolt = <1100000>;
262				regulator-max-microvolt = <1100000>;
263				regulator-always-on;
264				regulator-boot-on;
265				op_mode = <1>;
266			};
267
268			ldo8_reg: LDO8 {
269				regulator-name = "VDD_COMMON2_1.0V";
270				regulator-min-microvolt = <1000000>;
271				regulator-max-microvolt = <1000000>;
272				regulator-always-on;
273				regulator-boot-on;
274				op_mode = <1>;
275			};
276
277			ldo9_reg: LDO9 {
278				regulator-name = "VDD_33ON_3.0V";
279				regulator-min-microvolt = <3000000>;
280				regulator-max-microvolt = <3000000>;
281				op_mode = <1>;
282			};
283
284			ldo10_reg: LDO10 {
285				regulator-name = "VDD_COMMON3_1.8V";
286				regulator-min-microvolt = <1800000>;
287				regulator-max-microvolt = <1800000>;
288				regulator-always-on;
289				regulator-boot-on;
290				op_mode = <1>;
291			};
292
293			ldo11_reg: LDO11 {
294				regulator-name = "VDD_ABB2_1.8V";
295				regulator-min-microvolt = <1800000>;
296				regulator-max-microvolt = <1800000>;
297				regulator-always-on;
298				regulator-boot-on;
299				op_mode = <1>;
300			};
301
302			ldo12_reg: LDO12 {
303				regulator-name = "VDD_USB_3.0V";
304				regulator-min-microvolt = <3000000>;
305				regulator-max-microvolt = <3000000>;
306				regulator-always-on;
307				regulator-boot-on;
308				op_mode = <1>;
309			};
310
311			ldo13_reg: LDO13 {
312				regulator-name = "VDDQ_C2C_W_1.8V";
313				regulator-min-microvolt = <1800000>;
314				regulator-max-microvolt = <1800000>;
315				regulator-always-on;
316				regulator-boot-on;
317				op_mode = <1>;
318			};
319
320			ldo14_reg: LDO14 {
321				regulator-name = "VDD18_ABB0_3_1.8V";
322				regulator-min-microvolt = <1800000>;
323				regulator-max-microvolt = <1800000>;
324				regulator-always-on;
325				regulator-boot-on;
326				op_mode = <1>;
327			};
328
329			ldo15_reg: LDO15 {
330				regulator-name = "VDD10_COMMON4_1.0V";
331				regulator-min-microvolt = <1000000>;
332				regulator-max-microvolt = <1000000>;
333				regulator-always-on;
334				regulator-boot-on;
335				op_mode = <1>;
336			};
337
338			ldo16_reg: LDO16 {
339				regulator-name = "VDD18_HSIC_1.8V";
340				regulator-min-microvolt = <1800000>;
341				regulator-max-microvolt = <1800000>;
342				regulator-always-on;
343				regulator-boot-on;
344				op_mode = <1>;
345			};
346
347			ldo17_reg: LDO17 {
348				regulator-name = "VDDQ_MMC2_3_2.8V";
349				regulator-min-microvolt = <2800000>;
350				regulator-max-microvolt = <2800000>;
351				regulator-always-on;
352				regulator-boot-on;
353				op_mode = <1>;
354			};
355
356			ldo18_reg: LDO18 {
357				regulator-name = "VDD_33ON_2.8V";
358				regulator-min-microvolt = <2800000>;
359				regulator-max-microvolt = <2800000>;
360				op_mode = <1>;
361			};
362
363			ldo22_reg: LDO22 {
364				regulator-name = "EXT_33_OFF";
365				regulator-min-microvolt = <3300000>;
366				regulator-max-microvolt = <3300000>;
367				op_mode = <1>;
368			};
369
370			ldo23_reg: LDO23 {
371				regulator-name = "EXT_28_OFF";
372				regulator-min-microvolt = <2800000>;
373				regulator-max-microvolt = <2800000>;
374				op_mode = <1>;
375			};
376
377			ldo25_reg: LDO25 {
378				regulator-name = "PVDD_LDO25";
379				regulator-min-microvolt = <1200000>;
380				regulator-max-microvolt = <1200000>;
381				op_mode = <1>;
382			};
383
384			ldo26_reg: LDO26 {
385				regulator-name = "EXT_18_OFF";
386				regulator-min-microvolt = <1800000>;
387				regulator-max-microvolt = <1800000>;
388				op_mode = <1>;
389			};
390
391			buck1_reg: BUCK1 {
392				regulator-name = "vdd_mif";
393				regulator-min-microvolt = <950000>;
394				regulator-max-microvolt = <1200000>;
395				regulator-always-on;
396				regulator-boot-on;
397				op_mode = <1>;
398			};
399
400			buck2_reg: BUCK2 {
401				regulator-name = "vdd_arm";
402				regulator-min-microvolt = <912500>;
403				regulator-max-microvolt = <1300000>;
404				regulator-always-on;
405				regulator-boot-on;
406				op_mode = <1>;
407			};
408
409			buck3_reg: BUCK3 {
410				regulator-name = "vdd_int";
411				regulator-min-microvolt = <900000>;
412				regulator-max-microvolt = <1200000>;
413				regulator-always-on;
414				regulator-boot-on;
415				op_mode = <1>;
416			};
417
418			buck4_reg: BUCK4 {
419				regulator-name = "vdd_g3d";
420				regulator-min-microvolt = <1000000>;
421				regulator-max-microvolt = <1000000>;
422				regulator-always-on;
423				regulator-boot-on;
424				op_mode = <1>;
425			};
426
427			buck5_reg: BUCK5 {
428				regulator-name = "VDD_MEM_1.35V";
429				regulator-min-microvolt = <750000>;
430				regulator-max-microvolt = <1355000>;
431				regulator-always-on;
432				regulator-boot-on;
433				op_mode = <1>;
434			};
435
436			buck7_reg: BUCK7 {
437				regulator-name = "PVDD_BUCK7";
438				regulator-always-on;
439				op_mode = <1>;
440			};
441
442			buck8_reg: BUCK8 {
443				regulator-name = "PVDD_BUCK8";
444				regulator-always-on;
445				op_mode = <1>;
446			};
447
448			buck9_reg: BUCK9 {
449				regulator-name = "VDD_33_OFF_EXT1";
450				regulator-min-microvolt = <750000>;
451				regulator-max-microvolt = <3000000>;
452				op_mode = <1>;
453			};
454		};
455	};
456};
457
458&i2c_2 {
459	status = "okay";
460
461	samsung,i2c-sda-delay = <100>;
462	samsung,i2c-max-bus-freq = <66000>;
463	samsung,i2c-slave-addr = <0x50>;
464
465	hdmiddc@50 {
466		compatible = "samsung,exynos4210-hdmiddc";
467		reg = <0x50>;
468	};
469};
470
471&i2c_3 {
472	status = "okay";
473
474	wm1811a@1a {
475		compatible = "wlf,wm1811";
476		reg = <0x1a>;
477
478		AVDD2-supply = <&main_dc_reg>;
479		CPVDD-supply = <&main_dc_reg>;
480		DBVDD1-supply = <&main_dc_reg>;
481		DBVDD2-supply = <&main_dc_reg>;
482		DBVDD3-supply = <&main_dc_reg>;
483		LDO1VDD-supply = <&main_dc_reg>;
484		SPKVDD1-supply = <&main_dc_reg>;
485		SPKVDD2-supply = <&main_dc_reg>;
486
487		wlf,ldo1ena = <&gpb0 0 GPIO_ACTIVE_HIGH>;
488		wlf,ldo2ena = <&gpb0 1 GPIO_ACTIVE_HIGH>;
489	};
490};
491
492&i2c_8 {
493	status = "okay";
494
495	samsung,i2c-sda-delay = <100>;
496	samsung,i2c-max-bus-freq = <66000>;
497	samsung,i2c-slave-addr = <0x38>;
498
499	hdmiphy@38 {
500		compatible = "samsung,exynos4212-hdmiphy";
501		reg = <0x38>;
502	};
503};
504
505&i2c_9 {
506	status = "okay";
507	samsung,i2c-sda-delay = <100>;
508	samsung,i2c-max-bus-freq = <40000>;
509	samsung,i2c-slave-addr = <0x38>;
510
511	sata_phy_i2c:sata-phy@38 {
512		compatible = "samsung,exynos-sataphy-i2c";
513		reg = <0x38>;
514	};
515};
516
517&i2s0 {
518	status = "okay";
519};
520
521&mmc_0 {
522	status = "okay";
523	broken-cd;
524	card-detect-delay = <200>;
525	samsung,dw-mshc-ciu-div = <3>;
526	samsung,dw-mshc-sdr-timing = <2 3>;
527	samsung,dw-mshc-ddr-timing = <1 2>;
528	vmmc-supply = <&mmc_reg>;
529	pinctrl-names = "default";
530	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
531	bus-width = <8>;
532	cap-mmc-highspeed;
533};
534
535&mmc_2 {
536	status = "okay";
537	card-detect-delay = <200>;
538	samsung,dw-mshc-ciu-div = <3>;
539	samsung,dw-mshc-sdr-timing = <2 3>;
540	samsung,dw-mshc-ddr-timing = <1 2>;
541	vmmc-supply = <&mmc_reg>;
542	pinctrl-names = "default";
543	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
544	bus-width = <4>;
545	disable-wp;
546	cap-sd-highspeed;
547};
548
549&pinctrl_0 {
550	s5m8767_irq: s5m8767-irq {
551		samsung,pins = "gpx3-2";
552		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
553	};
554};
555
556&rtc {
557	status = "okay";
558};
559
560&sata {
561	status = "okay";
562};
563
564&sata_phy {
565	status = "okay";
566	samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
567};
568