xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos4412-p4note.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Samsung's Exynos4412 based p4note device family base DT.
4*724ba675SRob Herring * Based on exynos4412-midas.dtsi.
5*724ba675SRob Herring *
6*724ba675SRob Herring * Copyright (c) 2013 Samsung Electronics Co., Ltd.
7*724ba675SRob Herring *		http://www.samsung.com
8*724ba675SRob Herring */
9*724ba675SRob Herring
10*724ba675SRob Herring/dts-v1/;
11*724ba675SRob Herring#include "exynos4412.dtsi"
12*724ba675SRob Herring#include "exynos4412-ppmu-common.dtsi"
13*724ba675SRob Herring
14*724ba675SRob Herring#include <dt-bindings/clock/maxim,max77686.h>
15*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
16*724ba675SRob Herring#include <dt-bindings/input/linux-event-codes.h>
17*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
18*724ba675SRob Herring#include <dt-bindings/power/summit,smb347-charger.h>
19*724ba675SRob Herring#include "exynos-pinctrl.h"
20*724ba675SRob Herring
21*724ba675SRob Herring/ {
22*724ba675SRob Herring	compatible = "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
23*724ba675SRob Herring
24*724ba675SRob Herring	memory@40000000 {
25*724ba675SRob Herring		device_type = "memory";
26*724ba675SRob Herring		reg = <0x40000000 0x80000000>;
27*724ba675SRob Herring	};
28*724ba675SRob Herring
29*724ba675SRob Herring	aliases {
30*724ba675SRob Herring		mmc0 = &mshc_0;
31*724ba675SRob Herring		mmc2 = &sdhci_2;
32*724ba675SRob Herring		mmc3 = &sdhci_3;
33*724ba675SRob Herring	};
34*724ba675SRob Herring
35*724ba675SRob Herring	chosen {
36*724ba675SRob Herring		stdout-path = &serial_2;
37*724ba675SRob Herring	};
38*724ba675SRob Herring
39*724ba675SRob Herring	firmware@204f000 {
40*724ba675SRob Herring		compatible = "samsung,secure-firmware";
41*724ba675SRob Herring		reg = <0x0204f000 0x1000>;
42*724ba675SRob Herring	};
43*724ba675SRob Herring
44*724ba675SRob Herring	fixed-rate-clocks {
45*724ba675SRob Herring		xxti {
46*724ba675SRob Herring			compatible = "samsung,clock-xxti";
47*724ba675SRob Herring			clock-frequency = <0>;
48*724ba675SRob Herring		};
49*724ba675SRob Herring
50*724ba675SRob Herring		xusbxti {
51*724ba675SRob Herring			compatible = "samsung,clock-xusbxti";
52*724ba675SRob Herring			clock-frequency = <24000000>;
53*724ba675SRob Herring		};
54*724ba675SRob Herring	};
55*724ba675SRob Herring
56*724ba675SRob Herring	gpio-keys {
57*724ba675SRob Herring		compatible = "gpio-keys";
58*724ba675SRob Herring		pinctrl-names = "default";
59*724ba675SRob Herring		pinctrl-0 = <&gpio_keys>;
60*724ba675SRob Herring
61*724ba675SRob Herring		key-down {
62*724ba675SRob Herring			gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
63*724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
64*724ba675SRob Herring			label = "volume down";
65*724ba675SRob Herring			debounce-interval = <10>;
66*724ba675SRob Herring		};
67*724ba675SRob Herring
68*724ba675SRob Herring		key-up {
69*724ba675SRob Herring			gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
70*724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
71*724ba675SRob Herring			label = "volume up";
72*724ba675SRob Herring			debounce-interval = <10>;
73*724ba675SRob Herring		};
74*724ba675SRob Herring
75*724ba675SRob Herring		key-power {
76*724ba675SRob Herring			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
77*724ba675SRob Herring			linux,code = <KEY_POWER>;
78*724ba675SRob Herring			label = "power";
79*724ba675SRob Herring			debounce-interval = <10>;
80*724ba675SRob Herring			wakeup-source;
81*724ba675SRob Herring		};
82*724ba675SRob Herring	};
83*724ba675SRob Herring
84*724ba675SRob Herring	voltage-regulator-1 {
85*724ba675SRob Herring		compatible = "regulator-fixed";
86*724ba675SRob Herring		regulator-name = "TSP_LDO1";
87*724ba675SRob Herring		pinctrl-names = "default";
88*724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_1>;
89*724ba675SRob Herring		gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
90*724ba675SRob Herring		enable-active-high;
91*724ba675SRob Herring		regulator-always-on;
92*724ba675SRob Herring	};
93*724ba675SRob Herring
94*724ba675SRob Herring	voltage-regulator-2 {
95*724ba675SRob Herring		compatible = "regulator-fixed";
96*724ba675SRob Herring		regulator-name = "TSP_LDO2";
97*724ba675SRob Herring		pinctrl-names = "default";
98*724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_2>;
99*724ba675SRob Herring		gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
100*724ba675SRob Herring		enable-active-high;
101*724ba675SRob Herring		regulator-always-on;
102*724ba675SRob Herring	};
103*724ba675SRob Herring
104*724ba675SRob Herring	voltage-regulator-3 {
105*724ba675SRob Herring		compatible = "regulator-fixed";
106*724ba675SRob Herring		regulator-name = "TSP_LDO3";
107*724ba675SRob Herring		pinctrl-names = "default";
108*724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_3>;
109*724ba675SRob Herring		gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
110*724ba675SRob Herring		startup-delay-us = <20000>;
111*724ba675SRob Herring		enable-active-high;
112*724ba675SRob Herring		regulator-always-on;
113*724ba675SRob Herring	};
114*724ba675SRob Herring
115*724ba675SRob Herring	panel_vdd: voltage-regulator-4 {
116*724ba675SRob Herring		compatible = "regulator-fixed";
117*724ba675SRob Herring		regulator-name = "LCD_ENABLE";
118*724ba675SRob Herring		pinctrl-names = "default";
119*724ba675SRob Herring		pinctrl-0 = <&lcd_enable>;
120*724ba675SRob Herring		gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
121*724ba675SRob Herring		enable-active-high;
122*724ba675SRob Herring		regulator-boot-on;
123*724ba675SRob Herring	};
124*724ba675SRob Herring
125*724ba675SRob Herring	wlan_pwrseq: sdhci3-pwrseq {
126*724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
127*724ba675SRob Herring		reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
128*724ba675SRob Herring		pinctrl-0 = <&wifi_reset>;
129*724ba675SRob Herring		pinctrl-names = "default";
130*724ba675SRob Herring		clocks = <&max77686 MAX77686_CLK_PMIC>;
131*724ba675SRob Herring		clock-names = "ext_clock";
132*724ba675SRob Herring	};
133*724ba675SRob Herring
134*724ba675SRob Herring	battery_cell: battery-cell {
135*724ba675SRob Herring		compatible = "simple-battery";
136*724ba675SRob Herring		device-chemistry = "lithium-ion";
137*724ba675SRob Herring		constant-charge-current-max-microamp = <2200000>;
138*724ba675SRob Herring		precharge-current-microamp = <250000>;
139*724ba675SRob Herring		charge-term-current-microamp = <250000>;
140*724ba675SRob Herring		constant-charge-voltage-max-microvolt = <4200000>;
141*724ba675SRob Herring	};
142*724ba675SRob Herring
143*724ba675SRob Herring	i2c-gpio-1 {
144*724ba675SRob Herring		compatible = "i2c-gpio";
145*724ba675SRob Herring		sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
146*724ba675SRob Herring		scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
147*724ba675SRob Herring		i2c-gpio,delay-us = <2>;
148*724ba675SRob Herring		#address-cells = <1>;
149*724ba675SRob Herring		#size-cells = <0>;
150*724ba675SRob Herring
151*724ba675SRob Herring		magnetometer@c {
152*724ba675SRob Herring			compatible = "asahi-kasei,ak8975";
153*724ba675SRob Herring			reg = <0x0c>;
154*724ba675SRob Herring			pinctrl-0 = <&ak8975_irq>;
155*724ba675SRob Herring			pinctrl-names = "default";
156*724ba675SRob Herring			interrupt-parent = <&gpm4>;
157*724ba675SRob Herring			interrupts = <7 IRQ_TYPE_EDGE_RISING>;
158*724ba675SRob Herring		};
159*724ba675SRob Herring	};
160*724ba675SRob Herring
161*724ba675SRob Herring	i2c-gpio-2 {
162*724ba675SRob Herring		compatible = "i2c-gpio";
163*724ba675SRob Herring		sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
164*724ba675SRob Herring		scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
165*724ba675SRob Herring		i2c-gpio,delay-us = <2>;
166*724ba675SRob Herring		#address-cells = <1>;
167*724ba675SRob Herring		#size-cells = <0>;
168*724ba675SRob Herring
169*724ba675SRob Herring		fuel-gauge@36 {
170*724ba675SRob Herring			compatible = "maxim,max17042";
171*724ba675SRob Herring			reg = <0x36>;
172*724ba675SRob Herring			pinctrl-0 = <&fuel_alert_irq>;
173*724ba675SRob Herring			pinctrl-names = "default";
174*724ba675SRob Herring			interrupt-parent = <&gpx2>;
175*724ba675SRob Herring			interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
176*724ba675SRob Herring			maxim,rsns-microohm = <10000>;
177*724ba675SRob Herring			maxim,over-heat-temp = <600>;
178*724ba675SRob Herring			maxim,over-volt = <4300>;
179*724ba675SRob Herring		};
180*724ba675SRob Herring	};
181*724ba675SRob Herring
182*724ba675SRob Herring	i2c-gpio-3 {
183*724ba675SRob Herring		compatible = "i2c-gpio";
184*724ba675SRob Herring		sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
185*724ba675SRob Herring		scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
186*724ba675SRob Herring		i2c-gpio,delay-us = <5>;
187*724ba675SRob Herring		#address-cells = <1>;
188*724ba675SRob Herring		#size-cells = <0>;
189*724ba675SRob Herring
190*724ba675SRob Herring		adc@41 {
191*724ba675SRob Herring			compatible = "st,stmpe811";
192*724ba675SRob Herring			reg = <0x41>;
193*724ba675SRob Herring			pinctrl-0 = <&stmpe_adc_irq>;
194*724ba675SRob Herring			pinctrl-names = "default";
195*724ba675SRob Herring			interrupt-parent = <&gpx0>;
196*724ba675SRob Herring			interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
197*724ba675SRob Herring			st,adc-freq = <3>;
198*724ba675SRob Herring			st,mod-12b = <1>;
199*724ba675SRob Herring			st,ref-sel = <0>;
200*724ba675SRob Herring			st,sample-time = <3>;
201*724ba675SRob Herring
202*724ba675SRob Herring			adc {
203*724ba675SRob Herring				compatible = "st,stmpe-adc";
204*724ba675SRob Herring				#io-channel-cells = <1>;
205*724ba675SRob Herring				st,norequest-mask = <0x2f>;
206*724ba675SRob Herring			};
207*724ba675SRob Herring		};
208*724ba675SRob Herring	};
209*724ba675SRob Herring
210*724ba675SRob Herring	i2c-gpio-4 {
211*724ba675SRob Herring		compatible = "i2c-gpio";
212*724ba675SRob Herring		sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
213*724ba675SRob Herring		scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
214*724ba675SRob Herring
215*724ba675SRob Herring		i2c-gpio,delay-us = <2>;
216*724ba675SRob Herring		#address-cells = <1>;
217*724ba675SRob Herring		#size-cells = <0>;
218*724ba675SRob Herring
219*724ba675SRob Herring		power_supply: charger@6 {
220*724ba675SRob Herring			compatible = "summit,smb347";
221*724ba675SRob Herring			reg = <0x6>;
222*724ba675SRob Herring			summit,enable-usb-charging;
223*724ba675SRob Herring			summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
224*724ba675SRob Herring			summit,fast-voltage-threshold-microvolt = <2600000>;
225*724ba675SRob Herring			summit,chip-temperature-threshold-celsius = <130>;
226*724ba675SRob Herring			summit,usb-current-limit-microamp = <1800000>;
227*724ba675SRob Herring
228*724ba675SRob Herring			monitored-battery = <&battery_cell>;
229*724ba675SRob Herring		};
230*724ba675SRob Herring	};
231*724ba675SRob Herring
232*724ba675SRob Herring	panel {
233*724ba675SRob Herring		compatible = "samsung,ltl101al01";
234*724ba675SRob Herring		pinctrl-0 = <&lvds_nshdn>;
235*724ba675SRob Herring		pinctrl-names = "default";
236*724ba675SRob Herring		power-supply = <&panel_vdd>;
237*724ba675SRob Herring		enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
238*724ba675SRob Herring		backlight = <&backlight>;
239*724ba675SRob Herring
240*724ba675SRob Herring		port {
241*724ba675SRob Herring			lcd_ep: endpoint {
242*724ba675SRob Herring				remote-endpoint = <&fimd_ep>;
243*724ba675SRob Herring			};
244*724ba675SRob Herring		};
245*724ba675SRob Herring	};
246*724ba675SRob Herring
247*724ba675SRob Herring	backlight: backlight {
248*724ba675SRob Herring		compatible = "pwm-backlight";
249*724ba675SRob Herring		pinctrl-0 = <&led_bl_reset>;
250*724ba675SRob Herring		pinctrl-names = "default";
251*724ba675SRob Herring		enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
252*724ba675SRob Herring		power-supply = <&panel_vdd>;
253*724ba675SRob Herring		pwms = <&pwm 1 78770 0>;
254*724ba675SRob Herring		brightness-levels = <0 48 128 255>;
255*724ba675SRob Herring		num-interpolated-steps = <8>;
256*724ba675SRob Herring		default-brightness-level = <12>;
257*724ba675SRob Herring	};
258*724ba675SRob Herring};
259*724ba675SRob Herring
260*724ba675SRob Herring&adc {
261*724ba675SRob Herring	vdd-supply = <&ldo3_reg>;
262*724ba675SRob Herring	/* not verified */
263*724ba675SRob Herring	status = "okay";
264*724ba675SRob Herring};
265*724ba675SRob Herring
266*724ba675SRob Herring&bus_dmc {
267*724ba675SRob Herring	devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
268*724ba675SRob Herring	vdd-supply = <&buck1_reg>;
269*724ba675SRob Herring	status = "okay";
270*724ba675SRob Herring};
271*724ba675SRob Herring
272*724ba675SRob Herring&bus_acp {
273*724ba675SRob Herring	devfreq = <&bus_dmc>;
274*724ba675SRob Herring	status = "okay";
275*724ba675SRob Herring};
276*724ba675SRob Herring
277*724ba675SRob Herring&bus_c2c {
278*724ba675SRob Herring	devfreq = <&bus_dmc>;
279*724ba675SRob Herring	status = "okay";
280*724ba675SRob Herring};
281*724ba675SRob Herring
282*724ba675SRob Herring&bus_leftbus {
283*724ba675SRob Herring	devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
284*724ba675SRob Herring	vdd-supply = <&buck3_reg>;
285*724ba675SRob Herring	status = "okay";
286*724ba675SRob Herring};
287*724ba675SRob Herring
288*724ba675SRob Herring&bus_rightbus {
289*724ba675SRob Herring	devfreq = <&bus_leftbus>;
290*724ba675SRob Herring	status = "okay";
291*724ba675SRob Herring};
292*724ba675SRob Herring
293*724ba675SRob Herring&bus_display {
294*724ba675SRob Herring	devfreq = <&bus_leftbus>;
295*724ba675SRob Herring	status = "okay";
296*724ba675SRob Herring};
297*724ba675SRob Herring
298*724ba675SRob Herring&bus_fsys {
299*724ba675SRob Herring	devfreq = <&bus_leftbus>;
300*724ba675SRob Herring	status = "okay";
301*724ba675SRob Herring};
302*724ba675SRob Herring
303*724ba675SRob Herring&bus_peri {
304*724ba675SRob Herring	devfreq = <&bus_leftbus>;
305*724ba675SRob Herring	status = "okay";
306*724ba675SRob Herring};
307*724ba675SRob Herring
308*724ba675SRob Herring&bus_mfc {
309*724ba675SRob Herring	devfreq = <&bus_leftbus>;
310*724ba675SRob Herring	status = "okay";
311*724ba675SRob Herring};
312*724ba675SRob Herring
313*724ba675SRob Herring&cpu0 {
314*724ba675SRob Herring	cpu0-supply = <&buck2_reg>;
315*724ba675SRob Herring};
316*724ba675SRob Herring
317*724ba675SRob Herring&cpu_thermal {
318*724ba675SRob Herring	cooling-maps {
319*724ba675SRob Herring		map0 {
320*724ba675SRob Herring			/* Corresponds to 800MHz at freq_table */
321*724ba675SRob Herring			cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
322*724ba675SRob Herring					 <&cpu2 7 7>, <&cpu3 7 7>;
323*724ba675SRob Herring		};
324*724ba675SRob Herring		map1 {
325*724ba675SRob Herring			/* Corresponds to 200MHz at freq_table */
326*724ba675SRob Herring			cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
327*724ba675SRob Herring					 <&cpu2 13 13>, <&cpu3 13 13>;
328*724ba675SRob Herring		};
329*724ba675SRob Herring	};
330*724ba675SRob Herring};
331*724ba675SRob Herring
332*724ba675SRob Herring&exynos_usbphy {
333*724ba675SRob Herring	status = "okay";
334*724ba675SRob Herring};
335*724ba675SRob Herring
336*724ba675SRob Herring&fimd {
337*724ba675SRob Herring	pinctrl-0 = <&lcd_clk &lcd_data24>;
338*724ba675SRob Herring	pinctrl-names = "default";
339*724ba675SRob Herring	#address-cells = <1>;
340*724ba675SRob Herring	#size-cells = <0>;
341*724ba675SRob Herring	status = "okay";
342*724ba675SRob Herring
343*724ba675SRob Herring	samsung,invert-vclk;
344*724ba675SRob Herring
345*724ba675SRob Herring	port@3 {
346*724ba675SRob Herring		reg = <3>;
347*724ba675SRob Herring
348*724ba675SRob Herring		fimd_ep: endpoint {
349*724ba675SRob Herring			remote-endpoint = <&lcd_ep>;
350*724ba675SRob Herring		};
351*724ba675SRob Herring	};
352*724ba675SRob Herring};
353*724ba675SRob Herring
354*724ba675SRob Herring&gpu {
355*724ba675SRob Herring	mali-supply = <&buck4_reg>;
356*724ba675SRob Herring	status = "okay";
357*724ba675SRob Herring};
358*724ba675SRob Herring
359*724ba675SRob Herring&hsotg {
360*724ba675SRob Herring	vusb_a-supply = <&ldo12_reg>;
361*724ba675SRob Herring	dr_mode = "peripheral";
362*724ba675SRob Herring	status = "okay";
363*724ba675SRob Herring};
364*724ba675SRob Herring
365*724ba675SRob Herring&i2c_3 {
366*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
367*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
368*724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
369*724ba675SRob Herring	pinctrl-0 = <&i2c3_bus>;
370*724ba675SRob Herring	pinctrl-names = "default";
371*724ba675SRob Herring	status = "okay";
372*724ba675SRob Herring
373*724ba675SRob Herring	touchscreen@4a {
374*724ba675SRob Herring		compatible = "atmel,maxtouch";
375*724ba675SRob Herring		reg = <0x4a>;
376*724ba675SRob Herring		pinctrl-0 = <&tsp_rst &tsp_irq>;
377*724ba675SRob Herring		pinctrl-names = "default";
378*724ba675SRob Herring		interrupt-parent = <&gpm2>;
379*724ba675SRob Herring		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
380*724ba675SRob Herring		reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
381*724ba675SRob Herring	};
382*724ba675SRob Herring};
383*724ba675SRob Herring
384*724ba675SRob Herring&i2c_7 {
385*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
386*724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
387*724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
388*724ba675SRob Herring	pinctrl-0 = <&i2c7_bus>;
389*724ba675SRob Herring	pinctrl-names = "default";
390*724ba675SRob Herring	status = "okay";
391*724ba675SRob Herring
392*724ba675SRob Herring	max77686: pmic@9 {
393*724ba675SRob Herring		compatible = "maxim,max77686";
394*724ba675SRob Herring		interrupt-parent = <&gpx0>;
395*724ba675SRob Herring		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
396*724ba675SRob Herring		pinctrl-0 = <&max77686_irq>;
397*724ba675SRob Herring		pinctrl-names = "default";
398*724ba675SRob Herring		wakeup-source;
399*724ba675SRob Herring		reg = <0x09>;
400*724ba675SRob Herring		#clock-cells = <1>;
401*724ba675SRob Herring
402*724ba675SRob Herring		voltage-regulators {
403*724ba675SRob Herring			ldo1_reg: LDO1 {
404*724ba675SRob Herring				regulator-name = "ldo1";
405*724ba675SRob Herring				regulator-always-on;
406*724ba675SRob Herring			};
407*724ba675SRob Herring
408*724ba675SRob Herring			ldo2_reg: LDO2 {
409*724ba675SRob Herring				regulator-name = "ldo2";
410*724ba675SRob Herring				regulator-always-on;
411*724ba675SRob Herring			};
412*724ba675SRob Herring
413*724ba675SRob Herring			/* WM8994 audio */
414*724ba675SRob Herring			ldo3_reg: LDO3 {
415*724ba675SRob Herring				regulator-name = "VCC_1.8V_AP";
416*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
417*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
418*724ba675SRob Herring				regulator-always-on;
419*724ba675SRob Herring				regulator-boot-on;
420*724ba675SRob Herring
421*724ba675SRob Herring				regulator-state-mem {
422*724ba675SRob Herring					regulator-on-in-suspend;
423*724ba675SRob Herring				};
424*724ba675SRob Herring			};
425*724ba675SRob Herring
426*724ba675SRob Herring			ldo4_reg: LDO4 {
427*724ba675SRob Herring				regulator-name = "ldo4";
428*724ba675SRob Herring				regulator-always-on;
429*724ba675SRob Herring			};
430*724ba675SRob Herring
431*724ba675SRob Herring			ldo5_reg: LDO5 {
432*724ba675SRob Herring				regulator-name = "VCC_1.8V_IO";
433*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
434*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
435*724ba675SRob Herring
436*724ba675SRob Herring				regulator-state-mem {
437*724ba675SRob Herring					regulator-off-in-suspend;
438*724ba675SRob Herring				};
439*724ba675SRob Herring			};
440*724ba675SRob Herring
441*724ba675SRob Herring			ldo6_reg: LDO6 {
442*724ba675SRob Herring				regulator-name = "ldo6";
443*724ba675SRob Herring				regulator-always-on;
444*724ba675SRob Herring			};
445*724ba675SRob Herring
446*724ba675SRob Herring			ldo7_reg: LDO7 {
447*724ba675SRob Herring				regulator-name = "ldo7";
448*724ba675SRob Herring				regulator-always-on;
449*724ba675SRob Herring			};
450*724ba675SRob Herring
451*724ba675SRob Herring			/* CSI IP block */
452*724ba675SRob Herring			ldo8_reg: LDO8 {
453*724ba675SRob Herring				regulator-name = "VMIPI_1.0V";
454*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
455*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
456*724ba675SRob Herring				regulator-always-on;
457*724ba675SRob Herring				regulator-boot-on;
458*724ba675SRob Herring
459*724ba675SRob Herring				regulator-state-mem {
460*724ba675SRob Herring					regulator-on-in-suspend;
461*724ba675SRob Herring				};
462*724ba675SRob Herring			};
463*724ba675SRob Herring
464*724ba675SRob Herring			/* IR LED on/off */
465*724ba675SRob Herring			ldo9_reg: LDO9 {
466*724ba675SRob Herring				regulator-name = "VLED_IC_1.9V";
467*724ba675SRob Herring				regulator-min-microvolt = <1950000>;
468*724ba675SRob Herring				regulator-max-microvolt = <1950000>;
469*724ba675SRob Herring
470*724ba675SRob Herring				regulator-state-mem {
471*724ba675SRob Herring					regulator-off-in-suspend;
472*724ba675SRob Herring				};
473*724ba675SRob Herring			};
474*724ba675SRob Herring
475*724ba675SRob Herring			/* CSI IP block */
476*724ba675SRob Herring			ldo10_reg: LDO10 {
477*724ba675SRob Herring				regulator-name = "VMIPI_1.8V";
478*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
479*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
480*724ba675SRob Herring				regulator-always-on;
481*724ba675SRob Herring				regulator-boot-on;
482*724ba675SRob Herring
483*724ba675SRob Herring				regulator-state-mem {
484*724ba675SRob Herring					regulator-on-in-suspend;
485*724ba675SRob Herring				};
486*724ba675SRob Herring			};
487*724ba675SRob Herring
488*724ba675SRob Herring			ldo11_reg: LDO11 {
489*724ba675SRob Herring				regulator-name = "VABB1_1.9V";
490*724ba675SRob Herring				regulator-min-microvolt = <1950000>;
491*724ba675SRob Herring				regulator-max-microvolt = <1950000>;
492*724ba675SRob Herring				regulator-always-on;
493*724ba675SRob Herring				regulator-boot-on;
494*724ba675SRob Herring
495*724ba675SRob Herring				regulator-state-mem {
496*724ba675SRob Herring					regulator-off-in-suspend;
497*724ba675SRob Herring				};
498*724ba675SRob Herring			};
499*724ba675SRob Herring
500*724ba675SRob Herring			/* USB OTG */
501*724ba675SRob Herring			ldo12_reg: LDO12 {
502*724ba675SRob Herring				regulator-name = "VUOTG_3.0V";
503*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
504*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
505*724ba675SRob Herring				regulator-always-on;
506*724ba675SRob Herring				regulator-boot-on;
507*724ba675SRob Herring
508*724ba675SRob Herring				regulator-state-mem {
509*724ba675SRob Herring					regulator-on-in-suspend;
510*724ba675SRob Herring				};
511*724ba675SRob Herring			};
512*724ba675SRob Herring
513*724ba675SRob Herring			/* not connected */
514*724ba675SRob Herring			ldo13_reg: LDO13 {
515*724ba675SRob Herring				regulator-name = "ldo13";
516*724ba675SRob Herring			};
517*724ba675SRob Herring
518*724ba675SRob Herring			ldo14_reg: LDO14 {
519*724ba675SRob Herring				regulator-name = "VABB2_1.9V";
520*724ba675SRob Herring				regulator-min-microvolt = <1950000>;
521*724ba675SRob Herring				regulator-max-microvolt = <1950000>;
522*724ba675SRob Herring				regulator-always-on;
523*724ba675SRob Herring				regulator-boot-on;
524*724ba675SRob Herring
525*724ba675SRob Herring				regulator-state-mem {
526*724ba675SRob Herring					regulator-off-in-suspend;
527*724ba675SRob Herring				};
528*724ba675SRob Herring			};
529*724ba675SRob Herring
530*724ba675SRob Herring			ldo15_reg: LDO15 {
531*724ba675SRob Herring				regulator-name = "ldo15";
532*724ba675SRob Herring				regulator-always-on;
533*724ba675SRob Herring			};
534*724ba675SRob Herring
535*724ba675SRob Herring			ldo16_reg: LDO16 {
536*724ba675SRob Herring				regulator-name = "ldo16";
537*724ba675SRob Herring				regulator-always-on;
538*724ba675SRob Herring			};
539*724ba675SRob Herring
540*724ba675SRob Herring			/* not connected */
541*724ba675SRob Herring			ldo17_reg: LDO17 {
542*724ba675SRob Herring				regulator-name = "ldo17";
543*724ba675SRob Herring			};
544*724ba675SRob Herring
545*724ba675SRob Herring			/* Camera ISX012 */
546*724ba675SRob Herring			ldo18_reg: LDO18 {
547*724ba675SRob Herring				regulator-name = "CAM_IO_1.8V";
548*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
549*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
550*724ba675SRob Herring
551*724ba675SRob Herring				regulator-state-mem {
552*724ba675SRob Herring					regulator-off-in-suspend;
553*724ba675SRob Herring				};
554*724ba675SRob Herring			};
555*724ba675SRob Herring
556*724ba675SRob Herring			/* Camera S5K6A3 */
557*724ba675SRob Herring			ldo19_reg: LDO19 {
558*724ba675SRob Herring				regulator-name = "VT_CORE_1.8V";
559*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
560*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
561*724ba675SRob Herring
562*724ba675SRob Herring				regulator-state-mem {
563*724ba675SRob Herring					regulator-off-in-suspend;
564*724ba675SRob Herring				};
565*724ba675SRob Herring			};
566*724ba675SRob Herring
567*724ba675SRob Herring			/* not connected */
568*724ba675SRob Herring			ldo20_reg: LDO20 {
569*724ba675SRob Herring				regulator-name = "ldo20";
570*724ba675SRob Herring			};
571*724ba675SRob Herring
572*724ba675SRob Herring			/* MMC2 */
573*724ba675SRob Herring			ldo21_reg: LDO21 {
574*724ba675SRob Herring				regulator-name = "VTF_2.8V";
575*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
576*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
577*724ba675SRob Herring				maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
578*724ba675SRob Herring			};
579*724ba675SRob Herring
580*724ba675SRob Herring			/* not connected */
581*724ba675SRob Herring			ldo22_reg: LDO22 {
582*724ba675SRob Herring				regulator-name = "ldo22";
583*724ba675SRob Herring			};
584*724ba675SRob Herring
585*724ba675SRob Herring			/* ADC */
586*724ba675SRob Herring			ldo23_reg: LDO23 {
587*724ba675SRob Herring				regulator-name = "VDD_ADC_3.3V";
588*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
589*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
590*724ba675SRob Herring				regulator-always-on;
591*724ba675SRob Herring				regulator-boot-on;
592*724ba675SRob Herring
593*724ba675SRob Herring				regulator-state-mem {
594*724ba675SRob Herring					regulator-off-in-suspend;
595*724ba675SRob Herring				};
596*724ba675SRob Herring			};
597*724ba675SRob Herring
598*724ba675SRob Herring			/* Camera S5K6A3 */
599*724ba675SRob Herring			ldo24_reg: LDO24 {
600*724ba675SRob Herring				regulator-name = "CAM_A2.8V";
601*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
602*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
603*724ba675SRob Herring
604*724ba675SRob Herring				regulator-state-mem {
605*724ba675SRob Herring					regulator-off-in-suspend;
606*724ba675SRob Herring				};
607*724ba675SRob Herring			};
608*724ba675SRob Herring
609*724ba675SRob Herring			ldo25_reg: LDO25 {
610*724ba675SRob Herring				regulator-name = "VLED_3.3V";
611*724ba675SRob Herring				regulator-min-microvolt = <3300000>;
612*724ba675SRob Herring				regulator-max-microvolt = <3300000>;
613*724ba675SRob Herring
614*724ba675SRob Herring				regulator-state-mem {
615*724ba675SRob Herring					regulator-off-in-suspend;
616*724ba675SRob Herring				};
617*724ba675SRob Herring			};
618*724ba675SRob Herring
619*724ba675SRob Herring			/* Camera ISX012 */
620*724ba675SRob Herring			ldo26_reg: LDO26 {
621*724ba675SRob Herring				regulator-name = "3MP_AF_2.8V";
622*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
623*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
624*724ba675SRob Herring
625*724ba675SRob Herring				regulator-state-mem {
626*724ba675SRob Herring					regulator-off-in-suspend;
627*724ba675SRob Herring				};
628*724ba675SRob Herring			};
629*724ba675SRob Herring
630*724ba675SRob Herring			buck1_reg: BUCK1 {
631*724ba675SRob Herring				regulator-name = "VDD_MIF";
632*724ba675SRob Herring				regulator-min-microvolt = <850000>;
633*724ba675SRob Herring				regulator-max-microvolt = <1050000>;
634*724ba675SRob Herring				regulator-always-on;
635*724ba675SRob Herring				regulator-boot-on;
636*724ba675SRob Herring			};
637*724ba675SRob Herring
638*724ba675SRob Herring			buck2_reg: BUCK2 {
639*724ba675SRob Herring				regulator-name = "VDD_ARM";
640*724ba675SRob Herring				regulator-min-microvolt = <850000>;
641*724ba675SRob Herring				regulator-max-microvolt = <1500000>;
642*724ba675SRob Herring				regulator-always-on;
643*724ba675SRob Herring				regulator-boot-on;
644*724ba675SRob Herring			};
645*724ba675SRob Herring
646*724ba675SRob Herring			buck3_reg: BUCK3 {
647*724ba675SRob Herring				regulator-name = "VDD_INT";
648*724ba675SRob Herring				regulator-min-microvolt = <850000>;
649*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
650*724ba675SRob Herring				regulator-always-on;
651*724ba675SRob Herring				regulator-boot-on;
652*724ba675SRob Herring			};
653*724ba675SRob Herring
654*724ba675SRob Herring			buck4_reg: BUCK4 {
655*724ba675SRob Herring				regulator-name = "VDD_G3D";
656*724ba675SRob Herring				regulator-min-microvolt = <850000>;
657*724ba675SRob Herring				regulator-max-microvolt = <1075000>;
658*724ba675SRob Herring				regulator-boot-on;
659*724ba675SRob Herring			};
660*724ba675SRob Herring
661*724ba675SRob Herring			buck5_reg: BUCK5 {
662*724ba675SRob Herring				regulator-name = "buck5";
663*724ba675SRob Herring				regulator-always-on;
664*724ba675SRob Herring			};
665*724ba675SRob Herring
666*724ba675SRob Herring			buck6_reg: BUCK6 {
667*724ba675SRob Herring				regulator-name = "buck6";
668*724ba675SRob Herring				regulator-always-on;
669*724ba675SRob Herring			};
670*724ba675SRob Herring
671*724ba675SRob Herring			buck7_reg: BUCK7 {
672*724ba675SRob Herring				regulator-name = "buck7";
673*724ba675SRob Herring				regulator-always-on;
674*724ba675SRob Herring			};
675*724ba675SRob Herring
676*724ba675SRob Herring			/* not connected */
677*724ba675SRob Herring			buck8_reg: BUCK8 {
678*724ba675SRob Herring				regulator-name = "buck8";
679*724ba675SRob Herring			};
680*724ba675SRob Herring
681*724ba675SRob Herring			buck9_reg: BUCK9 {
682*724ba675SRob Herring				regulator-name = "3MP_CORE_1.2V";
683*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
684*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
685*724ba675SRob Herring
686*724ba675SRob Herring				regulator-state-mem {
687*724ba675SRob Herring					regulator-off-in-suspend;
688*724ba675SRob Herring				};
689*724ba675SRob Herring			};
690*724ba675SRob Herring		};
691*724ba675SRob Herring	};
692*724ba675SRob Herring};
693*724ba675SRob Herring
694*724ba675SRob Herring&mshc_0 {
695*724ba675SRob Herring	broken-cd;
696*724ba675SRob Herring	non-removable;
697*724ba675SRob Herring	card-detect-delay = <200>;
698*724ba675SRob Herring	clock-frequency = <400000000>;
699*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <0>;
700*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <2 3>;
701*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <1 2>;
702*724ba675SRob Herring	mmc-ddr-1_8v;
703*724ba675SRob Herring	pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
704*724ba675SRob Herring	pinctrl-names = "default";
705*724ba675SRob Herring	bus-width = <4>;
706*724ba675SRob Herring	cap-mmc-highspeed;
707*724ba675SRob Herring	cap-sd-highspeed;
708*724ba675SRob Herring	status = "okay";
709*724ba675SRob Herring};
710*724ba675SRob Herring
711*724ba675SRob Herring&pinctrl_0 {
712*724ba675SRob Herring	pinctrl-names = "default";
713*724ba675SRob Herring	pinctrl-0 = <&sleep0>;
714*724ba675SRob Herring
715*724ba675SRob Herring	tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
716*724ba675SRob Herring		samsung,pins = "gpb-5";
717*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
718*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
719*724ba675SRob Herring	};
720*724ba675SRob Herring
721*724ba675SRob Herring	tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
722*724ba675SRob Herring		samsung,pins = "gpb-7";
723*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
724*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
725*724ba675SRob Herring	};
726*724ba675SRob Herring
727*724ba675SRob Herring	lcd_enable: lcd-enable-pins {
728*724ba675SRob Herring		samsung,pins = "gpc0-1";
729*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
730*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
731*724ba675SRob Herring	};
732*724ba675SRob Herring
733*724ba675SRob Herring	sleep0: sleep-state {
734*724ba675SRob Herring		PIN_SLP(gpa0-0, INPUT, NONE);
735*724ba675SRob Herring		PIN_SLP(gpa0-1, OUT0, NONE);
736*724ba675SRob Herring		PIN_SLP(gpa0-2, INPUT, NONE);
737*724ba675SRob Herring		PIN_SLP(gpa0-3, INPUT, UP);
738*724ba675SRob Herring		PIN_SLP(gpa0-4, INPUT, NONE);
739*724ba675SRob Herring		PIN_SLP(gpa0-5, INPUT, DOWN);
740*724ba675SRob Herring		PIN_SLP(gpa0-6, INPUT, DOWN);
741*724ba675SRob Herring		PIN_SLP(gpa0-7, INPUT, UP);
742*724ba675SRob Herring
743*724ba675SRob Herring		PIN_SLP(gpa1-0, INPUT, DOWN);
744*724ba675SRob Herring		PIN_SLP(gpa1-1, INPUT, DOWN);
745*724ba675SRob Herring		PIN_SLP(gpa1-2, INPUT, DOWN);
746*724ba675SRob Herring		PIN_SLP(gpa1-3, INPUT, DOWN);
747*724ba675SRob Herring		PIN_SLP(gpa1-4, INPUT, DOWN);
748*724ba675SRob Herring		PIN_SLP(gpa1-5, INPUT, DOWN);
749*724ba675SRob Herring
750*724ba675SRob Herring		PIN_SLP(gpb-0, INPUT, NONE);
751*724ba675SRob Herring		PIN_SLP(gpb-1, INPUT, NONE);
752*724ba675SRob Herring		PIN_SLP(gpb-2, INPUT, NONE);
753*724ba675SRob Herring		PIN_SLP(gpb-3, INPUT, NONE);
754*724ba675SRob Herring		PIN_SLP(gpb-4, INPUT, DOWN);
755*724ba675SRob Herring		PIN_SLP(gpb-5, INPUT, DOWN);
756*724ba675SRob Herring		PIN_SLP(gpb-6, INPUT, DOWN);
757*724ba675SRob Herring		PIN_SLP(gpb-7, INPUT, DOWN);
758*724ba675SRob Herring
759*724ba675SRob Herring		PIN_SLP(gpc0-0, INPUT, DOWN);
760*724ba675SRob Herring		PIN_SLP(gpc0-1, INPUT, DOWN);
761*724ba675SRob Herring		PIN_SLP(gpc0-2, INPUT, DOWN);
762*724ba675SRob Herring		PIN_SLP(gpc0-3, INPUT, DOWN);
763*724ba675SRob Herring		PIN_SLP(gpc0-4, INPUT, DOWN);
764*724ba675SRob Herring
765*724ba675SRob Herring		PIN_SLP(gpc1-0, INPUT, UP);
766*724ba675SRob Herring		PIN_SLP(gpc1-1, PREV, NONE);
767*724ba675SRob Herring		PIN_SLP(gpc1-2, INPUT, UP);
768*724ba675SRob Herring		PIN_SLP(gpc1-3, INPUT, UP);
769*724ba675SRob Herring		PIN_SLP(gpc1-4, INPUT, UP);
770*724ba675SRob Herring
771*724ba675SRob Herring		PIN_SLP(gpd0-0, INPUT, DOWN);
772*724ba675SRob Herring		PIN_SLP(gpd0-1, OUT0, NONE);
773*724ba675SRob Herring		PIN_SLP(gpd0-2, INPUT, NONE);
774*724ba675SRob Herring		PIN_SLP(gpd0-3, INPUT, NONE);
775*724ba675SRob Herring
776*724ba675SRob Herring		PIN_SLP(gpd1-0, INPUT, DOWN);
777*724ba675SRob Herring		PIN_SLP(gpd1-1, INPUT, DOWN);
778*724ba675SRob Herring		PIN_SLP(gpd1-2, INPUT, NONE);
779*724ba675SRob Herring		PIN_SLP(gpd1-3, INPUT, NONE);
780*724ba675SRob Herring
781*724ba675SRob Herring		PIN_SLP(gpf0-0, OUT0, NONE);
782*724ba675SRob Herring		PIN_SLP(gpf0-1, OUT0, NONE);
783*724ba675SRob Herring		PIN_SLP(gpf0-2, OUT0, NONE);
784*724ba675SRob Herring		PIN_SLP(gpf0-3, OUT0, NONE);
785*724ba675SRob Herring		PIN_SLP(gpf0-4, OUT0, NONE);
786*724ba675SRob Herring		PIN_SLP(gpf0-5, OUT0, NONE);
787*724ba675SRob Herring		PIN_SLP(gpf0-6, OUT0, NONE);
788*724ba675SRob Herring		PIN_SLP(gpf0-7, OUT0, NONE);
789*724ba675SRob Herring
790*724ba675SRob Herring		PIN_SLP(gpf1-0, OUT0, NONE);
791*724ba675SRob Herring		PIN_SLP(gpf1-1, OUT0, NONE);
792*724ba675SRob Herring		PIN_SLP(gpf1-2, OUT0, NONE);
793*724ba675SRob Herring		PIN_SLP(gpf1-3, OUT0, NONE);
794*724ba675SRob Herring		PIN_SLP(gpf1-4, OUT0, NONE);
795*724ba675SRob Herring		PIN_SLP(gpf1-5, OUT0, NONE);
796*724ba675SRob Herring		PIN_SLP(gpf1-6, OUT0, NONE);
797*724ba675SRob Herring		PIN_SLP(gpf1-7, OUT0, NONE);
798*724ba675SRob Herring
799*724ba675SRob Herring		PIN_SLP(gpf2-0, OUT0, NONE);
800*724ba675SRob Herring		PIN_SLP(gpf2-1, OUT0, NONE);
801*724ba675SRob Herring		PIN_SLP(gpf2-2, OUT0, NONE);
802*724ba675SRob Herring		PIN_SLP(gpf2-3, OUT0, NONE);
803*724ba675SRob Herring		PIN_SLP(gpf2-4, OUT0, NONE);
804*724ba675SRob Herring		PIN_SLP(gpf2-5, OUT0, NONE);
805*724ba675SRob Herring		PIN_SLP(gpf2-6, OUT0, NONE);
806*724ba675SRob Herring		PIN_SLP(gpf2-7, OUT0, NONE);
807*724ba675SRob Herring
808*724ba675SRob Herring		PIN_SLP(gpf3-0, OUT0, NONE);
809*724ba675SRob Herring		PIN_SLP(gpf3-1, OUT0, NONE);
810*724ba675SRob Herring		PIN_SLP(gpf3-2, OUT0, NONE);
811*724ba675SRob Herring		PIN_SLP(gpf3-3, OUT0, NONE);
812*724ba675SRob Herring		PIN_SLP(gpf3-4, OUT0, NONE);
813*724ba675SRob Herring		PIN_SLP(gpf3-5, OUT0, NONE);
814*724ba675SRob Herring
815*724ba675SRob Herring		PIN_SLP(gpj0-0, INPUT, DOWN);
816*724ba675SRob Herring		PIN_SLP(gpj0-1, INPUT, DOWN);
817*724ba675SRob Herring		PIN_SLP(gpj0-2, INPUT, DOWN);
818*724ba675SRob Herring		PIN_SLP(gpj0-3, PREV, NONE);
819*724ba675SRob Herring		PIN_SLP(gpj0-4, PREV, NONE);
820*724ba675SRob Herring		PIN_SLP(gpj0-5, OUT0, NONE);
821*724ba675SRob Herring		PIN_SLP(gpj0-6, OUT0, NONE);
822*724ba675SRob Herring		PIN_SLP(gpj0-7, OUT0, NONE);
823*724ba675SRob Herring
824*724ba675SRob Herring		PIN_SLP(gpj1-0, OUT0, NONE);
825*724ba675SRob Herring		PIN_SLP(gpj1-1, INPUT, DOWN);
826*724ba675SRob Herring		PIN_SLP(gpj1-2, PREV, NONE);
827*724ba675SRob Herring		PIN_SLP(gpj1-3, OUT0, NONE);
828*724ba675SRob Herring	};
829*724ba675SRob Herring};
830*724ba675SRob Herring
831*724ba675SRob Herring&pinctrl_1 {
832*724ba675SRob Herring	pinctrl-names = "default";
833*724ba675SRob Herring	pinctrl-0 = <&sleep1>;
834*724ba675SRob Herring
835*724ba675SRob Herring	sd3_wifi: sd3-wifi-pins {
836*724ba675SRob Herring		samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
837*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
838*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
839*724ba675SRob Herring	};
840*724ba675SRob Herring
841*724ba675SRob Herring	bt_shutdown: bt-shutdown-pins {
842*724ba675SRob Herring		samsung,pins = "gpl0-6";
843*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
844*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
845*724ba675SRob Herring	};
846*724ba675SRob Herring
847*724ba675SRob Herring	uart_sel: uart-sel-pins {
848*724ba675SRob Herring		samsung,pins = "gpl2-7";
849*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
850*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
851*724ba675SRob Herring		samsung,pin-val = <1>;
852*724ba675SRob Herring		/* 0 = CP, 1 = AP (serial output) */
853*724ba675SRob Herring	};
854*724ba675SRob Herring
855*724ba675SRob Herring	led_bl_reset: led-bl-reset-pins {
856*724ba675SRob Herring		samsung,pins = "gpm0-1";
857*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
858*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
859*724ba675SRob Herring	};
860*724ba675SRob Herring
861*724ba675SRob Herring	tsp_rst: tsp-rst-pins {
862*724ba675SRob Herring		samsung,pins = "gpm0-4";
863*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
864*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
865*724ba675SRob Herring	};
866*724ba675SRob Herring
867*724ba675SRob Herring	lvds_nshdn: lvds-nshdn-pins {
868*724ba675SRob Herring		samsung,pins = "gpm0-5";
869*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
870*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
871*724ba675SRob Herring	};
872*724ba675SRob Herring
873*724ba675SRob Herring	tsp_irq: tsp-irq-pins {
874*724ba675SRob Herring		samsung,pins = "gpm2-3";
875*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
876*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
877*724ba675SRob Herring	};
878*724ba675SRob Herring
879*724ba675SRob Herring	wifi_reset: wifi-reset-pins {
880*724ba675SRob Herring		samsung,pins = "gpm3-5";
881*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
882*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
883*724ba675SRob Herring	};
884*724ba675SRob Herring
885*724ba675SRob Herring	tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
886*724ba675SRob Herring		samsung,pins = "gpm4-5";
887*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
888*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
889*724ba675SRob Herring	};
890*724ba675SRob Herring
891*724ba675SRob Herring	ak8975_irq: ak8975-irq-pins {
892*724ba675SRob Herring		samsung,pins = "gpm4-7";
893*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
894*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
895*724ba675SRob Herring	};
896*724ba675SRob Herring
897*724ba675SRob Herring	stmpe_adc_irq: stmpe-adc-irq-pins {
898*724ba675SRob Herring		samsung,pins = "gpx0-1";
899*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
900*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
901*724ba675SRob Herring	};
902*724ba675SRob Herring
903*724ba675SRob Herring	max77686_irq: max77686-irq-pins {
904*724ba675SRob Herring		samsung,pins = "gpx0-7";
905*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
906*724ba675SRob Herring	};
907*724ba675SRob Herring
908*724ba675SRob Herring	gpio_keys: gpio-keys-pins {
909*724ba675SRob Herring		samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
910*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
911*724ba675SRob Herring	};
912*724ba675SRob Herring
913*724ba675SRob Herring	fuel_alert_irq: fuel-alert-irq-pins {
914*724ba675SRob Herring		samsung,pins = "gpx2-3";
915*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
916*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
917*724ba675SRob Herring	};
918*724ba675SRob Herring
919*724ba675SRob Herring	wifi_host_wake: wifi-host-wake-pins {
920*724ba675SRob Herring		samsung,pins = "gpx2-5";
921*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
922*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
923*724ba675SRob Herring	};
924*724ba675SRob Herring
925*724ba675SRob Herring	bt_host_wakeup: bt-host-wakeup-pins {
926*724ba675SRob Herring		samsung,pins = "gpx2-6";
927*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
928*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
929*724ba675SRob Herring	};
930*724ba675SRob Herring
931*724ba675SRob Herring	bt_device_wakeup: bt-device-wakeup-pins {
932*724ba675SRob Herring		samsung,pins = "gpx3-1";
933*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
934*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
935*724ba675SRob Herring	};
936*724ba675SRob Herring
937*724ba675SRob Herring	sdhci2_cd: sdhci2-cd-pins {
938*724ba675SRob Herring		samsung,pins = "gpx3-4";
939*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
940*724ba675SRob Herring	};
941*724ba675SRob Herring
942*724ba675SRob Herring	sleep1: sleep-state {
943*724ba675SRob Herring		PIN_SLP(gpk0-0, PREV, NONE);
944*724ba675SRob Herring		PIN_SLP(gpk0-1, PREV, NONE);
945*724ba675SRob Herring		PIN_SLP(gpk0-2, PREV, NONE);
946*724ba675SRob Herring		PIN_SLP(gpk0-3, PREV, NONE);
947*724ba675SRob Herring		PIN_SLP(gpk0-4, PREV, NONE);
948*724ba675SRob Herring		PIN_SLP(gpk0-5, PREV, NONE);
949*724ba675SRob Herring		PIN_SLP(gpk0-6, PREV, NONE);
950*724ba675SRob Herring
951*724ba675SRob Herring		PIN_SLP(gpk1-0, INPUT, DOWN);
952*724ba675SRob Herring		PIN_SLP(gpk1-1, INPUT, DOWN);
953*724ba675SRob Herring		PIN_SLP(gpk1-2, INPUT, DOWN);
954*724ba675SRob Herring		PIN_SLP(gpk1-3, PREV, NONE);
955*724ba675SRob Herring		PIN_SLP(gpk1-4, PREV, NONE);
956*724ba675SRob Herring		PIN_SLP(gpk1-5, PREV, NONE);
957*724ba675SRob Herring		PIN_SLP(gpk1-6, PREV, NONE);
958*724ba675SRob Herring
959*724ba675SRob Herring		PIN_SLP(gpk2-0, INPUT, DOWN);
960*724ba675SRob Herring		PIN_SLP(gpk2-1, INPUT, DOWN);
961*724ba675SRob Herring		PIN_SLP(gpk2-2, INPUT, DOWN);
962*724ba675SRob Herring		PIN_SLP(gpk2-3, INPUT, DOWN);
963*724ba675SRob Herring		PIN_SLP(gpk2-4, INPUT, DOWN);
964*724ba675SRob Herring		PIN_SLP(gpk2-5, INPUT, DOWN);
965*724ba675SRob Herring		PIN_SLP(gpk2-6, INPUT, DOWN);
966*724ba675SRob Herring
967*724ba675SRob Herring		PIN_SLP(gpk3-0, OUT0, NONE);
968*724ba675SRob Herring		PIN_SLP(gpk3-1, INPUT, NONE);
969*724ba675SRob Herring		PIN_SLP(gpk3-2, INPUT, DOWN);
970*724ba675SRob Herring		PIN_SLP(gpk3-3, INPUT, NONE);
971*724ba675SRob Herring		PIN_SLP(gpk3-4, INPUT, NONE);
972*724ba675SRob Herring		PIN_SLP(gpk3-5, INPUT, NONE);
973*724ba675SRob Herring		PIN_SLP(gpk3-6, INPUT, NONE);
974*724ba675SRob Herring
975*724ba675SRob Herring		PIN_SLP(gpl0-0, OUT0, NONE);
976*724ba675SRob Herring		PIN_SLP(gpl0-1, INPUT, NONE);
977*724ba675SRob Herring		PIN_SLP(gpl0-2, INPUT, NONE);
978*724ba675SRob Herring		PIN_SLP(gpl0-3, INPUT, DOWN);
979*724ba675SRob Herring		PIN_SLP(gpl0-4, PREV, NONE);
980*724ba675SRob Herring		PIN_SLP(gpl0-6, PREV, NONE);
981*724ba675SRob Herring
982*724ba675SRob Herring		PIN_SLP(gpl1-0, OUT0, NONE);
983*724ba675SRob Herring		PIN_SLP(gpl1-1, OUT0, NONE);
984*724ba675SRob Herring
985*724ba675SRob Herring		PIN_SLP(gpl2-0, INPUT, DOWN);
986*724ba675SRob Herring		PIN_SLP(gpl2-1, INPUT, DOWN);
987*724ba675SRob Herring		PIN_SLP(gpl2-2, INPUT, DOWN);
988*724ba675SRob Herring		PIN_SLP(gpl2-3, INPUT, DOWN);
989*724ba675SRob Herring		PIN_SLP(gpl2-4, OUT0, NONE);
990*724ba675SRob Herring		PIN_SLP(gpl2-5, INPUT, DOWN);
991*724ba675SRob Herring		PIN_SLP(gpl2-6, PREV, NONE);
992*724ba675SRob Herring		PIN_SLP(gpl2-7, PREV, NONE);
993*724ba675SRob Herring
994*724ba675SRob Herring		PIN_SLP(gpm0-0, PREV, NONE);
995*724ba675SRob Herring		PIN_SLP(gpm0-1, OUT0, NONE);
996*724ba675SRob Herring		PIN_SLP(gpm0-2, INPUT, DOWN);
997*724ba675SRob Herring		PIN_SLP(gpm0-3, INPUT, NONE);
998*724ba675SRob Herring		PIN_SLP(gpm0-4, OUT0, NONE);
999*724ba675SRob Herring		PIN_SLP(gpm0-5, OUT0, NONE);
1000*724ba675SRob Herring		PIN_SLP(gpm0-6, INPUT, DOWN);
1001*724ba675SRob Herring		PIN_SLP(gpm0-7, OUT0, NONE);
1002*724ba675SRob Herring
1003*724ba675SRob Herring		PIN_SLP(gpm1-0, INPUT, NONE);
1004*724ba675SRob Herring		PIN_SLP(gpm1-1, INPUT, NONE);
1005*724ba675SRob Herring		PIN_SLP(gpm1-2, INPUT, NONE);
1006*724ba675SRob Herring		PIN_SLP(gpm1-3, INPUT, NONE);
1007*724ba675SRob Herring		PIN_SLP(gpm1-4, INPUT, NONE);
1008*724ba675SRob Herring		PIN_SLP(gpm1-5, INPUT, NONE);
1009*724ba675SRob Herring		PIN_SLP(gpm1-6, INPUT, DOWN);
1010*724ba675SRob Herring
1011*724ba675SRob Herring		PIN_SLP(gpm2-0, INPUT, NONE);
1012*724ba675SRob Herring		PIN_SLP(gpm2-1, INPUT, NONE);
1013*724ba675SRob Herring		PIN_SLP(gpm2-2, OUT0, NONE);
1014*724ba675SRob Herring		PIN_SLP(gpm2-3, OUT0, DOWN);
1015*724ba675SRob Herring		PIN_SLP(gpm2-4, INPUT, DOWN);
1016*724ba675SRob Herring
1017*724ba675SRob Herring		PIN_SLP(gpm3-0, PREV, NONE);
1018*724ba675SRob Herring		PIN_SLP(gpm3-1, PREV, NONE);
1019*724ba675SRob Herring		PIN_SLP(gpm3-2, PREV, NONE);
1020*724ba675SRob Herring		PIN_SLP(gpm3-3, OUT1, NONE);
1021*724ba675SRob Herring		PIN_SLP(gpm3-4, OUT0, DOWN);
1022*724ba675SRob Herring		PIN_SLP(gpm3-5, PREV, NONE);
1023*724ba675SRob Herring		PIN_SLP(gpm3-6, PREV, NONE);
1024*724ba675SRob Herring		PIN_SLP(gpm3-7, OUT0, NONE);
1025*724ba675SRob Herring
1026*724ba675SRob Herring		PIN_SLP(gpm4-0, INPUT, NONE);
1027*724ba675SRob Herring		PIN_SLP(gpm4-1, INPUT, NONE);
1028*724ba675SRob Herring		PIN_SLP(gpm4-2, INPUT, DOWN);
1029*724ba675SRob Herring		PIN_SLP(gpm4-3, INPUT, DOWN);
1030*724ba675SRob Herring		PIN_SLP(gpm4-4, PREV, NONE);
1031*724ba675SRob Herring		PIN_SLP(gpm4-5, OUT0, NONE);
1032*724ba675SRob Herring		PIN_SLP(gpm4-6, OUT0, NONE);
1033*724ba675SRob Herring		PIN_SLP(gpm4-7, INPUT, DOWN);
1034*724ba675SRob Herring
1035*724ba675SRob Herring		PIN_SLP(gpy0-0, INPUT, DOWN);
1036*724ba675SRob Herring		PIN_SLP(gpy0-1, INPUT, DOWN);
1037*724ba675SRob Herring		PIN_SLP(gpy0-2, INPUT, NONE);
1038*724ba675SRob Herring		PIN_SLP(gpy0-3, INPUT, NONE);
1039*724ba675SRob Herring		PIN_SLP(gpy0-4, INPUT, NONE);
1040*724ba675SRob Herring		PIN_SLP(gpy0-5, INPUT, NONE);
1041*724ba675SRob Herring
1042*724ba675SRob Herring		PIN_SLP(gpy1-0, INPUT, DOWN);
1043*724ba675SRob Herring		PIN_SLP(gpy1-1, INPUT, DOWN);
1044*724ba675SRob Herring		PIN_SLP(gpy1-2, INPUT, DOWN);
1045*724ba675SRob Herring		PIN_SLP(gpy1-3, INPUT, DOWN);
1046*724ba675SRob Herring
1047*724ba675SRob Herring		PIN_SLP(gpy2-0, PREV, NONE);
1048*724ba675SRob Herring		PIN_SLP(gpy2-1, INPUT, DOWN);
1049*724ba675SRob Herring		PIN_SLP(gpy2-2, INPUT, NONE);
1050*724ba675SRob Herring		PIN_SLP(gpy2-3, INPUT, NONE);
1051*724ba675SRob Herring		PIN_SLP(gpy2-4, INPUT, NONE);
1052*724ba675SRob Herring		PIN_SLP(gpy2-5, INPUT, NONE);
1053*724ba675SRob Herring
1054*724ba675SRob Herring		PIN_SLP(gpy3-0, INPUT, DOWN);
1055*724ba675SRob Herring		PIN_SLP(gpy3-1, INPUT, DOWN);
1056*724ba675SRob Herring		PIN_SLP(gpy3-2, INPUT, DOWN);
1057*724ba675SRob Herring		PIN_SLP(gpy3-3, INPUT, DOWN);
1058*724ba675SRob Herring		PIN_SLP(gpy3-4, INPUT, DOWN);
1059*724ba675SRob Herring		PIN_SLP(gpy3-5, INPUT, DOWN);
1060*724ba675SRob Herring		PIN_SLP(gpy3-6, INPUT, DOWN);
1061*724ba675SRob Herring		PIN_SLP(gpy3-7, INPUT, DOWN);
1062*724ba675SRob Herring
1063*724ba675SRob Herring		PIN_SLP(gpy4-0, INPUT, DOWN);
1064*724ba675SRob Herring		PIN_SLP(gpy4-1, INPUT, DOWN);
1065*724ba675SRob Herring		PIN_SLP(gpy4-2, INPUT, DOWN);
1066*724ba675SRob Herring		PIN_SLP(gpy4-3, INPUT, DOWN);
1067*724ba675SRob Herring		PIN_SLP(gpy4-4, INPUT, DOWN);
1068*724ba675SRob Herring		PIN_SLP(gpy4-5, INPUT, DOWN);
1069*724ba675SRob Herring		PIN_SLP(gpy4-6, INPUT, DOWN);
1070*724ba675SRob Herring		PIN_SLP(gpy4-7, INPUT, DOWN);
1071*724ba675SRob Herring
1072*724ba675SRob Herring		PIN_SLP(gpy5-0, INPUT, DOWN);
1073*724ba675SRob Herring		PIN_SLP(gpy5-1, INPUT, DOWN);
1074*724ba675SRob Herring		PIN_SLP(gpy5-2, INPUT, DOWN);
1075*724ba675SRob Herring		PIN_SLP(gpy5-3, INPUT, DOWN);
1076*724ba675SRob Herring		PIN_SLP(gpy5-4, INPUT, DOWN);
1077*724ba675SRob Herring		PIN_SLP(gpy5-5, INPUT, DOWN);
1078*724ba675SRob Herring		PIN_SLP(gpy5-6, INPUT, DOWN);
1079*724ba675SRob Herring		PIN_SLP(gpy5-7, INPUT, DOWN);
1080*724ba675SRob Herring
1081*724ba675SRob Herring		PIN_SLP(gpy6-0, INPUT, DOWN);
1082*724ba675SRob Herring		PIN_SLP(gpy6-1, INPUT, DOWN);
1083*724ba675SRob Herring		PIN_SLP(gpy6-2, INPUT, DOWN);
1084*724ba675SRob Herring		PIN_SLP(gpy6-3, INPUT, DOWN);
1085*724ba675SRob Herring		PIN_SLP(gpy6-4, INPUT, DOWN);
1086*724ba675SRob Herring		PIN_SLP(gpy6-5, INPUT, DOWN);
1087*724ba675SRob Herring		PIN_SLP(gpy6-6, INPUT, DOWN);
1088*724ba675SRob Herring		PIN_SLP(gpy6-7, INPUT, DOWN);
1089*724ba675SRob Herring	};
1090*724ba675SRob Herring};
1091*724ba675SRob Herring
1092*724ba675SRob Herring&pinctrl_2 {
1093*724ba675SRob Herring	pinctrl-names = "default";
1094*724ba675SRob Herring	pinctrl-0 = <&sleep2>;
1095*724ba675SRob Herring
1096*724ba675SRob Herring	sleep2: sleep-state {
1097*724ba675SRob Herring		PIN_SLP(gpz-0, INPUT, DOWN);
1098*724ba675SRob Herring		PIN_SLP(gpz-1, INPUT, DOWN);
1099*724ba675SRob Herring		PIN_SLP(gpz-2, INPUT, DOWN);
1100*724ba675SRob Herring		PIN_SLP(gpz-3, INPUT, DOWN);
1101*724ba675SRob Herring		PIN_SLP(gpz-4, INPUT, DOWN);
1102*724ba675SRob Herring		PIN_SLP(gpz-5, INPUT, DOWN);
1103*724ba675SRob Herring		PIN_SLP(gpz-6, INPUT, DOWN);
1104*724ba675SRob Herring	};
1105*724ba675SRob Herring};
1106*724ba675SRob Herring
1107*724ba675SRob Herring&pinctrl_3 {
1108*724ba675SRob Herring	pinctrl-names = "default";
1109*724ba675SRob Herring	pinctrl-0 = <&sleep3>;
1110*724ba675SRob Herring
1111*724ba675SRob Herring	sleep3: sleep-state {
1112*724ba675SRob Herring		PIN_SLP(gpv0-0, INPUT, DOWN);
1113*724ba675SRob Herring		PIN_SLP(gpv0-1, INPUT, DOWN);
1114*724ba675SRob Herring		PIN_SLP(gpv0-2, INPUT, DOWN);
1115*724ba675SRob Herring		PIN_SLP(gpv0-3, INPUT, DOWN);
1116*724ba675SRob Herring		PIN_SLP(gpv0-4, INPUT, DOWN);
1117*724ba675SRob Herring		PIN_SLP(gpv0-5, INPUT, DOWN);
1118*724ba675SRob Herring		PIN_SLP(gpv0-6, INPUT, DOWN);
1119*724ba675SRob Herring		PIN_SLP(gpv0-7, INPUT, DOWN);
1120*724ba675SRob Herring
1121*724ba675SRob Herring		PIN_SLP(gpv1-0, INPUT, DOWN);
1122*724ba675SRob Herring		PIN_SLP(gpv1-1, INPUT, DOWN);
1123*724ba675SRob Herring		PIN_SLP(gpv1-2, INPUT, DOWN);
1124*724ba675SRob Herring		PIN_SLP(gpv1-3, INPUT, DOWN);
1125*724ba675SRob Herring		PIN_SLP(gpv1-4, INPUT, DOWN);
1126*724ba675SRob Herring		PIN_SLP(gpv1-5, INPUT, DOWN);
1127*724ba675SRob Herring		PIN_SLP(gpv1-6, INPUT, DOWN);
1128*724ba675SRob Herring		PIN_SLP(gpv1-7, INPUT, DOWN);
1129*724ba675SRob Herring
1130*724ba675SRob Herring		PIN_SLP(gpv2-0, INPUT, DOWN);
1131*724ba675SRob Herring		PIN_SLP(gpv2-1, INPUT, DOWN);
1132*724ba675SRob Herring		PIN_SLP(gpv2-2, INPUT, DOWN);
1133*724ba675SRob Herring		PIN_SLP(gpv2-3, INPUT, DOWN);
1134*724ba675SRob Herring		PIN_SLP(gpv2-4, INPUT, DOWN);
1135*724ba675SRob Herring		PIN_SLP(gpv2-5, INPUT, DOWN);
1136*724ba675SRob Herring		PIN_SLP(gpv2-6, INPUT, DOWN);
1137*724ba675SRob Herring		PIN_SLP(gpv2-7, INPUT, DOWN);
1138*724ba675SRob Herring
1139*724ba675SRob Herring		PIN_SLP(gpv3-0, INPUT, DOWN);
1140*724ba675SRob Herring		PIN_SLP(gpv3-1, INPUT, DOWN);
1141*724ba675SRob Herring		PIN_SLP(gpv3-2, INPUT, DOWN);
1142*724ba675SRob Herring		PIN_SLP(gpv3-3, INPUT, DOWN);
1143*724ba675SRob Herring		PIN_SLP(gpv3-4, INPUT, DOWN);
1144*724ba675SRob Herring		PIN_SLP(gpv3-5, INPUT, DOWN);
1145*724ba675SRob Herring		PIN_SLP(gpv3-6, INPUT, DOWN);
1146*724ba675SRob Herring		PIN_SLP(gpv3-7, INPUT, DOWN);
1147*724ba675SRob Herring
1148*724ba675SRob Herring		PIN_SLP(gpv4-0, INPUT, DOWN);
1149*724ba675SRob Herring		PIN_SLP(gpv4-1, INPUT, DOWN);
1150*724ba675SRob Herring	};
1151*724ba675SRob Herring};
1152*724ba675SRob Herring
1153*724ba675SRob Herring&pmu_system_controller {
1154*724ba675SRob Herring	assigned-clocks = <&pmu_system_controller 0>;
1155*724ba675SRob Herring	assigned-clock-parents = <&clock CLK_XUSBXTI>;
1156*724ba675SRob Herring};
1157*724ba675SRob Herring
1158*724ba675SRob Herring&pwm {
1159*724ba675SRob Herring	pinctrl-0 = <&pwm1_out>;
1160*724ba675SRob Herring	pinctrl-names = "default";
1161*724ba675SRob Herring	samsung,pwm-outputs = <1>;
1162*724ba675SRob Herring	status = "okay";
1163*724ba675SRob Herring};
1164*724ba675SRob Herring
1165*724ba675SRob Herring&rtc {
1166*724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1167*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
1168*724ba675SRob Herring	status = "okay";
1169*724ba675SRob Herring};
1170*724ba675SRob Herring
1171*724ba675SRob Herring&sdhci_2 {
1172*724ba675SRob Herring	bus-width = <4>;
1173*724ba675SRob Herring	cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1174*724ba675SRob Herring	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1175*724ba675SRob Herring	pinctrl-names = "default";
1176*724ba675SRob Herring	vmmc-supply = <&ldo21_reg>;
1177*724ba675SRob Herring	status = "okay";
1178*724ba675SRob Herring};
1179*724ba675SRob Herring
1180*724ba675SRob Herring&sdhci_3 {
1181*724ba675SRob Herring	#address-cells = <1>;
1182*724ba675SRob Herring	#size-cells = <0>;
1183*724ba675SRob Herring	non-removable;
1184*724ba675SRob Herring	bus-width = <4>;
1185*724ba675SRob Herring	mmc-pwrseq = <&wlan_pwrseq>;
1186*724ba675SRob Herring
1187*724ba675SRob Herring	pinctrl-names = "default";
1188*724ba675SRob Herring	pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
1189*724ba675SRob Herring	status = "okay";
1190*724ba675SRob Herring
1191*724ba675SRob Herring	wifi@1 {
1192*724ba675SRob Herring		compatible = "brcm,bcm4329-fmac";
1193*724ba675SRob Herring		reg = <0x1>;
1194*724ba675SRob Herring		pinctrl-names = "default";
1195*724ba675SRob Herring		pinctrl-0 = <&wifi_host_wake>;
1196*724ba675SRob Herring		interrupt-parent = <&gpx2>;
1197*724ba675SRob Herring		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1198*724ba675SRob Herring		interrupt-names = "host-wake";
1199*724ba675SRob Herring	};
1200*724ba675SRob Herring};
1201*724ba675SRob Herring
1202*724ba675SRob Herring&serial_0 {
1203*724ba675SRob Herring	pinctrl-0 = <&uart0_data &uart0_fctl>;
1204*724ba675SRob Herring	pinctrl-names = "default";
1205*724ba675SRob Herring	status = "okay";
1206*724ba675SRob Herring
1207*724ba675SRob Herring	bluetooth {
1208*724ba675SRob Herring		compatible = "brcm,bcm4330-bt";
1209*724ba675SRob Herring		pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1210*724ba675SRob Herring		pinctrl-names = "default";
1211*724ba675SRob Herring
1212*724ba675SRob Herring		max-speed = <2000000>;
1213*724ba675SRob Herring		shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1214*724ba675SRob Herring		device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1215*724ba675SRob Herring		host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1216*724ba675SRob Herring		clocks = <&max77686 MAX77686_CLK_PMIC>;
1217*724ba675SRob Herring		clock-names = "lpo";
1218*724ba675SRob Herring	};
1219*724ba675SRob Herring};
1220*724ba675SRob Herring
1221*724ba675SRob Herring&serial_2 {
1222*724ba675SRob Herring	pinctrl-0 = <&uart_sel>;
1223*724ba675SRob Herring	pinctrl-names = "default";
1224*724ba675SRob Herring	status = "okay";
1225*724ba675SRob Herring};
1226*724ba675SRob Herring
1227*724ba675SRob Herring&tmu {
1228*724ba675SRob Herring	status = "okay";
1229*724ba675SRob Herring};
1230