blob: 1f964ec35c5ec87d9ed433a38f07d3bcea146886 [file] [log] [blame]
Arun Kumar K3528dd32014-05-09 06:06:25 +09001/*
2 * Google Peach Pit Rev 6+ board device tree source
3 *
4 * Copyright (c) 2014 Google, Inc
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10
11/dts-v1/;
12#include <dt-bindings/input/input.h>
13#include <dt-bindings/gpio/gpio.h>
Javier Martinez Canillas064ac052014-09-14 00:45:15 +090014#include <dt-bindings/interrupt-controller/irq.h>
Javier Martinez Canillasfa781dd2014-09-24 00:16:45 +090015#include <dt-bindings/clock/maxim,max77802.h>
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +090016#include <dt-bindings/regulator/maxim,max77802.h>
Arun Kumar K3528dd32014-05-09 06:06:25 +090017#include "exynos5420.dtsi"
Krzysztof Kozlowski4f0d20e2015-12-11 15:05:56 +090018#include "exynos5420-cpus.dtsi"
Marek Szyprowski8b9ac7e2016-05-24 15:31:29 +020019#include "exynos-mfc-reserved-memory.dtsi"
Arun Kumar K3528dd32014-05-09 06:06:25 +090020
21/ {
22 model = "Google Peach Pit Rev 6+";
23
24 compatible = "google,pit-rev16",
25 "google,pit-rev15", "google,pit-rev14",
26 "google,pit-rev13", "google,pit-rev12",
27 "google,pit-rev11", "google,pit-rev10",
28 "google,pit-rev9", "google,pit-rev8",
29 "google,pit-rev7", "google,pit-rev6",
30 "google,pit", "google,peach","samsung,exynos5420",
31 "samsung,exynos5";
32
Doug Anderson80600982014-07-19 04:09:15 +090033 aliases {
34 /* Assign 20 so we don't get confused w/ builtin ones */
35 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
36 };
37
Ajay Kumar3b8fe982014-09-14 02:20:18 +090038 backlight: backlight {
Tushar Behera522c8ff2014-06-21 21:50:17 +090039 compatible = "pwm-backlight";
40 pwms = <&pwm 0 1000000 0>;
41 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
42 default-brightness-level = <7>;
Ajay Kumar3b8fe982014-09-14 02:20:18 +090043 power-supply = <&tps65090_fet1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +090044 pinctrl-0 = <&pwm0_out>;
45 pinctrl-names = "default";
Arun Kumar K3528dd32014-05-09 06:06:25 +090046 };
47
Javier Martinez Canillas1d1b00a2015-03-18 00:31:22 +090048 chosen {
49 stdout-path = "serial3:115200n8";
50 };
51
Arun Kumar K3528dd32014-05-09 06:06:25 +090052 fixed-rate-clocks {
53 oscclk {
54 compatible = "samsung,exynos5420-oscclk";
55 clock-frequency = <24000000>;
56 };
57 };
58
59 gpio-keys {
60 compatible = "gpio-keys";
61
62 pinctrl-names = "default";
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090063 pinctrl-0 = <&power_key_irq &lid_irq>;
Arun Kumar K3528dd32014-05-09 06:06:25 +090064
65 power {
66 label = "Power";
67 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_POWER>;
Sudeep Holla36a02822016-01-28 15:59:58 +000069 wakeup-source;
Arun Kumar K3528dd32014-05-09 06:06:25 +090070 };
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090071
72 lid-switch {
73 label = "Lid";
74 gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
75 linux,input-type = <5>; /* EV_SW */
76 linux,code = <0>; /* SW_LID */
77 debounce-interval = <1>;
Sudeep Holla36a02822016-01-28 15:59:58 +000078 wakeup-source;
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090079 };
Arun Kumar K3528dd32014-05-09 06:06:25 +090080 };
81
Javier Martinez Canillasa0eb1092016-09-01 11:06:56 +020082 memory@20000000 {
Javier Martinez Canillas12676ee2016-09-01 11:06:53 +020083 device_type = "memory";
Tushar Behera522c8ff2014-06-21 21:50:17 +090084 reg = <0x20000000 0x80000000>;
Arun Kumar K3528dd32014-05-09 06:06:25 +090085 };
Tushar Beheraead39932014-05-17 07:44:10 +090086
87 sound {
88 compatible = "google,snow-audio-max98090";
89
Tushar Beheraa8d80b62014-07-08 08:20:08 +090090 samsung,model = "Peach-Pit-I2S-MAX98090";
Tushar Beheraead39932014-05-17 07:44:10 +090091 samsung,i2s-controller = <&i2s0>;
92 samsung,audio-codec = <&max98090>;
93 };
Vivek Gautam14a35ad2014-05-19 22:29:42 +090094
95 usb300_vbus_reg: regulator-usb300 {
96 compatible = "regulator-fixed";
97 regulator-name = "P5.0V_USB3CON0";
98 regulator-min-microvolt = <5000000>;
99 regulator-max-microvolt = <5000000>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900100 gpio = <&gph0 0 GPIO_ACTIVE_HIGH>;
Vivek Gautam14a35ad2014-05-19 22:29:42 +0900101 pinctrl-names = "default";
102 pinctrl-0 = <&usb300_vbus_en>;
103 enable-active-high;
104 };
105
106 usb301_vbus_reg: regulator-usb301 {
107 compatible = "regulator-fixed";
108 regulator-name = "P5.0V_USB3CON1";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900111 gpio = <&gph0 1 GPIO_ACTIVE_HIGH>;
Vivek Gautam14a35ad2014-05-19 22:29:42 +0900112 pinctrl-names = "default";
113 pinctrl-0 = <&usb301_vbus_en>;
114 enable-active-high;
115 };
Doug Anderson80600982014-07-19 04:09:15 +0900116
117 vbat: fixed-regulator {
118 compatible = "regulator-fixed";
119 regulator-name = "vbat-supply";
120 regulator-boot-on;
121 regulator-always-on;
122 };
Ajay Kumar3b8fe982014-09-14 02:20:18 +0900123
124 panel: panel {
125 compatible = "auo,b116xw03";
126 power-supply = <&tps65090_fet6>;
127 backlight = <&backlight>;
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900128
129 port {
130 panel_in: endpoint {
131 remote-endpoint = <&bridge_out>;
132 };
133 };
Ajay Kumar3b8fe982014-09-14 02:20:18 +0900134 };
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900135
136 mmc1_pwrseq: mmc1_pwrseq {
137 compatible = "mmc-pwrseq-simple";
138 reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */
139 clocks = <&max77802 MAX77802_CLK_32K_CP>;
140 clock-names = "ext_clock";
141 };
Arun Kumar K3528dd32014-05-09 06:06:25 +0900142};
143
Naveen Krishna Chatradhi7b488032014-09-14 00:46:56 +0900144&adc {
145 status = "okay";
146 vdd-supply = <&ldo9_reg>;
147};
148
Bartlomiej Zolnierkiewicz8b51c5e2015-12-15 18:33:15 +0100149&cpu0 {
150 cpu-supply = <&buck2_reg>;
151};
152
153&cpu4 {
154 cpu-supply = <&buck6_reg>;
155};
156
Tushar Behera522c8ff2014-06-21 21:50:17 +0900157&dp {
Arun Kumar K3528dd32014-05-09 06:06:25 +0900158 status = "okay";
Tushar Behera522c8ff2014-06-21 21:50:17 +0900159 pinctrl-names = "default";
160 pinctrl-0 = <&dp_hpd_gpio>;
161 samsung,color-space = <0>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900162 samsung,color-depth = <1>;
163 samsung,link-rate = <0x06>;
164 samsung,lane-count = <2>;
Yakir Yang123155762016-02-15 19:10:31 +0800165 hpd-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900166
167 ports {
Javier Martinez Canillasa7d78652016-06-06 16:24:44 -0400168 port {
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900169 dp_out: endpoint {
170 remote-endpoint = <&bridge_in>;
171 };
172 };
173 };
Arun Kumar K3528dd32014-05-09 06:06:25 +0900174};
175
Tushar Behera522c8ff2014-06-21 21:50:17 +0900176&fimd {
177 status = "okay";
178 samsung,invert-vclk;
179};
180
181&hdmi {
182 status = "okay";
Milo Kim05b01dd2016-08-24 22:07:16 +0900183 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900184 pinctrl-names = "default";
185 pinctrl-0 = <&hdmi_hpd_irq>;
186 ddc = <&i2c_2>;
Rahul Sharmae634a152014-09-14 00:45:23 +0900187
188 hdmi-en-supply = <&tps65090_fet7>;
189 vdd-supply = <&ldo8_reg>;
190 vdd_osc-supply = <&ldo10_reg>;
191 vdd_pll-supply = <&ldo8_reg>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900192};
193
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900194&hsi2c_4 {
195 status = "okay";
196 clock-frequency = <400000>;
197
Javier Martinez Canillasfa781dd2014-09-24 00:16:45 +0900198 max77802: max77802-pmic@9 {
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900199 compatible = "maxim,max77802";
200 interrupt-parent = <&gpx3>;
201 interrupts = <1 IRQ_TYPE_NONE>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&max77802_irq>, <&pmic_selb>,
204 <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>;
205 wakeup-source;
206 reg = <0x9>;
207 #clock-cells = <1>;
208
209 inb1-supply = <&tps65090_dcdc2>;
210 inb2-supply = <&tps65090_dcdc1>;
211 inb3-supply = <&tps65090_dcdc2>;
212 inb4-supply = <&tps65090_dcdc2>;
213 inb5-supply = <&tps65090_dcdc1>;
214 inb6-supply = <&tps65090_dcdc2>;
215 inb7-supply = <&tps65090_dcdc1>;
216 inb8-supply = <&tps65090_dcdc1>;
217 inb9-supply = <&tps65090_dcdc1>;
218 inb10-supply = <&tps65090_dcdc1>;
219
220 inl1-supply = <&buck5_reg>;
221 inl2-supply = <&buck7_reg>;
222 inl3-supply = <&buck9_reg>;
223 inl4-supply = <&buck9_reg>;
224 inl5-supply = <&buck9_reg>;
225 inl6-supply = <&tps65090_dcdc2>;
226 inl7-supply = <&buck9_reg>;
227 inl9-supply = <&tps65090_dcdc2>;
228 inl10-supply = <&buck7_reg>;
229
230 regulators {
231 buck1_reg: BUCK1 {
232 regulator-name = "vdd_mif";
233 regulator-min-microvolt = <800000>;
234 regulator-max-microvolt = <1300000>;
235 regulator-always-on;
236 regulator-boot-on;
237 regulator-ramp-delay = <12500>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900238 regulator-state-mem {
239 regulator-off-in-suspend;
240 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900241 };
242
243 buck2_reg: BUCK2 {
244 regulator-name = "vdd_arm";
245 regulator-min-microvolt = <800000>;
246 regulator-max-microvolt = <1500000>;
247 regulator-always-on;
248 regulator-boot-on;
249 regulator-ramp-delay = <12500>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900250 regulator-state-mem {
251 regulator-off-in-suspend;
252 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900253 };
254
255 buck3_reg: BUCK3 {
256 regulator-name = "vdd_int";
257 regulator-min-microvolt = <800000>;
258 regulator-max-microvolt = <1400000>;
259 regulator-always-on;
260 regulator-boot-on;
261 regulator-ramp-delay = <12500>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900262 regulator-state-mem {
263 regulator-off-in-suspend;
264 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900265 };
266
267 buck4_reg: BUCK4 {
268 regulator-name = "vdd_g3d";
269 regulator-min-microvolt = <700000>;
270 regulator-max-microvolt = <1400000>;
271 regulator-always-on;
272 regulator-boot-on;
273 regulator-ramp-delay = <12500>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900274 regulator-state-mem {
275 regulator-off-in-suspend;
276 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900277 };
278
279 buck5_reg: BUCK5 {
280 regulator-name = "vdd_1v2";
281 regulator-min-microvolt = <1200000>;
282 regulator-max-microvolt = <1200000>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900283 regulator-boot-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900284 regulator-state-mem {
285 regulator-off-in-suspend;
286 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900287 };
288
289 buck6_reg: BUCK6 {
290 regulator-name = "vdd_kfc";
291 regulator-min-microvolt = <800000>;
292 regulator-max-microvolt = <1500000>;
293 regulator-always-on;
294 regulator-boot-on;
295 regulator-ramp-delay = <12500>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900296 regulator-state-mem {
297 regulator-off-in-suspend;
298 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900299 };
300
301 buck7_reg: BUCK7 {
302 regulator-name = "vdd_1v35";
303 regulator-min-microvolt = <1350000>;
304 regulator-max-microvolt = <1350000>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900305 regulator-boot-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900306 regulator-state-mem {
307 regulator-on-in-suspend;
308 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900309 };
310
311 buck8_reg: BUCK8 {
312 regulator-name = "vdd_emmc";
313 regulator-min-microvolt = <2850000>;
314 regulator-max-microvolt = <2850000>;
315 regulator-always-on;
316 regulator-boot-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900317 regulator-state-mem {
318 regulator-off-in-suspend;
319 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900320 };
321
322 buck9_reg: BUCK9 {
323 regulator-name = "vdd_2v";
324 regulator-min-microvolt = <2000000>;
325 regulator-max-microvolt = <2000000>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900326 regulator-boot-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900327 regulator-state-mem {
328 regulator-on-in-suspend;
329 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900330 };
331
332 buck10_reg: BUCK10 {
333 regulator-name = "vdd_1v8";
334 regulator-min-microvolt = <1800000>;
335 regulator-max-microvolt = <1800000>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900336 regulator-boot-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900337 regulator-state-mem {
338 regulator-on-in-suspend;
339 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900340 };
341
342 ldo1_reg: LDO1 {
343 regulator-name = "vdd_1v0";
344 regulator-min-microvolt = <1000000>;
345 regulator-max-microvolt = <1000000>;
346 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900347 regulator-state-mem {
348 regulator-on-in-suspend;
349 regulator-mode = <MAX77802_OPMODE_LP>;
350 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900351 };
352
353 ldo2_reg: LDO2 {
354 regulator-name = "vdd_1v2_2";
355 regulator-min-microvolt = <1200000>;
356 regulator-max-microvolt = <1200000>;
357 };
358
359 ldo3_reg: LDO3 {
360 regulator-name = "vdd_1v8_3";
361 regulator-min-microvolt = <1800000>;
362 regulator-max-microvolt = <1800000>;
363 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900364 regulator-state-mem {
365 regulator-on-in-suspend;
366 regulator-mode = <MAX77802_OPMODE_LP>;
367 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900368 };
369
370 vqmmc_sdcard: ldo4_reg: LDO4 {
371 regulator-name = "vdd_sd";
372 regulator-min-microvolt = <1800000>;
373 regulator-max-microvolt = <2800000>;
374 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900375 regulator-state-mem {
376 regulator-off-in-suspend;
377 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900378 };
379
380 ldo5_reg: LDO5 {
381 regulator-name = "vdd_1v8_5";
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
384 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900385 regulator-state-mem {
386 regulator-off-in-suspend;
387 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900388 };
389
390 ldo6_reg: LDO6 {
391 regulator-name = "vdd_1v8_6";
392 regulator-min-microvolt = <1800000>;
393 regulator-max-microvolt = <1800000>;
394 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900395 regulator-state-mem {
396 regulator-off-in-suspend;
397 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900398 };
399
400 ldo7_reg: LDO7 {
401 regulator-name = "vdd_1v8_7";
402 regulator-min-microvolt = <1800000>;
403 regulator-max-microvolt = <1800000>;
404 };
405
406 ldo8_reg: LDO8 {
407 regulator-name = "vdd_ldo8";
408 regulator-min-microvolt = <1000000>;
409 regulator-max-microvolt = <1000000>;
410 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900411 regulator-state-mem {
412 regulator-off-in-suspend;
413 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900414 };
415
416 ldo9_reg: LDO9 {
417 regulator-name = "vdd_ldo9";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900420 regulator-state-mem {
421 regulator-on-in-suspend;
422 regulator-mode = <MAX77802_OPMODE_LP>;
423 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900424 };
425
426 ldo10_reg: LDO10 {
427 regulator-name = "vdd_ldo10";
428 regulator-min-microvolt = <1800000>;
429 regulator-max-microvolt = <1800000>;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900430 regulator-state-mem {
431 regulator-off-in-suspend;
432 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900433 };
434
435 ldo11_reg: LDO11 {
436 regulator-name = "vdd_ldo11";
437 regulator-min-microvolt = <1800000>;
438 regulator-max-microvolt = <1800000>;
439 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900440 regulator-state-mem {
441 regulator-on-in-suspend;
442 regulator-mode = <MAX77802_OPMODE_LP>;
443 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900444 };
445
446 ldo12_reg: LDO12 {
447 regulator-name = "vdd_ldo12";
448 regulator-min-microvolt = <3000000>;
449 regulator-max-microvolt = <3000000>;
450 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900451 regulator-state-mem {
452 regulator-off-in-suspend;
453 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900454 };
455
456 ldo13_reg: LDO13 {
457 regulator-name = "vdd_ldo13";
458 regulator-min-microvolt = <1800000>;
459 regulator-max-microvolt = <1800000>;
460 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900461 regulator-state-mem {
462 regulator-on-in-suspend;
463 regulator-mode = <MAX77802_OPMODE_LP>;
464 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900465 };
466
467 ldo14_reg: LDO14 {
468 regulator-name = "vdd_ldo14";
469 regulator-min-microvolt = <1800000>;
470 regulator-max-microvolt = <1800000>;
471 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900472 regulator-state-mem {
473 regulator-off-in-suspend;
474 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900475 };
476
477 ldo15_reg: LDO15 {
478 regulator-name = "vdd_ldo15";
479 regulator-min-microvolt = <1000000>;
480 regulator-max-microvolt = <1000000>;
481 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900482 regulator-state-mem {
483 regulator-off-in-suspend;
484 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900485 };
486
487 ldo17_reg: LDO17 {
488 regulator-name = "vdd_g3ds";
489 regulator-min-microvolt = <900000>;
490 regulator-max-microvolt = <1400000>;
491 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900492 regulator-state-mem {
493 regulator-off-in-suspend;
494 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900495 };
496
497 ldo18_reg: LDO18 {
498 regulator-name = "ldo_18";
499 regulator-min-microvolt = <1800000>;
500 regulator-max-microvolt = <1800000>;
501 };
502
503 ldo19_reg: LDO19 {
504 regulator-name = "ldo_19";
505 regulator-min-microvolt = <1800000>;
506 regulator-max-microvolt = <1800000>;
507 };
508
509 ldo20_reg: LDO20 {
510 regulator-name = "ldo_20";
511 regulator-min-microvolt = <1800000>;
512 regulator-max-microvolt = <1800000>;
513 regulator-always-on;
514 };
515
516 ldo21_reg: LDO21 {
517 regulator-name = "ldo_21";
518 regulator-min-microvolt = <2800000>;
519 regulator-max-microvolt = <2800000>;
520 };
521
522 ldo23_reg: LDO23 {
523 regulator-name = "ldo_23";
524 regulator-min-microvolt = <3300000>;
525 regulator-max-microvolt = <3300000>;
526 };
527 ldo24_reg: LDO24 {
528 regulator-name = "ldo_24";
529 regulator-min-microvolt = <2800000>;
530 regulator-max-microvolt = <2800000>;
531 };
532
533 ldo25_reg: LDO25 {
534 regulator-name = "ldo_25";
535 regulator-min-microvolt = <3300000>;
536 regulator-max-microvolt = <3300000>;
537 };
538
539 ldo26_reg: LDO26 {
540 regulator-name = "ldo_26";
541 regulator-min-microvolt = <1200000>;
542 regulator-max-microvolt = <1200000>;
543 };
544
545 ldo27_reg: LDO27 {
546 regulator-name = "ldo_27";
547 regulator-min-microvolt = <1200000>;
548 regulator-max-microvolt = <1200000>;
549 };
550
551 ldo28_reg: LDO28 {
552 regulator-name = "ldo_28";
553 regulator-min-microvolt = <1800000>;
554 regulator-max-microvolt = <1800000>;
555 };
556
557 ldo29_reg: LDO29 {
558 regulator-name = "ldo_29";
559 regulator-min-microvolt = <1800000>;
560 regulator-max-microvolt = <1800000>;
561 };
562
563 ldo30_reg: LDO30 {
564 regulator-name = "vdd_mifs";
565 regulator-min-microvolt = <1000000>;
566 regulator-max-microvolt = <1000000>;
567 regulator-always-on;
Javier Martinez Canillas23c76dc2015-01-15 00:30:49 +0900568 regulator-state-mem {
569 regulator-off-in-suspend;
570 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900571 };
572
573 ldo32_reg: LDO32 {
574 regulator-name = "ldo_32";
575 regulator-min-microvolt = <3000000>;
576 regulator-max-microvolt = <3000000>;
577 };
578
579 ldo33_reg: LDO33 {
580 regulator-name = "ldo_33";
581 regulator-min-microvolt = <2800000>;
582 regulator-max-microvolt = <2800000>;
583 };
584
585 ldo34_reg: LDO34 {
586 regulator-name = "ldo_34";
587 regulator-min-microvolt = <3000000>;
588 regulator-max-microvolt = <3000000>;
589 };
590
591 ldo35_reg: LDO35 {
592 regulator-name = "ldo_35";
593 regulator-min-microvolt = <1200000>;
594 regulator-max-microvolt = <1200000>;
595 };
596 };
597 };
598};
599
Tushar Behera522c8ff2014-06-21 21:50:17 +0900600&hsi2c_7 {
601 status = "okay";
Javier Martinez Canillas8be6a6d2014-09-14 00:47:22 +0900602 clock-frequency = <400000>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900603
604 max98090: codec@10 {
605 compatible = "maxim,max98090";
606 reg = <0x10>;
607 interrupts = <2 0>;
608 interrupt-parent = <&gpx0>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&max98090_irq>;
Tushar Behera2fad9722015-02-27 06:08:52 +0900611 clocks = <&pmu_system_controller 0>;
612 clock-names = "mclk";
Tushar Behera522c8ff2014-06-21 21:50:17 +0900613 };
Javier Martinez Canillasdc0cf1a2014-09-14 00:47:17 +0900614
615 light-sensor@44 {
616 compatible = "isil,isl29018";
617 reg = <0x44>;
618 vcc-supply = <&tps65090_fet5>;
619 };
Ajay Kumar3b8fe982014-09-14 02:20:18 +0900620
621 ps8625: lvds-bridge@48 {
622 compatible = "parade,ps8625";
623 reg = <0x48>;
624 sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>;
625 reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>;
626 lane-count = <2>;
Ajay Kumar3b8fe982014-09-14 02:20:18 +0900627 use-external-pwm;
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900628
629 ports {
Javier Martinez Canillasa7d78652016-06-06 16:24:44 -0400630 #address-cells = <1>;
631 #size-cells = <0>;
632
633 port@0 {
634 reg = <0>;
635
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900636 bridge_out: endpoint {
637 remote-endpoint = <&panel_in>;
638 };
639 };
640
Javier Martinez Canillasa7d78652016-06-06 16:24:44 -0400641 port@1 {
642 reg = <1>;
643
Ajay Kumare07eb1e2015-02-05 00:29:56 +0900644 bridge_in: endpoint {
645 remote-endpoint = <&dp_out>;
646 };
647 };
648 };
649
Ajay Kumar3b8fe982014-09-14 02:20:18 +0900650 };
Tushar Behera522c8ff2014-06-21 21:50:17 +0900651};
652
Sjoerd Simons6a9e7312014-09-14 01:33:15 +0900653&hsi2c_8 {
654 status = "okay";
655 clock-frequency = <333000>;
656
657 /* Atmel mXT336S */
658 trackpad@4b {
659 compatible = "atmel,maxtouch";
660 reg = <0x4b>;
661 interrupt-parent = <&gpx1>;
662 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
663 wakeup-source;
664 pinctrl-names = "default";
665 pinctrl-0 = <&trackpad_irq>;
666 linux,gpio-keymap = <KEY_RESERVED
667 KEY_RESERVED
668 KEY_RESERVED /* GPIO0 */
669 KEY_RESERVED /* GPIO1 */
670 KEY_RESERVED /* GPIO2 */
671 BTN_LEFT>; /* GPIO3 */
672 };
673};
674
Tushar Behera522c8ff2014-06-21 21:50:17 +0900675&hsi2c_9 {
676 status = "okay";
677 clock-frequency = <400000>;
678
679 tpm@20 {
680 compatible = "infineon,slb9645tt";
681 reg = <0x20>;
682
683 /* Unused irq; but still need to configure the pins */
684 pinctrl-names = "default";
685 pinctrl-0 = <&tpm_irq>;
686 };
687};
688
689&i2c_2 {
690 status = "okay";
691 samsung,i2c-sda-delay = <100>;
692 samsung,i2c-max-bus-freq = <66000>;
693 samsung,i2c-slave-addr = <0x50>;
694};
695
696&i2s0 {
Arun Kumar K3528dd32014-05-09 06:06:25 +0900697 status = "okay";
698};
699
Javier Martinez Canillas4cf98632016-10-27 14:11:41 -0300700/* eMMC flash */
Arun Kumar K3528dd32014-05-09 06:06:25 +0900701&mmc_0 {
702 status = "okay";
703 num-slots = <1>;
Naveen Krishna Chatradhi65354302014-09-24 00:39:20 +0900704 mmc-hs200-1_8v;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500705 cap-mmc-highspeed;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900706 non-removable;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900707 clock-frequency = <400000000>;
708 samsung,dw-mshc-ciu-div = <3>;
709 samsung,dw-mshc-sdr-timing = <0 4>;
710 samsung,dw-mshc-ddr-timing = <0 2>;
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900711 samsung,dw-mshc-hs400-timing = <0 2>;
712 samsung,read-strobe-delay = <90>;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900713 pinctrl-names = "default";
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900714 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500715 bus-width = <8>;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900716};
717
Javier Martinez Canillas4cf98632016-10-27 14:11:41 -0300718/* WiFi SDIO module */
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900719&mmc_1 {
720 status = "okay";
721 num-slots = <1>;
Javier Martinez Canillas29a22892015-10-15 18:51:09 +0200722 non-removable;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900723 cap-sdio-irq;
Javier Martinez Canillasb2706872015-04-07 15:03:34 +0200724 keep-power-in-suspend;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900725 clock-frequency = <400000000>;
726 samsung,dw-mshc-ciu-div = <1>;
727 samsung,dw-mshc-sdr-timing = <0 1>;
728 samsung,dw-mshc-ddr-timing = <0 2>;
729 pinctrl-names = "default";
730 pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
731 <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>;
732 bus-width = <4>;
733 cap-sd-highspeed;
734 mmc-pwrseq = <&mmc1_pwrseq>;
735 vqmmc-supply = <&buck10_reg>;
736};
737
Javier Martinez Canillas4cf98632016-10-27 14:11:41 -0300738/* uSD card */
Arun Kumar K3528dd32014-05-09 06:06:25 +0900739&mmc_2 {
740 status = "okay";
741 num-slots = <1>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500742 cap-sd-highspeed;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900743 card-detect-delay = <200>;
744 clock-frequency = <400000000>;
745 samsung,dw-mshc-ciu-div = <3>;
746 samsung,dw-mshc-sdr-timing = <2 3>;
747 samsung,dw-mshc-ddr-timing = <1 2>;
748 pinctrl-names = "default";
Javier Martinez Canillasaf6ad882015-02-27 06:08:51 +0900749 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500750 bus-width = <4>;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900751};
752
Tushar Beheraead39932014-05-17 07:44:10 +0900753
Tushar Behera522c8ff2014-06-21 21:50:17 +0900754&pinctrl_0 {
Doug Andersonac5ce092014-07-16 02:38:39 +0900755 pinctrl-names = "default";
756 pinctrl-0 = <&mask_tpm_reset>;
757
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900758 wifi_en: wifi-en {
759 samsung,pins = "gpx0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200760 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
761 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
762 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900763 };
764
Tushar Behera522c8ff2014-06-21 21:50:17 +0900765 max98090_irq: max98090-irq {
766 samsung,pins = "gpx0-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200767 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
768 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
769 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900770 };
771
Doug Andersonac5ce092014-07-16 02:38:39 +0900772 /* We need GPX0_6 to be low at sleep time; just keep it low always */
773 mask_tpm_reset: mask-tpm-reset {
774 samsung,pins = "gpx0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200775 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
776 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
777 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Doug Andersonac5ce092014-07-16 02:38:39 +0900778 samsung,pin-val = <0>;
779 };
780
Tushar Behera522c8ff2014-06-21 21:50:17 +0900781 tpm_irq: tpm-irq {
782 samsung,pins = "gpx1-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200783 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
784 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
785 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900786 };
787
Sjoerd Simons6a9e7312014-09-14 01:33:15 +0900788 trackpad_irq: trackpad-irq {
789 samsung,pins = "gpx1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200790 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
791 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
792 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Sjoerd Simons6a9e7312014-09-14 01:33:15 +0900793 };
794
Tushar Behera522c8ff2014-06-21 21:50:17 +0900795 power_key_irq: power-key-irq {
796 samsung,pins = "gpx1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200797 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
798 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
799 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900800 };
801
Doug Anderson80600982014-07-19 04:09:15 +0900802 ec_irq: ec-irq {
803 samsung,pins = "gpx1-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200804 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
805 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
806 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Doug Anderson80600982014-07-19 04:09:15 +0900807 };
808
809 tps65090_irq: tps65090-irq {
810 samsung,pins = "gpx2-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200811 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
812 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
813 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Doug Anderson80600982014-07-19 04:09:15 +0900814 };
815
Tushar Behera522c8ff2014-06-21 21:50:17 +0900816 dp_hpd_gpio: dp_hpd_gpio {
817 samsung,pins = "gpx2-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200818 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
819 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
820 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900821 };
822
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900823 max77802_irq: max77802-irq {
824 samsung,pins = "gpx3-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200825 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
826 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
827 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900828 };
829
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +0900830 lid_irq: lid-irq {
831 samsung,pins = "gpx3-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200832 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
833 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
834 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +0900835 };
836
Tushar Behera522c8ff2014-06-21 21:50:17 +0900837 hdmi_hpd_irq: hdmi-hpd-irq {
838 samsung,pins = "gpx3-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200839 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
840 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
841 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Beheraead39932014-05-17 07:44:10 +0900842 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900843
844 pmic_dvs_1: pmic-dvs-1 {
845 samsung,pins = "gpy7-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200846 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
847 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
848 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900849 };
850};
851
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900852&pinctrl_1 {
853 /* Adjust WiFi drive strengths lower for EMI */
854 sd1_clk: sd1-clk {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200855 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900856 };
857
858 sd1_cmd: sd1-cmd {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200859 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900860 };
861
862 sd1_bus1: sd1-bus-width1 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200863 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900864 };
865
866 sd1_bus4: sd1-bus-width4 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200867 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900868 };
869
870 sd1_bus8: sd1-bus-width8 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200871 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900872 };
873};
874
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900875&pinctrl_2 {
876 pmic_dvs_2: pmic-dvs-2 {
877 samsung,pins = "gpj4-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200878 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
879 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
880 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900881 };
882
883 pmic_dvs_3: pmic-dvs-3 {
884 samsung,pins = "gpj4-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200885 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
886 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
887 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900888 };
Tushar Beheraead39932014-05-17 07:44:10 +0900889};
890
Tushar Behera522c8ff2014-06-21 21:50:17 +0900891&pinctrl_3 {
Doug Anderson80600982014-07-19 04:09:15 +0900892 /* Drive SPI lines at x2 for better integrity */
893 spi2-bus {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200894 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Doug Anderson80600982014-07-19 04:09:15 +0900895 };
896
897 /* Drive SPI chip select at x2 for better integrity */
898 ec_spi_cs: ec-spi-cs {
899 samsung,pins = "gpb1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200900 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
901 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
902 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Doug Anderson80600982014-07-19 04:09:15 +0900903 };
904
Tushar Behera522c8ff2014-06-21 21:50:17 +0900905 usb300_vbus_en: usb300-vbus-en {
906 samsung,pins = "gph0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200907 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
908 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
909 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900910 };
Arun Kumar K3528dd32014-05-09 06:06:25 +0900911
Tushar Behera522c8ff2014-06-21 21:50:17 +0900912 usb301_vbus_en: usb301-vbus-en {
913 samsung,pins = "gph0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200914 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
915 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
916 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Arun Kumar K3528dd32014-05-09 06:06:25 +0900917 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900918
919 pmic_selb: pmic-selb {
920 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
921 "gph0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200922 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
923 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
924 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900925 };
Arun Kumar K3528dd32014-05-09 06:06:25 +0900926};
927
Alim Akhtarb8bb9ba2015-10-13 04:32:53 +0900928&pmu_system_controller {
929 assigned-clocks = <&pmu_system_controller 0>;
930 assigned-clock-parents = <&clock CLK_FIN_PLL>;
931};
932
Tushar Behera522c8ff2014-06-21 21:50:17 +0900933&rtc {
Rahul Sharma6ac189f2014-05-16 05:23:21 +0900934 status = "okay";
Javier Martinez Canillasfa781dd2014-09-24 00:16:45 +0900935 clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>;
936 clock-names = "rtc", "rtc_src";
Rahul Sharma6ac189f2014-05-16 05:23:21 +0900937};
938
Doug Anderson80600982014-07-19 04:09:15 +0900939&spi_2 {
940 status = "okay";
941 num-cs = <1>;
942 samsung,spi-src-clk = <0>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900943 cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>;
Doug Anderson80600982014-07-19 04:09:15 +0900944
945 cros_ec: cros-ec@0 {
946 compatible = "google,cros-ec-spi";
947 interrupt-parent = <&gpx1>;
948 interrupts = <5 0>;
949 pinctrl-names = "default";
950 pinctrl-0 = <&ec_spi_cs &ec_irq>;
951 reg = <0>;
952 spi-max-frequency = <3125000>;
Emilio Lopez27e66992015-10-08 07:35:21 +0900953 google,has-vbc-nvram;
Doug Anderson80600982014-07-19 04:09:15 +0900954
955 controller-data {
956 samsung,spi-feedback-delay = <1>;
957 };
958
959 i2c-tunnel {
960 compatible = "google,cros-ec-i2c-tunnel";
961 #address-cells = <1>;
962 #size-cells = <0>;
963 google,remote-bus = <0>;
964
965 battery: sbs-battery@b {
966 compatible = "sbs,sbs-battery";
967 reg = <0xb>;
968 sbs,poll-retry-count = <1>;
969 sbs,i2c-retry-count = <2>;
970 };
971
972 power-regulator@48 {
973 compatible = "ti,tps65090";
974 reg = <0x48>;
975
976 /*
977 * Config irq to disable internal pulls
978 * even though we run in polling mode.
979 */
980 pinctrl-names = "default";
981 pinctrl-0 = <&tps65090_irq>;
982
983 vsys1-supply = <&vbat>;
984 vsys2-supply = <&vbat>;
985 vsys3-supply = <&vbat>;
986 infet1-supply = <&vbat>;
Javier Martinez Canillasa1305482014-08-18 13:26:51 -0500987 infet2-supply = <&tps65090_dcdc1>;
988 infet3-supply = <&tps65090_dcdc2>;
989 infet4-supply = <&tps65090_dcdc2>;
990 infet5-supply = <&tps65090_dcdc2>;
991 infet6-supply = <&tps65090_dcdc2>;
992 infet7-supply = <&tps65090_dcdc1>;
Doug Anderson80600982014-07-19 04:09:15 +0900993 vsys-l1-supply = <&vbat>;
994 vsys-l2-supply = <&vbat>;
995
996 regulators {
997 tps65090_dcdc1: dcdc1 {
998 ti,enable-ext-control;
999 };
1000 tps65090_dcdc2: dcdc2 {
1001 ti,enable-ext-control;
1002 };
1003 tps65090_dcdc3: dcdc3 {
1004 ti,enable-ext-control;
1005 };
1006 tps65090_fet1: fet1 {
1007 regulator-name = "vcd_led";
1008 };
1009 tps65090_fet2: fet2 {
1010 regulator-name = "video_mid";
1011 regulator-always-on;
1012 };
1013 tps65090_fet3: fet3 {
1014 regulator-name = "wwan_r";
1015 regulator-always-on;
1016 };
1017 tps65090_fet4: fet4 {
1018 regulator-name = "sdcard";
1019 regulator-always-on;
1020 };
1021 tps65090_fet5: fet5 {
1022 regulator-name = "camout";
Javier Martinez Canillasae845472015-01-15 00:30:44 +09001023 regulator-always-on;
Doug Anderson80600982014-07-19 04:09:15 +09001024 };
1025 tps65090_fet6: fet6 {
1026 regulator-name = "lcd_vdd";
1027 };
1028 tps65090_fet7: fet7 {
1029 regulator-name = "video_mid_1a";
1030 regulator-always-on;
1031 };
1032 tps65090_ldo1: ldo1 {
1033 };
1034 tps65090_ldo2: ldo2 {
1035 };
1036 };
1037
1038 charger {
1039 compatible = "ti,tps65090-charger";
1040 };
1041 };
1042 };
1043 };
1044};
1045
Krzysztof Kozlowski3a3cf6c2015-04-12 20:57:36 +09001046&serial_3 {
Rahul Sharma6ac189f2014-05-16 05:23:21 +09001047 status = "okay";
Rahul Sharma6ac189f2014-05-16 05:23:21 +09001048};
1049
Javier Martinez Canillasaff138b2016-06-01 09:20:35 -04001050&tmu_cpu0 {
1051 vtmu-supply = <&ldo10_reg>;
1052};
1053
1054&tmu_cpu1 {
1055 vtmu-supply = <&ldo10_reg>;
1056};
1057
1058&tmu_cpu2 {
1059 vtmu-supply = <&ldo10_reg>;
1060};
1061
1062&tmu_cpu3 {
1063 vtmu-supply = <&ldo10_reg>;
1064};
1065
1066&tmu_gpu {
1067 vtmu-supply = <&ldo10_reg>;
1068};
1069
Sjoerd Simonse1c69ef2014-09-25 17:32:14 +09001070&usbdrd_dwc3_0 {
1071 dr_mode = "host";
1072};
1073
1074&usbdrd_dwc3_1 {
1075 dr_mode = "host";
1076};
1077
Arun Kumar K0ce9f472014-05-31 02:11:39 +09001078&usbdrd_phy0 {
Vivek Gautam14a35ad2014-05-19 22:29:42 +09001079 vbus-supply = <&usb300_vbus_reg>;
1080};
1081
Arun Kumar K0ce9f472014-05-31 02:11:39 +09001082&usbdrd_phy1 {
Vivek Gautam14a35ad2014-05-19 22:29:42 +09001083 vbus-supply = <&usb301_vbus_reg>;
1084};
1085
Arun Kumar K3528dd32014-05-09 06:06:25 +09001086/*
1087 * Use longest HW watchdog in SoC (32 seconds) since the hardware
1088 * watchdog provides no debugging information (compared to soft/hard
1089 * lockup detectors) and so should be last resort.
1090 */
1091&watchdog {
1092 timeout-sec = <32>;
1093};
Tushar Beheraead39932014-05-17 07:44:10 +09001094
Doug Anderson80600982014-07-19 04:09:15 +09001095#include "cros-ec-keyboard.dtsi"
Naveen Krishna Chatradhi7b488032014-09-14 00:46:56 +09001096#include "cros-adc-thermistors.dtsi"