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