blob: 8072d90029457bffd2f235fcb728b02d517989ab [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
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900189 i2c@138D0000 {
190 samsung,i2c-sda-delay = <100>;
191 samsung,i2c-slave-addr = <0x10>;
192 samsung,i2c-max-bus-freq = <100000>;
193 pinctrl-0 = <&i2c7_bus>;
194 pinctrl-names = "default";
195 status = "okay";
196
197 max77686_pmic@09 {
198 compatible = "maxim,max77686";
199 interrupt-parent = <&gpx0>;
200 interrupts = <7 0>;
201 reg = <0x09>;
Tomasz Figaada12c42013-12-12 17:07:21 +0100202 #clock-cells = <1>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900203
204 voltage-regulators {
205 ldo1_reg: ldo1 {
206 regulator-compatible = "LDO1";
207 regulator-name = "VALIVE_1.0V_AP";
208 regulator-min-microvolt = <1000000>;
209 regulator-max-microvolt = <1000000>;
210 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900211 };
212
213 ldo2_reg: ldo2 {
214 regulator-compatible = "LDO2";
215 regulator-name = "VM1M2_1.2V_AP";
216 regulator-min-microvolt = <1200000>;
217 regulator-max-microvolt = <1200000>;
218 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900219 regulator-state-mem {
220 regulator-on-in-suspend;
221 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900222 };
223
224 ldo3_reg: ldo3 {
225 regulator-compatible = "LDO3";
226 regulator-name = "VCC_1.8V_AP";
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
229 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900230 };
231
232 ldo4_reg: ldo4 {
233 regulator-compatible = "LDO4";
234 regulator-name = "VCC_2.8V_AP";
235 regulator-min-microvolt = <2800000>;
236 regulator-max-microvolt = <2800000>;
237 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900238 };
239
240 ldo5_reg: ldo5 {
241 regulator-compatible = "LDO5";
242 regulator-name = "VCC_1.8V_IO";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
245 regulator-always-on;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900246 };
247
248 ldo6_reg: ldo6 {
249 regulator-compatible = "LDO6";
250 regulator-name = "VMPLL_1.0V_AP";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
253 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900254 regulator-state-mem {
255 regulator-on-in-suspend;
256 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900257 };
258
259 ldo7_reg: ldo7 {
260 regulator-compatible = "LDO7";
261 regulator-name = "VPLL_1.0V_AP";
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <1000000>;
264 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900265 regulator-state-mem {
266 regulator-on-in-suspend;
267 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900268 };
269
270 ldo8_reg: ldo8 {
271 regulator-compatible = "LDO8";
272 regulator-name = "VMIPI_1.0V";
273 regulator-min-microvolt = <1000000>;
274 regulator-max-microvolt = <1000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900275 regulator-state-mem {
276 regulator-off-in-suspend;
277 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900278 };
279
280 ldo9_reg: ldo9 {
281 regulator-compatible = "LDO9";
282 regulator-name = "CAM_ISP_MIPI_1.2V";
283 regulator-min-microvolt = <1200000>;
284 regulator-max-microvolt = <1200000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900285 };
286
287 ldo10_reg: ldo10 {
288 regulator-compatible = "LDO10";
289 regulator-name = "VMIPI_1.8V";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900292 regulator-state-mem {
293 regulator-off-in-suspend;
294 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900295 };
296
297 ldo11_reg: ldo11 {
298 regulator-compatible = "LDO11";
299 regulator-name = "VABB1_1.95V";
300 regulator-min-microvolt = <1950000>;
301 regulator-max-microvolt = <1950000>;
302 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900303 regulator-state-mem {
304 regulator-off-in-suspend;
305 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900306 };
307
308 ldo12_reg: ldo12 {
309 regulator-compatible = "LDO12";
310 regulator-name = "VUOTG_3.0V";
311 regulator-min-microvolt = <3000000>;
312 regulator-max-microvolt = <3000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900313 regulator-state-mem {
314 regulator-off-in-suspend;
315 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900316 };
317
318 ldo13_reg: ldo13 {
319 regulator-compatible = "LDO13";
320 regulator-name = "NFC_AVDD_1.8V";
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900323 };
324
325 ldo14_reg: ldo14 {
326 regulator-compatible = "LDO14";
327 regulator-name = "VABB2_1.95V";
328 regulator-min-microvolt = <1950000>;
329 regulator-max-microvolt = <1950000>;
330 regulator-always-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900331 regulator-state-mem {
332 regulator-off-in-suspend;
333 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900334 };
335
336 ldo15_reg: ldo15 {
337 regulator-compatible = "LDO15";
338 regulator-name = "VHSIC_1.0V";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900341 regulator-state-mem {
342 regulator-on-in-suspend;
343 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900344 };
345
346 ldo16_reg: ldo16 {
347 regulator-compatible = "LDO16";
348 regulator-name = "VHSIC_1.8V";
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900351 regulator-state-mem {
352 regulator-on-in-suspend;
353 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900354 };
355
356 ldo17_reg: ldo17 {
357 regulator-compatible = "LDO17";
358 regulator-name = "CAM_SENSOR_CORE_1.2V";
359 regulator-min-microvolt = <1200000>;
360 regulator-max-microvolt = <1200000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900361 };
362
363 ldo18_reg: ldo18 {
364 regulator-compatible = "LDO18";
365 regulator-name = "CAM_ISP_SEN_IO_1.8V";
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900368 };
369
370 ldo19_reg: ldo19 {
371 regulator-compatible = "LDO19";
372 regulator-name = "VT_CAM_1.8V";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900375 };
376
377 ldo20_reg: ldo20 {
378 regulator-compatible = "LDO20";
379 regulator-name = "VDDQ_PRE_1.8V";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900382 };
383
384 ldo21_reg: ldo21 {
385 regulator-compatible = "LDO21";
386 regulator-name = "VTF_2.8V";
387 regulator-min-microvolt = <2800000>;
388 regulator-max-microvolt = <2800000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900389 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900390 };
391
392 ldo22_reg: ldo22 {
393 regulator-compatible = "LDO22";
394 regulator-name = "VMEM_VDD_2.8V";
395 regulator-min-microvolt = <2800000>;
396 regulator-max-microvolt = <2800000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900397 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900398 };
399
400 ldo23_reg: ldo23 {
401 regulator-compatible = "LDO23";
402 regulator-name = "TSP_AVDD_3.3V";
403 regulator-min-microvolt = <3300000>;
404 regulator-max-microvolt = <3300000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900405 };
406
407 ldo24_reg: ldo24 {
408 regulator-compatible = "LDO24";
409 regulator-name = "TSP_VDD_1.8V";
410 regulator-min-microvolt = <1800000>;
411 regulator-max-microvolt = <1800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900412 };
413
414 ldo25_reg: ldo25 {
415 regulator-compatible = "LDO25";
416 regulator-name = "LCD_VCC_3.3V";
417 regulator-min-microvolt = <2800000>;
418 regulator-max-microvolt = <2800000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900419 };
420
421 ldo26_reg: ldo26 {
422 regulator-compatible = "LDO26";
423 regulator-name = "MOTOR_VCC_3.0V";
424 regulator-min-microvolt = <3000000>;
425 regulator-max-microvolt = <3000000>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900426 };
427
428 buck1_reg: buck1 {
429 regulator-compatible = "BUCK1";
430 regulator-name = "vdd_mif";
431 regulator-min-microvolt = <850000>;
432 regulator-max-microvolt = <1100000>;
433 regulator-always-on;
434 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900435 regulator-state-mem {
436 regulator-off-in-suspend;
437 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900438 };
439
440 buck2_reg: buck2 {
441 regulator-compatible = "BUCK2";
442 regulator-name = "vdd_arm";
443 regulator-min-microvolt = <850000>;
444 regulator-max-microvolt = <1500000>;
445 regulator-always-on;
446 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900447 regulator-state-mem {
448 regulator-on-in-suspend;
449 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900450 };
451
452 buck3_reg: buck3 {
453 regulator-compatible = "BUCK3";
454 regulator-name = "vdd_int";
455 regulator-min-microvolt = <850000>;
456 regulator-max-microvolt = <1150000>;
457 regulator-always-on;
458 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900459 regulator-state-mem {
460 regulator-off-in-suspend;
461 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900462 };
463
464 buck4_reg: buck4 {
465 regulator-compatible = "BUCK4";
466 regulator-name = "vdd_g3d";
467 regulator-min-microvolt = <850000>;
468 regulator-max-microvolt = <1150000>;
469 regulator-boot-on;
Krzysztof Kozlowski4a235f62015-02-04 07:43:49 +0900470 regulator-state-mem {
471 regulator-off-in-suspend;
472 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900473 };
474
475 buck5_reg: buck5 {
476 regulator-compatible = "BUCK5";
477 regulator-name = "VMEM_1.2V_AP";
478 regulator-min-microvolt = <1200000>;
479 regulator-max-microvolt = <1200000>;
480 regulator-always-on;
481 };
482
483 buck6_reg: buck6 {
484 regulator-compatible = "BUCK6";
485 regulator-name = "VCC_SUB_1.35V";
486 regulator-min-microvolt = <1350000>;
487 regulator-max-microvolt = <1350000>;
488 regulator-always-on;
489 };
490
491 buck7_reg: buck7 {
492 regulator-compatible = "BUCK7";
493 regulator-name = "VCC_SUB_2.0V";
494 regulator-min-microvolt = <2000000>;
495 regulator-max-microvolt = <2000000>;
496 regulator-always-on;
497 };
498
499 buck8_reg: buck8 {
500 regulator-compatible = "BUCK8";
501 regulator-name = "VMEM_VDDF_3.0V";
502 regulator-min-microvolt = <2850000>;
503 regulator-max-microvolt = <2850000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900504 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900505 };
506
507 buck9_reg: buck9 {
508 regulator-compatible = "BUCK9";
509 regulator-name = "CAM_ISP_CORE_1.2V";
510 regulator-min-microvolt = <1000000>;
511 regulator-max-microvolt = <1200000>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900512 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900513 };
514 };
515 };
516 };
517
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900518 i2c_max77693: i2c-gpio-1 {
519 compatible = "i2c-gpio";
520 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
521 i2c-gpio,delay-us = <2>;
522 #address-cells = <1>;
523 #size-cells = <0>;
524 status = "okay";
525
526 max77693@66 {
527 compatible = "maxim,max77693";
528 interrupt-parent = <&gpx1>;
529 interrupts = <5 2>;
530 reg = <0x66>;
531
532 regulators {
533 esafeout1_reg: ESAFEOUT1@1 {
534 regulator-name = "ESAFEOUT1";
535 };
536 esafeout2_reg: ESAFEOUT2@2 {
537 regulator-name = "ESAFEOUT2";
538 };
539 charger_reg: CHARGER@0 {
540 regulator-name = "CHARGER";
541 regulator-min-microamp = <60000>;
542 regulator-max-microamp = <2580000>;
543 };
544 };
Jaewon Kimd9c68082014-11-22 23:19:22 +0900545
546 max77693_haptic {
547 compatible = "maxim,max77693-haptic";
548 haptic-supply = <&ldo26_reg>;
549 pwms = <&pwm 0 38022 0>;
550 };
Krzysztof Kozlowski7eec1262014-09-24 01:22:49 +0900551 };
552 };
553
Krzysztof Kozlowskie8614292015-02-04 07:43:44 +0900554 i2c_max77693_fuel: i2c-gpio-3 {
555 compatible = "i2c-gpio";
556 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
557 i2c-gpio,delay-us = <2>;
558 #address-cells = <1>;
559 #size-cells = <0>;
560 status = "okay";
561
562 max77693-fuel-gauge@36 {
563 compatible = "maxim,max17047";
564 interrupt-parent = <&gpx2>;
565 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
566 reg = <0x36>;
567 };
568 };
569
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900570 mmc@12550000 {
571 num-slots = <1>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900572 broken-cd;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900573 non-removable;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900574 card-detect-delay = <200>;
Krzysztof Kozlowskifaf9a3e2015-02-04 07:43:54 +0900575 vmmc-supply = <&ldo22_reg>;
Tomasz Figaca7c11f2013-12-21 07:38:19 +0900576 clock-frequency = <400000000>;
577 samsung,dw-mshc-ciu-div = <0>;
578 samsung,dw-mshc-sdr-timing = <2 3>;
579 samsung,dw-mshc-ddr-timing = <1 2>;
580 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
581 pinctrl-names = "default";
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900582 status = "okay";
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500583 bus-width = <8>;
584 cap-mmc-highspeed;
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900585 };
586
Krzysztof Kozlowskia427d152014-11-07 08:22:49 +0900587 sdhci@12530000 {
588 bus-width = <4>;
589 cd-gpios = <&gpx3 4 0>;
590 cd-inverted;
591 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
592 pinctrl-names = "default";
593 vmmc-supply = <&ldo21_reg>;
594 status = "okay";
595 };
596
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900597 serial@13800000 {
598 status = "okay";
599 };
600
601 serial@13810000 {
602 status = "okay";
603 };
604
605 serial@13820000 {
606 status = "okay";
607 };
608
609 serial@13830000 {
610 status = "okay";
611 };
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900612
Lukasz Majewski432047f2014-11-22 22:58:09 +0900613 tmu@100C0000 {
614 vtmu-supply = <&ldo10_reg>;
615 status = "okay";
616 };
617
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900618 i2c_ak8975: i2c-gpio-0 {
619 compatible = "i2c-gpio";
620 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
621 i2c-gpio,delay-us = <2>;
622 #address-cells = <1>;
623 #size-cells = <0>;
624 status = "okay";
625
626 ak8975@0c {
Beomho Seo30cc7982014-05-20 01:12:50 +0900627 compatible = "asahi-kasei,ak8975";
Jacek Anaszewski9f1eaef2013-08-06 02:49:44 +0900628 reg = <0x0c>;
629 gpios = <&gpj0 7 0>;
630 };
631 };
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900632
Beomho Seo85cb4e02014-05-22 07:56:53 +0900633 i2c_cm36651: i2c-gpio-2 {
634 compatible = "i2c-gpio";
635 gpios = <&gpf0 0 1>, <&gpf0 1 1>;
636 i2c-gpio,delay-us = <2>;
637 #address-cells = <1>;
638 #size-cells = <0>;
639
640 cm36651@18 {
641 compatible = "capella,cm36651";
642 reg = <0x18>;
643 interrupt-parent = <&gpx0>;
644 interrupts = <2 2>;
645 vled-supply = <&ps_als_reg>;
646 };
647 };
648
Andrzej Hajda201f1262013-08-06 02:49:45 +0900649 spi_1: spi@13930000 {
650 pinctrl-names = "default";
651 pinctrl-0 = <&spi1_bus>;
Naveen Krishna Chatradhie138d432014-07-16 17:19:10 +0200652 cs-gpios = <&gpb 5 0>;
Andrzej Hajda201f1262013-08-06 02:49:45 +0900653 status = "okay";
654
655 s5c73m3_spi: s5c73m3 {
656 compatible = "samsung,s5c73m3";
657 spi-max-frequency = <50000000>;
658 reg = <0>;
659 controller-data {
Andrzej Hajda201f1262013-08-06 02:49:45 +0900660 samsung,spi-feedback-delay = <2>;
661 };
662 };
663 };
664
Jaewon Kim249358c2014-11-22 23:19:18 +0900665 pwm: pwm@139D0000 {
666 pinctrl-0 = <&pwm0_out>;
667 pinctrl-names = "default";
668 samsung,pwm-outputs = <0>;
669 status = "okay";
670 };
671
Andrzej Hajda420ae842014-03-28 12:52:45 +0100672 dsi_0: dsi@11C80000 {
673 vddcore-supply = <&ldo8_reg>;
674 vddio-supply = <&ldo10_reg>;
675 samsung,pll-clock-frequency = <24000000>;
676 status = "okay";
677
678 ports {
679 #address-cells = <1>;
680 #size-cells = <0>;
681
682 port@1 {
683 reg = <1>;
684
685 dsi_out: endpoint {
686 remote-endpoint = <&dsi_in>;
687 samsung,burst-clock-frequency = <500000000>;
688 samsung,esc-clock-frequency = <20000000>;
689 };
690 };
691 };
692
693 panel@0 {
694 compatible = "samsung,s6e8aa0";
695 reg = <0>;
696 vdd3-supply = <&lcd_vdd3_reg>;
697 vci-supply = <&ldo25_reg>;
698 reset-gpios = <&gpy4 5 0>;
699 power-on-delay= <50>;
700 reset-delay = <100>;
701 init-delay = <100>;
702 flip-horizontal;
703 flip-vertical;
704 panel-width-mm = <58>;
705 panel-height-mm = <103>;
706
707 display-timings {
708 timing-0 {
709 clock-frequency = <0>;
710 hactive = <720>;
711 vactive = <1280>;
712 hfront-porch = <5>;
713 hback-porch = <5>;
714 hsync-len = <5>;
715 vfront-porch = <13>;
716 vback-porch = <1>;
717 vsync-len = <2>;
718 };
719 };
720
721 port {
722 dsi_in: endpoint {
723 remote-endpoint = <&dsi_out>;
724 };
725 };
726 };
727 };
728
Andrzej Hajdabbab1e3f2014-03-28 12:52:47 +0100729 fimd@11c00000 {
730 status = "okay";
731 };
732
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900733 camera: camera {
734 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900735 pinctrl-names = "default";
736 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900737 assigned-clocks = <&clock CLK_MOUT_CAM0>,
738 <&clock CLK_MOUT_CAM1>;
739 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
740 <&clock CLK_MOUT_MPLL_USER_T>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900741
742 fimc_0: fimc@11800000 {
743 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900744 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
745 <&clock CLK_SCLK_FIMC0>;
746 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
747 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900748 };
749
750 fimc_1: fimc@11810000 {
751 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900752 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
753 <&clock CLK_SCLK_FIMC1>;
754 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
755 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900756 };
757
758 fimc_2: fimc@11820000 {
759 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900760 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
761 <&clock CLK_SCLK_FIMC2>;
762 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
763 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900764 };
765
766 fimc_3: fimc@11830000 {
767 status = "okay";
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900768 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
769 <&clock CLK_SCLK_FIMC3>;
770 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
771 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900772 };
773
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900774 csis_0: csis@11880000 {
775 status = "okay";
776 vddcore-supply = <&ldo8_reg>;
777 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900778 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
779 <&clock CLK_SCLK_CSIS0>;
780 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
781 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrocki4cb37862014-05-09 06:01:40 +0900782
783 /* Camera C (3) MIPI CSI-2 (CSIS0) */
784 port@3 {
785 reg = <3>;
786 csis0_ep: endpoint {
787 remote-endpoint = <&s5c73m3_ep>;
788 data-lanes = <1 2 3 4>;
789 samsung,csis-hs-settle = <12>;
790 };
791 };
792 };
793
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900794 csis_1: csis@11890000 {
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900795 status = "okay";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900796 vddcore-supply = <&ldo8_reg>;
797 vddio-supply = <&ldo10_reg>;
Sylwester Nawrocki0357a442014-11-22 23:13:03 +0900798 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
799 <&clock CLK_SCLK_CSIS1>;
800 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
801 assigned-clock-rates = <0>, <176000000>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900802
803 /* Camera D (4) MIPI CSI-2 (CSIS1) */
804 port@4 {
805 reg = <4>;
806 csis1_ep: endpoint {
807 remote-endpoint = <&is_s5k6a3_ep>;
808 data-lanes = <1>;
809 samsung,csis-hs-settle = <18>;
810 samsung,csis-wclk;
811 };
812 };
813 };
814
815 fimc_lite_0: fimc-lite@12390000 {
816 status = "okay";
817 };
818
819 fimc_lite_1: fimc-lite@123A0000 {
820 status = "okay";
821 };
822
823 fimc-is@12000000 {
824 pinctrl-0 = <&fimc_is_uart>;
825 pinctrl-names = "default";
826 status = "okay";
827
828 i2c1_isp: i2c-isp@12140000 {
829 pinctrl-0 = <&fimc_is_i2c1>;
830 pinctrl-names = "default";
831
832 s5k6a3@10 {
833 compatible = "samsung,s5k6a3";
834 reg = <0x10>;
835 svdda-supply = <&cam_io_reg>;
836 svddio-supply = <&ldo19_reg>;
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900837 afvdd-supply = <&ldo19_reg>;
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900838 clock-frequency = <24000000>;
839 /* CAM_B_CLKOUT */
Sylwester Nawrockiee5eda62014-05-09 06:00:35 +0900840 clocks = <&camera 1>;
841 clock-names = "extclk";
Sylwester Nawrockib4fec642013-08-06 02:49:44 +0900842 samsung,camclk-out = <1>;
843 gpios = <&gpm1 6 0>;
844
845 port {
846 is_s5k6a3_ep: endpoint {
847 remote-endpoint = <&csis1_ep>;
848 data-lanes = <1>;
849 };
850 };
851 };
852 };
853 };
854 };
Chanwoo Choi4f423782014-03-18 06:25:59 +0900855
Chanho Park3c8977f2014-05-23 03:30:21 +0900856 exynos-usbphy@125B0000 {
857 status = "okay";
858 };
859
860 hsotg@12480000 {
861 vusb_d-supply = <&ldo15_reg>;
862 vusb_a-supply = <&ldo12_reg>;
Marek Szyprowski32f144f2015-01-24 13:12:03 +0900863 dr_mode = "peripheral";
Chanho Park3c8977f2014-05-23 03:30:21 +0900864 status = "okay";
865 };
866
Chanwoo Choi4f423782014-03-18 06:25:59 +0900867 thermistor-ap@0 {
868 compatible = "ntc,ncp15wb473";
869 pullup-uv = <1800000>; /* VCC_1.8V_AP */
870 pullup-ohm = <100000>; /* 100K */
871 pulldown-ohm = <100000>; /* 100K */
872 io-channels = <&adc 1>; /* AP temperature */
873 };
874
875 thermistor-battery@1 {
876 compatible = "ntc,ncp15wb473";
877 pullup-uv = <1800000>; /* VCC_1.8V_AP */
878 pullup-ohm = <100000>; /* 100K */
879 pulldown-ohm = <100000>; /* 100K */
880 io-channels = <&adc 2>; /* Battery temperature */
881 };
Tomasz Figa15dfdfa2013-07-24 13:41:45 +0900882};
Tomasz Figa09918a92014-09-24 01:20:03 +0900883
884&pinctrl_0 {
885 pinctrl-names = "default";
886 pinctrl-0 = <&sleep0>;
887
888 sleep0: sleep-states {
889 PIN_SLP(gpa0-0, INPUT, NONE);
890 PIN_SLP(gpa0-1, OUT0, NONE);
891 PIN_SLP(gpa0-2, INPUT, NONE);
892 PIN_SLP(gpa0-3, INPUT, UP);
893 PIN_SLP(gpa0-4, INPUT, NONE);
894 PIN_SLP(gpa0-5, INPUT, DOWN);
895 PIN_SLP(gpa0-6, INPUT, DOWN);
896 PIN_SLP(gpa0-7, INPUT, UP);
897
898 PIN_SLP(gpa1-0, INPUT, DOWN);
899 PIN_SLP(gpa1-1, INPUT, DOWN);
900 PIN_SLP(gpa1-2, INPUT, DOWN);
901 PIN_SLP(gpa1-3, INPUT, DOWN);
902 PIN_SLP(gpa1-4, INPUT, DOWN);
903 PIN_SLP(gpa1-5, INPUT, DOWN);
904
905 PIN_SLP(gpb-0, INPUT, NONE);
906 PIN_SLP(gpb-1, INPUT, NONE);
907 PIN_SLP(gpb-2, INPUT, NONE);
908 PIN_SLP(gpb-3, INPUT, NONE);
909 PIN_SLP(gpb-4, INPUT, DOWN);
910 PIN_SLP(gpb-5, INPUT, UP);
911 PIN_SLP(gpb-6, INPUT, DOWN);
912 PIN_SLP(gpb-7, INPUT, DOWN);
913
914 PIN_SLP(gpc0-0, INPUT, DOWN);
915 PIN_SLP(gpc0-1, INPUT, DOWN);
916 PIN_SLP(gpc0-2, INPUT, DOWN);
917 PIN_SLP(gpc0-3, INPUT, DOWN);
918 PIN_SLP(gpc0-4, INPUT, DOWN);
919
920 PIN_SLP(gpc1-0, INPUT, NONE);
921 PIN_SLP(gpc1-1, PREV, NONE);
922 PIN_SLP(gpc1-2, INPUT, NONE);
923 PIN_SLP(gpc1-3, INPUT, NONE);
924 PIN_SLP(gpc1-4, INPUT, NONE);
925
926 PIN_SLP(gpd0-0, INPUT, DOWN);
927 PIN_SLP(gpd0-1, INPUT, DOWN);
928 PIN_SLP(gpd0-2, INPUT, NONE);
929 PIN_SLP(gpd0-3, INPUT, NONE);
930
931 PIN_SLP(gpd1-0, INPUT, DOWN);
932 PIN_SLP(gpd1-1, INPUT, DOWN);
933 PIN_SLP(gpd1-2, INPUT, NONE);
934 PIN_SLP(gpd1-3, INPUT, NONE);
935
936 PIN_SLP(gpf0-0, INPUT, NONE);
937 PIN_SLP(gpf0-1, INPUT, NONE);
938 PIN_SLP(gpf0-2, INPUT, DOWN);
939 PIN_SLP(gpf0-3, INPUT, DOWN);
940 PIN_SLP(gpf0-4, INPUT, NONE);
941 PIN_SLP(gpf0-5, INPUT, DOWN);
942 PIN_SLP(gpf0-6, INPUT, NONE);
943 PIN_SLP(gpf0-7, INPUT, DOWN);
944
945 PIN_SLP(gpf1-0, INPUT, DOWN);
946 PIN_SLP(gpf1-1, INPUT, DOWN);
947 PIN_SLP(gpf1-2, INPUT, DOWN);
948 PIN_SLP(gpf1-3, INPUT, DOWN);
949 PIN_SLP(gpf1-4, INPUT, NONE);
950 PIN_SLP(gpf1-5, INPUT, NONE);
951 PIN_SLP(gpf1-6, INPUT, DOWN);
952 PIN_SLP(gpf1-7, PREV, NONE);
953
954 PIN_SLP(gpf2-0, PREV, NONE);
955 PIN_SLP(gpf2-1, INPUT, DOWN);
956 PIN_SLP(gpf2-2, INPUT, DOWN);
957 PIN_SLP(gpf2-3, INPUT, DOWN);
958 PIN_SLP(gpf2-4, INPUT, DOWN);
959 PIN_SLP(gpf2-5, INPUT, DOWN);
960 PIN_SLP(gpf2-6, INPUT, NONE);
961 PIN_SLP(gpf2-7, INPUT, NONE);
962
963 PIN_SLP(gpf3-0, INPUT, NONE);
964 PIN_SLP(gpf3-1, PREV, NONE);
965 PIN_SLP(gpf3-2, PREV, NONE);
966 PIN_SLP(gpf3-3, PREV, NONE);
967 PIN_SLP(gpf3-4, OUT1, NONE);
968 PIN_SLP(gpf3-5, INPUT, DOWN);
969
970 PIN_SLP(gpj0-0, PREV, NONE);
971 PIN_SLP(gpj0-1, PREV, NONE);
972 PIN_SLP(gpj0-2, PREV, NONE);
973 PIN_SLP(gpj0-3, INPUT, DOWN);
974 PIN_SLP(gpj0-4, PREV, NONE);
975 PIN_SLP(gpj0-5, PREV, NONE);
976 PIN_SLP(gpj0-6, INPUT, DOWN);
977 PIN_SLP(gpj0-7, INPUT, DOWN);
978
979 PIN_SLP(gpj1-0, INPUT, DOWN);
980 PIN_SLP(gpj1-1, PREV, NONE);
981 PIN_SLP(gpj1-2, PREV, NONE);
982 PIN_SLP(gpj1-3, INPUT, DOWN);
983 PIN_SLP(gpj1-4, INPUT, DOWN);
984 };
985};
986
987&pinctrl_1 {
988 pinctrl-names = "default";
989 pinctrl-0 = <&sleep1>;
990
991 sleep1: sleep-states {
992 PIN_SLP(gpk0-0, PREV, NONE);
993 PIN_SLP(gpk0-1, PREV, NONE);
994 PIN_SLP(gpk0-2, OUT0, NONE);
995 PIN_SLP(gpk0-3, PREV, NONE);
996 PIN_SLP(gpk0-4, PREV, NONE);
997 PIN_SLP(gpk0-5, PREV, NONE);
998 PIN_SLP(gpk0-6, PREV, NONE);
999
1000 PIN_SLP(gpk1-0, INPUT, DOWN);
1001 PIN_SLP(gpk1-1, INPUT, DOWN);
1002 PIN_SLP(gpk1-2, INPUT, DOWN);
1003 PIN_SLP(gpk1-3, PREV, NONE);
1004 PIN_SLP(gpk1-4, PREV, NONE);
1005 PIN_SLP(gpk1-5, PREV, NONE);
1006 PIN_SLP(gpk1-6, PREV, NONE);
1007
1008 PIN_SLP(gpk2-0, INPUT, DOWN);
1009 PIN_SLP(gpk2-1, INPUT, DOWN);
1010 PIN_SLP(gpk2-2, INPUT, DOWN);
1011 PIN_SLP(gpk2-3, INPUT, DOWN);
1012 PIN_SLP(gpk2-4, INPUT, DOWN);
1013 PIN_SLP(gpk2-5, INPUT, DOWN);
1014 PIN_SLP(gpk2-6, INPUT, DOWN);
1015
1016 PIN_SLP(gpk3-0, OUT0, NONE);
1017 PIN_SLP(gpk3-1, INPUT, NONE);
1018 PIN_SLP(gpk3-2, INPUT, DOWN);
1019 PIN_SLP(gpk3-3, INPUT, NONE);
1020 PIN_SLP(gpk3-4, INPUT, NONE);
1021 PIN_SLP(gpk3-5, INPUT, NONE);
1022 PIN_SLP(gpk3-6, INPUT, NONE);
1023
1024 PIN_SLP(gpl0-0, INPUT, DOWN);
1025 PIN_SLP(gpl0-1, INPUT, DOWN);
1026 PIN_SLP(gpl0-2, INPUT, DOWN);
1027 PIN_SLP(gpl0-3, INPUT, DOWN);
1028 PIN_SLP(gpl0-4, PREV, NONE);
1029 PIN_SLP(gpl0-6, PREV, NONE);
1030
1031 PIN_SLP(gpl1-0, INPUT, DOWN);
1032 PIN_SLP(gpl1-1, INPUT, DOWN);
1033 PIN_SLP(gpl2-0, INPUT, DOWN);
1034 PIN_SLP(gpl2-1, INPUT, DOWN);
1035 PIN_SLP(gpl2-2, INPUT, DOWN);
1036 PIN_SLP(gpl2-3, INPUT, DOWN);
1037 PIN_SLP(gpl2-4, INPUT, DOWN);
1038 PIN_SLP(gpl2-5, INPUT, DOWN);
1039 PIN_SLP(gpl2-6, PREV, NONE);
1040 PIN_SLP(gpl2-7, INPUT, DOWN);
1041
1042 PIN_SLP(gpm0-0, INPUT, DOWN);
1043 PIN_SLP(gpm0-1, INPUT, DOWN);
1044 PIN_SLP(gpm0-2, INPUT, DOWN);
1045 PIN_SLP(gpm0-3, INPUT, DOWN);
1046 PIN_SLP(gpm0-4, INPUT, DOWN);
1047 PIN_SLP(gpm0-5, INPUT, DOWN);
1048 PIN_SLP(gpm0-6, INPUT, DOWN);
1049 PIN_SLP(gpm0-7, INPUT, DOWN);
1050
1051 PIN_SLP(gpm1-0, INPUT, DOWN);
1052 PIN_SLP(gpm1-1, INPUT, DOWN);
1053 PIN_SLP(gpm1-2, INPUT, NONE);
1054 PIN_SLP(gpm1-3, INPUT, NONE);
1055 PIN_SLP(gpm1-4, INPUT, NONE);
1056 PIN_SLP(gpm1-5, INPUT, NONE);
1057 PIN_SLP(gpm1-6, INPUT, DOWN);
1058
1059 PIN_SLP(gpm2-0, INPUT, NONE);
1060 PIN_SLP(gpm2-1, INPUT, NONE);
1061 PIN_SLP(gpm2-2, INPUT, DOWN);
1062 PIN_SLP(gpm2-3, INPUT, DOWN);
1063 PIN_SLP(gpm2-4, INPUT, DOWN);
1064
1065 PIN_SLP(gpm3-0, PREV, NONE);
1066 PIN_SLP(gpm3-1, PREV, NONE);
1067 PIN_SLP(gpm3-2, PREV, NONE);
1068 PIN_SLP(gpm3-3, OUT1, NONE);
1069 PIN_SLP(gpm3-4, INPUT, DOWN);
1070 PIN_SLP(gpm3-5, INPUT, DOWN);
1071 PIN_SLP(gpm3-6, INPUT, DOWN);
1072 PIN_SLP(gpm3-7, INPUT, DOWN);
1073
1074 PIN_SLP(gpm4-0, INPUT, DOWN);
1075 PIN_SLP(gpm4-1, INPUT, DOWN);
1076 PIN_SLP(gpm4-2, INPUT, DOWN);
1077 PIN_SLP(gpm4-3, INPUT, DOWN);
1078 PIN_SLP(gpm4-4, INPUT, DOWN);
1079 PIN_SLP(gpm4-5, INPUT, DOWN);
1080 PIN_SLP(gpm4-6, INPUT, DOWN);
1081 PIN_SLP(gpm4-7, INPUT, DOWN);
1082
1083 PIN_SLP(gpy0-0, INPUT, DOWN);
1084 PIN_SLP(gpy0-1, INPUT, DOWN);
1085 PIN_SLP(gpy0-2, INPUT, DOWN);
1086 PIN_SLP(gpy0-3, INPUT, DOWN);
1087 PIN_SLP(gpy0-4, INPUT, DOWN);
1088 PIN_SLP(gpy0-5, INPUT, DOWN);
1089
1090 PIN_SLP(gpy1-0, INPUT, DOWN);
1091 PIN_SLP(gpy1-1, INPUT, DOWN);
1092 PIN_SLP(gpy1-2, INPUT, DOWN);
1093 PIN_SLP(gpy1-3, INPUT, DOWN);
1094
1095 PIN_SLP(gpy2-0, PREV, NONE);
1096 PIN_SLP(gpy2-1, INPUT, DOWN);
1097 PIN_SLP(gpy2-2, INPUT, NONE);
1098 PIN_SLP(gpy2-3, INPUT, NONE);
1099 PIN_SLP(gpy2-4, INPUT, NONE);
1100 PIN_SLP(gpy2-5, INPUT, NONE);
1101
1102 PIN_SLP(gpy3-0, INPUT, DOWN);
1103 PIN_SLP(gpy3-1, INPUT, DOWN);
1104 PIN_SLP(gpy3-2, INPUT, DOWN);
1105 PIN_SLP(gpy3-3, INPUT, DOWN);
1106 PIN_SLP(gpy3-4, INPUT, DOWN);
1107 PIN_SLP(gpy3-5, INPUT, DOWN);
1108 PIN_SLP(gpy3-6, INPUT, DOWN);
1109 PIN_SLP(gpy3-7, INPUT, DOWN);
1110
1111 PIN_SLP(gpy4-0, INPUT, DOWN);
1112 PIN_SLP(gpy4-1, INPUT, DOWN);
1113 PIN_SLP(gpy4-2, INPUT, DOWN);
1114 PIN_SLP(gpy4-3, INPUT, DOWN);
1115 PIN_SLP(gpy4-4, INPUT, DOWN);
1116 PIN_SLP(gpy4-5, INPUT, DOWN);
1117 PIN_SLP(gpy4-6, INPUT, DOWN);
1118 PIN_SLP(gpy4-7, INPUT, DOWN);
1119
1120 PIN_SLP(gpy5-0, INPUT, DOWN);
1121 PIN_SLP(gpy5-1, INPUT, DOWN);
1122 PIN_SLP(gpy5-2, INPUT, DOWN);
1123 PIN_SLP(gpy5-3, INPUT, DOWN);
1124 PIN_SLP(gpy5-4, INPUT, DOWN);
1125 PIN_SLP(gpy5-5, INPUT, DOWN);
1126 PIN_SLP(gpy5-6, INPUT, DOWN);
1127 PIN_SLP(gpy5-7, INPUT, DOWN);
1128
1129 PIN_SLP(gpy6-0, INPUT, DOWN);
1130 PIN_SLP(gpy6-1, INPUT, DOWN);
1131 PIN_SLP(gpy6-2, INPUT, DOWN);
1132 PIN_SLP(gpy6-3, INPUT, DOWN);
1133 PIN_SLP(gpy6-4, INPUT, DOWN);
1134 PIN_SLP(gpy6-5, INPUT, DOWN);
1135 PIN_SLP(gpy6-6, INPUT, DOWN);
1136 PIN_SLP(gpy6-7, INPUT, DOWN);
1137 };
1138};
1139
1140&pinctrl_2 {
1141 pinctrl-names = "default";
1142 pinctrl-0 = <&sleep2>;
1143
1144 sleep2: sleep-states {
1145 PIN_SLP(gpz-0, INPUT, DOWN);
1146 PIN_SLP(gpz-1, INPUT, DOWN);
1147 PIN_SLP(gpz-2, INPUT, DOWN);
1148 PIN_SLP(gpz-3, INPUT, DOWN);
1149 PIN_SLP(gpz-4, INPUT, DOWN);
1150 PIN_SLP(gpz-5, INPUT, DOWN);
1151 PIN_SLP(gpz-6, INPUT, DOWN);
1152 };
1153};
1154
1155&pinctrl_3 {
1156 pinctrl-names = "default";
1157 pinctrl-0 = <&sleep3>;
1158
1159 sleep3: sleep-states {
1160 PIN_SLP(gpv0-0, INPUT, DOWN);
1161 PIN_SLP(gpv0-1, INPUT, DOWN);
1162 PIN_SLP(gpv0-2, INPUT, DOWN);
1163 PIN_SLP(gpv0-3, INPUT, DOWN);
1164 PIN_SLP(gpv0-4, INPUT, DOWN);
1165 PIN_SLP(gpv0-5, INPUT, DOWN);
1166 PIN_SLP(gpv0-6, INPUT, DOWN);
1167 PIN_SLP(gpv0-7, INPUT, DOWN);
1168
1169 PIN_SLP(gpv1-0, INPUT, DOWN);
1170 PIN_SLP(gpv1-1, INPUT, DOWN);
1171 PIN_SLP(gpv1-2, INPUT, DOWN);
1172 PIN_SLP(gpv1-3, INPUT, DOWN);
1173 PIN_SLP(gpv1-4, INPUT, DOWN);
1174 PIN_SLP(gpv1-5, INPUT, DOWN);
1175 PIN_SLP(gpv1-6, INPUT, DOWN);
1176 PIN_SLP(gpv1-7, INPUT, DOWN);
1177
1178 PIN_SLP(gpv2-0, INPUT, DOWN);
1179 PIN_SLP(gpv2-1, INPUT, DOWN);
1180 PIN_SLP(gpv2-2, INPUT, DOWN);
1181 PIN_SLP(gpv2-3, INPUT, DOWN);
1182 PIN_SLP(gpv2-4, INPUT, DOWN);
1183 PIN_SLP(gpv2-5, INPUT, DOWN);
1184 PIN_SLP(gpv2-6, INPUT, DOWN);
1185 PIN_SLP(gpv2-7, INPUT, DOWN);
1186
1187 PIN_SLP(gpv3-0, INPUT, DOWN);
1188 PIN_SLP(gpv3-1, INPUT, DOWN);
1189 PIN_SLP(gpv3-2, INPUT, DOWN);
1190 PIN_SLP(gpv3-3, INPUT, DOWN);
1191 PIN_SLP(gpv3-4, INPUT, DOWN);
1192 PIN_SLP(gpv3-5, INPUT, DOWN);
1193 PIN_SLP(gpv3-6, INPUT, DOWN);
1194 PIN_SLP(gpv3-7, INPUT, DOWN);
1195
1196 PIN_SLP(gpv4-0, INPUT, DOWN);
1197 };
1198};