1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Samsung's Exynos4412 based Trats 2 board device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 *		http://www.samsung.com
7 *
8 * Device tree source file for Samsung's Trats 2 board which is based on
9 * Samsung's Exynos4412 SoC.
10 */
11
12/dts-v1/;
13#include "exynos4412.dtsi"
14#include "exynos4412-ppmu-common.dtsi"
15#include <dt-bindings/gpio/gpio.h>
16#include <dt-bindings/input/input.h>
17#include <dt-bindings/interrupt-controller/irq.h>
18#include <dt-bindings/clock/maxim,max77686.h>
19#include <dt-bindings/pinctrl/samsung.h>
20
21/ {
22	compatible = "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
23
24	aliases {
25		i2c11 = &i2c_max77693;
26		i2c12 = &i2c_max77693_fuel;
27	};
28
29	chosen {
30		stdout-path = &serial_2;
31	};
32
33	firmware@204f000 {
34		compatible = "samsung,secure-firmware";
35		reg = <0x0204F000 0x1000>;
36	};
37
38	fixed-rate-clocks {
39		xxti {
40			compatible = "samsung,clock-xxti", "fixed-clock";
41			clock-frequency = <0>;
42		};
43
44		xusbxti {
45			compatible = "samsung,clock-xusbxti", "fixed-clock";
46			clock-frequency = <24000000>;
47		};
48	};
49
50	cam_io_reg: voltage-regulator-1 {
51		compatible = "regulator-fixed";
52		regulator-name = "CAM_SENSOR_A";
53		regulator-min-microvolt = <2800000>;
54		regulator-max-microvolt = <2800000>;
55		enable-active-high;
56		status = "disabled";
57	};
58
59	cam_af_reg: voltage-regulator-2 {
60		compatible = "regulator-fixed";
61		regulator-name = "CAM_AF";
62		regulator-min-microvolt = <2800000>;
63		regulator-max-microvolt = <2800000>;
64		enable-active-high;
65		status = "disabled";
66	};
67
68	vsil12: voltage-regulator-3 {
69		compatible = "regulator-fixed";
70		regulator-name = "VSIL_1.2V";
71		regulator-min-microvolt = <1200000>;
72		regulator-max-microvolt = <1200000>;
73		gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
74		enable-active-high;
75		vin-supply = <&buck7_reg>;
76	};
77
78	vcc33mhl: voltage-regulator-4 {
79		compatible = "regulator-fixed";
80		regulator-name = "VCC_3.3_MHL";
81		regulator-min-microvolt = <3300000>;
82		regulator-max-microvolt = <3300000>;
83		gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
84		enable-active-high;
85	};
86
87	vcc18mhl: voltage-regulator-5 {
88		compatible = "regulator-fixed";
89		regulator-name = "VCC_1.8_MHL";
90		regulator-min-microvolt = <1800000>;
91		regulator-max-microvolt = <1800000>;
92		gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
93		enable-active-high;
94	};
95
96	touchkey_reg: voltage-regulator-6 {
97		compatible = "regulator-fixed";
98		regulator-name = "LED_VDD_3.3V";
99		regulator-min-microvolt = <3300000>;
100		regulator-max-microvolt = <3300000>;
101		enable-active-high;
102		status = "disabled";
103	};
104
105	gpio-keys {
106		compatible = "gpio-keys";
107		pinctrl-names = "default";
108		pinctrl-0 = <&gpio_keys>;
109
110		key-down {
111			gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
112			linux,code = <114>;
113			label = "volume down";
114			debounce-interval = <10>;
115		};
116
117		key-up {
118			gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
119			linux,code = <115>;
120			label = "volume up";
121			debounce-interval = <10>;
122		};
123
124		key-power {
125			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
126			linux,code = <116>;
127			label = "power";
128			debounce-interval = <10>;
129			wakeup-source;
130		};
131
132		key-ok {
133			gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
134			linux,code = <139>;
135			label = "ok";
136			debounce-interval = <10>;
137			wakeup-source;
138		};
139	};
140
141	i2c_max77693: i2c-gpio-1 {
142		compatible = "i2c-gpio";
143		gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
144		i2c-gpio,delay-us = <2>;
145		#address-cells = <1>;
146		#size-cells = <0>;
147		status = "okay";
148
149		max77693@66 {
150			compatible = "maxim,max77693";
151			interrupt-parent = <&gpx1>;
152			interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
153			pinctrl-names = "default";
154			pinctrl-0 = <&max77693_irq>;
155			reg = <0x66>;
156
157			regulators {
158				esafeout1_reg: ESAFEOUT1 {
159					regulator-name = "ESAFEOUT1";
160				};
161				esafeout2_reg: ESAFEOUT2 {
162					regulator-name = "ESAFEOUT2";
163				};
164				charger_reg: CHARGER {
165					regulator-name = "CHARGER";
166					regulator-min-microamp = <60000>;
167					regulator-max-microamp = <2580000>;
168				};
169			};
170
171			max77693_haptic {
172				compatible = "maxim,max77693-haptic";
173				haptic-supply = <&ldo26_reg>;
174				pwms = <&pwm 0 38022 0>;
175			};
176
177			charger {
178				compatible = "maxim,max77693-charger";
179
180				maxim,constant-microvolt = <4350000>;
181				maxim,min-system-microvolt = <3600000>;
182				maxim,thermal-regulation-celsius = <100>;
183				maxim,battery-overcurrent-microamp = <3500000>;
184				maxim,charge-input-threshold-microvolt = <4300000>;
185			};
186		};
187	};
188
189	i2c_max77693_fuel: i2c-gpio-3 {
190		compatible = "i2c-gpio";
191		gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
192		i2c-gpio,delay-us = <2>;
193		#address-cells = <1>;
194		#size-cells = <0>;
195		status = "okay";
196
197		max77693-fuel-gauge@36 {
198			compatible = "maxim,max17047";
199			interrupt-parent = <&gpx2>;
200			interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
201			pinctrl-names = "default";
202			pinctrl-0 = <&max77693_fuel_irq>;
203			reg = <0x36>;
204
205			maxim,over-heat-temp = <700>;
206			maxim,over-volt = <4500>;
207		};
208	};
209
210	i2c-gpio-4 {
211		compatible = "i2c-gpio";
212		sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
213		scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
214		i2c-gpio,delay-us = <2>;
215		#address-cells = <1>;
216		#size-cells = <0>;
217
218		touchkey@20 {
219			compatible = "cypress,midas-touchkey";
220			reg = <0x20>;
221			vdd-supply = <&touchkey_reg>;
222			vcc-supply = <&ldo5_reg>;
223			interrupt-parent = <&gpj0>;
224			interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
225			linux,keycodes = <KEY_BACK KEY_MENU>;
226		};
227	};
228
229	i2c-mhl {
230		compatible = "i2c-gpio";
231		gpios = <&gpf0 4 GPIO_ACTIVE_HIGH>, <&gpf0 6 GPIO_ACTIVE_HIGH>;
232		i2c-gpio,delay-us = <100>;
233		#address-cells = <1>;
234		#size-cells = <0>;
235
236		pinctrl-0 = <&i2c_mhl_bus>;
237		pinctrl-names = "default";
238		status = "okay";
239
240		sii9234: hdmi-bridge@39 {
241			compatible = "sil,sii9234";
242			avcc33-supply = <&vcc33mhl>;
243			iovcc18-supply = <&vcc18mhl>;
244			avcc12-supply = <&vsil12>;
245			cvcc12-supply = <&vsil12>;
246			reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
247			interrupt-parent = <&gpf3>;
248			interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
249			reg = <0x39>;
250
251			port {
252				mhl_to_hdmi: endpoint {
253					remote-endpoint = <&hdmi_to_mhl>;
254				};
255			};
256		};
257	};
258
259	wlan_pwrseq: sdhci3-pwrseq {
260		compatible = "mmc-pwrseq-simple";
261		reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
262		clocks = <&max77686 MAX77686_CLK_PMIC>;
263		clock-names = "ext_clock";
264	};
265
266	sound {
267		compatible = "samsung,trats2-audio";
268		samsung,i2s-controller = <&i2s0>;
269		samsung,model = "Trats2";
270		samsung,audio-codec = <&wm1811>;
271		samsung,audio-routing =
272			"SPK", "SPKOUTLN",
273			"SPK", "SPKOUTLP",
274			"SPK", "SPKOUTRN",
275			"SPK", "SPKOUTRP";
276	};
277
278	thermistor-ap {
279		compatible = "murata,ncp15wb473";
280		pullup-uv = <1800000>;	 /* VCC_1.8V_AP */
281		pullup-ohm = <100000>;	 /* 100K */
282		pulldown-ohm = <100000>; /* 100K */
283		io-channels = <&adc 1>;  /* AP temperature */
284	};
285
286	thermistor-battery {
287		compatible = "murata,ncp15wb473";
288		pullup-uv = <1800000>;	 /* VCC_1.8V_AP */
289		pullup-ohm = <100000>;	 /* 100K */
290		pulldown-ohm = <100000>; /* 100K */
291		io-channels = <&adc 2>;  /* Battery temperature */
292	};
293
294	thermal-zones {
295		cpu_thermal: cpu-thermal {
296			cooling-maps {
297				map0 {
298				     /* Corresponds to 800MHz at freq_table */
299				     cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
300						      <&cpu2 7 7>, <&cpu3 7 7>;
301				};
302				map1 {
303				     /* Corresponds to 200MHz at freq_table */
304				     cooling-device = <&cpu0 13 13>,
305						      <&cpu1 13 13>,
306						      <&cpu2 13 13>,
307						      <&cpu3 13 13>;
308			       };
309		       };
310		};
311	};
312};
313
314&adc {
315	vdd-supply = <&ldo3_reg>;
316	status = "okay";
317};
318
319&bus_dmc {
320	devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
321	vdd-supply = <&buck1_reg>;
322	status = "okay";
323};
324
325&bus_acp {
326	devfreq = <&bus_dmc>;
327	status = "okay";
328};
329
330&bus_c2c {
331	devfreq = <&bus_dmc>;
332	status = "okay";
333};
334
335&bus_leftbus {
336	devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
337	vdd-supply = <&buck3_reg>;
338	status = "okay";
339};
340
341&bus_rightbus {
342	devfreq = <&bus_leftbus>;
343	status = "okay";
344};
345
346&bus_display {
347	devfreq = <&bus_leftbus>;
348	status = "okay";
349};
350
351&bus_fsys {
352	devfreq = <&bus_leftbus>;
353	status = "okay";
354};
355
356&bus_peri {
357	devfreq = <&bus_leftbus>;
358	status = "okay";
359};
360
361&bus_mfc {
362	devfreq = <&bus_leftbus>;
363	status = "okay";
364};
365
366&camera {
367	pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
368	pinctrl-names = "default";
369	status = "okay";
370	assigned-clocks = <&clock CLK_MOUT_CAM0>,
371		<&clock CLK_MOUT_CAM1>;
372	assigned-clock-parents = <&clock CLK_XUSBXTI>,
373		<&clock CLK_XUSBXTI>;
374};
375
376&cpu0 {
377	cpu0-supply = <&buck2_reg>;
378};
379
380&csis_0 {
381	status = "okay";
382	vddcore-supply = <&ldo8_reg>;
383	vddio-supply = <&ldo10_reg>;
384	assigned-clocks = <&clock CLK_MOUT_CSIS0>,
385			<&clock CLK_SCLK_CSIS0>;
386	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
387	assigned-clock-rates = <0>, <176000000>;
388
389	/* Camera C (3) MIPI CSI-2 (CSIS0) */
390	port@3 {
391		reg = <3>;
392		csis0_ep: endpoint {
393			remote-endpoint = <&s5c73m3_ep>;
394			data-lanes = <1 2 3 4>;
395			samsung,csis-hs-settle = <12>;
396		};
397	};
398};
399
400&csis_1 {
401	status = "okay";
402	vddcore-supply = <&ldo8_reg>;
403	vddio-supply = <&ldo10_reg>;
404	assigned-clocks = <&clock CLK_MOUT_CSIS1>,
405			<&clock CLK_SCLK_CSIS1>;
406	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
407	assigned-clock-rates = <0>, <176000000>;
408
409	/* Camera D (4) MIPI CSI-2 (CSIS1) */
410	port@4 {
411		reg = <4>;
412		csis1_ep: endpoint {
413			remote-endpoint = <&is_s5k6a3_ep>;
414			data-lanes = <1>;
415			samsung,csis-hs-settle = <18>;
416			samsung,csis-wclk;
417		};
418	};
419};
420
421&dsi_0 {
422	vddcore-supply = <&ldo8_reg>;
423	vddio-supply = <&ldo10_reg>;
424	samsung,burst-clock-frequency = <500000000>;
425	samsung,esc-clock-frequency = <20000000>;
426	samsung,pll-clock-frequency = <24000000>;
427};
428
429&exynos_usbphy {
430	vbus-supply = <&esafeout1_reg>;
431	status = "okay";
432};
433
434&fimc_0 {
435	status = "okay";
436	assigned-clocks = <&clock CLK_MOUT_FIMC0>,
437			<&clock CLK_SCLK_FIMC0>;
438	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
439	assigned-clock-rates = <0>, <176000000>;
440};
441
442&fimc_1 {
443	status = "okay";
444	assigned-clocks = <&clock CLK_MOUT_FIMC1>,
445			<&clock CLK_SCLK_FIMC1>;
446	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
447	assigned-clock-rates = <0>, <176000000>;
448};
449
450&fimc_2 {
451	status = "okay";
452	assigned-clocks = <&clock CLK_MOUT_FIMC2>,
453			<&clock CLK_SCLK_FIMC2>;
454	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
455	assigned-clock-rates = <0>, <176000000>;
456};
457
458&fimc_3 {
459	status = "okay";
460	assigned-clocks = <&clock CLK_MOUT_FIMC3>,
461			<&clock CLK_SCLK_FIMC3>;
462	assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
463	assigned-clock-rates = <0>, <176000000>;
464};
465
466&fimc_is {
467	pinctrl-0 = <&fimc_is_uart>;
468	pinctrl-names = "default";
469	status = "okay";
470
471	};
472
473&fimc_lite_0 {
474	status = "okay";
475};
476
477&fimc_lite_1 {
478	status = "okay";
479};
480
481&fimd {
482	status = "okay";
483};
484
485&gpu {
486	mali-supply = <&buck4_reg>;
487	status = "okay";
488};
489
490&hdmi {
491	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
492	pinctrl-names = "default";
493	pinctrl-0 = <&hdmi_hpd>;
494	vdd-supply = <&ldo3_reg>;
495	vdd_osc-supply = <&ldo4_reg>;
496	vdd_pll-supply = <&ldo3_reg>;
497	ddc = <&i2c_5>;
498	status = "okay";
499
500	ports {
501		#address-cells = <1>;
502		#size-cells = <0>;
503
504		port@1 {
505			reg = <1>;
506			hdmi_to_mhl: endpoint {
507				remote-endpoint = <&mhl_to_hdmi>;
508			};
509		};
510	};
511};
512
513&hsotg {
514	vusb_d-supply = <&ldo15_reg>;
515	vusb_a-supply = <&ldo12_reg>;
516	dr_mode = "peripheral";
517	status = "okay";
518};
519
520&i2c_0 {
521	samsung,i2c-sda-delay = <100>;
522	samsung,i2c-slave-addr = <0x10>;
523	samsung,i2c-max-bus-freq = <400000>;
524	pinctrl-0 = <&i2c0_bus>;
525	pinctrl-names = "default";
526	status = "okay";
527
528	s5c73m3: s5c73m3@3c {
529		compatible = "samsung,s5c73m3";
530		reg = <0x3c>;
531		xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
532		vdd-int-supply = <&buck9_reg>;
533		vddio-cis-supply = <&ldo9_reg>;
534		vddio-host-supply = <&ldo18_reg>;
535		vdd-af-supply = <&cam_af_reg>;
536		vdd-reg-supply = <&cam_io_reg>;
537		clock-frequency = <24000000>;
538		/* CAM_A_CLKOUT */
539		clocks = <&camera 0>;
540		clock-names = "cis_extclk";
541		status = "disabled";
542		port {
543			s5c73m3_ep: endpoint {
544				remote-endpoint = <&csis0_ep>;
545				data-lanes = <1 2 3 4>;
546			};
547		};
548	};
549};
550
551&i2c1_isp {
552	pinctrl-0 = <&fimc_is_i2c1>;
553	pinctrl-names = "default";
554
555	s5k6a3@10 {
556		compatible = "samsung,s5k6a3";
557		reg = <0x10>;
558		svdda-supply = <&cam_io_reg>;
559		svddio-supply = <&ldo19_reg>;
560		afvdd-supply = <&ldo19_reg>;
561		clock-frequency = <24000000>;
562		/* CAM_B_CLKOUT */
563		clocks = <&camera 1>;
564		clock-names = "extclk";
565		samsung,camclk-out = <1>;
566		gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
567
568		port {
569			is_s5k6a3_ep: endpoint {
570				remote-endpoint = <&csis1_ep>;
571				data-lanes = <1>;
572			};
573		};
574	};
575};
576
577&i2c_3 {
578	samsung,i2c-sda-delay = <100>;
579	samsung,i2c-slave-addr = <0x10>;
580	samsung,i2c-max-bus-freq = <400000>;
581	pinctrl-0 = <&i2c3_bus>;
582	pinctrl-names = "default";
583	status = "okay";
584};
585
586&i2c_4 {
587	samsung,i2c-sda-delay = <100>;
588	samsung,i2c-slave-addr = <0x10>;
589	samsung,i2c-max-bus-freq = <100000>;
590	pinctrl-0 = <&i2c4_bus>;
591	pinctrl-names = "default";
592	status = "okay";
593
594	wm1811: wm1811@1a {
595		compatible = "wlf,wm1811";
596		reg = <0x1a>;
597		clocks = <&pmu_system_controller 0>;
598		clock-names = "MCLK1";
599		DCVDD-supply = <&ldo3_reg>;
600		DBVDD1-supply = <&ldo3_reg>;
601		wlf,ldo1ena = <&gpj0 4 0>;
602	};
603};
604
605&i2c_5 {
606	status = "okay";
607};
608
609&i2c_7 {
610	samsung,i2c-sda-delay = <100>;
611	samsung,i2c-slave-addr = <0x10>;
612	samsung,i2c-max-bus-freq = <100000>;
613	pinctrl-0 = <&i2c7_bus>;
614	pinctrl-names = "default";
615	status = "okay";
616
617	max77686: max77686_pmic@9 {
618		compatible = "maxim,max77686";
619		interrupt-parent = <&gpx0>;
620		interrupts = <7 IRQ_TYPE_NONE>;
621		pinctrl-0 = <&max77686_irq>;
622		pinctrl-names = "default";
623		reg = <0x09>;
624		#clock-cells = <1>;
625
626		voltage-regulators {
627			ldo1_reg: LDO1 {
628				regulator-name = "VALIVE_1.0V_AP";
629				regulator-min-microvolt = <1000000>;
630				regulator-max-microvolt = <1000000>;
631				regulator-always-on;
632			};
633
634			ldo2_reg: LDO2 {
635				regulator-name = "VM1M2_1.2V_AP";
636				regulator-min-microvolt = <1200000>;
637				regulator-max-microvolt = <1200000>;
638				regulator-always-on;
639				regulator-state-mem {
640					regulator-on-in-suspend;
641				};
642			};
643
644			ldo3_reg: LDO3 {
645				regulator-name = "VCC_1.8V_AP";
646				regulator-min-microvolt = <1800000>;
647				regulator-max-microvolt = <1800000>;
648				regulator-always-on;
649			};
650
651			ldo4_reg: LDO4 {
652				regulator-name = "VCC_2.8V_AP";
653				regulator-min-microvolt = <2800000>;
654				regulator-max-microvolt = <2800000>;
655				regulator-always-on;
656			};
657
658			ldo5_reg: LDO5 {
659				regulator-name = "VCC_1.8V_IO";
660				regulator-min-microvolt = <1800000>;
661				regulator-max-microvolt = <1800000>;
662				regulator-always-on;
663			};
664
665			ldo6_reg: LDO6 {
666				regulator-name = "VMPLL_1.0V_AP";
667				regulator-min-microvolt = <1000000>;
668				regulator-max-microvolt = <1000000>;
669				regulator-always-on;
670				regulator-state-mem {
671					regulator-on-in-suspend;
672				};
673			};
674
675			ldo7_reg: LDO7 {
676				regulator-name = "VPLL_1.0V_AP";
677				regulator-min-microvolt = <1000000>;
678				regulator-max-microvolt = <1000000>;
679				regulator-always-on;
680				regulator-state-mem {
681					regulator-on-in-suspend;
682				};
683			};
684
685			ldo8_reg: LDO8 {
686				regulator-name = "VMIPI_1.0V";
687				regulator-min-microvolt = <1000000>;
688				regulator-max-microvolt = <1000000>;
689				regulator-state-mem {
690					regulator-off-in-suspend;
691				};
692			};
693
694			ldo9_reg: LDO9 {
695				regulator-name = "CAM_ISP_MIPI_1.2V";
696				regulator-min-microvolt = <1200000>;
697				regulator-max-microvolt = <1200000>;
698			};
699
700			ldo10_reg: LDO10 {
701				regulator-name = "VMIPI_1.8V";
702				regulator-min-microvolt = <1800000>;
703				regulator-max-microvolt = <1800000>;
704				regulator-state-mem {
705					regulator-off-in-suspend;
706				};
707			};
708
709			ldo11_reg: LDO11 {
710				regulator-name = "VABB1_1.95V";
711				regulator-min-microvolt = <1950000>;
712				regulator-max-microvolt = <1950000>;
713				regulator-always-on;
714				regulator-state-mem {
715					regulator-off-in-suspend;
716				};
717			};
718
719			ldo12_reg: LDO12 {
720				regulator-name = "VUOTG_3.0V";
721				regulator-min-microvolt = <3000000>;
722				regulator-max-microvolt = <3000000>;
723				regulator-state-mem {
724					regulator-off-in-suspend;
725				};
726			};
727
728			ldo13_reg: LDO13 {
729				regulator-name = "NFC_AVDD_1.8V";
730				regulator-min-microvolt = <1800000>;
731				regulator-max-microvolt = <1800000>;
732			};
733
734			ldo14_reg: LDO14 {
735				regulator-name = "VABB2_1.95V";
736				regulator-min-microvolt = <1950000>;
737				regulator-max-microvolt = <1950000>;
738				regulator-always-on;
739				regulator-state-mem {
740					regulator-off-in-suspend;
741				};
742			};
743
744			ldo15_reg: LDO15 {
745				regulator-name = "VHSIC_1.0V";
746				regulator-min-microvolt = <1000000>;
747				regulator-max-microvolt = <1000000>;
748				regulator-state-mem {
749					regulator-on-in-suspend;
750				};
751			};
752
753			ldo16_reg: LDO16 {
754				regulator-name = "VHSIC_1.8V";
755				regulator-min-microvolt = <1800000>;
756				regulator-max-microvolt = <1800000>;
757				regulator-state-mem {
758					regulator-on-in-suspend;
759				};
760			};
761
762			ldo17_reg: LDO17 {
763				regulator-name = "CAM_SENSOR_CORE_1.2V";
764				regulator-min-microvolt = <1200000>;
765				regulator-max-microvolt = <1200000>;
766			};
767
768			ldo18_reg: LDO18 {
769				regulator-name = "CAM_ISP_SEN_IO_1.8V";
770				regulator-min-microvolt = <1800000>;
771				regulator-max-microvolt = <1800000>;
772			};
773
774			ldo19_reg: LDO19 {
775				regulator-name = "VT_CAM_1.8V";
776				regulator-min-microvolt = <1800000>;
777				regulator-max-microvolt = <1800000>;
778			};
779
780			ldo20_reg: LDO20 {
781				regulator-name = "VDDQ_PRE_1.8V";
782				regulator-min-microvolt = <1800000>;
783				regulator-max-microvolt = <1800000>;
784			};
785
786			ldo21_reg: LDO21 {
787				regulator-name = "VTF_2.8V";
788				regulator-min-microvolt = <2800000>;
789				regulator-max-microvolt = <2800000>;
790				maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
791			};
792
793			ldo22_reg: LDO22 {
794				regulator-name = "VMEM_VDD_2.8V";
795				regulator-min-microvolt = <2800000>;
796				regulator-max-microvolt = <2800000>;
797				maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
798			};
799
800			ldo23_reg: LDO23 {
801				regulator-name = "TSP_AVDD_3.3V";
802				regulator-min-microvolt = <3300000>;
803				regulator-max-microvolt = <3300000>;
804			};
805
806			ldo24_reg: LDO24 {
807				regulator-name = "TSP_VDD_1.8V";
808				regulator-min-microvolt = <1800000>;
809				regulator-max-microvolt = <1800000>;
810			};
811
812			ldo25_reg: LDO25 {
813				regulator-name = "LDO25";
814			};
815
816			ldo26_reg: LDO26 {
817				regulator-name = "MOTOR_VCC_3.0V";
818				regulator-min-microvolt = <3000000>;
819				regulator-max-microvolt = <3000000>;
820			};
821
822			buck1_reg: BUCK1 {
823				regulator-name = "vdd_mif";
824				regulator-min-microvolt = <850000>;
825				regulator-max-microvolt = <1100000>;
826				regulator-always-on;
827				regulator-boot-on;
828				regulator-state-mem {
829					regulator-off-in-suspend;
830				};
831			};
832
833			buck2_reg: BUCK2 {
834				regulator-name = "vdd_arm";
835				regulator-min-microvolt = <850000>;
836				regulator-max-microvolt = <1500000>;
837				regulator-always-on;
838				regulator-boot-on;
839				regulator-state-mem {
840					regulator-on-in-suspend;
841				};
842			};
843
844			buck3_reg: BUCK3 {
845				regulator-name = "vdd_int";
846				regulator-min-microvolt = <850000>;
847				regulator-max-microvolt = <1150000>;
848				regulator-always-on;
849				regulator-boot-on;
850				regulator-state-mem {
851					regulator-off-in-suspend;
852				};
853			};
854
855			buck4_reg: BUCK4 {
856				regulator-name = "vdd_g3d";
857				regulator-min-microvolt = <850000>;
858				regulator-max-microvolt = <1150000>;
859				regulator-boot-on;
860				regulator-state-mem {
861					regulator-off-in-suspend;
862				};
863			};
864
865			buck5_reg: BUCK5 {
866				regulator-name = "VMEM_1.2V_AP";
867				regulator-min-microvolt = <1200000>;
868				regulator-max-microvolt = <1200000>;
869				regulator-always-on;
870			};
871
872			buck6_reg: BUCK6 {
873				regulator-name = "VCC_SUB_1.35V";
874				regulator-min-microvolt = <1350000>;
875				regulator-max-microvolt = <1350000>;
876				regulator-always-on;
877			};
878
879			buck7_reg: BUCK7 {
880				regulator-name = "VCC_SUB_2.0V";
881				regulator-min-microvolt = <2000000>;
882				regulator-max-microvolt = <2000000>;
883				regulator-always-on;
884			};
885
886			buck8_reg: BUCK8 {
887				regulator-name = "VMEM_VDDF_3.0V";
888				regulator-min-microvolt = <2850000>;
889				regulator-max-microvolt = <2850000>;
890				maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
891			};
892
893			buck9_reg: BUCK9 {
894				regulator-name = "CAM_ISP_CORE_1.2V";
895				regulator-min-microvolt = <1000000>;
896				regulator-max-microvolt = <1200000>;
897			};
898		};
899	};
900};
901
902&i2c_8 {
903	status = "okay";
904};
905
906&i2s0 {
907	pinctrl-0 = <&i2s0_bus>;
908	pinctrl-names = "default";
909	status = "okay";
910};
911
912&mixer {
913	status = "okay";
914};
915
916&mshc_0 {
917	broken-cd;
918	non-removable;
919	card-detect-delay = <200>;
920	vmmc-supply = <&ldo22_reg>;
921	clock-frequency = <400000000>;
922	samsung,dw-mshc-ciu-div = <0>;
923	samsung,dw-mshc-sdr-timing = <2 3>;
924	samsung,dw-mshc-ddr-timing = <1 2>;
925	pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
926	pinctrl-names = "default";
927	status = "okay";
928	bus-width = <8>;
929	cap-mmc-highspeed;
930};
931
932&pmu_system_controller {
933	assigned-clocks = <&pmu_system_controller 0>;
934	assigned-clock-parents =  <&clock CLK_XUSBXTI>;
935};
936
937&pinctrl_0 {
938	pinctrl-names = "default";
939	pinctrl-0 = <&sleep0>;
940
941	mhl_int: mhl-int {
942		samsung,pins = "gpf3-5";
943		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
944	};
945
946	i2c_mhl_bus: i2c-mhl-bus {
947		samsung,pins = "gpf0-4", "gpf0-6";
948		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
949		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
950		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
951	};
952
953	sleep0: sleep-states {
954		PIN_SLP(gpa0-0, INPUT, NONE);
955		PIN_SLP(gpa0-1, OUT0, NONE);
956		PIN_SLP(gpa0-2, INPUT, NONE);
957		PIN_SLP(gpa0-3, INPUT, UP);
958		PIN_SLP(gpa0-4, INPUT, NONE);
959		PIN_SLP(gpa0-5, INPUT, DOWN);
960		PIN_SLP(gpa0-6, INPUT, DOWN);
961		PIN_SLP(gpa0-7, INPUT, UP);
962
963		PIN_SLP(gpa1-0, INPUT, DOWN);
964		PIN_SLP(gpa1-1, INPUT, DOWN);
965		PIN_SLP(gpa1-2, INPUT, DOWN);
966		PIN_SLP(gpa1-3, INPUT, DOWN);
967		PIN_SLP(gpa1-4, INPUT, DOWN);
968		PIN_SLP(gpa1-5, INPUT, DOWN);
969
970		PIN_SLP(gpb-0, INPUT, NONE);
971		PIN_SLP(gpb-1, INPUT, NONE);
972		PIN_SLP(gpb-2, INPUT, NONE);
973		PIN_SLP(gpb-3, INPUT, NONE);
974		PIN_SLP(gpb-4, INPUT, DOWN);
975		PIN_SLP(gpb-5, INPUT, UP);
976		PIN_SLP(gpb-6, INPUT, DOWN);
977		PIN_SLP(gpb-7, INPUT, DOWN);
978
979		PIN_SLP(gpc0-0, INPUT, DOWN);
980		PIN_SLP(gpc0-1, INPUT, DOWN);
981		PIN_SLP(gpc0-2, INPUT, DOWN);
982		PIN_SLP(gpc0-3, INPUT, DOWN);
983		PIN_SLP(gpc0-4, INPUT, DOWN);
984
985		PIN_SLP(gpc1-0, INPUT, NONE);
986		PIN_SLP(gpc1-1, PREV, NONE);
987		PIN_SLP(gpc1-2, INPUT, NONE);
988		PIN_SLP(gpc1-3, INPUT, NONE);
989		PIN_SLP(gpc1-4, INPUT, NONE);
990
991		PIN_SLP(gpd0-0, INPUT, DOWN);
992		PIN_SLP(gpd0-1, INPUT, DOWN);
993		PIN_SLP(gpd0-2, INPUT, NONE);
994		PIN_SLP(gpd0-3, INPUT, NONE);
995
996		PIN_SLP(gpd1-0, INPUT, DOWN);
997		PIN_SLP(gpd1-1, INPUT, DOWN);
998		PIN_SLP(gpd1-2, INPUT, NONE);
999		PIN_SLP(gpd1-3, INPUT, NONE);
1000
1001		PIN_SLP(gpf0-0, INPUT, NONE);
1002		PIN_SLP(gpf0-1, INPUT, NONE);
1003		PIN_SLP(gpf0-2, INPUT, DOWN);
1004		PIN_SLP(gpf0-3, INPUT, DOWN);
1005		PIN_SLP(gpf0-4, INPUT, NONE);
1006		PIN_SLP(gpf0-5, INPUT, DOWN);
1007		PIN_SLP(gpf0-6, INPUT, NONE);
1008		PIN_SLP(gpf0-7, INPUT, DOWN);
1009
1010		PIN_SLP(gpf1-0, INPUT, DOWN);
1011		PIN_SLP(gpf1-1, INPUT, DOWN);
1012		PIN_SLP(gpf1-2, INPUT, DOWN);
1013		PIN_SLP(gpf1-3, INPUT, DOWN);
1014		PIN_SLP(gpf1-4, INPUT, NONE);
1015		PIN_SLP(gpf1-5, INPUT, NONE);
1016		PIN_SLP(gpf1-6, INPUT, DOWN);
1017		PIN_SLP(gpf1-7, PREV, NONE);
1018
1019		PIN_SLP(gpf2-0, PREV, NONE);
1020		PIN_SLP(gpf2-1, INPUT, DOWN);
1021		PIN_SLP(gpf2-2, INPUT, DOWN);
1022		PIN_SLP(gpf2-3, INPUT, DOWN);
1023		PIN_SLP(gpf2-4, INPUT, DOWN);
1024		PIN_SLP(gpf2-5, INPUT, DOWN);
1025		PIN_SLP(gpf2-6, INPUT, NONE);
1026		PIN_SLP(gpf2-7, INPUT, NONE);
1027
1028		PIN_SLP(gpf3-0, INPUT, NONE);
1029		PIN_SLP(gpf3-1, PREV, NONE);
1030		PIN_SLP(gpf3-2, PREV, NONE);
1031		PIN_SLP(gpf3-3, PREV, NONE);
1032		PIN_SLP(gpf3-4, OUT1, NONE);
1033		PIN_SLP(gpf3-5, INPUT, DOWN);
1034
1035		PIN_SLP(gpj0-0, PREV, NONE);
1036		PIN_SLP(gpj0-1, PREV, NONE);
1037		PIN_SLP(gpj0-2, PREV, NONE);
1038		PIN_SLP(gpj0-3, INPUT, DOWN);
1039		PIN_SLP(gpj0-4, PREV, NONE);
1040		PIN_SLP(gpj0-5, PREV, NONE);
1041		PIN_SLP(gpj0-6, INPUT, DOWN);
1042		PIN_SLP(gpj0-7, INPUT, DOWN);
1043
1044		PIN_SLP(gpj1-0, INPUT, DOWN);
1045		PIN_SLP(gpj1-1, PREV, NONE);
1046		PIN_SLP(gpj1-2, PREV, NONE);
1047		PIN_SLP(gpj1-3, INPUT, DOWN);
1048		PIN_SLP(gpj1-4, INPUT, DOWN);
1049	};
1050};
1051
1052&pinctrl_1 {
1053	pinctrl-names = "default";
1054	pinctrl-0 = <&sleep1>;
1055
1056	gpio_keys: gpio-keys {
1057		samsung,pins = "gpx0-1", "gpx2-2", "gpx2-7", "gpx3-3";
1058		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1059	};
1060
1061	max77686_irq: max77686-irq {
1062		samsung,pins = "gpx0-7";
1063		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1064	};
1065
1066	max77693_irq: max77693-irq {
1067		samsung,pins = "gpx1-5";
1068		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1069	};
1070
1071	max77693_fuel_irq: max77693-fuel-irq {
1072		samsung,pins = "gpx2-3";
1073		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1074	};
1075
1076	sdhci2_cd: sdhci2-cd-irq {
1077		samsung,pins = "gpx3-4";
1078		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1079	};
1080
1081	hdmi_hpd: hdmi-hpd {
1082		samsung,pins = "gpx3-7";
1083		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
1084	};
1085
1086	sleep1: sleep-states {
1087		PIN_SLP(gpk0-0, PREV, NONE);
1088		PIN_SLP(gpk0-1, PREV, NONE);
1089		PIN_SLP(gpk0-2, OUT0, NONE);
1090		PIN_SLP(gpk0-3, PREV, NONE);
1091		PIN_SLP(gpk0-4, PREV, NONE);
1092		PIN_SLP(gpk0-5, PREV, NONE);
1093		PIN_SLP(gpk0-6, PREV, NONE);
1094
1095		PIN_SLP(gpk1-0, INPUT, DOWN);
1096		PIN_SLP(gpk1-1, INPUT, DOWN);
1097		PIN_SLP(gpk1-2, INPUT, DOWN);
1098		PIN_SLP(gpk1-3, PREV, NONE);
1099		PIN_SLP(gpk1-4, PREV, NONE);
1100		PIN_SLP(gpk1-5, PREV, NONE);
1101		PIN_SLP(gpk1-6, PREV, NONE);
1102
1103		PIN_SLP(gpk2-0, INPUT, DOWN);
1104		PIN_SLP(gpk2-1, INPUT, DOWN);
1105		PIN_SLP(gpk2-2, INPUT, DOWN);
1106		PIN_SLP(gpk2-3, INPUT, DOWN);
1107		PIN_SLP(gpk2-4, INPUT, DOWN);
1108		PIN_SLP(gpk2-5, INPUT, DOWN);
1109		PIN_SLP(gpk2-6, INPUT, DOWN);
1110
1111		PIN_SLP(gpk3-0, OUT0, NONE);
1112		PIN_SLP(gpk3-1, INPUT, NONE);
1113		PIN_SLP(gpk3-2, INPUT, DOWN);
1114		PIN_SLP(gpk3-3, INPUT, NONE);
1115		PIN_SLP(gpk3-4, INPUT, NONE);
1116		PIN_SLP(gpk3-5, INPUT, NONE);
1117		PIN_SLP(gpk3-6, INPUT, NONE);
1118
1119		PIN_SLP(gpl0-0, INPUT, DOWN);
1120		PIN_SLP(gpl0-1, INPUT, DOWN);
1121		PIN_SLP(gpl0-2, INPUT, DOWN);
1122		PIN_SLP(gpl0-3, INPUT, DOWN);
1123		PIN_SLP(gpl0-4, PREV, NONE);
1124		PIN_SLP(gpl0-6, PREV, NONE);
1125
1126		PIN_SLP(gpl1-0, INPUT, DOWN);
1127		PIN_SLP(gpl1-1, INPUT, DOWN);
1128		PIN_SLP(gpl2-0, INPUT, DOWN);
1129		PIN_SLP(gpl2-1, INPUT, DOWN);
1130		PIN_SLP(gpl2-2, INPUT, DOWN);
1131		PIN_SLP(gpl2-3, INPUT, DOWN);
1132		PIN_SLP(gpl2-4, INPUT, DOWN);
1133		PIN_SLP(gpl2-5, INPUT, DOWN);
1134		PIN_SLP(gpl2-6, PREV, NONE);
1135		PIN_SLP(gpl2-7, INPUT, DOWN);
1136
1137		PIN_SLP(gpm0-0, INPUT, DOWN);
1138		PIN_SLP(gpm0-1, INPUT, DOWN);
1139		PIN_SLP(gpm0-2, INPUT, DOWN);
1140		PIN_SLP(gpm0-3, INPUT, DOWN);
1141		PIN_SLP(gpm0-4, INPUT, DOWN);
1142		PIN_SLP(gpm0-5, INPUT, DOWN);
1143		PIN_SLP(gpm0-6, INPUT, DOWN);
1144		PIN_SLP(gpm0-7, INPUT, DOWN);
1145
1146		PIN_SLP(gpm1-0, INPUT, DOWN);
1147		PIN_SLP(gpm1-1, INPUT, DOWN);
1148		PIN_SLP(gpm1-2, INPUT, NONE);
1149		PIN_SLP(gpm1-3, INPUT, NONE);
1150		PIN_SLP(gpm1-4, INPUT, NONE);
1151		PIN_SLP(gpm1-5, INPUT, NONE);
1152		PIN_SLP(gpm1-6, INPUT, DOWN);
1153
1154		PIN_SLP(gpm2-0, INPUT, NONE);
1155		PIN_SLP(gpm2-1, INPUT, NONE);
1156		PIN_SLP(gpm2-2, INPUT, DOWN);
1157		PIN_SLP(gpm2-3, INPUT, DOWN);
1158		PIN_SLP(gpm2-4, INPUT, DOWN);
1159
1160		PIN_SLP(gpm3-0, PREV, NONE);
1161		PIN_SLP(gpm3-1, PREV, NONE);
1162		PIN_SLP(gpm3-2, PREV, NONE);
1163		PIN_SLP(gpm3-3, OUT1, NONE);
1164		PIN_SLP(gpm3-4, INPUT, DOWN);
1165		PIN_SLP(gpm3-5, INPUT, DOWN);
1166		PIN_SLP(gpm3-6, INPUT, DOWN);
1167		PIN_SLP(gpm3-7, INPUT, DOWN);
1168
1169		PIN_SLP(gpm4-0, INPUT, DOWN);
1170		PIN_SLP(gpm4-1, INPUT, DOWN);
1171		PIN_SLP(gpm4-2, INPUT, DOWN);
1172		PIN_SLP(gpm4-3, INPUT, DOWN);
1173		PIN_SLP(gpm4-4, INPUT, DOWN);
1174		PIN_SLP(gpm4-5, INPUT, DOWN);
1175		PIN_SLP(gpm4-6, INPUT, DOWN);
1176		PIN_SLP(gpm4-7, INPUT, DOWN);
1177
1178		PIN_SLP(gpy0-0, INPUT, DOWN);
1179		PIN_SLP(gpy0-1, INPUT, DOWN);
1180		PIN_SLP(gpy0-2, INPUT, DOWN);
1181		PIN_SLP(gpy0-3, INPUT, DOWN);
1182		PIN_SLP(gpy0-4, INPUT, DOWN);
1183		PIN_SLP(gpy0-5, INPUT, DOWN);
1184
1185		PIN_SLP(gpy1-0, INPUT, DOWN);
1186		PIN_SLP(gpy1-1, INPUT, DOWN);
1187		PIN_SLP(gpy1-2, INPUT, DOWN);
1188		PIN_SLP(gpy1-3, INPUT, DOWN);
1189
1190		PIN_SLP(gpy2-0, PREV, NONE);
1191		PIN_SLP(gpy2-1, INPUT, DOWN);
1192		PIN_SLP(gpy2-2, INPUT, NONE);
1193		PIN_SLP(gpy2-3, INPUT, NONE);
1194		PIN_SLP(gpy2-4, INPUT, NONE);
1195		PIN_SLP(gpy2-5, INPUT, NONE);
1196
1197		PIN_SLP(gpy3-0, INPUT, DOWN);
1198		PIN_SLP(gpy3-1, INPUT, DOWN);
1199		PIN_SLP(gpy3-2, INPUT, DOWN);
1200		PIN_SLP(gpy3-3, INPUT, DOWN);
1201		PIN_SLP(gpy3-4, INPUT, DOWN);
1202		PIN_SLP(gpy3-5, INPUT, DOWN);
1203		PIN_SLP(gpy3-6, INPUT, DOWN);
1204		PIN_SLP(gpy3-7, INPUT, DOWN);
1205
1206		PIN_SLP(gpy4-0, INPUT, DOWN);
1207		PIN_SLP(gpy4-1, INPUT, DOWN);
1208		PIN_SLP(gpy4-2, INPUT, DOWN);
1209		PIN_SLP(gpy4-3, INPUT, DOWN);
1210		PIN_SLP(gpy4-4, INPUT, DOWN);
1211		PIN_SLP(gpy4-5, INPUT, DOWN);
1212		PIN_SLP(gpy4-6, INPUT, DOWN);
1213		PIN_SLP(gpy4-7, INPUT, DOWN);
1214
1215		PIN_SLP(gpy5-0, INPUT, DOWN);
1216		PIN_SLP(gpy5-1, INPUT, DOWN);
1217		PIN_SLP(gpy5-2, INPUT, DOWN);
1218		PIN_SLP(gpy5-3, INPUT, DOWN);
1219		PIN_SLP(gpy5-4, INPUT, DOWN);
1220		PIN_SLP(gpy5-5, INPUT, DOWN);
1221		PIN_SLP(gpy5-6, INPUT, DOWN);
1222		PIN_SLP(gpy5-7, INPUT, DOWN);
1223
1224		PIN_SLP(gpy6-0, INPUT, DOWN);
1225		PIN_SLP(gpy6-1, INPUT, DOWN);
1226		PIN_SLP(gpy6-2, INPUT, DOWN);
1227		PIN_SLP(gpy6-3, INPUT, DOWN);
1228		PIN_SLP(gpy6-4, INPUT, DOWN);
1229		PIN_SLP(gpy6-5, INPUT, DOWN);
1230		PIN_SLP(gpy6-6, INPUT, DOWN);
1231		PIN_SLP(gpy6-7, INPUT, DOWN);
1232	};
1233};
1234
1235&pinctrl_2 {
1236	pinctrl-names = "default";
1237	pinctrl-0 = <&sleep2>;
1238
1239	sleep2: sleep-states {
1240		PIN_SLP(gpz-0, INPUT, DOWN);
1241		PIN_SLP(gpz-1, INPUT, DOWN);
1242		PIN_SLP(gpz-2, INPUT, DOWN);
1243		PIN_SLP(gpz-3, INPUT, DOWN);
1244		PIN_SLP(gpz-4, INPUT, DOWN);
1245		PIN_SLP(gpz-5, INPUT, DOWN);
1246		PIN_SLP(gpz-6, INPUT, DOWN);
1247	};
1248};
1249
1250&pinctrl_3 {
1251	pinctrl-names = "default";
1252	pinctrl-0 = <&sleep3>;
1253
1254	sleep3: sleep-states {
1255		PIN_SLP(gpv0-0, INPUT, DOWN);
1256		PIN_SLP(gpv0-1, INPUT, DOWN);
1257		PIN_SLP(gpv0-2, INPUT, DOWN);
1258		PIN_SLP(gpv0-3, INPUT, DOWN);
1259		PIN_SLP(gpv0-4, INPUT, DOWN);
1260		PIN_SLP(gpv0-5, INPUT, DOWN);
1261		PIN_SLP(gpv0-6, INPUT, DOWN);
1262		PIN_SLP(gpv0-7, INPUT, DOWN);
1263
1264		PIN_SLP(gpv1-0, INPUT, DOWN);
1265		PIN_SLP(gpv1-1, INPUT, DOWN);
1266		PIN_SLP(gpv1-2, INPUT, DOWN);
1267		PIN_SLP(gpv1-3, INPUT, DOWN);
1268		PIN_SLP(gpv1-4, INPUT, DOWN);
1269		PIN_SLP(gpv1-5, INPUT, DOWN);
1270		PIN_SLP(gpv1-6, INPUT, DOWN);
1271		PIN_SLP(gpv1-7, INPUT, DOWN);
1272
1273		PIN_SLP(gpv2-0, INPUT, DOWN);
1274		PIN_SLP(gpv2-1, INPUT, DOWN);
1275		PIN_SLP(gpv2-2, INPUT, DOWN);
1276		PIN_SLP(gpv2-3, INPUT, DOWN);
1277		PIN_SLP(gpv2-4, INPUT, DOWN);
1278		PIN_SLP(gpv2-5, INPUT, DOWN);
1279		PIN_SLP(gpv2-6, INPUT, DOWN);
1280		PIN_SLP(gpv2-7, INPUT, DOWN);
1281
1282		PIN_SLP(gpv3-0, INPUT, DOWN);
1283		PIN_SLP(gpv3-1, INPUT, DOWN);
1284		PIN_SLP(gpv3-2, INPUT, DOWN);
1285		PIN_SLP(gpv3-3, INPUT, DOWN);
1286		PIN_SLP(gpv3-4, INPUT, DOWN);
1287		PIN_SLP(gpv3-5, INPUT, DOWN);
1288		PIN_SLP(gpv3-6, INPUT, DOWN);
1289		PIN_SLP(gpv3-7, INPUT, DOWN);
1290
1291		PIN_SLP(gpv4-0, INPUT, DOWN);
1292	};
1293};
1294
1295&pwm {
1296	pinctrl-0 = <&pwm0_out>;
1297	pinctrl-names = "default";
1298	samsung,pwm-outputs = <0>;
1299	status = "okay";
1300};
1301
1302&rtc {
1303	status = "okay";
1304	clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1305	clock-names = "rtc", "rtc_src";
1306};
1307
1308&sdhci_2 {
1309	bus-width = <4>;
1310	cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1311	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1312	pinctrl-names = "default";
1313	vmmc-supply = <&ldo21_reg>;
1314	status = "okay";
1315};
1316
1317&sdhci_3 {
1318	#address-cells = <1>;
1319	#size-cells = <0>;
1320	non-removable;
1321	bus-width = <4>;
1322
1323	mmc-pwrseq = <&wlan_pwrseq>;
1324	pinctrl-names = "default";
1325	pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1326	status = "okay";
1327
1328	brcmf: wifi@1 {
1329		reg = <1>;
1330		compatible = "brcm,bcm4329-fmac";
1331		interrupt-parent = <&gpx2>;
1332		interrupts = <5 IRQ_TYPE_NONE>;
1333		interrupt-names = "host-wake";
1334	};
1335};
1336
1337&serial_0 {
1338	status = "okay";
1339};
1340
1341&serial_1 {
1342	status = "okay";
1343};
1344
1345&serial_2 {
1346	status = "okay";
1347};
1348
1349&serial_3 {
1350	status = "okay";
1351};
1352
1353&spi_1 {
1354	pinctrl-names = "default";
1355	pinctrl-0 = <&spi1_bus>;
1356	cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
1357	status = "okay";
1358
1359	s5c73m3_spi: s5c73m3@0 {
1360		compatible = "samsung,s5c73m3";
1361		spi-max-frequency = <50000000>;
1362		reg = <0>;
1363		controller-data {
1364			samsung,spi-feedback-delay = <2>;
1365		};
1366	};
1367};
1368
1369&tmu {
1370	vtmu-supply = <&ldo10_reg>;
1371	status = "okay";
1372};
1373