blob: 01f466816fea714f1056c041965205dead9db615 [file] [log] [blame]
Arun Kumar K853d2692014-05-12 07:56:34 +09001/*
2 * Google Peach Pi Rev 10+ 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 K853d2692014-05-12 07:56:34 +090017#include "exynos5800.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 K853d2692014-05-12 07:56:34 +090020
21/ {
22 model = "Google Peach Pi Rev 10+";
23
24 compatible = "google,pi-rev16",
25 "google,pi-rev15", "google,pi-rev14",
26 "google,pi-rev13", "google,pi-rev12",
27 "google,pi-rev11", "google,pi-rev10",
28 "google,pi", "google,peach", "samsung,exynos5800",
29 "samsung,exynos5";
30
Doug Anderson80600982014-07-19 04:09:15 +090031 aliases {
32 /* Assign 20 so we don't get confused w/ builtin ones */
33 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
34 };
35
Ajay Kumar0a0752c2014-09-14 09:22:45 +090036 backlight: backlight {
Tushar Behera522c8ff2014-06-21 21:50:17 +090037 compatible = "pwm-backlight";
38 pwms = <&pwm 0 1000000 0>;
39 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
40 default-brightness-level = <7>;
Ajay Kumar0a0752c2014-09-14 09:22:45 +090041 enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
42 power-supply = <&tps65090_fet1>;
Tushar Behera522c8ff2014-06-21 21:50:17 +090043 pinctrl-0 = <&pwm0_out>;
44 pinctrl-names = "default";
Arun Kumar K853d2692014-05-12 07:56:34 +090045 };
46
Javier Martinez Canillas1d1b00a2015-03-18 00:31:22 +090047 chosen {
48 stdout-path = "serial3:115200n8";
49 };
50
Arun Kumar K853d2692014-05-12 07:56:34 +090051 fixed-rate-clocks {
52 oscclk {
53 compatible = "samsung,exynos5420-oscclk";
54 clock-frequency = <24000000>;
55 };
56 };
57
58 gpio-keys {
59 compatible = "gpio-keys";
60
61 pinctrl-names = "default";
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090062 pinctrl-0 = <&power_key_irq &lid_irq>;
Arun Kumar K853d2692014-05-12 07:56:34 +090063
64 power {
65 label = "Power";
66 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_POWER>;
Sudeep Holla36a02822016-01-28 15:59:58 +000068 wakeup-source;
Arun Kumar K853d2692014-05-12 07:56:34 +090069 };
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090070
71 lid-switch {
72 label = "Lid";
73 gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
74 linux,input-type = <5>; /* EV_SW */
75 linux,code = <0>; /* SW_LID */
76 debounce-interval = <1>;
Sudeep Holla36a02822016-01-28 15:59:58 +000077 wakeup-source;
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +090078 };
79
Arun Kumar K853d2692014-05-12 07:56:34 +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 K853d2692014-05-12 07:56:34 +090085 };
Vivek Gautamd3343152014-05-19 22:32:11 +090086
Tushar Beheradb91fb22014-06-21 21:50:14 +090087 sound {
88 compatible = "google,snow-audio-max98091";
89
Tushar Beheraa8d80b62014-07-08 08:20:08 +090090 samsung,model = "Peach-Pi-I2S-MAX98091";
Tushar Beheradb91fb22014-06-21 21:50:14 +090091 samsung,i2s-controller = <&i2s0>;
92 samsung,audio-codec = <&max98091>;
93 };
94
Vivek Gautamd3343152014-05-19 22:32:11 +090095 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 Gautamd3343152014-05-19 22:32:11 +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 Gautamd3343152014-05-19 22:32:11 +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 Kumar0a0752c2014-09-14 09:22:45 +0900123
124 panel: panel {
125 compatible = "auo,b133htn01";
126 power-supply = <&tps65090_fet6>;
127 backlight = <&backlight>;
Javier Martinez Canillas25e90922015-12-03 09:32:17 -0300128
129 port {
130 panel_in: endpoint {
131 remote-endpoint = <&dp_out>;
132 };
133 };
Ajay Kumar0a0752c2014-09-14 09:22:45 +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 K853d2692014-05-12 07:56:34 +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 {
158 status = "okay";
159 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 = <0x0a>;
164 samsung,lane-count = <2>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900165 samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
Javier Martinez Canillas25e90922015-12-03 09:32:17 -0300166
167 ports {
168 port {
169 dp_out: endpoint {
170 remote-endpoint = <&panel_in>;
171 };
172 };
173 };
Tushar Behera522c8ff2014-06-21 21:50:17 +0900174};
175
176&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 Sharma1dcd48c2014-09-14 00:45:19 +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 max98091: codec@10 {
605 compatible = "maxim,max98091";
606 reg = <0x10>;
607 interrupts = <2 0>;
608 interrupt-parent = <&gpx0>;
609 pinctrl-names = "default";
610 pinctrl-0 = <&max98091_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 };
Tushar Behera522c8ff2014-06-21 21:50:17 +0900620};
621
Javier Martinez Canillas132fd5b2014-09-14 01:33:20 +0900622&hsi2c_8 {
623 status = "okay";
624 clock-frequency = <333000>;
625 /* Atmel mXT540S */
626 trackpad@4b {
627 compatible = "atmel,maxtouch";
628 reg = <0x4b>;
629 interrupt-parent = <&gpx1>;
630 interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
631 wakeup-source;
632 pinctrl-names = "default";
633 pinctrl-0 = <&trackpad_irq>;
634 linux,gpio-keymap = <KEY_RESERVED
635 KEY_RESERVED
636 KEY_RESERVED /* GPIO 0 */
637 KEY_RESERVED /* GPIO 1 */
638 BTN_LEFT /* GPIO 2 */
639 KEY_RESERVED>; /* GPIO 3 */
640 };
641};
642
Tushar Behera522c8ff2014-06-21 21:50:17 +0900643&hsi2c_9 {
644 status = "okay";
645 clock-frequency = <400000>;
646
647 tpm@20 {
648 compatible = "infineon,slb9645tt";
649 reg = <0x20>;
650
651 /* Unused irq; but still need to configure the pins */
652 pinctrl-names = "default";
653 pinctrl-0 = <&tpm_irq>;
654 };
655};
656
657&i2c_2 {
658 status = "okay";
659 samsung,i2c-sda-delay = <100>;
660 samsung,i2c-max-bus-freq = <66000>;
661 samsung,i2c-slave-addr = <0x50>;
662};
663
664&i2s0 {
665 status = "okay";
666};
667
668&mmc_0 {
669 status = "okay";
670 num-slots = <1>;
Naveen Krishna Chatradhi65354302014-09-24 00:39:20 +0900671 mmc-hs200-1_8v;
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900672 mmc-hs400-1_8v;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500673 cap-mmc-highspeed;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900674 non-removable;
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900675 clock-frequency = <800000000>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900676 samsung,dw-mshc-ciu-div = <3>;
677 samsung,dw-mshc-sdr-timing = <0 4>;
678 samsung,dw-mshc-ddr-timing = <0 2>;
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900679 samsung,dw-mshc-hs400-timing = <0 2>;
680 samsung,read-strobe-delay = <90>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900681 pinctrl-names = "default";
Seungwon Jeon4f59ebe2015-03-27 01:52:02 +0900682 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500683 bus-width = <8>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900684};
685
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900686&mmc_1 {
687 status = "okay";
688 num-slots = <1>;
Javier Martinez Canillas37522162015-10-15 18:51:08 +0200689 non-removable;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900690 cap-sdio-irq;
Javier Martinez Canillasb2706872015-04-07 15:03:34 +0200691 keep-power-in-suspend;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900692 clock-frequency = <400000000>;
693 samsung,dw-mshc-ciu-div = <1>;
694 samsung,dw-mshc-sdr-timing = <0 1>;
695 samsung,dw-mshc-ddr-timing = <0 2>;
696 pinctrl-names = "default";
697 pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>,
698 <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>;
699 bus-width = <4>;
700 cap-sd-highspeed;
701 mmc-pwrseq = <&mmc1_pwrseq>;
702 vqmmc-supply = <&buck10_reg>;
703};
704
Tushar Behera522c8ff2014-06-21 21:50:17 +0900705&mmc_2 {
706 status = "okay";
707 num-slots = <1>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500708 cap-sd-highspeed;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900709 card-detect-delay = <200>;
710 clock-frequency = <400000000>;
711 samsung,dw-mshc-ciu-div = <3>;
712 samsung,dw-mshc-sdr-timing = <2 3>;
713 samsung,dw-mshc-ddr-timing = <1 2>;
714 pinctrl-names = "default";
Javier Martinez Canillasaf6ad882015-02-27 06:08:51 +0900715 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500716 bus-width = <4>;
Tushar Behera522c8ff2014-06-21 21:50:17 +0900717};
718
719
Arun Kumar K853d2692014-05-12 07:56:34 +0900720&pinctrl_0 {
Vikas Sajjan73a9bb22014-07-16 02:38:44 +0900721 pinctrl-names = "default";
722 pinctrl-0 = <&mask_tpm_reset>;
723
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900724 wifi_en: wifi-en {
725 samsung,pins = "gpx0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200726 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
727 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
728 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900729 };
730
Tushar Beheradb91fb22014-06-21 21:50:14 +0900731 max98091_irq: max98091-irq {
732 samsung,pins = "gpx0-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200733 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
734 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
735 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Tushar Beheradb91fb22014-06-21 21:50:14 +0900736 };
737
Vikas Sajjan73a9bb22014-07-16 02:38:44 +0900738 /* We need GPX0_6 to be low at sleep time; just keep it low always */
739 mask_tpm_reset: mask-tpm-reset {
740 samsung,pins = "gpx0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200741 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
742 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
743 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Vikas Sajjan73a9bb22014-07-16 02:38:44 +0900744 samsung,pin-val = <0>;
745 };
746
Arun Kumar K853d2692014-05-12 07:56:34 +0900747 tpm_irq: tpm-irq {
748 samsung,pins = "gpx1-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200749 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
750 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
751 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Arun Kumar K853d2692014-05-12 07:56:34 +0900752 };
753
Javier Martinez Canillas132fd5b2014-09-14 01:33:20 +0900754 trackpad_irq: trackpad-irq {
755 samsung,pins = "gpx1-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200756 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
757 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
758 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas132fd5b2014-09-14 01:33:20 +0900759 };
760
Arun Kumar K853d2692014-05-12 07:56:34 +0900761 power_key_irq: power-key-irq {
762 samsung,pins = "gpx1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200763 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
764 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
765 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Arun Kumar K853d2692014-05-12 07:56:34 +0900766 };
Rahul Sharma6a7da0d2014-05-16 05:06:34 +0900767
Doug Anderson80600982014-07-19 04:09:15 +0900768 ec_irq: ec-irq {
769 samsung,pins = "gpx1-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200770 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
771 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
772 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Doug Anderson80600982014-07-19 04:09:15 +0900773 };
774
775 tps65090_irq: tps65090-irq {
776 samsung,pins = "gpx2-5";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200777 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
779 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Doug Anderson80600982014-07-19 04:09:15 +0900780 };
781
Rahul Sharma8b2f8372014-05-17 07:51:33 +0900782 dp_hpd_gpio: dp_hpd_gpio {
783 samsung,pins = "gpx2-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200784 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
785 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
786 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Rahul Sharma8b2f8372014-05-17 07:51:33 +0900787 };
788
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900789 max77802_irq: max77802-irq {
790 samsung,pins = "gpx3-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200791 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
792 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
793 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900794 };
795
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +0900796 lid_irq: lid-irq {
797 samsung,pins = "gpx3-4";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200798 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
799 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
800 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas1f3cde42015-01-15 00:30:40 +0900801 };
802
Rahul Sharma6a7da0d2014-05-16 05:06:34 +0900803 hdmi_hpd_irq: hdmi-hpd-irq {
804 samsung,pins = "gpx3-7";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200805 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
806 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
807 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Rahul Sharma6a7da0d2014-05-16 05:06:34 +0900808 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900809
810 pmic_dvs_1: pmic-dvs-1 {
811 samsung,pins = "gpy7-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200812 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
813 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
814 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900815 };
816};
817
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900818&pinctrl_1 {
819 /* Adjust WiFi drive strengths lower for EMI */
820 sd1_clk: sd1-clk {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200821 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900822 };
823
824 sd1_cmd: sd1-cmd {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200825 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900826 };
827
828 sd1_bus1: sd1-bus-width1 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200829 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900830 };
831
832 sd1_bus4: sd1-bus-width4 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200833 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900834 };
835
836 sd1_bus8: sd1-bus-width8 {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200837 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Javier Martinez Canillas3cb18182015-02-27 06:08:51 +0900838 };
839};
840
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900841&pinctrl_2 {
842 pmic_dvs_2: pmic-dvs-2 {
843 samsung,pins = "gpj4-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200844 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
845 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
846 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900847 };
848
849 pmic_dvs_3: pmic-dvs-3 {
850 samsung,pins = "gpj4-3";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200851 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
852 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
853 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900854 };
Arun Kumar K853d2692014-05-12 07:56:34 +0900855};
856
Vivek Gautamd3343152014-05-19 22:32:11 +0900857&pinctrl_3 {
Doug Anderson80600982014-07-19 04:09:15 +0900858 /* Drive SPI lines at x2 for better integrity */
859 spi2-bus {
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200860 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Doug Anderson80600982014-07-19 04:09:15 +0900861 };
862
863 /* Drive SPI chip select at x2 for better integrity */
864 ec_spi_cs: ec-spi-cs {
865 samsung,pins = "gpb1-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200866 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
867 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
868 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>;
Doug Anderson80600982014-07-19 04:09:15 +0900869 };
870
Vivek Gautamd3343152014-05-19 22:32:11 +0900871 usb300_vbus_en: usb300-vbus-en {
872 samsung,pins = "gph0-0";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200873 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
874 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
875 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Vivek Gautamd3343152014-05-19 22:32:11 +0900876 };
877
878 usb301_vbus_en: usb301-vbus-en {
879 samsung,pins = "gph0-1";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200880 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
881 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
882 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Vivek Gautamd3343152014-05-19 22:32:11 +0900883 };
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900884
885 pmic_selb: pmic-selb {
886 samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5",
887 "gph0-6";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200888 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
889 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
890 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Javier Martinez Canillas064ac052014-09-14 00:45:15 +0900891 };
Vivek Gautamd3343152014-05-19 22:32:11 +0900892};
893
Alim Akhtarb8bb9ba2015-10-13 04:32:53 +0900894&pmu_system_controller {
895 assigned-clocks = <&pmu_system_controller 0>;
896 assigned-clock-parents = <&clock CLK_FIN_PLL>;
897};
898
Arun Kumar K853d2692014-05-12 07:56:34 +0900899&rtc {
900 status = "okay";
Javier Martinez Canillasfa781dd2014-09-24 00:16:45 +0900901 clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>;
902 clock-names = "rtc", "rtc_src";
Arun Kumar K853d2692014-05-12 07:56:34 +0900903};
904
Doug Anderson80600982014-07-19 04:09:15 +0900905&spi_2 {
906 status = "okay";
907 num-cs = <1>;
908 samsung,spi-src-clk = <0>;
Javier Martinez Canillas31b99032015-10-08 07:39:58 +0900909 cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>;
Doug Anderson80600982014-07-19 04:09:15 +0900910
911 cros_ec: cros-ec@0 {
912 compatible = "google,cros-ec-spi";
913 interrupt-parent = <&gpx1>;
914 interrupts = <5 0>;
915 pinctrl-names = "default";
916 pinctrl-0 = <&ec_spi_cs &ec_irq>;
917 reg = <0>;
918 spi-max-frequency = <3125000>;
Emilio Lopez27e66992015-10-08 07:35:21 +0900919 google,has-vbc-nvram;
Doug Anderson80600982014-07-19 04:09:15 +0900920
921 controller-data {
922 samsung,spi-feedback-delay = <1>;
923 };
924
925 i2c-tunnel {
926 compatible = "google,cros-ec-i2c-tunnel";
927 #address-cells = <1>;
928 #size-cells = <0>;
929 google,remote-bus = <0>;
930
931 battery: sbs-battery@b {
932 compatible = "sbs,sbs-battery";
933 reg = <0xb>;
934 sbs,poll-retry-count = <1>;
935 sbs,i2c-retry-count = <2>;
936 };
937
938 power-regulator@48 {
939 compatible = "ti,tps65090";
940 reg = <0x48>;
941
942 /*
943 * Config irq to disable internal pulls
944 * even though we run in polling mode.
945 */
946 pinctrl-names = "default";
947 pinctrl-0 = <&tps65090_irq>;
948
949 vsys1-supply = <&vbat>;
950 vsys2-supply = <&vbat>;
951 vsys3-supply = <&vbat>;
952 infet1-supply = <&vbat>;
Javier Martinez Canillasa1305482014-08-18 13:26:51 -0500953 infet2-supply = <&tps65090_dcdc1>;
954 infet3-supply = <&tps65090_dcdc2>;
955 infet4-supply = <&tps65090_dcdc2>;
956 infet5-supply = <&tps65090_dcdc2>;
957 infet6-supply = <&tps65090_dcdc2>;
958 infet7-supply = <&tps65090_dcdc1>;
Doug Anderson80600982014-07-19 04:09:15 +0900959 vsys-l1-supply = <&vbat>;
960 vsys-l2-supply = <&vbat>;
961
962 regulators {
963 tps65090_dcdc1: dcdc1 {
964 ti,enable-ext-control;
965 };
966 tps65090_dcdc2: dcdc2 {
967 ti,enable-ext-control;
968 };
969 tps65090_dcdc3: dcdc3 {
970 ti,enable-ext-control;
971 };
972 tps65090_fet1: fet1 {
973 regulator-name = "vcd_led";
974 };
975 tps65090_fet2: fet2 {
976 regulator-name = "video_mid";
977 regulator-always-on;
978 };
979 tps65090_fet3: fet3 {
980 regulator-name = "wwan_r";
981 regulator-always-on;
982 };
983 tps65090_fet4: fet4 {
984 regulator-name = "sdcard";
985 regulator-always-on;
986 };
987 tps65090_fet5: fet5 {
988 regulator-name = "camout";
Javier Martinez Canillasae845472015-01-15 00:30:44 +0900989 regulator-always-on;
Doug Anderson80600982014-07-19 04:09:15 +0900990 };
991 tps65090_fet6: fet6 {
992 regulator-name = "lcd_vdd";
993 };
994 tps65090_fet7: fet7 {
995 regulator-name = "video_mid_1a";
996 regulator-always-on;
997 };
998 tps65090_ldo1: ldo1 {
999 };
1000 tps65090_ldo2: ldo2 {
1001 };
1002 };
1003
1004 charger {
1005 compatible = "ti,tps65090-charger";
1006 };
1007 };
1008 };
1009 };
1010};
1011
Krzysztof Kozlowski3a3cf6c2015-04-12 20:57:36 +09001012&serial_3 {
Arun Kumar K853d2692014-05-12 07:56:34 +09001013 status = "okay";
1014};
1015
Javier Martinez Canillasaff138b2016-06-01 09:20:35 -04001016&tmu_cpu0 {
1017 vtmu-supply = <&ldo10_reg>;
1018};
1019
1020&tmu_cpu1 {
1021 vtmu-supply = <&ldo10_reg>;
1022};
1023
1024&tmu_cpu2 {
1025 vtmu-supply = <&ldo10_reg>;
1026};
1027
1028&tmu_cpu3 {
1029 vtmu-supply = <&ldo10_reg>;
1030};
1031
1032&tmu_gpu {
1033 vtmu-supply = <&ldo10_reg>;
1034};
1035
Sjoerd Simonse1c69ef2014-09-25 17:32:14 +09001036&usbdrd_dwc3_0 {
1037 dr_mode = "host";
1038};
1039
1040&usbdrd_dwc3_1 {
1041 dr_mode = "host";
1042};
1043
Arun Kumar K2c3b6552014-05-31 02:11:42 +09001044&usbdrd_phy0 {
Vivek Gautamd3343152014-05-19 22:32:11 +09001045 vbus-supply = <&usb300_vbus_reg>;
1046};
1047
Arun Kumar K2c3b6552014-05-31 02:11:42 +09001048&usbdrd_phy1 {
Vivek Gautamd3343152014-05-19 22:32:11 +09001049 vbus-supply = <&usb301_vbus_reg>;
1050};
1051
Arun Kumar K853d2692014-05-12 07:56:34 +09001052/*
1053 * Use longest HW watchdog in SoC (32 seconds) since the hardware
1054 * watchdog provides no debugging information (compared to soft/hard
1055 * lockup detectors) and so should be last resort.
1056 */
1057&watchdog {
1058 timeout-sec = <32>;
1059};
Tushar Beheradb91fb22014-06-21 21:50:14 +09001060
Doug Anderson80600982014-07-19 04:09:15 +09001061#include "cros-ec-keyboard.dtsi"
Naveen Krishna Chatradhi7b488032014-09-14 00:46:56 +09001062#include "cros-adc-thermistors.dtsi"