blob: 3de457393416fbb417830648b116a2fb58c64bcd [file] [log] [blame]
Tomasz Figa15dfdfa2013-07-24 13:41:45 +09001/*
2 * Samsung's Exynos4412 based Trats 2 board device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * Device tree source file for Samsung's Trats 2 board which is based on
8 * Samsung's Exynos4412 SoC.
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13*/
14
15/dts-v1/;
16#include "exynos4412.dtsi"
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +090017#include <dt-bindings/gpio/gpio.h>
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +090018#include <dt-bindings/interrupt-controller/irq.h>
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090019
20/ {
21 model = "Samsung Trats 2 based on Exynos4412";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090022 compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090023
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +090024 aliases {
Tomasz Stanislawski6af2ba92014-05-09 05:58:59 +090025 i2c9 = &i2c_ak8975;
Beomho Seo85cb4e02014-05-22 07:56:53 +090026 i2c10 = &i2c_cm36651;
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +090027 i2c11 = &i2c_max77693;
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +090028 i2c12 = &i2c_max77693_fuel;
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +090029 };
30
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090031 memory {
32 reg = <0x40000000 0x40000000>;
33 };
34
35 chosen {
36 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
37 };
38
39 firmware@0204F000 {
40 compatible = "samsung,secure-firmware";
41 reg = <0x0204F000 0x1000>;
42 };
43
44 fixed-rate-clocks {
45 xxti {
46 compatible = "samsung,clock-xxti", "fixed-clock";
47 clock-frequency = <0>;
48 };
49
50 xusbxti {
51 compatible = "samsung,clock-xusbxti", "fixed-clock";
52 clock-frequency = <24000000>;
53 };
54 };
55
56 regulators {
57 compatible = "simple-bus";
58 #address-cells = <1>;
59 #size-cells = <0>;
60
Sylwester Nawrockib4fec642013-08-06 02:49:44 +090061 cam_io_reg: voltage-regulator-1 {
62 compatible = "regulator-fixed";
63 regulator-name = "CAM_SENSOR_A";
64 regulator-min-microvolt = <2800000>;
65 regulator-max-microvolt = <2800000>;
66 gpio = <&gpm0 2 0>;
67 enable-active-high;
68 };
69
Andrzej Hajda420ae842014-03-28 12:52:45 +010070 lcd_vdd3_reg: voltage-regulator-2 {
71 compatible = "regulator-fixed";
72 regulator-name = "LCD_VDD_2.2V";
73 regulator-min-microvolt = <2200000>;
74 regulator-max-microvolt = <2200000>;
75 gpio = <&gpc0 1 0>;
76 enable-active-high;
77 };
78
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +090079 cam_af_reg: voltage-regulator-3 {
80 compatible = "regulator-fixed";
81 regulator-name = "CAM_AF";
82 regulator-min-microvolt = <2800000>;
83 regulator-max-microvolt = <2800000>;
84 gpio = <&gpm0 4 0>;
85 enable-active-high;
86 };
87
Beomho Seo85cb4e02014-05-22 07:56:53 +090088 ps_als_reg: voltage-regulator-5 {
89 compatible = "regulator-fixed";
90 regulator-name = "LED_A_3.0V";
91 regulator-min-microvolt = <3000000>;
92 regulator-max-microvolt = <3000000>;
93 gpio = <&gpj0 5 0>;
94 enable-active-high;
95 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +090096 };
97
98 gpio-keys {
99 compatible = "gpio-keys";
100
101 key-down {
Beomho Seo172ff6c2014-05-22 07:57:39 +0900102 gpios = <&gpx3 3 1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900103 linux,code = <114>;
104 label = "volume down";
105 debounce-interval = <10>;
106 };
107
108 key-up {
Beomho Seo172ff6c2014-05-22 07:57:39 +0900109 gpios = <&gpx2 2 1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900110 linux,code = <115>;
111 label = "volume up";
112 debounce-interval = <10>;
113 };
114
115 key-power {
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900116 gpios = <&gpx2 7 1>;
117 linux,code = <116>;
118 label = "power";
119 debounce-interval = <10>;
120 gpio-key,wakeup;
121 };
Beomho Seo172ff6c2014-05-22 07:57:39 +0900122
123 key-ok {
124 gpios = <&gpx0 1 1>;
125 linux,code = <139>;
126 label = "ok";
127 debounce-inteval = <10>;
128 gpio-key,wakeup;
129 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900130 };
131
Chanwoo Choi4f423782014-03-18 06:25:59 +0900132 adc: adc@126C0000 {
133 vdd-supply = <&ldo3_reg>;
134 status = "okay";
135 };
136
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900137 i2c@13890000 {
138 samsung,i2c-sda-delay = <100>;
139 samsung,i2c-slave-addr = <0x10>;
140 samsung,i2c-max-bus-freq = <400000>;
141 pinctrl-0 = <&i2c3_bus>;
142 pinctrl-names = "default";
143 status = "okay";
144
145 mms114-touchscreen@48 {
146 compatible = "melfas,mms114";
147 reg = <0x48>;
148 interrupt-parent = <&gpm2>;
149 interrupts = <3 2>;
150 x-size = <720>;
151 y-size = <1280>;
152 avdd-supply = <&ldo23_reg>;
153 vdd-supply = <&ldo24_reg>;
154 };
155 };
156
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900157 i2c_0: i2c@13860000 {
158 samsung,i2c-sda-delay = <100>;
159 samsung,i2c-slave-addr = <0x10>;
160 samsung,i2c-max-bus-freq = <400000>;
161 pinctrl-0 = <&i2c0_bus>;
162 pinctrl-names = "default";
163 status = "okay";
164
165 s5c73m3@3c {
166 compatible = "samsung,s5c73m3";
167 reg = <0x3c>;
168 standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */
169 xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */
170 vdd-int-supply = <&buck9_reg>;
171 vddio-cis-supply = <&ldo9_reg>;
172 vdda-supply = <&ldo17_reg>;
173 vddio-host-supply = <&ldo18_reg>;
174 vdd-af-supply = <&cam_af_reg>;
175 vdd-reg-supply = <&cam_io_reg>;
176 clock-frequency = <24000000>;
177 /* CAM_A_CLKOUT */
178 clocks = <&camera 0>;
179 clock-names = "cis_extclk";
180 port {
181 s5c73m3_ep: endpoint {
182 remote-endpoint = <&csis0_ep>;
183 data-lanes = <1 2 3 4>;
184 };
185 };
186 };
187 };
188
Inha Song440e5ae2015-02-04 07:51:38 +0900189 i2c@138A0000 {
190 samsung,i2c-sda-delay = <100>;
191 samsung,i2c-slave-addr = <0x10>;
192 samsung,i2c-max-bus-freq = <100000>;
193 pinctrl-0 = <&i2c4_bus>;
194 pinctrl-names = "default";
195 status = "okay";
196
197 wm1811: wm1811@1a {
198 compatible = "wlf,wm1811";
199 reg = <0x1a>;
200 clocks = <&pmu_system_controller 0>;
201 clock-names = "MCLK1";
202 DCVDD-supply = <&ldo3_reg>;
203 DBVDD1-supply = <&ldo3_reg>;
204 wlf,ldo1ena = <&gpj0 4 0>;
205 };
206 };
207
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900208 i2c@138D0000 {
209 samsung,i2c-sda-delay = <100>;
210 samsung,i2c-slave-addr = <0x10>;
211 samsung,i2c-max-bus-freq = <100000>;
212 pinctrl-0 = <&i2c7_bus>;
213 pinctrl-names = "default";
214 status = "okay";
215
216 max77686_pmic@09 {
217 compatible = "maxim,max77686";
218 interrupt-parent = <&gpx0>;
219 interrupts = <7 0>;
220 reg = <0x09>;
Tomasz Figaada12c42013-12-12 17:07:21 +0100221 #clock-cells = <1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900222
223 voltage-regulators {
224 ldo1_reg: ldo1 {
225 regulator-compatible = "LDO1";
226 regulator-name = "VALIVE_1.0V_AP";
227 regulator-min-microvolt = <1000000>;
228 regulator-max-microvolt = <1000000>;
229 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900230 };
231
232 ldo2_reg: ldo2 {
233 regulator-compatible = "LDO2";
234 regulator-name = "VM1M2_1.2V_AP";
235 regulator-min-microvolt = <1200000>;
236 regulator-max-microvolt = <1200000>;
237 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900238 regulator-state-mem {
239 regulator-on-in-suspend;
240 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900241 };
242
243 ldo3_reg: ldo3 {
244 regulator-compatible = "LDO3";
245 regulator-name = "VCC_1.8V_AP";
246 regulator-min-microvolt = <1800000>;
247 regulator-max-microvolt = <1800000>;
248 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900249 };
250
251 ldo4_reg: ldo4 {
252 regulator-compatible = "LDO4";
253 regulator-name = "VCC_2.8V_AP";
254 regulator-min-microvolt = <2800000>;
255 regulator-max-microvolt = <2800000>;
256 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900257 };
258
259 ldo5_reg: ldo5 {
260 regulator-compatible = "LDO5";
261 regulator-name = "VCC_1.8V_IO";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900265 };
266
267 ldo6_reg: ldo6 {
268 regulator-compatible = "LDO6";
269 regulator-name = "VMPLL_1.0V_AP";
270 regulator-min-microvolt = <1000000>;
271 regulator-max-microvolt = <1000000>;
272 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900273 regulator-state-mem {
274 regulator-on-in-suspend;
275 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900276 };
277
278 ldo7_reg: ldo7 {
279 regulator-compatible = "LDO7";
280 regulator-name = "VPLL_1.0V_AP";
281 regulator-min-microvolt = <1000000>;
282 regulator-max-microvolt = <1000000>;
283 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900284 regulator-state-mem {
285 regulator-on-in-suspend;
286 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900287 };
288
289 ldo8_reg: ldo8 {
290 regulator-compatible = "LDO8";
291 regulator-name = "VMIPI_1.0V";
292 regulator-min-microvolt = <1000000>;
293 regulator-max-microvolt = <1000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900294 regulator-state-mem {
295 regulator-off-in-suspend;
296 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900297 };
298
299 ldo9_reg: ldo9 {
300 regulator-compatible = "LDO9";
301 regulator-name = "CAM_ISP_MIPI_1.2V";
302 regulator-min-microvolt = <1200000>;
303 regulator-max-microvolt = <1200000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900304 };
305
306 ldo10_reg: ldo10 {
307 regulator-compatible = "LDO10";
308 regulator-name = "VMIPI_1.8V";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900311 regulator-state-mem {
312 regulator-off-in-suspend;
313 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900314 };
315
316 ldo11_reg: ldo11 {
317 regulator-compatible = "LDO11";
318 regulator-name = "VABB1_1.95V";
319 regulator-min-microvolt = <1950000>;
320 regulator-max-microvolt = <1950000>;
321 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900322 regulator-state-mem {
323 regulator-off-in-suspend;
324 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900325 };
326
327 ldo12_reg: ldo12 {
328 regulator-compatible = "LDO12";
329 regulator-name = "VUOTG_3.0V";
330 regulator-min-microvolt = <3000000>;
331 regulator-max-microvolt = <3000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900332 regulator-state-mem {
333 regulator-off-in-suspend;
334 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900335 };
336
337 ldo13_reg: ldo13 {
338 regulator-compatible = "LDO13";
339 regulator-name = "NFC_AVDD_1.8V";
340 regulator-min-microvolt = <1800000>;
341 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900342 };
343
344 ldo14_reg: ldo14 {
345 regulator-compatible = "LDO14";
346 regulator-name = "VABB2_1.95V";
347 regulator-min-microvolt = <1950000>;
348 regulator-max-microvolt = <1950000>;
349 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900350 regulator-state-mem {
351 regulator-off-in-suspend;
352 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900353 };
354
355 ldo15_reg: ldo15 {
356 regulator-compatible = "LDO15";
357 regulator-name = "VHSIC_1.0V";
358 regulator-min-microvolt = <1000000>;
359 regulator-max-microvolt = <1000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900360 regulator-state-mem {
361 regulator-on-in-suspend;
362 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900363 };
364
365 ldo16_reg: ldo16 {
366 regulator-compatible = "LDO16";
367 regulator-name = "VHSIC_1.8V";
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900370 regulator-state-mem {
371 regulator-on-in-suspend;
372 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900373 };
374
375 ldo17_reg: ldo17 {
376 regulator-compatible = "LDO17";
377 regulator-name = "CAM_SENSOR_CORE_1.2V";
378 regulator-min-microvolt = <1200000>;
379 regulator-max-microvolt = <1200000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900380 };
381
382 ldo18_reg: ldo18 {
383 regulator-compatible = "LDO18";
384 regulator-name = "CAM_ISP_SEN_IO_1.8V";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900387 };
388
389 ldo19_reg: ldo19 {
390 regulator-compatible = "LDO19";
391 regulator-name = "VT_CAM_1.8V";
392 regulator-min-microvolt = <1800000>;
393 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900394 };
395
396 ldo20_reg: ldo20 {
397 regulator-compatible = "LDO20";
398 regulator-name = "VDDQ_PRE_1.8V";
399 regulator-min-microvolt = <1800000>;
400 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900401 };
402
403 ldo21_reg: ldo21 {
404 regulator-compatible = "LDO21";
405 regulator-name = "VTF_2.8V";
406 regulator-min-microvolt = <2800000>;
407 regulator-max-microvolt = <2800000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900408 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900409 };
410
411 ldo22_reg: ldo22 {
412 regulator-compatible = "LDO22";
413 regulator-name = "VMEM_VDD_2.8V";
414 regulator-min-microvolt = <2800000>;
415 regulator-max-microvolt = <2800000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900416 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900417 };
418
419 ldo23_reg: ldo23 {
420 regulator-compatible = "LDO23";
421 regulator-name = "TSP_AVDD_3.3V";
422 regulator-min-microvolt = <3300000>;
423 regulator-max-microvolt = <3300000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900424 };
425
426 ldo24_reg: ldo24 {
427 regulator-compatible = "LDO24";
428 regulator-name = "TSP_VDD_1.8V";
429 regulator-min-microvolt = <1800000>;
430 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900431 };
432
433 ldo25_reg: ldo25 {
434 regulator-compatible = "LDO25";
435 regulator-name = "LCD_VCC_3.3V";
436 regulator-min-microvolt = <2800000>;
437 regulator-max-microvolt = <2800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900438 };
439
440 ldo26_reg: ldo26 {
441 regulator-compatible = "LDO26";
442 regulator-name = "MOTOR_VCC_3.0V";
443 regulator-min-microvolt = <3000000>;
444 regulator-max-microvolt = <3000000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900445 };
446
447 buck1_reg: buck1 {
448 regulator-compatible = "BUCK1";
449 regulator-name = "vdd_mif";
450 regulator-min-microvolt = <850000>;
451 regulator-max-microvolt = <1100000>;
452 regulator-always-on;
453 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900454 regulator-state-mem {
455 regulator-off-in-suspend;
456 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900457 };
458
459 buck2_reg: buck2 {
460 regulator-compatible = "BUCK2";
461 regulator-name = "vdd_arm";
462 regulator-min-microvolt = <850000>;
463 regulator-max-microvolt = <1500000>;
464 regulator-always-on;
465 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900466 regulator-state-mem {
467 regulator-on-in-suspend;
468 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900469 };
470
471 buck3_reg: buck3 {
472 regulator-compatible = "BUCK3";
473 regulator-name = "vdd_int";
474 regulator-min-microvolt = <850000>;
475 regulator-max-microvolt = <1150000>;
476 regulator-always-on;
477 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900478 regulator-state-mem {
479 regulator-off-in-suspend;
480 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900481 };
482
483 buck4_reg: buck4 {
484 regulator-compatible = "BUCK4";
485 regulator-name = "vdd_g3d";
486 regulator-min-microvolt = <850000>;
487 regulator-max-microvolt = <1150000>;
488 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900489 regulator-state-mem {
490 regulator-off-in-suspend;
491 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900492 };
493
494 buck5_reg: buck5 {
495 regulator-compatible = "BUCK5";
496 regulator-name = "VMEM_1.2V_AP";
497 regulator-min-microvolt = <1200000>;
498 regulator-max-microvolt = <1200000>;
499 regulator-always-on;
500 };
501
502 buck6_reg: buck6 {
503 regulator-compatible = "BUCK6";
504 regulator-name = "VCC_SUB_1.35V";
505 regulator-min-microvolt = <1350000>;
506 regulator-max-microvolt = <1350000>;
507 regulator-always-on;
508 };
509
510 buck7_reg: buck7 {
511 regulator-compatible = "BUCK7";
512 regulator-name = "VCC_SUB_2.0V";
513 regulator-min-microvolt = <2000000>;
514 regulator-max-microvolt = <2000000>;
515 regulator-always-on;
516 };
517
518 buck8_reg: buck8 {
519 regulator-compatible = "BUCK8";
520 regulator-name = "VMEM_VDDF_3.0V";
521 regulator-min-microvolt = <2850000>;
522 regulator-max-microvolt = <2850000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900523 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900524 };
525
526 buck9_reg: buck9 {
527 regulator-compatible = "BUCK9";
528 regulator-name = "CAM_ISP_CORE_1.2V";
529 regulator-min-microvolt = <1000000>;
530 regulator-max-microvolt = <1200000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900531 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900532 };
533 };
534 };
535 };
536
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900537 i2c_max77693: i2c-gpio-1 {
538 compatible = "i2c-gpio";
539 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
540 i2c-gpio,delay-us = <2>;
541 #address-cells = <1>;
542 #size-cells = <0>;
543 status = "okay";
544
545 max77693@66 {
546 compatible = "maxim,max77693";
547 interrupt-parent = <&gpx1>;
548 interrupts = <5 2>;
549 reg = <0x66>;
550
551 regulators {
552 esafeout1_reg: ESAFEOUT1@1 {
553 regulator-name = "ESAFEOUT1";
554 };
555 esafeout2_reg: ESAFEOUT2@2 {
556 regulator-name = "ESAFEOUT2";
557 };
558 charger_reg: CHARGER@0 {
559 regulator-name = "CHARGER";
560 regulator-min-microamp = <60000>;
561 regulator-max-microamp = <2580000>;
562 };
563 };
Jaewon Kimd9c68082014-11-22 23:19:22 +0900564
565 max77693_haptic {
566 compatible = "maxim,max77693-haptic";
567 haptic-supply = <&ldo26_reg>;
568 pwms = <&pwm 0 38022 0>;
569 };
Krzysztof Kozlowski043ef142015-02-04 07:47:39 +0900570
571 charger {
572 compatible = "maxim,max77693-charger";
573
574 maxim,constant-microvolt = <4350000>;
575 maxim,min-system-microvolt = <3600000>;
576 maxim,thermal-regulation-celsius = <100>;
577 maxim,battery-overcurrent-microamp = <3500000>;
578 maxim,charge-input-threshold-microvolt = <4300000>;
579 };
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900580 };
581 };
582
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +0900583 i2c_max77693_fuel: i2c-gpio-3 {
584 compatible = "i2c-gpio";
585 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
586 i2c-gpio,delay-us = <2>;
587 #address-cells = <1>;
588 #size-cells = <0>;
589 status = "okay";
590
591 max77693-fuel-gauge@36 {
592 compatible = "maxim,max17047";
593 interrupt-parent = <&gpx2>;
594 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
595 reg = <0x36>;
596 };
597 };
598
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900599 mmc@12550000 {
600 num-slots = <1>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900601 broken-cd;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900602 non-removable;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900603 card-detect-delay = <200>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900604 vmmc-supply = <&ldo22_reg>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900605 clock-frequency = <400000000>;
606 samsung,dw-mshc-ciu-div = <0>;
607 samsung,dw-mshc-sdr-timing = <2 3>;
608 samsung,dw-mshc-ddr-timing = <1 2>;
609 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
610 pinctrl-names = "default";
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900611 status = "okay";
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500612 bus-width = <8>;
613 cap-mmc-highspeed;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900614 };
615
Krzysztof Kozlowskia427d152014-11-07 08:22:49 +0900616 sdhci@12530000 {
617 bus-width = <4>;
618 cd-gpios = <&gpx3 4 0>;
619 cd-inverted;
620 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
621 pinctrl-names = "default";
622 vmmc-supply = <&ldo21_reg>;
623 status = "okay";
624 };
625
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900626 serial@13800000 {
627 status = "okay";
628 };
629
630 serial@13810000 {
631 status = "okay";
632 };
633
634 serial@13820000 {
635 status = "okay";
636 };
637
638 serial@13830000 {
639 status = "okay";
640 };
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900641
Lukasz Majewski432047f2014-11-22 22:58:09 +0900642 tmu@100C0000 {
643 vtmu-supply = <&ldo10_reg>;
644 status = "okay";
645 };
646
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900647 i2c_ak8975: i2c-gpio-0 {
648 compatible = "i2c-gpio";
649 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
650 i2c-gpio,delay-us = <2>;
651 #address-cells = <1>;
652 #size-cells = <0>;
653 status = "okay";
654
655 ak8975@0c {
Beomho Seo30cc7982014-05-20 01:12:50 +0900656 compatible = "asahi-kasei,ak8975";
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900657 reg = <0x0c>;
658 gpios = <&gpj0 7 0>;
659 };
660 };
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900661
Beomho Seo85cb4e02014-05-22 07:56:53 +0900662 i2c_cm36651: i2c-gpio-2 {
663 compatible = "i2c-gpio";
664 gpios = <&gpf0 0 1>, <&gpf0 1 1>;
665 i2c-gpio,delay-us = <2>;
666 #address-cells = <1>;
667 #size-cells = <0>;
668
669 cm36651@18 {
670 compatible = "capella,cm36651";
671 reg = <0x18>;
672 interrupt-parent = <&gpx0>;
673 interrupts = <2 2>;
674 vled-supply = <&ps_als_reg>;
675 };
676 };
677
Andrzej Hajda201f1262013-08-06 02:49:45 +0900678 spi_1: spi@13930000 {
679 pinctrl-names = "default";
680 pinctrl-0 = <&spi1_bus>;
Naveen Krishna Chatradhie138d432014-07-16 17:19:10 +0200681 cs-gpios = <&gpb 5 0>;
Andrzej Hajda201f1262013-08-06 02:49:45 +0900682 status = "okay";
683
684 s5c73m3_spi: s5c73m3 {
685 compatible = "samsung,s5c73m3";
686 spi-max-frequency = <50000000>;
687 reg = <0>;
688 controller-data {
Andrzej Hajda201f1262013-08-06 02:49:45 +0900689 samsung,spi-feedback-delay = <2>;
690 };
691 };
692 };
693
Jaewon Kim249358c2014-11-22 23:19:18 +0900694 pwm: pwm@139D0000 {
695 pinctrl-0 = <&pwm0_out>;
696 pinctrl-names = "default";
697 samsung,pwm-outputs = <0>;
698 status = "okay";
699 };
700
Andrzej Hajda420ae842014-03-28 12:52:45 +0100701 dsi_0: dsi@11C80000 {
702 vddcore-supply = <&ldo8_reg>;
703 vddio-supply = <&ldo10_reg>;
704 samsung,pll-clock-frequency = <24000000>;
705 status = "okay";
706
707 ports {
708 #address-cells = <1>;
709 #size-cells = <0>;
710
711 port@1 {
712 reg = <1>;
713
714 dsi_out: endpoint {
715 remote-endpoint = <&dsi_in>;
716 samsung,burst-clock-frequency = <500000000>;
717 samsung,esc-clock-frequency = <20000000>;
718 };
719 };
720 };
721
722 panel@0 {
723 compatible = "samsung,s6e8aa0";
724 reg = <0>;
725 vdd3-supply = <&lcd_vdd3_reg>;
726 vci-supply = <&ldo25_reg>;
727 reset-gpios = <&gpy4 5 0>;
728 power-on-delay= <50>;
729 reset-delay = <100>;
730 init-delay = <100>;
731 flip-horizontal;
732 flip-vertical;
733 panel-width-mm = <58>;
734 panel-height-mm = <103>;
735
736 display-timings {
737 timing-0 {
738 clock-frequency = <0>;
739 hactive = <720>;
740 vactive = <1280>;
741 hfront-porch = <5>;
742 hback-porch = <5>;
743 hsync-len = <5>;
744 vfront-porch = <13>;
745 vback-porch = <1>;
746 vsync-len = <2>;
747 };
748 };
749
750 port {
751 dsi_in: endpoint {
752 remote-endpoint = <&dsi_out>;
753 };
754 };
755 };
756 };
757
Andrzej Hajdabbab1e3f2014-03-28 12:52:47 +0100758 fimd@11c00000 {
759 status = "okay";
760 };
761
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900762 camera: camera {
763 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900764 pinctrl-names = "default";
765 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900766 assigned-clocks = <&clock CLK_MOUT_CAM0>,
767 <&clock CLK_MOUT_CAM1>;
Sylwester Nawrockicfe3b892015-02-04 07:49:49 +0900768 assigned-clock-parents = <&clock CLK_XUSBXTI>,
769 <&clock CLK_XUSBXTI>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900770
771 fimc_0: fimc@11800000 {
772 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900773 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
774 <&clock CLK_SCLK_FIMC0>;
775 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
776 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900777 };
778
779 fimc_1: fimc@11810000 {
780 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900781 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
782 <&clock CLK_SCLK_FIMC1>;
783 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
784 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900785 };
786
787 fimc_2: fimc@11820000 {
788 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900789 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
790 <&clock CLK_SCLK_FIMC2>;
791 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
792 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900793 };
794
795 fimc_3: fimc@11830000 {
796 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900797 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
798 <&clock CLK_SCLK_FIMC3>;
799 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
800 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900801 };
802
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900803 csis_0: csis@11880000 {
804 status = "okay";
805 vddcore-supply = <&ldo8_reg>;
806 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900807 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
808 <&clock CLK_SCLK_CSIS0>;
809 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
810 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900811
812 /* Camera C (3) MIPI CSI-2 (CSIS0) */
813 port@3 {
814 reg = <3>;
815 csis0_ep: endpoint {
816 remote-endpoint = <&s5c73m3_ep>;
817 data-lanes = <1 2 3 4>;
818 samsung,csis-hs-settle = <12>;
819 };
820 };
821 };
822
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900823 csis_1: csis@11890000 {
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900824 status = "okay";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900825 vddcore-supply = <&ldo8_reg>;
826 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900827 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
828 <&clock CLK_SCLK_CSIS1>;
829 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
830 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900831
832 /* Camera D (4) MIPI CSI-2 (CSIS1) */
833 port@4 {
834 reg = <4>;
835 csis1_ep: endpoint {
836 remote-endpoint = <&is_s5k6a3_ep>;
837 data-lanes = <1>;
838 samsung,csis-hs-settle = <18>;
839 samsung,csis-wclk;
840 };
841 };
842 };
843
844 fimc_lite_0: fimc-lite@12390000 {
845 status = "okay";
846 };
847
848 fimc_lite_1: fimc-lite@123A0000 {
849 status = "okay";
850 };
851
852 fimc-is@12000000 {
853 pinctrl-0 = <&fimc_is_uart>;
854 pinctrl-names = "default";
855 status = "okay";
856
857 i2c1_isp: i2c-isp@12140000 {
858 pinctrl-0 = <&fimc_is_i2c1>;
859 pinctrl-names = "default";
860
861 s5k6a3@10 {
862 compatible = "samsung,s5k6a3";
863 reg = <0x10>;
864 svdda-supply = <&cam_io_reg>;
865 svddio-supply = <&ldo19_reg>;
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900866 afvdd-supply = <&ldo19_reg>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900867 clock-frequency = <24000000>;
868 /* CAM_B_CLKOUT */
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900869 clocks = <&camera 1>;
870 clock-names = "extclk";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900871 samsung,camclk-out = <1>;
872 gpios = <&gpm1 6 0>;
873
874 port {
875 is_s5k6a3_ep: endpoint {
876 remote-endpoint = <&csis1_ep>;
877 data-lanes = <1>;
878 };
879 };
880 };
881 };
882 };
883 };
Chanwoo Choi4f423782014-03-18 06:25:59 +0900884
Inha Song440e5ae2015-02-04 07:51:38 +0900885 i2s0: i2s@03830000 {
886 pinctrl-0 = <&i2s0_bus>;
887 pinctrl-names = "default";
888 status = "okay";
889 };
890
891 sound {
892 compatible = "samsung,trats2-audio";
893 samsung,i2s-controller = <&i2s0>;
894 samsung,model = "Trats2";
895 samsung,audio-codec = <&wm1811>;
896 samsung,audio-routing =
897 "SPK", "SPKOUTLN",
898 "SPK", "SPKOUTLP",
899 "SPK", "SPKOUTRN",
900 "SPK", "SPKOUTRP";
901 };
902
Chanho Park3c8977f2014-05-23 03:30:21 +0900903 exynos-usbphy@125B0000 {
904 status = "okay";
905 };
906
907 hsotg@12480000 {
908 vusb_d-supply = <&ldo15_reg>;
909 vusb_a-supply = <&ldo12_reg>;
Marek Szyprowski32f144f2015-01-24 13:12:03 +0900910 dr_mode = "peripheral";
Chanho Park3c8977f2014-05-23 03:30:21 +0900911 status = "okay";
912 };
913
Chanwoo Choi4f423782014-03-18 06:25:59 +0900914 thermistor-ap@0 {
915 compatible = "ntc,ncp15wb473";
916 pullup-uv = <1800000>; /* VCC_1.8V_AP */
917 pullup-ohm = <100000>; /* 100K */
918 pulldown-ohm = <100000>; /* 100K */
919 io-channels = <&adc 1>; /* AP temperature */
920 };
921
922 thermistor-battery@1 {
923 compatible = "ntc,ncp15wb473";
924 pullup-uv = <1800000>; /* VCC_1.8V_AP */
925 pullup-ohm = <100000>; /* 100K */
926 pulldown-ohm = <100000>; /* 100K */
927 io-channels = <&adc 2>; /* Battery temperature */
928 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900929};
Tomasz Figa09918a92014-09-24 01:20:03 +0900930
Inha Song440e5ae2015-02-04 07:51:38 +0900931&pmu_system_controller {
932 assigned-clocks = <&pmu_system_controller 0>;
933 assigned-clock-parents = <&clock CLK_XUSBXTI>;
934};
935
Tomasz Figa09918a92014-09-24 01:20:03 +0900936&pinctrl_0 {
937 pinctrl-names = "default";
938 pinctrl-0 = <&sleep0>;
939
940 sleep0: sleep-states {
941 PIN_SLP(gpa0-0, INPUT, NONE);
942 PIN_SLP(gpa0-1, OUT0, NONE);
943 PIN_SLP(gpa0-2, INPUT, NONE);
944 PIN_SLP(gpa0-3, INPUT, UP);
945 PIN_SLP(gpa0-4, INPUT, NONE);
946 PIN_SLP(gpa0-5, INPUT, DOWN);
947 PIN_SLP(gpa0-6, INPUT, DOWN);
948 PIN_SLP(gpa0-7, INPUT, UP);
949
950 PIN_SLP(gpa1-0, INPUT, DOWN);
951 PIN_SLP(gpa1-1, INPUT, DOWN);
952 PIN_SLP(gpa1-2, INPUT, DOWN);
953 PIN_SLP(gpa1-3, INPUT, DOWN);
954 PIN_SLP(gpa1-4, INPUT, DOWN);
955 PIN_SLP(gpa1-5, INPUT, DOWN);
956
957 PIN_SLP(gpb-0, INPUT, NONE);
958 PIN_SLP(gpb-1, INPUT, NONE);
959 PIN_SLP(gpb-2, INPUT, NONE);
960 PIN_SLP(gpb-3, INPUT, NONE);
961 PIN_SLP(gpb-4, INPUT, DOWN);
962 PIN_SLP(gpb-5, INPUT, UP);
963 PIN_SLP(gpb-6, INPUT, DOWN);
964 PIN_SLP(gpb-7, INPUT, DOWN);
965
966 PIN_SLP(gpc0-0, INPUT, DOWN);
967 PIN_SLP(gpc0-1, INPUT, DOWN);
968 PIN_SLP(gpc0-2, INPUT, DOWN);
969 PIN_SLP(gpc0-3, INPUT, DOWN);
970 PIN_SLP(gpc0-4, INPUT, DOWN);
971
972 PIN_SLP(gpc1-0, INPUT, NONE);
973 PIN_SLP(gpc1-1, PREV, NONE);
974 PIN_SLP(gpc1-2, INPUT, NONE);
975 PIN_SLP(gpc1-3, INPUT, NONE);
976 PIN_SLP(gpc1-4, INPUT, NONE);
977
978 PIN_SLP(gpd0-0, INPUT, DOWN);
979 PIN_SLP(gpd0-1, INPUT, DOWN);
980 PIN_SLP(gpd0-2, INPUT, NONE);
981 PIN_SLP(gpd0-3, INPUT, NONE);
982
983 PIN_SLP(gpd1-0, INPUT, DOWN);
984 PIN_SLP(gpd1-1, INPUT, DOWN);
985 PIN_SLP(gpd1-2, INPUT, NONE);
986 PIN_SLP(gpd1-3, INPUT, NONE);
987
988 PIN_SLP(gpf0-0, INPUT, NONE);
989 PIN_SLP(gpf0-1, INPUT, NONE);
990 PIN_SLP(gpf0-2, INPUT, DOWN);
991 PIN_SLP(gpf0-3, INPUT, DOWN);
992 PIN_SLP(gpf0-4, INPUT, NONE);
993 PIN_SLP(gpf0-5, INPUT, DOWN);
994 PIN_SLP(gpf0-6, INPUT, NONE);
995 PIN_SLP(gpf0-7, INPUT, DOWN);
996
997 PIN_SLP(gpf1-0, INPUT, DOWN);
998 PIN_SLP(gpf1-1, INPUT, DOWN);
999 PIN_SLP(gpf1-2, INPUT, DOWN);
1000 PIN_SLP(gpf1-3, INPUT, DOWN);
1001 PIN_SLP(gpf1-4, INPUT, NONE);
1002 PIN_SLP(gpf1-5, INPUT, NONE);
1003 PIN_SLP(gpf1-6, INPUT, DOWN);
1004 PIN_SLP(gpf1-7, PREV, NONE);
1005
1006 PIN_SLP(gpf2-0, PREV, NONE);
1007 PIN_SLP(gpf2-1, INPUT, DOWN);
1008 PIN_SLP(gpf2-2, INPUT, DOWN);
1009 PIN_SLP(gpf2-3, INPUT, DOWN);
1010 PIN_SLP(gpf2-4, INPUT, DOWN);
1011 PIN_SLP(gpf2-5, INPUT, DOWN);
1012 PIN_SLP(gpf2-6, INPUT, NONE);
1013 PIN_SLP(gpf2-7, INPUT, NONE);
1014
1015 PIN_SLP(gpf3-0, INPUT, NONE);
1016 PIN_SLP(gpf3-1, PREV, NONE);
1017 PIN_SLP(gpf3-2, PREV, NONE);
1018 PIN_SLP(gpf3-3, PREV, NONE);
1019 PIN_SLP(gpf3-4, OUT1, NONE);
1020 PIN_SLP(gpf3-5, INPUT, DOWN);
1021
1022 PIN_SLP(gpj0-0, PREV, NONE);
1023 PIN_SLP(gpj0-1, PREV, NONE);
1024 PIN_SLP(gpj0-2, PREV, NONE);
1025 PIN_SLP(gpj0-3, INPUT, DOWN);
1026 PIN_SLP(gpj0-4, PREV, NONE);
1027 PIN_SLP(gpj0-5, PREV, NONE);
1028 PIN_SLP(gpj0-6, INPUT, DOWN);
1029 PIN_SLP(gpj0-7, INPUT, DOWN);
1030
1031 PIN_SLP(gpj1-0, INPUT, DOWN);
1032 PIN_SLP(gpj1-1, PREV, NONE);
1033 PIN_SLP(gpj1-2, PREV, NONE);
1034 PIN_SLP(gpj1-3, INPUT, DOWN);
1035 PIN_SLP(gpj1-4, INPUT, DOWN);
1036 };
1037};
1038
1039&pinctrl_1 {
1040 pinctrl-names = "default";
1041 pinctrl-0 = <&sleep1>;
1042
1043 sleep1: sleep-states {
1044 PIN_SLP(gpk0-0, PREV, NONE);
1045 PIN_SLP(gpk0-1, PREV, NONE);
1046 PIN_SLP(gpk0-2, OUT0, NONE);
1047 PIN_SLP(gpk0-3, PREV, NONE);
1048 PIN_SLP(gpk0-4, PREV, NONE);
1049 PIN_SLP(gpk0-5, PREV, NONE);
1050 PIN_SLP(gpk0-6, PREV, NONE);
1051
1052 PIN_SLP(gpk1-0, INPUT, DOWN);
1053 PIN_SLP(gpk1-1, INPUT, DOWN);
1054 PIN_SLP(gpk1-2, INPUT, DOWN);
1055 PIN_SLP(gpk1-3, PREV, NONE);
1056 PIN_SLP(gpk1-4, PREV, NONE);
1057 PIN_SLP(gpk1-5, PREV, NONE);
1058 PIN_SLP(gpk1-6, PREV, NONE);
1059
1060 PIN_SLP(gpk2-0, INPUT, DOWN);
1061 PIN_SLP(gpk2-1, INPUT, DOWN);
1062 PIN_SLP(gpk2-2, INPUT, DOWN);
1063 PIN_SLP(gpk2-3, INPUT, DOWN);
1064 PIN_SLP(gpk2-4, INPUT, DOWN);
1065 PIN_SLP(gpk2-5, INPUT, DOWN);
1066 PIN_SLP(gpk2-6, INPUT, DOWN);
1067
1068 PIN_SLP(gpk3-0, OUT0, NONE);
1069 PIN_SLP(gpk3-1, INPUT, NONE);
1070 PIN_SLP(gpk3-2, INPUT, DOWN);
1071 PIN_SLP(gpk3-3, INPUT, NONE);
1072 PIN_SLP(gpk3-4, INPUT, NONE);
1073 PIN_SLP(gpk3-5, INPUT, NONE);
1074 PIN_SLP(gpk3-6, INPUT, NONE);
1075
1076 PIN_SLP(gpl0-0, INPUT, DOWN);
1077 PIN_SLP(gpl0-1, INPUT, DOWN);
1078 PIN_SLP(gpl0-2, INPUT, DOWN);
1079 PIN_SLP(gpl0-3, INPUT, DOWN);
1080 PIN_SLP(gpl0-4, PREV, NONE);
1081 PIN_SLP(gpl0-6, PREV, NONE);
1082
1083 PIN_SLP(gpl1-0, INPUT, DOWN);
1084 PIN_SLP(gpl1-1, INPUT, DOWN);
1085 PIN_SLP(gpl2-0, INPUT, DOWN);
1086 PIN_SLP(gpl2-1, INPUT, DOWN);
1087 PIN_SLP(gpl2-2, INPUT, DOWN);
1088 PIN_SLP(gpl2-3, INPUT, DOWN);
1089 PIN_SLP(gpl2-4, INPUT, DOWN);
1090 PIN_SLP(gpl2-5, INPUT, DOWN);
1091 PIN_SLP(gpl2-6, PREV, NONE);
1092 PIN_SLP(gpl2-7, INPUT, DOWN);
1093
1094 PIN_SLP(gpm0-0, INPUT, DOWN);
1095 PIN_SLP(gpm0-1, INPUT, DOWN);
1096 PIN_SLP(gpm0-2, INPUT, DOWN);
1097 PIN_SLP(gpm0-3, INPUT, DOWN);
1098 PIN_SLP(gpm0-4, INPUT, DOWN);
1099 PIN_SLP(gpm0-5, INPUT, DOWN);
1100 PIN_SLP(gpm0-6, INPUT, DOWN);
1101 PIN_SLP(gpm0-7, INPUT, DOWN);
1102
1103 PIN_SLP(gpm1-0, INPUT, DOWN);
1104 PIN_SLP(gpm1-1, INPUT, DOWN);
1105 PIN_SLP(gpm1-2, INPUT, NONE);
1106 PIN_SLP(gpm1-3, INPUT, NONE);
1107 PIN_SLP(gpm1-4, INPUT, NONE);
1108 PIN_SLP(gpm1-5, INPUT, NONE);
1109 PIN_SLP(gpm1-6, INPUT, DOWN);
1110
1111 PIN_SLP(gpm2-0, INPUT, NONE);
1112 PIN_SLP(gpm2-1, INPUT, NONE);
1113 PIN_SLP(gpm2-2, INPUT, DOWN);
1114 PIN_SLP(gpm2-3, INPUT, DOWN);
1115 PIN_SLP(gpm2-4, INPUT, DOWN);
1116
1117 PIN_SLP(gpm3-0, PREV, NONE);
1118 PIN_SLP(gpm3-1, PREV, NONE);
1119 PIN_SLP(gpm3-2, PREV, NONE);
1120 PIN_SLP(gpm3-3, OUT1, NONE);
1121 PIN_SLP(gpm3-4, INPUT, DOWN);
1122 PIN_SLP(gpm3-5, INPUT, DOWN);
1123 PIN_SLP(gpm3-6, INPUT, DOWN);
1124 PIN_SLP(gpm3-7, INPUT, DOWN);
1125
1126 PIN_SLP(gpm4-0, INPUT, DOWN);
1127 PIN_SLP(gpm4-1, INPUT, DOWN);
1128 PIN_SLP(gpm4-2, INPUT, DOWN);
1129 PIN_SLP(gpm4-3, INPUT, DOWN);
1130 PIN_SLP(gpm4-4, INPUT, DOWN);
1131 PIN_SLP(gpm4-5, INPUT, DOWN);
1132 PIN_SLP(gpm4-6, INPUT, DOWN);
1133 PIN_SLP(gpm4-7, INPUT, DOWN);
1134
1135 PIN_SLP(gpy0-0, INPUT, DOWN);
1136 PIN_SLP(gpy0-1, INPUT, DOWN);
1137 PIN_SLP(gpy0-2, INPUT, DOWN);
1138 PIN_SLP(gpy0-3, INPUT, DOWN);
1139 PIN_SLP(gpy0-4, INPUT, DOWN);
1140 PIN_SLP(gpy0-5, INPUT, DOWN);
1141
1142 PIN_SLP(gpy1-0, INPUT, DOWN);
1143 PIN_SLP(gpy1-1, INPUT, DOWN);
1144 PIN_SLP(gpy1-2, INPUT, DOWN);
1145 PIN_SLP(gpy1-3, INPUT, DOWN);
1146
1147 PIN_SLP(gpy2-0, PREV, NONE);
1148 PIN_SLP(gpy2-1, INPUT, DOWN);
1149 PIN_SLP(gpy2-2, INPUT, NONE);
1150 PIN_SLP(gpy2-3, INPUT, NONE);
1151 PIN_SLP(gpy2-4, INPUT, NONE);
1152 PIN_SLP(gpy2-5, INPUT, NONE);
1153
1154 PIN_SLP(gpy3-0, INPUT, DOWN);
1155 PIN_SLP(gpy3-1, INPUT, DOWN);
1156 PIN_SLP(gpy3-2, INPUT, DOWN);
1157 PIN_SLP(gpy3-3, INPUT, DOWN);
1158 PIN_SLP(gpy3-4, INPUT, DOWN);
1159 PIN_SLP(gpy3-5, INPUT, DOWN);
1160 PIN_SLP(gpy3-6, INPUT, DOWN);
1161 PIN_SLP(gpy3-7, INPUT, DOWN);
1162
1163 PIN_SLP(gpy4-0, INPUT, DOWN);
1164 PIN_SLP(gpy4-1, INPUT, DOWN);
1165 PIN_SLP(gpy4-2, INPUT, DOWN);
1166 PIN_SLP(gpy4-3, INPUT, DOWN);
1167 PIN_SLP(gpy4-4, INPUT, DOWN);
1168 PIN_SLP(gpy4-5, INPUT, DOWN);
1169 PIN_SLP(gpy4-6, INPUT, DOWN);
1170 PIN_SLP(gpy4-7, INPUT, DOWN);
1171
1172 PIN_SLP(gpy5-0, INPUT, DOWN);
1173 PIN_SLP(gpy5-1, INPUT, DOWN);
1174 PIN_SLP(gpy5-2, INPUT, DOWN);
1175 PIN_SLP(gpy5-3, INPUT, DOWN);
1176 PIN_SLP(gpy5-4, INPUT, DOWN);
1177 PIN_SLP(gpy5-5, INPUT, DOWN);
1178 PIN_SLP(gpy5-6, INPUT, DOWN);
1179 PIN_SLP(gpy5-7, INPUT, DOWN);
1180
1181 PIN_SLP(gpy6-0, INPUT, DOWN);
1182 PIN_SLP(gpy6-1, INPUT, DOWN);
1183 PIN_SLP(gpy6-2, INPUT, DOWN);
1184 PIN_SLP(gpy6-3, INPUT, DOWN);
1185 PIN_SLP(gpy6-4, INPUT, DOWN);
1186 PIN_SLP(gpy6-5, INPUT, DOWN);
1187 PIN_SLP(gpy6-6, INPUT, DOWN);
1188 PIN_SLP(gpy6-7, INPUT, DOWN);
1189 };
1190};
1191
1192&pinctrl_2 {
1193 pinctrl-names = "default";
1194 pinctrl-0 = <&sleep2>;
1195
1196 sleep2: sleep-states {
1197 PIN_SLP(gpz-0, INPUT, DOWN);
1198 PIN_SLP(gpz-1, INPUT, DOWN);
1199 PIN_SLP(gpz-2, INPUT, DOWN);
1200 PIN_SLP(gpz-3, INPUT, DOWN);
1201 PIN_SLP(gpz-4, INPUT, DOWN);
1202 PIN_SLP(gpz-5, INPUT, DOWN);
1203 PIN_SLP(gpz-6, INPUT, DOWN);
1204 };
1205};
1206
1207&pinctrl_3 {
1208 pinctrl-names = "default";
1209 pinctrl-0 = <&sleep3>;
1210
1211 sleep3: sleep-states {
1212 PIN_SLP(gpv0-0, INPUT, DOWN);
1213 PIN_SLP(gpv0-1, INPUT, DOWN);
1214 PIN_SLP(gpv0-2, INPUT, DOWN);
1215 PIN_SLP(gpv0-3, INPUT, DOWN);
1216 PIN_SLP(gpv0-4, INPUT, DOWN);
1217 PIN_SLP(gpv0-5, INPUT, DOWN);
1218 PIN_SLP(gpv0-6, INPUT, DOWN);
1219 PIN_SLP(gpv0-7, INPUT, DOWN);
1220
1221 PIN_SLP(gpv1-0, INPUT, DOWN);
1222 PIN_SLP(gpv1-1, INPUT, DOWN);
1223 PIN_SLP(gpv1-2, INPUT, DOWN);
1224 PIN_SLP(gpv1-3, INPUT, DOWN);
1225 PIN_SLP(gpv1-4, INPUT, DOWN);
1226 PIN_SLP(gpv1-5, INPUT, DOWN);
1227 PIN_SLP(gpv1-6, INPUT, DOWN);
1228 PIN_SLP(gpv1-7, INPUT, DOWN);
1229
1230 PIN_SLP(gpv2-0, INPUT, DOWN);
1231 PIN_SLP(gpv2-1, INPUT, DOWN);
1232 PIN_SLP(gpv2-2, INPUT, DOWN);
1233 PIN_SLP(gpv2-3, INPUT, DOWN);
1234 PIN_SLP(gpv2-4, INPUT, DOWN);
1235 PIN_SLP(gpv2-5, INPUT, DOWN);
1236 PIN_SLP(gpv2-6, INPUT, DOWN);
1237 PIN_SLP(gpv2-7, INPUT, DOWN);
1238
1239 PIN_SLP(gpv3-0, INPUT, DOWN);
1240 PIN_SLP(gpv3-1, INPUT, DOWN);
1241 PIN_SLP(gpv3-2, INPUT, DOWN);
1242 PIN_SLP(gpv3-3, INPUT, DOWN);
1243 PIN_SLP(gpv3-4, INPUT, DOWN);
1244 PIN_SLP(gpv3-5, INPUT, DOWN);
1245 PIN_SLP(gpv3-6, INPUT, DOWN);
1246 PIN_SLP(gpv3-7, INPUT, DOWN);
1247
1248 PIN_SLP(gpv4-0, INPUT, DOWN);
1249 };
1250};