xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos4412-p4note.dtsi (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2724ba675SRob Herring/*
3724ba675SRob Herring * Samsung's Exynos4412 based p4note device family base DT.
4724ba675SRob Herring * Based on exynos4412-midas.dtsi.
5724ba675SRob Herring *
6724ba675SRob Herring * Copyright (c) 2013 Samsung Electronics Co., Ltd.
7724ba675SRob Herring *		http://www.samsung.com
8724ba675SRob Herring */
9724ba675SRob Herring
10724ba675SRob Herring/dts-v1/;
11724ba675SRob Herring#include "exynos4412.dtsi"
12724ba675SRob Herring#include "exynos4412-ppmu-common.dtsi"
13724ba675SRob Herring
14724ba675SRob Herring#include <dt-bindings/clock/maxim,max77686.h>
15724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
16724ba675SRob Herring#include <dt-bindings/input/linux-event-codes.h>
17724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
18724ba675SRob Herring#include <dt-bindings/power/summit,smb347-charger.h>
19724ba675SRob Herring#include "exynos-pinctrl.h"
20724ba675SRob Herring
21724ba675SRob Herring/ {
22724ba675SRob Herring	compatible = "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
23724ba675SRob Herring
24724ba675SRob Herring	memory@40000000 {
25724ba675SRob Herring		device_type = "memory";
26*784c93e3SArtur Weber		reg = <0x40000000 0x7fc00000>;
27724ba675SRob Herring	};
28724ba675SRob Herring
29724ba675SRob Herring	aliases {
30724ba675SRob Herring		mmc0 = &mshc_0;
31724ba675SRob Herring		mmc2 = &sdhci_2;
32724ba675SRob Herring		mmc3 = &sdhci_3;
33724ba675SRob Herring	};
34724ba675SRob Herring
35724ba675SRob Herring	chosen {
36724ba675SRob Herring		stdout-path = &serial_2;
37724ba675SRob Herring	};
38724ba675SRob Herring
39724ba675SRob Herring	firmware@204f000 {
40724ba675SRob Herring		compatible = "samsung,secure-firmware";
41724ba675SRob Herring		reg = <0x0204f000 0x1000>;
42724ba675SRob Herring	};
43724ba675SRob Herring
44724ba675SRob Herring	fixed-rate-clocks {
45724ba675SRob Herring		xxti {
46724ba675SRob Herring			compatible = "samsung,clock-xxti";
47724ba675SRob Herring			clock-frequency = <0>;
48724ba675SRob Herring		};
49724ba675SRob Herring
50724ba675SRob Herring		xusbxti {
51724ba675SRob Herring			compatible = "samsung,clock-xusbxti";
52724ba675SRob Herring			clock-frequency = <24000000>;
53724ba675SRob Herring		};
54724ba675SRob Herring	};
55724ba675SRob Herring
56724ba675SRob Herring	gpio-keys {
57724ba675SRob Herring		compatible = "gpio-keys";
58724ba675SRob Herring		pinctrl-names = "default";
59724ba675SRob Herring		pinctrl-0 = <&gpio_keys>;
60724ba675SRob Herring
61724ba675SRob Herring		key-down {
62724ba675SRob Herring			gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
63724ba675SRob Herring			linux,code = <KEY_VOLUMEDOWN>;
64724ba675SRob Herring			label = "volume down";
65724ba675SRob Herring			debounce-interval = <10>;
66724ba675SRob Herring		};
67724ba675SRob Herring
68724ba675SRob Herring		key-up {
69724ba675SRob Herring			gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
70724ba675SRob Herring			linux,code = <KEY_VOLUMEUP>;
71724ba675SRob Herring			label = "volume up";
72724ba675SRob Herring			debounce-interval = <10>;
73724ba675SRob Herring		};
74724ba675SRob Herring
75724ba675SRob Herring		key-power {
76724ba675SRob Herring			gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
77724ba675SRob Herring			linux,code = <KEY_POWER>;
78724ba675SRob Herring			label = "power";
79724ba675SRob Herring			debounce-interval = <10>;
80724ba675SRob Herring			wakeup-source;
81724ba675SRob Herring		};
82724ba675SRob Herring	};
83724ba675SRob Herring
84724ba675SRob Herring	voltage-regulator-1 {
85724ba675SRob Herring		compatible = "regulator-fixed";
86724ba675SRob Herring		regulator-name = "TSP_LDO1";
87724ba675SRob Herring		pinctrl-names = "default";
88724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_1>;
89724ba675SRob Herring		gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
90724ba675SRob Herring		enable-active-high;
91724ba675SRob Herring		regulator-always-on;
92724ba675SRob Herring	};
93724ba675SRob Herring
94724ba675SRob Herring	voltage-regulator-2 {
95724ba675SRob Herring		compatible = "regulator-fixed";
96724ba675SRob Herring		regulator-name = "TSP_LDO2";
97724ba675SRob Herring		pinctrl-names = "default";
98724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_2>;
99724ba675SRob Herring		gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
100724ba675SRob Herring		enable-active-high;
101724ba675SRob Herring		regulator-always-on;
102724ba675SRob Herring	};
103724ba675SRob Herring
104724ba675SRob Herring	voltage-regulator-3 {
105724ba675SRob Herring		compatible = "regulator-fixed";
106724ba675SRob Herring		regulator-name = "TSP_LDO3";
107724ba675SRob Herring		pinctrl-names = "default";
108724ba675SRob Herring		pinctrl-0 = <&tsp_reg_gpio_3>;
109724ba675SRob Herring		gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
110724ba675SRob Herring		startup-delay-us = <20000>;
111724ba675SRob Herring		enable-active-high;
112724ba675SRob Herring		regulator-always-on;
113724ba675SRob Herring	};
114724ba675SRob Herring
115724ba675SRob Herring	panel_vdd: voltage-regulator-4 {
116724ba675SRob Herring		compatible = "regulator-fixed";
117724ba675SRob Herring		regulator-name = "LCD_ENABLE";
118724ba675SRob Herring		pinctrl-names = "default";
119724ba675SRob Herring		pinctrl-0 = <&lcd_enable>;
120724ba675SRob Herring		gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
121724ba675SRob Herring		enable-active-high;
122724ba675SRob Herring		regulator-boot-on;
123724ba675SRob Herring	};
124724ba675SRob Herring
125724ba675SRob Herring	wlan_pwrseq: sdhci3-pwrseq {
126724ba675SRob Herring		compatible = "mmc-pwrseq-simple";
127724ba675SRob Herring		reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
128724ba675SRob Herring		pinctrl-0 = <&wifi_reset>;
129724ba675SRob Herring		pinctrl-names = "default";
130724ba675SRob Herring		clocks = <&max77686 MAX77686_CLK_PMIC>;
131724ba675SRob Herring		clock-names = "ext_clock";
132724ba675SRob Herring	};
133724ba675SRob Herring
134724ba675SRob Herring	battery_cell: battery-cell {
135724ba675SRob Herring		compatible = "simple-battery";
136724ba675SRob Herring		device-chemistry = "lithium-ion";
137724ba675SRob Herring		constant-charge-current-max-microamp = <2200000>;
138724ba675SRob Herring		precharge-current-microamp = <250000>;
139724ba675SRob Herring		charge-term-current-microamp = <250000>;
140724ba675SRob Herring		constant-charge-voltage-max-microvolt = <4200000>;
141724ba675SRob Herring	};
142724ba675SRob Herring
143724ba675SRob Herring	i2c-gpio-1 {
144724ba675SRob Herring		compatible = "i2c-gpio";
145724ba675SRob Herring		sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
146724ba675SRob Herring		scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
147724ba675SRob Herring		i2c-gpio,delay-us = <2>;
148724ba675SRob Herring		#address-cells = <1>;
149724ba675SRob Herring		#size-cells = <0>;
150724ba675SRob Herring
151724ba675SRob Herring		magnetometer@c {
152724ba675SRob Herring			compatible = "asahi-kasei,ak8975";
153724ba675SRob Herring			reg = <0x0c>;
154724ba675SRob Herring			pinctrl-0 = <&ak8975_irq>;
155724ba675SRob Herring			pinctrl-names = "default";
156724ba675SRob Herring			interrupt-parent = <&gpm4>;
157724ba675SRob Herring			interrupts = <7 IRQ_TYPE_EDGE_RISING>;
158724ba675SRob Herring		};
159724ba675SRob Herring	};
160724ba675SRob Herring
161724ba675SRob Herring	i2c-gpio-2 {
162724ba675SRob Herring		compatible = "i2c-gpio";
163724ba675SRob Herring		sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
164724ba675SRob Herring		scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
165724ba675SRob Herring		i2c-gpio,delay-us = <2>;
166724ba675SRob Herring		#address-cells = <1>;
167724ba675SRob Herring		#size-cells = <0>;
168724ba675SRob Herring
169724ba675SRob Herring		fuel-gauge@36 {
170724ba675SRob Herring			compatible = "maxim,max17042";
171724ba675SRob Herring			reg = <0x36>;
172724ba675SRob Herring			pinctrl-0 = <&fuel_alert_irq>;
173724ba675SRob Herring			pinctrl-names = "default";
174724ba675SRob Herring			interrupt-parent = <&gpx2>;
175724ba675SRob Herring			interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
176724ba675SRob Herring			maxim,rsns-microohm = <10000>;
177724ba675SRob Herring			maxim,over-heat-temp = <600>;
178724ba675SRob Herring			maxim,over-volt = <4300>;
179724ba675SRob Herring		};
180724ba675SRob Herring	};
181724ba675SRob Herring
182724ba675SRob Herring	i2c-gpio-3 {
183724ba675SRob Herring		compatible = "i2c-gpio";
184724ba675SRob Herring		sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
185724ba675SRob Herring		scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
186724ba675SRob Herring		i2c-gpio,delay-us = <5>;
187724ba675SRob Herring		#address-cells = <1>;
188724ba675SRob Herring		#size-cells = <0>;
189724ba675SRob Herring
190724ba675SRob Herring		adc@41 {
191724ba675SRob Herring			compatible = "st,stmpe811";
192724ba675SRob Herring			reg = <0x41>;
193724ba675SRob Herring			pinctrl-0 = <&stmpe_adc_irq>;
194724ba675SRob Herring			pinctrl-names = "default";
195724ba675SRob Herring			interrupt-parent = <&gpx0>;
196724ba675SRob Herring			interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
197724ba675SRob Herring			st,adc-freq = <3>;
198724ba675SRob Herring			st,mod-12b = <1>;
199724ba675SRob Herring			st,ref-sel = <0>;
200724ba675SRob Herring			st,sample-time = <3>;
201724ba675SRob Herring
202724ba675SRob Herring			adc {
203724ba675SRob Herring				compatible = "st,stmpe-adc";
204724ba675SRob Herring				#io-channel-cells = <1>;
205724ba675SRob Herring				st,norequest-mask = <0x2f>;
206724ba675SRob Herring			};
207724ba675SRob Herring		};
208724ba675SRob Herring	};
209724ba675SRob Herring
210724ba675SRob Herring	i2c-gpio-4 {
211724ba675SRob Herring		compatible = "i2c-gpio";
212724ba675SRob Herring		sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
213724ba675SRob Herring		scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
214724ba675SRob Herring
215724ba675SRob Herring		i2c-gpio,delay-us = <2>;
216724ba675SRob Herring		#address-cells = <1>;
217724ba675SRob Herring		#size-cells = <0>;
218724ba675SRob Herring
219724ba675SRob Herring		power_supply: charger@6 {
220724ba675SRob Herring			compatible = "summit,smb347";
221724ba675SRob Herring			reg = <0x6>;
222724ba675SRob Herring			summit,enable-usb-charging;
223724ba675SRob Herring			summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
224724ba675SRob Herring			summit,fast-voltage-threshold-microvolt = <2600000>;
225724ba675SRob Herring			summit,chip-temperature-threshold-celsius = <130>;
226724ba675SRob Herring			summit,usb-current-limit-microamp = <1800000>;
227724ba675SRob Herring
228724ba675SRob Herring			monitored-battery = <&battery_cell>;
229724ba675SRob Herring		};
230724ba675SRob Herring	};
231724ba675SRob Herring
232724ba675SRob Herring	panel {
233724ba675SRob Herring		compatible = "samsung,ltl101al01";
234724ba675SRob Herring		pinctrl-0 = <&lvds_nshdn>;
235724ba675SRob Herring		pinctrl-names = "default";
236724ba675SRob Herring		power-supply = <&panel_vdd>;
237724ba675SRob Herring		enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
238724ba675SRob Herring		backlight = <&backlight>;
239724ba675SRob Herring
240724ba675SRob Herring		port {
241724ba675SRob Herring			lcd_ep: endpoint {
242724ba675SRob Herring				remote-endpoint = <&fimd_ep>;
243724ba675SRob Herring			};
244724ba675SRob Herring		};
245724ba675SRob Herring	};
246724ba675SRob Herring
247724ba675SRob Herring	backlight: backlight {
248724ba675SRob Herring		compatible = "pwm-backlight";
249724ba675SRob Herring		pinctrl-0 = <&led_bl_reset>;
250724ba675SRob Herring		pinctrl-names = "default";
251724ba675SRob Herring		enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
252724ba675SRob Herring		power-supply = <&panel_vdd>;
253724ba675SRob Herring		pwms = <&pwm 1 78770 0>;
254724ba675SRob Herring		brightness-levels = <0 48 128 255>;
255724ba675SRob Herring		num-interpolated-steps = <8>;
256724ba675SRob Herring		default-brightness-level = <12>;
257724ba675SRob Herring	};
258724ba675SRob Herring};
259724ba675SRob Herring
260724ba675SRob Herring&adc {
261724ba675SRob Herring	vdd-supply = <&ldo3_reg>;
262724ba675SRob Herring	/* not verified */
263724ba675SRob Herring	status = "okay";
264724ba675SRob Herring};
265724ba675SRob Herring
266724ba675SRob Herring&bus_dmc {
267724ba675SRob Herring	devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
268724ba675SRob Herring	vdd-supply = <&buck1_reg>;
269724ba675SRob Herring	status = "okay";
270724ba675SRob Herring};
271724ba675SRob Herring
272724ba675SRob Herring&bus_acp {
273724ba675SRob Herring	devfreq = <&bus_dmc>;
274724ba675SRob Herring	status = "okay";
275724ba675SRob Herring};
276724ba675SRob Herring
277724ba675SRob Herring&bus_c2c {
278724ba675SRob Herring	devfreq = <&bus_dmc>;
279724ba675SRob Herring	status = "okay";
280724ba675SRob Herring};
281724ba675SRob Herring
282724ba675SRob Herring&bus_leftbus {
283724ba675SRob Herring	devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
284724ba675SRob Herring	vdd-supply = <&buck3_reg>;
285724ba675SRob Herring	status = "okay";
286724ba675SRob Herring};
287724ba675SRob Herring
288724ba675SRob Herring&bus_rightbus {
289724ba675SRob Herring	devfreq = <&bus_leftbus>;
290724ba675SRob Herring	status = "okay";
291724ba675SRob Herring};
292724ba675SRob Herring
293724ba675SRob Herring&bus_display {
294724ba675SRob Herring	devfreq = <&bus_leftbus>;
295724ba675SRob Herring	status = "okay";
296724ba675SRob Herring};
297724ba675SRob Herring
298724ba675SRob Herring&bus_fsys {
299724ba675SRob Herring	devfreq = <&bus_leftbus>;
300724ba675SRob Herring	status = "okay";
301724ba675SRob Herring};
302724ba675SRob Herring
303724ba675SRob Herring&bus_peri {
304724ba675SRob Herring	devfreq = <&bus_leftbus>;
305724ba675SRob Herring	status = "okay";
306724ba675SRob Herring};
307724ba675SRob Herring
308724ba675SRob Herring&bus_mfc {
309724ba675SRob Herring	devfreq = <&bus_leftbus>;
310724ba675SRob Herring	status = "okay";
311724ba675SRob Herring};
312724ba675SRob Herring
313724ba675SRob Herring&cpu0 {
314724ba675SRob Herring	cpu0-supply = <&buck2_reg>;
315724ba675SRob Herring};
316724ba675SRob Herring
317724ba675SRob Herring&cpu_thermal {
318724ba675SRob Herring	cooling-maps {
319724ba675SRob Herring		map0 {
320724ba675SRob Herring			/* Corresponds to 800MHz at freq_table */
321724ba675SRob Herring			cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
322724ba675SRob Herring					 <&cpu2 7 7>, <&cpu3 7 7>;
323724ba675SRob Herring		};
324724ba675SRob Herring		map1 {
325724ba675SRob Herring			/* Corresponds to 200MHz at freq_table */
326724ba675SRob Herring			cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
327724ba675SRob Herring					 <&cpu2 13 13>, <&cpu3 13 13>;
328724ba675SRob Herring		};
329724ba675SRob Herring	};
330724ba675SRob Herring};
331724ba675SRob Herring
332724ba675SRob Herring&exynos_usbphy {
333724ba675SRob Herring	status = "okay";
334724ba675SRob Herring};
335724ba675SRob Herring
336724ba675SRob Herring&fimd {
337724ba675SRob Herring	pinctrl-0 = <&lcd_clk &lcd_data24>;
338724ba675SRob Herring	pinctrl-names = "default";
339724ba675SRob Herring	#address-cells = <1>;
340724ba675SRob Herring	#size-cells = <0>;
341724ba675SRob Herring	status = "okay";
342724ba675SRob Herring
343724ba675SRob Herring	samsung,invert-vclk;
344724ba675SRob Herring
345724ba675SRob Herring	port@3 {
346724ba675SRob Herring		reg = <3>;
347724ba675SRob Herring
348724ba675SRob Herring		fimd_ep: endpoint {
349724ba675SRob Herring			remote-endpoint = <&lcd_ep>;
350724ba675SRob Herring		};
351724ba675SRob Herring	};
352724ba675SRob Herring};
353724ba675SRob Herring
354724ba675SRob Herring&gpu {
355724ba675SRob Herring	mali-supply = <&buck4_reg>;
356724ba675SRob Herring	status = "okay";
357724ba675SRob Herring};
358724ba675SRob Herring
359724ba675SRob Herring&hsotg {
360724ba675SRob Herring	vusb_a-supply = <&ldo12_reg>;
361724ba675SRob Herring	dr_mode = "peripheral";
362724ba675SRob Herring	status = "okay";
363724ba675SRob Herring};
364724ba675SRob Herring
365497b447cSMartin Jücker&i2c_1 {
366497b447cSMartin Jücker	samsung,i2c-sda-delay = <100>;
367497b447cSMartin Jücker	samsung,i2c-slave-addr = <0x10>;
368497b447cSMartin Jücker	samsung,i2c-max-bus-freq = <400000>;
369497b447cSMartin Jücker	pinctrl-0 = <&i2c1_bus>;
370497b447cSMartin Jücker	pinctrl-names = "default";
371497b447cSMartin Jücker	status = "okay";
372497b447cSMartin Jücker
373497b447cSMartin Jücker	accelerometer@19 {
374497b447cSMartin Jücker		compatible = "st,lsm330dlc-accel";
375497b447cSMartin Jücker		reg = <0x19>;
376497b447cSMartin Jücker		interrupt-parent = <&gpx0>;
377497b447cSMartin Jücker		interrupts = <0 IRQ_TYPE_EDGE_RISING>;
378497b447cSMartin Jücker		pinctrl-0 = <&accelerometer_irq>;
379497b447cSMartin Jücker		pinctrl-names = "default";
380497b447cSMartin Jücker		mount-matrix =	"1",  "0",  "0",
381497b447cSMartin Jücker				"0", "-1",  "0",
382497b447cSMartin Jücker				"0",  "0", "-1";
383497b447cSMartin Jücker	};
384497b447cSMartin Jücker
385497b447cSMartin Jücker	gyro@6b {
386497b447cSMartin Jücker		compatible = "st,lsm330dlc-gyro";
387497b447cSMartin Jücker		reg = <0x6b>;
388497b447cSMartin Jücker		interrupt-parent = <&gpx0>;
389497b447cSMartin Jücker		interrupts = <6 IRQ_TYPE_EDGE_RISING>;
390497b447cSMartin Jücker		pinctrl-0 = <&gyro_data_enable &gyro_irq>;
391497b447cSMartin Jücker		pinctrl-names = "default";
392497b447cSMartin Jücker		mount-matrix =	"1",  "0",  "0",
393497b447cSMartin Jücker				"0", "-1",  "0",
394497b447cSMartin Jücker				"0",  "0", "-1";
395497b447cSMartin Jücker	};
396497b447cSMartin Jücker};
397497b447cSMartin Jücker
398724ba675SRob Herring&i2c_3 {
399724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
400724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
401724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
402724ba675SRob Herring	pinctrl-0 = <&i2c3_bus>;
403724ba675SRob Herring	pinctrl-names = "default";
404724ba675SRob Herring	status = "okay";
405724ba675SRob Herring
406724ba675SRob Herring	touchscreen@4a {
407724ba675SRob Herring		compatible = "atmel,maxtouch";
408724ba675SRob Herring		reg = <0x4a>;
409724ba675SRob Herring		pinctrl-0 = <&tsp_rst &tsp_irq>;
410724ba675SRob Herring		pinctrl-names = "default";
411724ba675SRob Herring		interrupt-parent = <&gpm2>;
412724ba675SRob Herring		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
413724ba675SRob Herring		reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
414724ba675SRob Herring	};
415724ba675SRob Herring};
416724ba675SRob Herring
417724ba675SRob Herring&i2c_7 {
418724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
419724ba675SRob Herring	samsung,i2c-slave-addr = <0x10>;
420724ba675SRob Herring	samsung,i2c-max-bus-freq = <400000>;
421724ba675SRob Herring	pinctrl-0 = <&i2c7_bus>;
422724ba675SRob Herring	pinctrl-names = "default";
423724ba675SRob Herring	status = "okay";
424724ba675SRob Herring
425724ba675SRob Herring	max77686: pmic@9 {
426724ba675SRob Herring		compatible = "maxim,max77686";
427724ba675SRob Herring		interrupt-parent = <&gpx0>;
428724ba675SRob Herring		interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
429724ba675SRob Herring		pinctrl-0 = <&max77686_irq>;
430724ba675SRob Herring		pinctrl-names = "default";
431724ba675SRob Herring		wakeup-source;
432724ba675SRob Herring		reg = <0x09>;
433724ba675SRob Herring		#clock-cells = <1>;
434724ba675SRob Herring
435724ba675SRob Herring		voltage-regulators {
436724ba675SRob Herring			ldo1_reg: LDO1 {
437724ba675SRob Herring				regulator-name = "ldo1";
438724ba675SRob Herring				regulator-always-on;
439724ba675SRob Herring			};
440724ba675SRob Herring
441724ba675SRob Herring			ldo2_reg: LDO2 {
442724ba675SRob Herring				regulator-name = "ldo2";
443724ba675SRob Herring				regulator-always-on;
444724ba675SRob Herring			};
445724ba675SRob Herring
446724ba675SRob Herring			/* WM8994 audio */
447724ba675SRob Herring			ldo3_reg: LDO3 {
448724ba675SRob Herring				regulator-name = "VCC_1.8V_AP";
449724ba675SRob Herring				regulator-min-microvolt = <1800000>;
450724ba675SRob Herring				regulator-max-microvolt = <1800000>;
451724ba675SRob Herring				regulator-always-on;
452724ba675SRob Herring				regulator-boot-on;
453724ba675SRob Herring
454724ba675SRob Herring				regulator-state-mem {
455724ba675SRob Herring					regulator-on-in-suspend;
456724ba675SRob Herring				};
457724ba675SRob Herring			};
458724ba675SRob Herring
459724ba675SRob Herring			ldo4_reg: LDO4 {
460724ba675SRob Herring				regulator-name = "ldo4";
461724ba675SRob Herring				regulator-always-on;
462724ba675SRob Herring			};
463724ba675SRob Herring
464724ba675SRob Herring			ldo5_reg: LDO5 {
465724ba675SRob Herring				regulator-name = "VCC_1.8V_IO";
466724ba675SRob Herring				regulator-min-microvolt = <1800000>;
467724ba675SRob Herring				regulator-max-microvolt = <1800000>;
468724ba675SRob Herring
469724ba675SRob Herring				regulator-state-mem {
470724ba675SRob Herring					regulator-off-in-suspend;
471724ba675SRob Herring				};
472724ba675SRob Herring			};
473724ba675SRob Herring
474724ba675SRob Herring			ldo6_reg: LDO6 {
475724ba675SRob Herring				regulator-name = "ldo6";
476724ba675SRob Herring				regulator-always-on;
477724ba675SRob Herring			};
478724ba675SRob Herring
479724ba675SRob Herring			ldo7_reg: LDO7 {
480724ba675SRob Herring				regulator-name = "ldo7";
481724ba675SRob Herring				regulator-always-on;
482724ba675SRob Herring			};
483724ba675SRob Herring
484724ba675SRob Herring			/* CSI IP block */
485724ba675SRob Herring			ldo8_reg: LDO8 {
486724ba675SRob Herring				regulator-name = "VMIPI_1.0V";
487724ba675SRob Herring				regulator-min-microvolt = <1000000>;
488724ba675SRob Herring				regulator-max-microvolt = <1000000>;
489724ba675SRob Herring				regulator-always-on;
490724ba675SRob Herring				regulator-boot-on;
491724ba675SRob Herring
492724ba675SRob Herring				regulator-state-mem {
493724ba675SRob Herring					regulator-on-in-suspend;
494724ba675SRob Herring				};
495724ba675SRob Herring			};
496724ba675SRob Herring
497724ba675SRob Herring			/* IR LED on/off */
498724ba675SRob Herring			ldo9_reg: LDO9 {
499724ba675SRob Herring				regulator-name = "VLED_IC_1.9V";
500724ba675SRob Herring				regulator-min-microvolt = <1950000>;
501724ba675SRob Herring				regulator-max-microvolt = <1950000>;
502724ba675SRob Herring
503724ba675SRob Herring				regulator-state-mem {
504724ba675SRob Herring					regulator-off-in-suspend;
505724ba675SRob Herring				};
506724ba675SRob Herring			};
507724ba675SRob Herring
508724ba675SRob Herring			/* CSI IP block */
509724ba675SRob Herring			ldo10_reg: LDO10 {
510724ba675SRob Herring				regulator-name = "VMIPI_1.8V";
511724ba675SRob Herring				regulator-min-microvolt = <1800000>;
512724ba675SRob Herring				regulator-max-microvolt = <1800000>;
513724ba675SRob Herring				regulator-always-on;
514724ba675SRob Herring				regulator-boot-on;
515724ba675SRob Herring
516724ba675SRob Herring				regulator-state-mem {
517724ba675SRob Herring					regulator-on-in-suspend;
518724ba675SRob Herring				};
519724ba675SRob Herring			};
520724ba675SRob Herring
521724ba675SRob Herring			ldo11_reg: LDO11 {
522724ba675SRob Herring				regulator-name = "VABB1_1.9V";
523724ba675SRob Herring				regulator-min-microvolt = <1950000>;
524724ba675SRob Herring				regulator-max-microvolt = <1950000>;
525724ba675SRob Herring				regulator-always-on;
526724ba675SRob Herring				regulator-boot-on;
527724ba675SRob Herring
528724ba675SRob Herring				regulator-state-mem {
529724ba675SRob Herring					regulator-off-in-suspend;
530724ba675SRob Herring				};
531724ba675SRob Herring			};
532724ba675SRob Herring
533724ba675SRob Herring			/* USB OTG */
534724ba675SRob Herring			ldo12_reg: LDO12 {
535724ba675SRob Herring				regulator-name = "VUOTG_3.0V";
536724ba675SRob Herring				regulator-min-microvolt = <3000000>;
537724ba675SRob Herring				regulator-max-microvolt = <3000000>;
538724ba675SRob Herring				regulator-always-on;
539724ba675SRob Herring				regulator-boot-on;
540724ba675SRob Herring
541724ba675SRob Herring				regulator-state-mem {
542724ba675SRob Herring					regulator-on-in-suspend;
543724ba675SRob Herring				};
544724ba675SRob Herring			};
545724ba675SRob Herring
546724ba675SRob Herring			/* not connected */
547724ba675SRob Herring			ldo13_reg: LDO13 {
548724ba675SRob Herring				regulator-name = "ldo13";
549724ba675SRob Herring			};
550724ba675SRob Herring
551724ba675SRob Herring			ldo14_reg: LDO14 {
552724ba675SRob Herring				regulator-name = "VABB2_1.9V";
553724ba675SRob Herring				regulator-min-microvolt = <1950000>;
554724ba675SRob Herring				regulator-max-microvolt = <1950000>;
555724ba675SRob Herring				regulator-always-on;
556724ba675SRob Herring				regulator-boot-on;
557724ba675SRob Herring
558724ba675SRob Herring				regulator-state-mem {
559724ba675SRob Herring					regulator-off-in-suspend;
560724ba675SRob Herring				};
561724ba675SRob Herring			};
562724ba675SRob Herring
563724ba675SRob Herring			ldo15_reg: LDO15 {
564724ba675SRob Herring				regulator-name = "ldo15";
565724ba675SRob Herring				regulator-always-on;
566724ba675SRob Herring			};
567724ba675SRob Herring
568724ba675SRob Herring			ldo16_reg: LDO16 {
569724ba675SRob Herring				regulator-name = "ldo16";
570724ba675SRob Herring				regulator-always-on;
571724ba675SRob Herring			};
572724ba675SRob Herring
573724ba675SRob Herring			/* not connected */
574724ba675SRob Herring			ldo17_reg: LDO17 {
575724ba675SRob Herring				regulator-name = "ldo17";
576724ba675SRob Herring			};
577724ba675SRob Herring
578724ba675SRob Herring			/* Camera ISX012 */
579724ba675SRob Herring			ldo18_reg: LDO18 {
580724ba675SRob Herring				regulator-name = "CAM_IO_1.8V";
581724ba675SRob Herring				regulator-min-microvolt = <1800000>;
582724ba675SRob Herring				regulator-max-microvolt = <1800000>;
583724ba675SRob Herring
584724ba675SRob Herring				regulator-state-mem {
585724ba675SRob Herring					regulator-off-in-suspend;
586724ba675SRob Herring				};
587724ba675SRob Herring			};
588724ba675SRob Herring
589724ba675SRob Herring			/* Camera S5K6A3 */
590724ba675SRob Herring			ldo19_reg: LDO19 {
591724ba675SRob Herring				regulator-name = "VT_CORE_1.8V";
592724ba675SRob Herring				regulator-min-microvolt = <1800000>;
593724ba675SRob Herring				regulator-max-microvolt = <1800000>;
594724ba675SRob Herring
595724ba675SRob Herring				regulator-state-mem {
596724ba675SRob Herring					regulator-off-in-suspend;
597724ba675SRob Herring				};
598724ba675SRob Herring			};
599724ba675SRob Herring
600724ba675SRob Herring			/* not connected */
601724ba675SRob Herring			ldo20_reg: LDO20 {
602724ba675SRob Herring				regulator-name = "ldo20";
603724ba675SRob Herring			};
604724ba675SRob Herring
605724ba675SRob Herring			/* MMC2 */
606724ba675SRob Herring			ldo21_reg: LDO21 {
607724ba675SRob Herring				regulator-name = "VTF_2.8V";
608724ba675SRob Herring				regulator-min-microvolt = <2800000>;
609724ba675SRob Herring				regulator-max-microvolt = <2800000>;
610724ba675SRob Herring				maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
611724ba675SRob Herring			};
612724ba675SRob Herring
613724ba675SRob Herring			/* not connected */
614724ba675SRob Herring			ldo22_reg: LDO22 {
615724ba675SRob Herring				regulator-name = "ldo22";
616724ba675SRob Herring			};
617724ba675SRob Herring
618724ba675SRob Herring			/* ADC */
619724ba675SRob Herring			ldo23_reg: LDO23 {
620724ba675SRob Herring				regulator-name = "VDD_ADC_3.3V";
621724ba675SRob Herring				regulator-min-microvolt = <3300000>;
622724ba675SRob Herring				regulator-max-microvolt = <3300000>;
623724ba675SRob Herring				regulator-always-on;
624724ba675SRob Herring				regulator-boot-on;
625724ba675SRob Herring
626724ba675SRob Herring				regulator-state-mem {
627724ba675SRob Herring					regulator-off-in-suspend;
628724ba675SRob Herring				};
629724ba675SRob Herring			};
630724ba675SRob Herring
631724ba675SRob Herring			/* Camera S5K6A3 */
632724ba675SRob Herring			ldo24_reg: LDO24 {
633724ba675SRob Herring				regulator-name = "CAM_A2.8V";
634724ba675SRob Herring				regulator-min-microvolt = <2800000>;
635724ba675SRob Herring				regulator-max-microvolt = <2800000>;
636724ba675SRob Herring
637724ba675SRob Herring				regulator-state-mem {
638724ba675SRob Herring					regulator-off-in-suspend;
639724ba675SRob Herring				};
640724ba675SRob Herring			};
641724ba675SRob Herring
642724ba675SRob Herring			ldo25_reg: LDO25 {
643724ba675SRob Herring				regulator-name = "VLED_3.3V";
644724ba675SRob Herring				regulator-min-microvolt = <3300000>;
645724ba675SRob Herring				regulator-max-microvolt = <3300000>;
646724ba675SRob Herring
647724ba675SRob Herring				regulator-state-mem {
648724ba675SRob Herring					regulator-off-in-suspend;
649724ba675SRob Herring				};
650724ba675SRob Herring			};
651724ba675SRob Herring
652724ba675SRob Herring			/* Camera ISX012 */
653724ba675SRob Herring			ldo26_reg: LDO26 {
654724ba675SRob Herring				regulator-name = "3MP_AF_2.8V";
655724ba675SRob Herring				regulator-min-microvolt = <2800000>;
656724ba675SRob Herring				regulator-max-microvolt = <2800000>;
657724ba675SRob Herring
658724ba675SRob Herring				regulator-state-mem {
659724ba675SRob Herring					regulator-off-in-suspend;
660724ba675SRob Herring				};
661724ba675SRob Herring			};
662724ba675SRob Herring
663724ba675SRob Herring			buck1_reg: BUCK1 {
664724ba675SRob Herring				regulator-name = "VDD_MIF";
665724ba675SRob Herring				regulator-min-microvolt = <850000>;
666724ba675SRob Herring				regulator-max-microvolt = <1050000>;
667724ba675SRob Herring				regulator-always-on;
668724ba675SRob Herring				regulator-boot-on;
669724ba675SRob Herring			};
670724ba675SRob Herring
671724ba675SRob Herring			buck2_reg: BUCK2 {
672724ba675SRob Herring				regulator-name = "VDD_ARM";
673724ba675SRob Herring				regulator-min-microvolt = <850000>;
674724ba675SRob Herring				regulator-max-microvolt = <1500000>;
675724ba675SRob Herring				regulator-always-on;
676724ba675SRob Herring				regulator-boot-on;
677724ba675SRob Herring			};
678724ba675SRob Herring
679724ba675SRob Herring			buck3_reg: BUCK3 {
680724ba675SRob Herring				regulator-name = "VDD_INT";
681724ba675SRob Herring				regulator-min-microvolt = <850000>;
682724ba675SRob Herring				regulator-max-microvolt = <1100000>;
683724ba675SRob Herring				regulator-always-on;
684724ba675SRob Herring				regulator-boot-on;
685724ba675SRob Herring			};
686724ba675SRob Herring
687724ba675SRob Herring			buck4_reg: BUCK4 {
688724ba675SRob Herring				regulator-name = "VDD_G3D";
689724ba675SRob Herring				regulator-min-microvolt = <850000>;
690724ba675SRob Herring				regulator-max-microvolt = <1075000>;
691724ba675SRob Herring				regulator-boot-on;
692724ba675SRob Herring			};
693724ba675SRob Herring
694724ba675SRob Herring			buck5_reg: BUCK5 {
695724ba675SRob Herring				regulator-name = "buck5";
696724ba675SRob Herring				regulator-always-on;
697724ba675SRob Herring			};
698724ba675SRob Herring
699724ba675SRob Herring			buck6_reg: BUCK6 {
700724ba675SRob Herring				regulator-name = "buck6";
701724ba675SRob Herring				regulator-always-on;
702724ba675SRob Herring			};
703724ba675SRob Herring
704724ba675SRob Herring			buck7_reg: BUCK7 {
705724ba675SRob Herring				regulator-name = "buck7";
706724ba675SRob Herring				regulator-always-on;
707724ba675SRob Herring			};
708724ba675SRob Herring
709724ba675SRob Herring			/* not connected */
710724ba675SRob Herring			buck8_reg: BUCK8 {
711724ba675SRob Herring				regulator-name = "buck8";
712724ba675SRob Herring			};
713724ba675SRob Herring
714724ba675SRob Herring			buck9_reg: BUCK9 {
715724ba675SRob Herring				regulator-name = "3MP_CORE_1.2V";
716724ba675SRob Herring				regulator-min-microvolt = <1200000>;
717724ba675SRob Herring				regulator-max-microvolt = <1200000>;
718724ba675SRob Herring
719724ba675SRob Herring				regulator-state-mem {
720724ba675SRob Herring					regulator-off-in-suspend;
721724ba675SRob Herring				};
722724ba675SRob Herring			};
723724ba675SRob Herring		};
724724ba675SRob Herring	};
725724ba675SRob Herring};
726724ba675SRob Herring
727724ba675SRob Herring&mshc_0 {
728724ba675SRob Herring	broken-cd;
729724ba675SRob Herring	non-removable;
730724ba675SRob Herring	card-detect-delay = <200>;
731724ba675SRob Herring	clock-frequency = <400000000>;
732724ba675SRob Herring	samsung,dw-mshc-ciu-div = <0>;
733724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <2 3>;
734724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <1 2>;
735724ba675SRob Herring	mmc-ddr-1_8v;
736724ba675SRob Herring	pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
737724ba675SRob Herring	pinctrl-names = "default";
738724ba675SRob Herring	bus-width = <4>;
739724ba675SRob Herring	cap-mmc-highspeed;
740724ba675SRob Herring	cap-sd-highspeed;
741724ba675SRob Herring	status = "okay";
742724ba675SRob Herring};
743724ba675SRob Herring
744724ba675SRob Herring&pinctrl_0 {
745724ba675SRob Herring	pinctrl-names = "default";
746724ba675SRob Herring	pinctrl-0 = <&sleep0>;
747724ba675SRob Herring
748724ba675SRob Herring	tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
749724ba675SRob Herring		samsung,pins = "gpb-5";
750724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
751724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
752724ba675SRob Herring	};
753724ba675SRob Herring
754724ba675SRob Herring	tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
755724ba675SRob Herring		samsung,pins = "gpb-7";
756724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
757724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
758724ba675SRob Herring	};
759724ba675SRob Herring
760724ba675SRob Herring	lcd_enable: lcd-enable-pins {
761724ba675SRob Herring		samsung,pins = "gpc0-1";
762724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
763724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
764724ba675SRob Herring	};
765724ba675SRob Herring
766724ba675SRob Herring	sleep0: sleep-state {
767724ba675SRob Herring		PIN_SLP(gpa0-0, INPUT, NONE);
768724ba675SRob Herring		PIN_SLP(gpa0-1, OUT0, NONE);
769724ba675SRob Herring		PIN_SLP(gpa0-2, INPUT, NONE);
770724ba675SRob Herring		PIN_SLP(gpa0-3, INPUT, UP);
771724ba675SRob Herring		PIN_SLP(gpa0-4, INPUT, NONE);
772724ba675SRob Herring		PIN_SLP(gpa0-5, INPUT, DOWN);
773724ba675SRob Herring		PIN_SLP(gpa0-6, INPUT, DOWN);
774724ba675SRob Herring		PIN_SLP(gpa0-7, INPUT, UP);
775724ba675SRob Herring
776724ba675SRob Herring		PIN_SLP(gpa1-0, INPUT, DOWN);
777724ba675SRob Herring		PIN_SLP(gpa1-1, INPUT, DOWN);
778724ba675SRob Herring		PIN_SLP(gpa1-2, INPUT, DOWN);
779724ba675SRob Herring		PIN_SLP(gpa1-3, INPUT, DOWN);
780724ba675SRob Herring		PIN_SLP(gpa1-4, INPUT, DOWN);
781724ba675SRob Herring		PIN_SLP(gpa1-5, INPUT, DOWN);
782724ba675SRob Herring
783724ba675SRob Herring		PIN_SLP(gpb-0, INPUT, NONE);
784724ba675SRob Herring		PIN_SLP(gpb-1, INPUT, NONE);
785724ba675SRob Herring		PIN_SLP(gpb-2, INPUT, NONE);
786724ba675SRob Herring		PIN_SLP(gpb-3, INPUT, NONE);
787724ba675SRob Herring		PIN_SLP(gpb-4, INPUT, DOWN);
788724ba675SRob Herring		PIN_SLP(gpb-5, INPUT, DOWN);
789724ba675SRob Herring		PIN_SLP(gpb-6, INPUT, DOWN);
790724ba675SRob Herring		PIN_SLP(gpb-7, INPUT, DOWN);
791724ba675SRob Herring
792724ba675SRob Herring		PIN_SLP(gpc0-0, INPUT, DOWN);
793724ba675SRob Herring		PIN_SLP(gpc0-1, INPUT, DOWN);
794724ba675SRob Herring		PIN_SLP(gpc0-2, INPUT, DOWN);
795724ba675SRob Herring		PIN_SLP(gpc0-3, INPUT, DOWN);
796724ba675SRob Herring		PIN_SLP(gpc0-4, INPUT, DOWN);
797724ba675SRob Herring
798724ba675SRob Herring		PIN_SLP(gpc1-0, INPUT, UP);
799724ba675SRob Herring		PIN_SLP(gpc1-1, PREV, NONE);
800724ba675SRob Herring		PIN_SLP(gpc1-2, INPUT, UP);
801724ba675SRob Herring		PIN_SLP(gpc1-3, INPUT, UP);
802724ba675SRob Herring		PIN_SLP(gpc1-4, INPUT, UP);
803724ba675SRob Herring
804724ba675SRob Herring		PIN_SLP(gpd0-0, INPUT, DOWN);
805724ba675SRob Herring		PIN_SLP(gpd0-1, OUT0, NONE);
806724ba675SRob Herring		PIN_SLP(gpd0-2, INPUT, NONE);
807724ba675SRob Herring		PIN_SLP(gpd0-3, INPUT, NONE);
808724ba675SRob Herring
809724ba675SRob Herring		PIN_SLP(gpd1-0, INPUT, DOWN);
810724ba675SRob Herring		PIN_SLP(gpd1-1, INPUT, DOWN);
811724ba675SRob Herring		PIN_SLP(gpd1-2, INPUT, NONE);
812724ba675SRob Herring		PIN_SLP(gpd1-3, INPUT, NONE);
813724ba675SRob Herring
814724ba675SRob Herring		PIN_SLP(gpf0-0, OUT0, NONE);
815724ba675SRob Herring		PIN_SLP(gpf0-1, OUT0, NONE);
816724ba675SRob Herring		PIN_SLP(gpf0-2, OUT0, NONE);
817724ba675SRob Herring		PIN_SLP(gpf0-3, OUT0, NONE);
818724ba675SRob Herring		PIN_SLP(gpf0-4, OUT0, NONE);
819724ba675SRob Herring		PIN_SLP(gpf0-5, OUT0, NONE);
820724ba675SRob Herring		PIN_SLP(gpf0-6, OUT0, NONE);
821724ba675SRob Herring		PIN_SLP(gpf0-7, OUT0, NONE);
822724ba675SRob Herring
823724ba675SRob Herring		PIN_SLP(gpf1-0, OUT0, NONE);
824724ba675SRob Herring		PIN_SLP(gpf1-1, OUT0, NONE);
825724ba675SRob Herring		PIN_SLP(gpf1-2, OUT0, NONE);
826724ba675SRob Herring		PIN_SLP(gpf1-3, OUT0, NONE);
827724ba675SRob Herring		PIN_SLP(gpf1-4, OUT0, NONE);
828724ba675SRob Herring		PIN_SLP(gpf1-5, OUT0, NONE);
829724ba675SRob Herring		PIN_SLP(gpf1-6, OUT0, NONE);
830724ba675SRob Herring		PIN_SLP(gpf1-7, OUT0, NONE);
831724ba675SRob Herring
832724ba675SRob Herring		PIN_SLP(gpf2-0, OUT0, NONE);
833724ba675SRob Herring		PIN_SLP(gpf2-1, OUT0, NONE);
834724ba675SRob Herring		PIN_SLP(gpf2-2, OUT0, NONE);
835724ba675SRob Herring		PIN_SLP(gpf2-3, OUT0, NONE);
836724ba675SRob Herring		PIN_SLP(gpf2-4, OUT0, NONE);
837724ba675SRob Herring		PIN_SLP(gpf2-5, OUT0, NONE);
838724ba675SRob Herring		PIN_SLP(gpf2-6, OUT0, NONE);
839724ba675SRob Herring		PIN_SLP(gpf2-7, OUT0, NONE);
840724ba675SRob Herring
841724ba675SRob Herring		PIN_SLP(gpf3-0, OUT0, NONE);
842724ba675SRob Herring		PIN_SLP(gpf3-1, OUT0, NONE);
843724ba675SRob Herring		PIN_SLP(gpf3-2, OUT0, NONE);
844724ba675SRob Herring		PIN_SLP(gpf3-3, OUT0, NONE);
845724ba675SRob Herring		PIN_SLP(gpf3-4, OUT0, NONE);
846724ba675SRob Herring		PIN_SLP(gpf3-5, OUT0, NONE);
847724ba675SRob Herring
848724ba675SRob Herring		PIN_SLP(gpj0-0, INPUT, DOWN);
849724ba675SRob Herring		PIN_SLP(gpj0-1, INPUT, DOWN);
850724ba675SRob Herring		PIN_SLP(gpj0-2, INPUT, DOWN);
851724ba675SRob Herring		PIN_SLP(gpj0-3, PREV, NONE);
852724ba675SRob Herring		PIN_SLP(gpj0-4, PREV, NONE);
853724ba675SRob Herring		PIN_SLP(gpj0-5, OUT0, NONE);
854724ba675SRob Herring		PIN_SLP(gpj0-6, OUT0, NONE);
855724ba675SRob Herring		PIN_SLP(gpj0-7, OUT0, NONE);
856724ba675SRob Herring
857724ba675SRob Herring		PIN_SLP(gpj1-0, OUT0, NONE);
858724ba675SRob Herring		PIN_SLP(gpj1-1, INPUT, DOWN);
859724ba675SRob Herring		PIN_SLP(gpj1-2, PREV, NONE);
860724ba675SRob Herring		PIN_SLP(gpj1-3, OUT0, NONE);
861724ba675SRob Herring	};
862724ba675SRob Herring};
863724ba675SRob Herring
864724ba675SRob Herring&pinctrl_1 {
865724ba675SRob Herring	pinctrl-names = "default";
866724ba675SRob Herring	pinctrl-0 = <&sleep1>;
867724ba675SRob Herring
868724ba675SRob Herring	sd3_wifi: sd3-wifi-pins {
869724ba675SRob Herring		samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
870724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
871724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
872724ba675SRob Herring	};
873724ba675SRob Herring
874724ba675SRob Herring	bt_shutdown: bt-shutdown-pins {
875724ba675SRob Herring		samsung,pins = "gpl0-6";
876724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
877724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
878724ba675SRob Herring	};
879724ba675SRob Herring
880497b447cSMartin Jücker	gyro_data_enable: gyro-data-enable-pins {
881497b447cSMartin Jücker		samsung,pins = "gpl2-0";
882497b447cSMartin Jücker		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
883497b447cSMartin Jücker		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
884497b447cSMartin Jücker	};
885497b447cSMartin Jücker
886724ba675SRob Herring	uart_sel: uart-sel-pins {
887724ba675SRob Herring		samsung,pins = "gpl2-7";
888724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
889724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
890724ba675SRob Herring		samsung,pin-val = <1>;
891724ba675SRob Herring		/* 0 = CP, 1 = AP (serial output) */
892724ba675SRob Herring	};
893724ba675SRob Herring
894724ba675SRob Herring	led_bl_reset: led-bl-reset-pins {
895724ba675SRob Herring		samsung,pins = "gpm0-1";
896724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
897724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
898724ba675SRob Herring	};
899724ba675SRob Herring
900724ba675SRob Herring	tsp_rst: tsp-rst-pins {
901724ba675SRob Herring		samsung,pins = "gpm0-4";
902724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
903724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
904724ba675SRob Herring	};
905724ba675SRob Herring
906724ba675SRob Herring	lvds_nshdn: lvds-nshdn-pins {
907724ba675SRob Herring		samsung,pins = "gpm0-5";
908724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
909724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
910724ba675SRob Herring	};
911724ba675SRob Herring
912724ba675SRob Herring	tsp_irq: tsp-irq-pins {
913724ba675SRob Herring		samsung,pins = "gpm2-3";
914724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
915724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
916724ba675SRob Herring	};
917724ba675SRob Herring
918724ba675SRob Herring	wifi_reset: wifi-reset-pins {
919724ba675SRob Herring		samsung,pins = "gpm3-5";
920724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
921724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
922724ba675SRob Herring	};
923724ba675SRob Herring
924724ba675SRob Herring	tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
925724ba675SRob Herring		samsung,pins = "gpm4-5";
926724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
927724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
928724ba675SRob Herring	};
929724ba675SRob Herring
930724ba675SRob Herring	ak8975_irq: ak8975-irq-pins {
931724ba675SRob Herring		samsung,pins = "gpm4-7";
932724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
933724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
934724ba675SRob Herring	};
935724ba675SRob Herring
936497b447cSMartin Jücker	accelerometer_irq: accelerometer-irq-pins {
937497b447cSMartin Jücker		samsung,pins = "gpx0-0";
938497b447cSMartin Jücker		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
939497b447cSMartin Jücker		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
940497b447cSMartin Jücker	};
941497b447cSMartin Jücker
942724ba675SRob Herring	stmpe_adc_irq: stmpe-adc-irq-pins {
943724ba675SRob Herring		samsung,pins = "gpx0-1";
944724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
945724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
946724ba675SRob Herring	};
947724ba675SRob Herring
948497b447cSMartin Jücker	gyro_irq: gyro-irq-pins {
949497b447cSMartin Jücker		samsung,pins = "gpx0-6";
950497b447cSMartin Jücker		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
951497b447cSMartin Jücker		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
952497b447cSMartin Jücker	};
953497b447cSMartin Jücker
954724ba675SRob Herring	max77686_irq: max77686-irq-pins {
955724ba675SRob Herring		samsung,pins = "gpx0-7";
956724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
957724ba675SRob Herring	};
958724ba675SRob Herring
959724ba675SRob Herring	gpio_keys: gpio-keys-pins {
960724ba675SRob Herring		samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
961724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
962724ba675SRob Herring	};
963724ba675SRob Herring
964724ba675SRob Herring	fuel_alert_irq: fuel-alert-irq-pins {
965724ba675SRob Herring		samsung,pins = "gpx2-3";
966724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
967724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
968724ba675SRob Herring	};
969724ba675SRob Herring
970724ba675SRob Herring	wifi_host_wake: wifi-host-wake-pins {
971724ba675SRob Herring		samsung,pins = "gpx2-5";
972724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
973724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
974724ba675SRob Herring	};
975724ba675SRob Herring
976724ba675SRob Herring	bt_host_wakeup: bt-host-wakeup-pins {
977724ba675SRob Herring		samsung,pins = "gpx2-6";
978724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
979724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
980724ba675SRob Herring	};
981724ba675SRob Herring
982724ba675SRob Herring	bt_device_wakeup: bt-device-wakeup-pins {
983724ba675SRob Herring		samsung,pins = "gpx3-1";
984724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
985724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
986724ba675SRob Herring	};
987724ba675SRob Herring
988724ba675SRob Herring	sdhci2_cd: sdhci2-cd-pins {
989724ba675SRob Herring		samsung,pins = "gpx3-4";
990724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
991724ba675SRob Herring	};
992724ba675SRob Herring
993724ba675SRob Herring	sleep1: sleep-state {
994724ba675SRob Herring		PIN_SLP(gpk0-0, PREV, NONE);
995724ba675SRob Herring		PIN_SLP(gpk0-1, PREV, NONE);
996724ba675SRob Herring		PIN_SLP(gpk0-2, PREV, NONE);
997724ba675SRob Herring		PIN_SLP(gpk0-3, PREV, NONE);
998724ba675SRob Herring		PIN_SLP(gpk0-4, PREV, NONE);
999724ba675SRob Herring		PIN_SLP(gpk0-5, PREV, NONE);
1000724ba675SRob Herring		PIN_SLP(gpk0-6, PREV, NONE);
1001724ba675SRob Herring
1002724ba675SRob Herring		PIN_SLP(gpk1-0, INPUT, DOWN);
1003724ba675SRob Herring		PIN_SLP(gpk1-1, INPUT, DOWN);
1004724ba675SRob Herring		PIN_SLP(gpk1-2, INPUT, DOWN);
1005724ba675SRob Herring		PIN_SLP(gpk1-3, PREV, NONE);
1006724ba675SRob Herring		PIN_SLP(gpk1-4, PREV, NONE);
1007724ba675SRob Herring		PIN_SLP(gpk1-5, PREV, NONE);
1008724ba675SRob Herring		PIN_SLP(gpk1-6, PREV, NONE);
1009724ba675SRob Herring
1010724ba675SRob Herring		PIN_SLP(gpk2-0, INPUT, DOWN);
1011724ba675SRob Herring		PIN_SLP(gpk2-1, INPUT, DOWN);
1012724ba675SRob Herring		PIN_SLP(gpk2-2, INPUT, DOWN);
1013724ba675SRob Herring		PIN_SLP(gpk2-3, INPUT, DOWN);
1014724ba675SRob Herring		PIN_SLP(gpk2-4, INPUT, DOWN);
1015724ba675SRob Herring		PIN_SLP(gpk2-5, INPUT, DOWN);
1016724ba675SRob Herring		PIN_SLP(gpk2-6, INPUT, DOWN);
1017724ba675SRob Herring
1018724ba675SRob Herring		PIN_SLP(gpk3-0, OUT0, NONE);
1019724ba675SRob Herring		PIN_SLP(gpk3-1, INPUT, NONE);
1020724ba675SRob Herring		PIN_SLP(gpk3-2, INPUT, DOWN);
1021724ba675SRob Herring		PIN_SLP(gpk3-3, INPUT, NONE);
1022724ba675SRob Herring		PIN_SLP(gpk3-4, INPUT, NONE);
1023724ba675SRob Herring		PIN_SLP(gpk3-5, INPUT, NONE);
1024724ba675SRob Herring		PIN_SLP(gpk3-6, INPUT, NONE);
1025724ba675SRob Herring
1026724ba675SRob Herring		PIN_SLP(gpl0-0, OUT0, NONE);
1027724ba675SRob Herring		PIN_SLP(gpl0-1, INPUT, NONE);
1028724ba675SRob Herring		PIN_SLP(gpl0-2, INPUT, NONE);
1029724ba675SRob Herring		PIN_SLP(gpl0-3, INPUT, DOWN);
1030724ba675SRob Herring		PIN_SLP(gpl0-4, PREV, NONE);
1031724ba675SRob Herring		PIN_SLP(gpl0-6, PREV, NONE);
1032724ba675SRob Herring
1033724ba675SRob Herring		PIN_SLP(gpl1-0, OUT0, NONE);
1034724ba675SRob Herring		PIN_SLP(gpl1-1, OUT0, NONE);
1035724ba675SRob Herring
1036724ba675SRob Herring		PIN_SLP(gpl2-0, INPUT, DOWN);
1037724ba675SRob Herring		PIN_SLP(gpl2-1, INPUT, DOWN);
1038724ba675SRob Herring		PIN_SLP(gpl2-2, INPUT, DOWN);
1039724ba675SRob Herring		PIN_SLP(gpl2-3, INPUT, DOWN);
1040724ba675SRob Herring		PIN_SLP(gpl2-4, OUT0, NONE);
1041724ba675SRob Herring		PIN_SLP(gpl2-5, INPUT, DOWN);
1042724ba675SRob Herring		PIN_SLP(gpl2-6, PREV, NONE);
1043724ba675SRob Herring		PIN_SLP(gpl2-7, PREV, NONE);
1044724ba675SRob Herring
1045724ba675SRob Herring		PIN_SLP(gpm0-0, PREV, NONE);
1046724ba675SRob Herring		PIN_SLP(gpm0-1, OUT0, NONE);
1047724ba675SRob Herring		PIN_SLP(gpm0-2, INPUT, DOWN);
1048724ba675SRob Herring		PIN_SLP(gpm0-3, INPUT, NONE);
1049724ba675SRob Herring		PIN_SLP(gpm0-4, OUT0, NONE);
1050724ba675SRob Herring		PIN_SLP(gpm0-5, OUT0, NONE);
1051724ba675SRob Herring		PIN_SLP(gpm0-6, INPUT, DOWN);
1052724ba675SRob Herring		PIN_SLP(gpm0-7, OUT0, NONE);
1053724ba675SRob Herring
1054724ba675SRob Herring		PIN_SLP(gpm1-0, INPUT, NONE);
1055724ba675SRob Herring		PIN_SLP(gpm1-1, INPUT, NONE);
1056724ba675SRob Herring		PIN_SLP(gpm1-2, INPUT, NONE);
1057724ba675SRob Herring		PIN_SLP(gpm1-3, INPUT, NONE);
1058724ba675SRob Herring		PIN_SLP(gpm1-4, INPUT, NONE);
1059724ba675SRob Herring		PIN_SLP(gpm1-5, INPUT, NONE);
1060724ba675SRob Herring		PIN_SLP(gpm1-6, INPUT, DOWN);
1061724ba675SRob Herring
1062724ba675SRob Herring		PIN_SLP(gpm2-0, INPUT, NONE);
1063724ba675SRob Herring		PIN_SLP(gpm2-1, INPUT, NONE);
1064724ba675SRob Herring		PIN_SLP(gpm2-2, OUT0, NONE);
1065724ba675SRob Herring		PIN_SLP(gpm2-3, OUT0, DOWN);
1066724ba675SRob Herring		PIN_SLP(gpm2-4, INPUT, DOWN);
1067724ba675SRob Herring
1068724ba675SRob Herring		PIN_SLP(gpm3-0, PREV, NONE);
1069724ba675SRob Herring		PIN_SLP(gpm3-1, PREV, NONE);
1070724ba675SRob Herring		PIN_SLP(gpm3-2, PREV, NONE);
1071724ba675SRob Herring		PIN_SLP(gpm3-3, OUT1, NONE);
1072724ba675SRob Herring		PIN_SLP(gpm3-4, OUT0, DOWN);
1073724ba675SRob Herring		PIN_SLP(gpm3-5, PREV, NONE);
1074724ba675SRob Herring		PIN_SLP(gpm3-6, PREV, NONE);
1075724ba675SRob Herring		PIN_SLP(gpm3-7, OUT0, NONE);
1076724ba675SRob Herring
1077724ba675SRob Herring		PIN_SLP(gpm4-0, INPUT, NONE);
1078724ba675SRob Herring		PIN_SLP(gpm4-1, INPUT, NONE);
1079724ba675SRob Herring		PIN_SLP(gpm4-2, INPUT, DOWN);
1080724ba675SRob Herring		PIN_SLP(gpm4-3, INPUT, DOWN);
1081724ba675SRob Herring		PIN_SLP(gpm4-4, PREV, NONE);
1082724ba675SRob Herring		PIN_SLP(gpm4-5, OUT0, NONE);
1083724ba675SRob Herring		PIN_SLP(gpm4-6, OUT0, NONE);
1084724ba675SRob Herring		PIN_SLP(gpm4-7, INPUT, DOWN);
1085724ba675SRob Herring
1086724ba675SRob Herring		PIN_SLP(gpy0-0, INPUT, DOWN);
1087724ba675SRob Herring		PIN_SLP(gpy0-1, INPUT, DOWN);
1088724ba675SRob Herring		PIN_SLP(gpy0-2, INPUT, NONE);
1089724ba675SRob Herring		PIN_SLP(gpy0-3, INPUT, NONE);
1090724ba675SRob Herring		PIN_SLP(gpy0-4, INPUT, NONE);
1091724ba675SRob Herring		PIN_SLP(gpy0-5, INPUT, NONE);
1092724ba675SRob Herring
1093724ba675SRob Herring		PIN_SLP(gpy1-0, INPUT, DOWN);
1094724ba675SRob Herring		PIN_SLP(gpy1-1, INPUT, DOWN);
1095724ba675SRob Herring		PIN_SLP(gpy1-2, INPUT, DOWN);
1096724ba675SRob Herring		PIN_SLP(gpy1-3, INPUT, DOWN);
1097724ba675SRob Herring
1098724ba675SRob Herring		PIN_SLP(gpy2-0, PREV, NONE);
1099724ba675SRob Herring		PIN_SLP(gpy2-1, INPUT, DOWN);
1100724ba675SRob Herring		PIN_SLP(gpy2-2, INPUT, NONE);
1101724ba675SRob Herring		PIN_SLP(gpy2-3, INPUT, NONE);
1102724ba675SRob Herring		PIN_SLP(gpy2-4, INPUT, NONE);
1103724ba675SRob Herring		PIN_SLP(gpy2-5, INPUT, NONE);
1104724ba675SRob Herring
1105724ba675SRob Herring		PIN_SLP(gpy3-0, INPUT, DOWN);
1106724ba675SRob Herring		PIN_SLP(gpy3-1, INPUT, DOWN);
1107724ba675SRob Herring		PIN_SLP(gpy3-2, INPUT, DOWN);
1108724ba675SRob Herring		PIN_SLP(gpy3-3, INPUT, DOWN);
1109724ba675SRob Herring		PIN_SLP(gpy3-4, INPUT, DOWN);
1110724ba675SRob Herring		PIN_SLP(gpy3-5, INPUT, DOWN);
1111724ba675SRob Herring		PIN_SLP(gpy3-6, INPUT, DOWN);
1112724ba675SRob Herring		PIN_SLP(gpy3-7, INPUT, DOWN);
1113724ba675SRob Herring
1114724ba675SRob Herring		PIN_SLP(gpy4-0, INPUT, DOWN);
1115724ba675SRob Herring		PIN_SLP(gpy4-1, INPUT, DOWN);
1116724ba675SRob Herring		PIN_SLP(gpy4-2, INPUT, DOWN);
1117724ba675SRob Herring		PIN_SLP(gpy4-3, INPUT, DOWN);
1118724ba675SRob Herring		PIN_SLP(gpy4-4, INPUT, DOWN);
1119724ba675SRob Herring		PIN_SLP(gpy4-5, INPUT, DOWN);
1120724ba675SRob Herring		PIN_SLP(gpy4-6, INPUT, DOWN);
1121724ba675SRob Herring		PIN_SLP(gpy4-7, INPUT, DOWN);
1122724ba675SRob Herring
1123724ba675SRob Herring		PIN_SLP(gpy5-0, INPUT, DOWN);
1124724ba675SRob Herring		PIN_SLP(gpy5-1, INPUT, DOWN);
1125724ba675SRob Herring		PIN_SLP(gpy5-2, INPUT, DOWN);
1126724ba675SRob Herring		PIN_SLP(gpy5-3, INPUT, DOWN);
1127724ba675SRob Herring		PIN_SLP(gpy5-4, INPUT, DOWN);
1128724ba675SRob Herring		PIN_SLP(gpy5-5, INPUT, DOWN);
1129724ba675SRob Herring		PIN_SLP(gpy5-6, INPUT, DOWN);
1130724ba675SRob Herring		PIN_SLP(gpy5-7, INPUT, DOWN);
1131724ba675SRob Herring
1132724ba675SRob Herring		PIN_SLP(gpy6-0, INPUT, DOWN);
1133724ba675SRob Herring		PIN_SLP(gpy6-1, INPUT, DOWN);
1134724ba675SRob Herring		PIN_SLP(gpy6-2, INPUT, DOWN);
1135724ba675SRob Herring		PIN_SLP(gpy6-3, INPUT, DOWN);
1136724ba675SRob Herring		PIN_SLP(gpy6-4, INPUT, DOWN);
1137724ba675SRob Herring		PIN_SLP(gpy6-5, INPUT, DOWN);
1138724ba675SRob Herring		PIN_SLP(gpy6-6, INPUT, DOWN);
1139724ba675SRob Herring		PIN_SLP(gpy6-7, INPUT, DOWN);
1140724ba675SRob Herring	};
1141724ba675SRob Herring};
1142724ba675SRob Herring
1143724ba675SRob Herring&pinctrl_2 {
1144724ba675SRob Herring	pinctrl-names = "default";
1145724ba675SRob Herring	pinctrl-0 = <&sleep2>;
1146724ba675SRob Herring
1147724ba675SRob Herring	sleep2: sleep-state {
1148724ba675SRob Herring		PIN_SLP(gpz-0, INPUT, DOWN);
1149724ba675SRob Herring		PIN_SLP(gpz-1, INPUT, DOWN);
1150724ba675SRob Herring		PIN_SLP(gpz-2, INPUT, DOWN);
1151724ba675SRob Herring		PIN_SLP(gpz-3, INPUT, DOWN);
1152724ba675SRob Herring		PIN_SLP(gpz-4, INPUT, DOWN);
1153724ba675SRob Herring		PIN_SLP(gpz-5, INPUT, DOWN);
1154724ba675SRob Herring		PIN_SLP(gpz-6, INPUT, DOWN);
1155724ba675SRob Herring	};
1156724ba675SRob Herring};
1157724ba675SRob Herring
1158724ba675SRob Herring&pinctrl_3 {
1159724ba675SRob Herring	pinctrl-names = "default";
1160724ba675SRob Herring	pinctrl-0 = <&sleep3>;
1161724ba675SRob Herring
1162724ba675SRob Herring	sleep3: sleep-state {
1163724ba675SRob Herring		PIN_SLP(gpv0-0, INPUT, DOWN);
1164724ba675SRob Herring		PIN_SLP(gpv0-1, INPUT, DOWN);
1165724ba675SRob Herring		PIN_SLP(gpv0-2, INPUT, DOWN);
1166724ba675SRob Herring		PIN_SLP(gpv0-3, INPUT, DOWN);
1167724ba675SRob Herring		PIN_SLP(gpv0-4, INPUT, DOWN);
1168724ba675SRob Herring		PIN_SLP(gpv0-5, INPUT, DOWN);
1169724ba675SRob Herring		PIN_SLP(gpv0-6, INPUT, DOWN);
1170724ba675SRob Herring		PIN_SLP(gpv0-7, INPUT, DOWN);
1171724ba675SRob Herring
1172724ba675SRob Herring		PIN_SLP(gpv1-0, INPUT, DOWN);
1173724ba675SRob Herring		PIN_SLP(gpv1-1, INPUT, DOWN);
1174724ba675SRob Herring		PIN_SLP(gpv1-2, INPUT, DOWN);
1175724ba675SRob Herring		PIN_SLP(gpv1-3, INPUT, DOWN);
1176724ba675SRob Herring		PIN_SLP(gpv1-4, INPUT, DOWN);
1177724ba675SRob Herring		PIN_SLP(gpv1-5, INPUT, DOWN);
1178724ba675SRob Herring		PIN_SLP(gpv1-6, INPUT, DOWN);
1179724ba675SRob Herring		PIN_SLP(gpv1-7, INPUT, DOWN);
1180724ba675SRob Herring
1181724ba675SRob Herring		PIN_SLP(gpv2-0, INPUT, DOWN);
1182724ba675SRob Herring		PIN_SLP(gpv2-1, INPUT, DOWN);
1183724ba675SRob Herring		PIN_SLP(gpv2-2, INPUT, DOWN);
1184724ba675SRob Herring		PIN_SLP(gpv2-3, INPUT, DOWN);
1185724ba675SRob Herring		PIN_SLP(gpv2-4, INPUT, DOWN);
1186724ba675SRob Herring		PIN_SLP(gpv2-5, INPUT, DOWN);
1187724ba675SRob Herring		PIN_SLP(gpv2-6, INPUT, DOWN);
1188724ba675SRob Herring		PIN_SLP(gpv2-7, INPUT, DOWN);
1189724ba675SRob Herring
1190724ba675SRob Herring		PIN_SLP(gpv3-0, INPUT, DOWN);
1191724ba675SRob Herring		PIN_SLP(gpv3-1, INPUT, DOWN);
1192724ba675SRob Herring		PIN_SLP(gpv3-2, INPUT, DOWN);
1193724ba675SRob Herring		PIN_SLP(gpv3-3, INPUT, DOWN);
1194724ba675SRob Herring		PIN_SLP(gpv3-4, INPUT, DOWN);
1195724ba675SRob Herring		PIN_SLP(gpv3-5, INPUT, DOWN);
1196724ba675SRob Herring		PIN_SLP(gpv3-6, INPUT, DOWN);
1197724ba675SRob Herring		PIN_SLP(gpv3-7, INPUT, DOWN);
1198724ba675SRob Herring
1199724ba675SRob Herring		PIN_SLP(gpv4-0, INPUT, DOWN);
1200724ba675SRob Herring		PIN_SLP(gpv4-1, INPUT, DOWN);
1201724ba675SRob Herring	};
1202724ba675SRob Herring};
1203724ba675SRob Herring
1204724ba675SRob Herring&pmu_system_controller {
1205724ba675SRob Herring	assigned-clocks = <&pmu_system_controller 0>;
1206724ba675SRob Herring	assigned-clock-parents = <&clock CLK_XUSBXTI>;
1207724ba675SRob Herring};
1208724ba675SRob Herring
1209724ba675SRob Herring&pwm {
1210724ba675SRob Herring	pinctrl-0 = <&pwm1_out>;
1211724ba675SRob Herring	pinctrl-names = "default";
1212724ba675SRob Herring	samsung,pwm-outputs = <1>;
1213724ba675SRob Herring	status = "okay";
1214724ba675SRob Herring};
1215724ba675SRob Herring
1216724ba675SRob Herring&rtc {
1217724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1218724ba675SRob Herring	clock-names = "rtc", "rtc_src";
1219724ba675SRob Herring	status = "okay";
1220724ba675SRob Herring};
1221724ba675SRob Herring
1222724ba675SRob Herring&sdhci_2 {
1223724ba675SRob Herring	bus-width = <4>;
1224724ba675SRob Herring	cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1225724ba675SRob Herring	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1226724ba675SRob Herring	pinctrl-names = "default";
1227724ba675SRob Herring	vmmc-supply = <&ldo21_reg>;
1228724ba675SRob Herring	status = "okay";
1229724ba675SRob Herring};
1230724ba675SRob Herring
1231724ba675SRob Herring&sdhci_3 {
1232724ba675SRob Herring	#address-cells = <1>;
1233724ba675SRob Herring	#size-cells = <0>;
1234724ba675SRob Herring	non-removable;
1235724ba675SRob Herring	bus-width = <4>;
1236724ba675SRob Herring	mmc-pwrseq = <&wlan_pwrseq>;
1237724ba675SRob Herring
1238724ba675SRob Herring	pinctrl-names = "default";
1239724ba675SRob Herring	pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
1240724ba675SRob Herring	status = "okay";
1241724ba675SRob Herring
1242724ba675SRob Herring	wifi@1 {
1243724ba675SRob Herring		compatible = "brcm,bcm4329-fmac";
1244724ba675SRob Herring		reg = <0x1>;
1245724ba675SRob Herring		pinctrl-names = "default";
1246724ba675SRob Herring		pinctrl-0 = <&wifi_host_wake>;
1247724ba675SRob Herring		interrupt-parent = <&gpx2>;
1248724ba675SRob Herring		interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1249724ba675SRob Herring		interrupt-names = "host-wake";
1250724ba675SRob Herring	};
1251724ba675SRob Herring};
1252724ba675SRob Herring
1253724ba675SRob Herring&serial_0 {
1254724ba675SRob Herring	pinctrl-0 = <&uart0_data &uart0_fctl>;
1255724ba675SRob Herring	pinctrl-names = "default";
1256724ba675SRob Herring	status = "okay";
1257724ba675SRob Herring
1258724ba675SRob Herring	bluetooth {
1259724ba675SRob Herring		compatible = "brcm,bcm4330-bt";
1260724ba675SRob Herring		pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1261724ba675SRob Herring		pinctrl-names = "default";
1262724ba675SRob Herring
1263724ba675SRob Herring		max-speed = <2000000>;
1264724ba675SRob Herring		shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1265724ba675SRob Herring		device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1266724ba675SRob Herring		host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1267724ba675SRob Herring		clocks = <&max77686 MAX77686_CLK_PMIC>;
1268724ba675SRob Herring		clock-names = "lpo";
1269724ba675SRob Herring	};
1270724ba675SRob Herring};
1271724ba675SRob Herring
1272724ba675SRob Herring&serial_2 {
1273724ba675SRob Herring	pinctrl-0 = <&uart_sel>;
1274724ba675SRob Herring	pinctrl-names = "default";
1275724ba675SRob Herring	status = "okay";
1276724ba675SRob Herring};
1277724ba675SRob Herring
1278724ba675SRob Herring&tmu {
1279724ba675SRob Herring	status = "okay";
1280724ba675SRob Herring};
1281