diff options
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 213 |
1 files changed, 161 insertions, 52 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 29231b452643..21f748083586 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -15,6 +15,7 @@ | |||
15 | /dts-v1/; | 15 | /dts-v1/; |
16 | #include "exynos4412.dtsi" | 16 | #include "exynos4412.dtsi" |
17 | #include <dt-bindings/gpio/gpio.h> | 17 | #include <dt-bindings/gpio/gpio.h> |
18 | #include <dt-bindings/interrupt-controller/irq.h> | ||
18 | 19 | ||
19 | / { | 20 | / { |
20 | model = "Samsung Trats 2 based on Exynos4412"; | 21 | model = "Samsung Trats 2 based on Exynos4412"; |
@@ -24,6 +25,7 @@ | |||
24 | i2c9 = &i2c_ak8975; | 25 | i2c9 = &i2c_ak8975; |
25 | i2c10 = &i2c_cm36651; | 26 | i2c10 = &i2c_cm36651; |
26 | i2c11 = &i2c_max77693; | 27 | i2c11 = &i2c_max77693; |
28 | i2c12 = &i2c_max77693_fuel; | ||
27 | }; | 29 | }; |
28 | 30 | ||
29 | memory { | 31 | memory { |
@@ -32,6 +34,7 @@ | |||
32 | 34 | ||
33 | chosen { | 35 | chosen { |
34 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; | 36 | bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5"; |
37 | stdout-path = &serial_2; | ||
35 | }; | 38 | }; |
36 | 39 | ||
37 | firmware@0204F000 { | 40 | firmware@0204F000 { |
@@ -56,15 +59,6 @@ | |||
56 | #address-cells = <1>; | 59 | #address-cells = <1>; |
57 | #size-cells = <0>; | 60 | #size-cells = <0>; |
58 | 61 | ||
59 | vemmc_reg: regulator-0 { | ||
60 | compatible = "regulator-fixed"; | ||
61 | regulator-name = "VMEM_VDD_2.8V"; | ||
62 | regulator-min-microvolt = <2800000>; | ||
63 | regulator-max-microvolt = <2800000>; | ||
64 | gpio = <&gpk0 2 0>; | ||
65 | enable-active-high; | ||
66 | }; | ||
67 | |||
68 | cam_io_reg: voltage-regulator-1 { | 62 | cam_io_reg: voltage-regulator-1 { |
69 | compatible = "regulator-fixed"; | 63 | compatible = "regulator-fixed"; |
70 | regulator-name = "CAM_SENSOR_A"; | 64 | regulator-name = "CAM_SENSOR_A"; |
@@ -92,16 +86,6 @@ | |||
92 | enable-active-high; | 86 | enable-active-high; |
93 | }; | 87 | }; |
94 | 88 | ||
95 | cam_isp_core_reg: voltage-regulator-4 { | ||
96 | compatible = "regulator-fixed"; | ||
97 | regulator-name = "CAM_ISP_CORE_1.2V_EN"; | ||
98 | regulator-min-microvolt = <1200000>; | ||
99 | regulator-max-microvolt = <1200000>; | ||
100 | gpio = <&gpm0 3 0>; | ||
101 | enable-active-high; | ||
102 | regulator-always-on; | ||
103 | }; | ||
104 | |||
105 | ps_als_reg: voltage-regulator-5 { | 89 | ps_als_reg: voltage-regulator-5 { |
106 | compatible = "regulator-fixed"; | 90 | compatible = "regulator-fixed"; |
107 | regulator-name = "LED_A_3.0V"; | 91 | regulator-name = "LED_A_3.0V"; |
@@ -203,6 +187,25 @@ | |||
203 | }; | 187 | }; |
204 | }; | 188 | }; |
205 | 189 | ||
190 | i2c@138A0000 { | ||
191 | samsung,i2c-sda-delay = <100>; | ||
192 | samsung,i2c-slave-addr = <0x10>; | ||
193 | samsung,i2c-max-bus-freq = <100000>; | ||
194 | pinctrl-0 = <&i2c4_bus>; | ||
195 | pinctrl-names = "default"; | ||
196 | status = "okay"; | ||
197 | |||
198 | wm1811: wm1811@1a { | ||
199 | compatible = "wlf,wm1811"; | ||
200 | reg = <0x1a>; | ||
201 | clocks = <&pmu_system_controller 0>; | ||
202 | clock-names = "MCLK1"; | ||
203 | DCVDD-supply = <&ldo3_reg>; | ||
204 | DBVDD1-supply = <&ldo3_reg>; | ||
205 | wlf,ldo1ena = <&gpj0 4 0>; | ||
206 | }; | ||
207 | }; | ||
208 | |||
206 | i2c@138D0000 { | 209 | i2c@138D0000 { |
207 | samsung,i2c-sda-delay = <100>; | 210 | samsung,i2c-sda-delay = <100>; |
208 | samsung,i2c-slave-addr = <0x10>; | 211 | samsung,i2c-slave-addr = <0x10>; |
@@ -225,7 +228,6 @@ | |||
225 | regulator-min-microvolt = <1000000>; | 228 | regulator-min-microvolt = <1000000>; |
226 | regulator-max-microvolt = <1000000>; | 229 | regulator-max-microvolt = <1000000>; |
227 | regulator-always-on; | 230 | regulator-always-on; |
228 | regulator-mem-on; | ||
229 | }; | 231 | }; |
230 | 232 | ||
231 | ldo2_reg: ldo2 { | 233 | ldo2_reg: ldo2 { |
@@ -234,7 +236,9 @@ | |||
234 | regulator-min-microvolt = <1200000>; | 236 | regulator-min-microvolt = <1200000>; |
235 | regulator-max-microvolt = <1200000>; | 237 | regulator-max-microvolt = <1200000>; |
236 | regulator-always-on; | 238 | regulator-always-on; |
237 | regulator-mem-on; | 239 | regulator-state-mem { |
240 | regulator-on-in-suspend; | ||
241 | }; | ||
238 | }; | 242 | }; |
239 | 243 | ||
240 | ldo3_reg: ldo3 { | 244 | ldo3_reg: ldo3 { |
@@ -243,7 +247,6 @@ | |||
243 | regulator-min-microvolt = <1800000>; | 247 | regulator-min-microvolt = <1800000>; |
244 | regulator-max-microvolt = <1800000>; | 248 | regulator-max-microvolt = <1800000>; |
245 | regulator-always-on; | 249 | regulator-always-on; |
246 | regulator-mem-on; | ||
247 | }; | 250 | }; |
248 | 251 | ||
249 | ldo4_reg: ldo4 { | 252 | ldo4_reg: ldo4 { |
@@ -252,7 +255,6 @@ | |||
252 | regulator-min-microvolt = <2800000>; | 255 | regulator-min-microvolt = <2800000>; |
253 | regulator-max-microvolt = <2800000>; | 256 | regulator-max-microvolt = <2800000>; |
254 | regulator-always-on; | 257 | regulator-always-on; |
255 | regulator-mem-on; | ||
256 | }; | 258 | }; |
257 | 259 | ||
258 | ldo5_reg: ldo5 { | 260 | ldo5_reg: ldo5 { |
@@ -261,7 +263,6 @@ | |||
261 | regulator-min-microvolt = <1800000>; | 263 | regulator-min-microvolt = <1800000>; |
262 | regulator-max-microvolt = <1800000>; | 264 | regulator-max-microvolt = <1800000>; |
263 | regulator-always-on; | 265 | regulator-always-on; |
264 | regulator-mem-on; | ||
265 | }; | 266 | }; |
266 | 267 | ||
267 | ldo6_reg: ldo6 { | 268 | ldo6_reg: ldo6 { |
@@ -270,7 +271,9 @@ | |||
270 | regulator-min-microvolt = <1000000>; | 271 | regulator-min-microvolt = <1000000>; |
271 | regulator-max-microvolt = <1000000>; | 272 | regulator-max-microvolt = <1000000>; |
272 | regulator-always-on; | 273 | regulator-always-on; |
273 | regulator-mem-on; | 274 | regulator-state-mem { |
275 | regulator-on-in-suspend; | ||
276 | }; | ||
274 | }; | 277 | }; |
275 | 278 | ||
276 | ldo7_reg: ldo7 { | 279 | ldo7_reg: ldo7 { |
@@ -279,7 +282,9 @@ | |||
279 | regulator-min-microvolt = <1000000>; | 282 | regulator-min-microvolt = <1000000>; |
280 | regulator-max-microvolt = <1000000>; | 283 | regulator-max-microvolt = <1000000>; |
281 | regulator-always-on; | 284 | regulator-always-on; |
282 | regulator-mem-on; | 285 | regulator-state-mem { |
286 | regulator-on-in-suspend; | ||
287 | }; | ||
283 | }; | 288 | }; |
284 | 289 | ||
285 | ldo8_reg: ldo8 { | 290 | ldo8_reg: ldo8 { |
@@ -287,7 +292,9 @@ | |||
287 | regulator-name = "VMIPI_1.0V"; | 292 | regulator-name = "VMIPI_1.0V"; |
288 | regulator-min-microvolt = <1000000>; | 293 | regulator-min-microvolt = <1000000>; |
289 | regulator-max-microvolt = <1000000>; | 294 | regulator-max-microvolt = <1000000>; |
290 | regulator-mem-off; | 295 | regulator-state-mem { |
296 | regulator-off-in-suspend; | ||
297 | }; | ||
291 | }; | 298 | }; |
292 | 299 | ||
293 | ldo9_reg: ldo9 { | 300 | ldo9_reg: ldo9 { |
@@ -295,7 +302,6 @@ | |||
295 | regulator-name = "CAM_ISP_MIPI_1.2V"; | 302 | regulator-name = "CAM_ISP_MIPI_1.2V"; |
296 | regulator-min-microvolt = <1200000>; | 303 | regulator-min-microvolt = <1200000>; |
297 | regulator-max-microvolt = <1200000>; | 304 | regulator-max-microvolt = <1200000>; |
298 | regulator-mem-idle; | ||
299 | }; | 305 | }; |
300 | 306 | ||
301 | ldo10_reg: ldo10 { | 307 | ldo10_reg: ldo10 { |
@@ -303,7 +309,9 @@ | |||
303 | regulator-name = "VMIPI_1.8V"; | 309 | regulator-name = "VMIPI_1.8V"; |
304 | regulator-min-microvolt = <1800000>; | 310 | regulator-min-microvolt = <1800000>; |
305 | regulator-max-microvolt = <1800000>; | 311 | regulator-max-microvolt = <1800000>; |
306 | regulator-mem-off; | 312 | regulator-state-mem { |
313 | regulator-off-in-suspend; | ||
314 | }; | ||
307 | }; | 315 | }; |
308 | 316 | ||
309 | ldo11_reg: ldo11 { | 317 | ldo11_reg: ldo11 { |
@@ -312,7 +320,9 @@ | |||
312 | regulator-min-microvolt = <1950000>; | 320 | regulator-min-microvolt = <1950000>; |
313 | regulator-max-microvolt = <1950000>; | 321 | regulator-max-microvolt = <1950000>; |
314 | regulator-always-on; | 322 | regulator-always-on; |
315 | regulator-mem-off; | 323 | regulator-state-mem { |
324 | regulator-off-in-suspend; | ||
325 | }; | ||
316 | }; | 326 | }; |
317 | 327 | ||
318 | ldo12_reg: ldo12 { | 328 | ldo12_reg: ldo12 { |
@@ -320,7 +330,9 @@ | |||
320 | regulator-name = "VUOTG_3.0V"; | 330 | regulator-name = "VUOTG_3.0V"; |
321 | regulator-min-microvolt = <3000000>; | 331 | regulator-min-microvolt = <3000000>; |
322 | regulator-max-microvolt = <3000000>; | 332 | regulator-max-microvolt = <3000000>; |
323 | regulator-mem-off; | 333 | regulator-state-mem { |
334 | regulator-off-in-suspend; | ||
335 | }; | ||
324 | }; | 336 | }; |
325 | 337 | ||
326 | ldo13_reg: ldo13 { | 338 | ldo13_reg: ldo13 { |
@@ -328,7 +340,6 @@ | |||
328 | regulator-name = "NFC_AVDD_1.8V"; | 340 | regulator-name = "NFC_AVDD_1.8V"; |
329 | regulator-min-microvolt = <1800000>; | 341 | regulator-min-microvolt = <1800000>; |
330 | regulator-max-microvolt = <1800000>; | 342 | regulator-max-microvolt = <1800000>; |
331 | regulator-mem-idle; | ||
332 | }; | 343 | }; |
333 | 344 | ||
334 | ldo14_reg: ldo14 { | 345 | ldo14_reg: ldo14 { |
@@ -337,7 +348,9 @@ | |||
337 | regulator-min-microvolt = <1950000>; | 348 | regulator-min-microvolt = <1950000>; |
338 | regulator-max-microvolt = <1950000>; | 349 | regulator-max-microvolt = <1950000>; |
339 | regulator-always-on; | 350 | regulator-always-on; |
340 | regulator-mem-off; | 351 | regulator-state-mem { |
352 | regulator-off-in-suspend; | ||
353 | }; | ||
341 | }; | 354 | }; |
342 | 355 | ||
343 | ldo15_reg: ldo15 { | 356 | ldo15_reg: ldo15 { |
@@ -345,7 +358,9 @@ | |||
345 | regulator-name = "VHSIC_1.0V"; | 358 | regulator-name = "VHSIC_1.0V"; |
346 | regulator-min-microvolt = <1000000>; | 359 | regulator-min-microvolt = <1000000>; |
347 | regulator-max-microvolt = <1000000>; | 360 | regulator-max-microvolt = <1000000>; |
348 | regulator-mem-off; | 361 | regulator-state-mem { |
362 | regulator-on-in-suspend; | ||
363 | }; | ||
349 | }; | 364 | }; |
350 | 365 | ||
351 | ldo16_reg: ldo16 { | 366 | ldo16_reg: ldo16 { |
@@ -353,7 +368,9 @@ | |||
353 | regulator-name = "VHSIC_1.8V"; | 368 | regulator-name = "VHSIC_1.8V"; |
354 | regulator-min-microvolt = <1800000>; | 369 | regulator-min-microvolt = <1800000>; |
355 | regulator-max-microvolt = <1800000>; | 370 | regulator-max-microvolt = <1800000>; |
356 | regulator-mem-off; | 371 | regulator-state-mem { |
372 | regulator-on-in-suspend; | ||
373 | }; | ||
357 | }; | 374 | }; |
358 | 375 | ||
359 | ldo17_reg: ldo17 { | 376 | ldo17_reg: ldo17 { |
@@ -361,7 +378,6 @@ | |||
361 | regulator-name = "CAM_SENSOR_CORE_1.2V"; | 378 | regulator-name = "CAM_SENSOR_CORE_1.2V"; |
362 | regulator-min-microvolt = <1200000>; | 379 | regulator-min-microvolt = <1200000>; |
363 | regulator-max-microvolt = <1200000>; | 380 | regulator-max-microvolt = <1200000>; |
364 | regulator-mem-idle; | ||
365 | }; | 381 | }; |
366 | 382 | ||
367 | ldo18_reg: ldo18 { | 383 | ldo18_reg: ldo18 { |
@@ -369,7 +385,6 @@ | |||
369 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; | 385 | regulator-name = "CAM_ISP_SEN_IO_1.8V"; |
370 | regulator-min-microvolt = <1800000>; | 386 | regulator-min-microvolt = <1800000>; |
371 | regulator-max-microvolt = <1800000>; | 387 | regulator-max-microvolt = <1800000>; |
372 | regulator-mem-idle; | ||
373 | }; | 388 | }; |
374 | 389 | ||
375 | ldo19_reg: ldo19 { | 390 | ldo19_reg: ldo19 { |
@@ -377,7 +392,6 @@ | |||
377 | regulator-name = "VT_CAM_1.8V"; | 392 | regulator-name = "VT_CAM_1.8V"; |
378 | regulator-min-microvolt = <1800000>; | 393 | regulator-min-microvolt = <1800000>; |
379 | regulator-max-microvolt = <1800000>; | 394 | regulator-max-microvolt = <1800000>; |
380 | regulator-mem-idle; | ||
381 | }; | 395 | }; |
382 | 396 | ||
383 | ldo20_reg: ldo20 { | 397 | ldo20_reg: ldo20 { |
@@ -385,7 +399,6 @@ | |||
385 | regulator-name = "VDDQ_PRE_1.8V"; | 399 | regulator-name = "VDDQ_PRE_1.8V"; |
386 | regulator-min-microvolt = <1800000>; | 400 | regulator-min-microvolt = <1800000>; |
387 | regulator-max-microvolt = <1800000>; | 401 | regulator-max-microvolt = <1800000>; |
388 | regulator-mem-idle; | ||
389 | }; | 402 | }; |
390 | 403 | ||
391 | ldo21_reg: ldo21 { | 404 | ldo21_reg: ldo21 { |
@@ -393,7 +406,7 @@ | |||
393 | regulator-name = "VTF_2.8V"; | 406 | regulator-name = "VTF_2.8V"; |
394 | regulator-min-microvolt = <2800000>; | 407 | regulator-min-microvolt = <2800000>; |
395 | regulator-max-microvolt = <2800000>; | 408 | regulator-max-microvolt = <2800000>; |
396 | regulator-mem-idle; | 409 | maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>; |
397 | }; | 410 | }; |
398 | 411 | ||
399 | ldo22_reg: ldo22 { | 412 | ldo22_reg: ldo22 { |
@@ -401,6 +414,7 @@ | |||
401 | regulator-name = "VMEM_VDD_2.8V"; | 414 | regulator-name = "VMEM_VDD_2.8V"; |
402 | regulator-min-microvolt = <2800000>; | 415 | regulator-min-microvolt = <2800000>; |
403 | regulator-max-microvolt = <2800000>; | 416 | regulator-max-microvolt = <2800000>; |
417 | maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; | ||
404 | }; | 418 | }; |
405 | 419 | ||
406 | ldo23_reg: ldo23 { | 420 | ldo23_reg: ldo23 { |
@@ -408,7 +422,6 @@ | |||
408 | regulator-name = "TSP_AVDD_3.3V"; | 422 | regulator-name = "TSP_AVDD_3.3V"; |
409 | regulator-min-microvolt = <3300000>; | 423 | regulator-min-microvolt = <3300000>; |
410 | regulator-max-microvolt = <3300000>; | 424 | regulator-max-microvolt = <3300000>; |
411 | regulator-mem-idle; | ||
412 | }; | 425 | }; |
413 | 426 | ||
414 | ldo24_reg: ldo24 { | 427 | ldo24_reg: ldo24 { |
@@ -416,7 +429,6 @@ | |||
416 | regulator-name = "TSP_VDD_1.8V"; | 429 | regulator-name = "TSP_VDD_1.8V"; |
417 | regulator-min-microvolt = <1800000>; | 430 | regulator-min-microvolt = <1800000>; |
418 | regulator-max-microvolt = <1800000>; | 431 | regulator-max-microvolt = <1800000>; |
419 | regulator-mem-idle; | ||
420 | }; | 432 | }; |
421 | 433 | ||
422 | ldo25_reg: ldo25 { | 434 | ldo25_reg: ldo25 { |
@@ -424,7 +436,6 @@ | |||
424 | regulator-name = "LCD_VCC_3.3V"; | 436 | regulator-name = "LCD_VCC_3.3V"; |
425 | regulator-min-microvolt = <2800000>; | 437 | regulator-min-microvolt = <2800000>; |
426 | regulator-max-microvolt = <2800000>; | 438 | regulator-max-microvolt = <2800000>; |
427 | regulator-mem-idle; | ||
428 | }; | 439 | }; |
429 | 440 | ||
430 | ldo26_reg: ldo26 { | 441 | ldo26_reg: ldo26 { |
@@ -432,7 +443,6 @@ | |||
432 | regulator-name = "MOTOR_VCC_3.0V"; | 443 | regulator-name = "MOTOR_VCC_3.0V"; |
433 | regulator-min-microvolt = <3000000>; | 444 | regulator-min-microvolt = <3000000>; |
434 | regulator-max-microvolt = <3000000>; | 445 | regulator-max-microvolt = <3000000>; |
435 | regulator-mem-idle; | ||
436 | }; | 446 | }; |
437 | 447 | ||
438 | buck1_reg: buck1 { | 448 | buck1_reg: buck1 { |
@@ -442,7 +452,9 @@ | |||
442 | regulator-max-microvolt = <1100000>; | 452 | regulator-max-microvolt = <1100000>; |
443 | regulator-always-on; | 453 | regulator-always-on; |
444 | regulator-boot-on; | 454 | regulator-boot-on; |
445 | regulator-mem-off; | 455 | regulator-state-mem { |
456 | regulator-off-in-suspend; | ||
457 | }; | ||
446 | }; | 458 | }; |
447 | 459 | ||
448 | buck2_reg: buck2 { | 460 | buck2_reg: buck2 { |
@@ -452,7 +464,9 @@ | |||
452 | regulator-max-microvolt = <1500000>; | 464 | regulator-max-microvolt = <1500000>; |
453 | regulator-always-on; | 465 | regulator-always-on; |
454 | regulator-boot-on; | 466 | regulator-boot-on; |
455 | regulator-mem-off; | 467 | regulator-state-mem { |
468 | regulator-on-in-suspend; | ||
469 | }; | ||
456 | }; | 470 | }; |
457 | 471 | ||
458 | buck3_reg: buck3 { | 472 | buck3_reg: buck3 { |
@@ -462,7 +476,9 @@ | |||
462 | regulator-max-microvolt = <1150000>; | 476 | regulator-max-microvolt = <1150000>; |
463 | regulator-always-on; | 477 | regulator-always-on; |
464 | regulator-boot-on; | 478 | regulator-boot-on; |
465 | regulator-mem-off; | 479 | regulator-state-mem { |
480 | regulator-off-in-suspend; | ||
481 | }; | ||
466 | }; | 482 | }; |
467 | 483 | ||
468 | buck4_reg: buck4 { | 484 | buck4_reg: buck4 { |
@@ -471,7 +487,9 @@ | |||
471 | regulator-min-microvolt = <850000>; | 487 | regulator-min-microvolt = <850000>; |
472 | regulator-max-microvolt = <1150000>; | 488 | regulator-max-microvolt = <1150000>; |
473 | regulator-boot-on; | 489 | regulator-boot-on; |
474 | regulator-mem-off; | 490 | regulator-state-mem { |
491 | regulator-off-in-suspend; | ||
492 | }; | ||
475 | }; | 493 | }; |
476 | 494 | ||
477 | buck5_reg: buck5 { | 495 | buck5_reg: buck5 { |
@@ -503,6 +521,7 @@ | |||
503 | regulator-name = "VMEM_VDDF_3.0V"; | 521 | regulator-name = "VMEM_VDDF_3.0V"; |
504 | regulator-min-microvolt = <2850000>; | 522 | regulator-min-microvolt = <2850000>; |
505 | regulator-max-microvolt = <2850000>; | 523 | regulator-max-microvolt = <2850000>; |
524 | maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>; | ||
506 | }; | 525 | }; |
507 | 526 | ||
508 | buck9_reg: buck9 { | 527 | buck9_reg: buck9 { |
@@ -510,7 +529,7 @@ | |||
510 | regulator-name = "CAM_ISP_CORE_1.2V"; | 529 | regulator-name = "CAM_ISP_CORE_1.2V"; |
511 | regulator-min-microvolt = <1000000>; | 530 | regulator-min-microvolt = <1000000>; |
512 | regulator-max-microvolt = <1200000>; | 531 | regulator-max-microvolt = <1200000>; |
513 | regulator-mem-off; | 532 | maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>; |
514 | }; | 533 | }; |
515 | }; | 534 | }; |
516 | }; | 535 | }; |
@@ -549,6 +568,32 @@ | |||
549 | haptic-supply = <&ldo26_reg>; | 568 | haptic-supply = <&ldo26_reg>; |
550 | pwms = <&pwm 0 38022 0>; | 569 | pwms = <&pwm 0 38022 0>; |
551 | }; | 570 | }; |
571 | |||
572 | charger { | ||
573 | compatible = "maxim,max77693-charger"; | ||
574 | |||
575 | maxim,constant-microvolt = <4350000>; | ||
576 | maxim,min-system-microvolt = <3600000>; | ||
577 | maxim,thermal-regulation-celsius = <100>; | ||
578 | maxim,battery-overcurrent-microamp = <3500000>; | ||
579 | maxim,charge-input-threshold-microvolt = <4300000>; | ||
580 | }; | ||
581 | }; | ||
582 | }; | ||
583 | |||
584 | i2c_max77693_fuel: i2c-gpio-3 { | ||
585 | compatible = "i2c-gpio"; | ||
586 | gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>; | ||
587 | i2c-gpio,delay-us = <2>; | ||
588 | #address-cells = <1>; | ||
589 | #size-cells = <0>; | ||
590 | status = "okay"; | ||
591 | |||
592 | max77693-fuel-gauge@36 { | ||
593 | compatible = "maxim,max17047"; | ||
594 | interrupt-parent = <&gpx2>; | ||
595 | interrupts = <3 IRQ_TYPE_EDGE_FALLING>; | ||
596 | reg = <0x36>; | ||
552 | }; | 597 | }; |
553 | }; | 598 | }; |
554 | 599 | ||
@@ -557,7 +602,7 @@ | |||
557 | broken-cd; | 602 | broken-cd; |
558 | non-removable; | 603 | non-removable; |
559 | card-detect-delay = <200>; | 604 | card-detect-delay = <200>; |
560 | vmmc-supply = <&vemmc_reg>; | 605 | vmmc-supply = <&ldo22_reg>; |
561 | clock-frequency = <400000000>; | 606 | clock-frequency = <400000000>; |
562 | samsung,dw-mshc-ciu-div = <0>; | 607 | samsung,dw-mshc-ciu-div = <0>; |
563 | samsung,dw-mshc-sdr-timing = <2 3>; | 608 | samsung,dw-mshc-sdr-timing = <2 3>; |
@@ -721,8 +766,8 @@ | |||
721 | status = "okay"; | 766 | status = "okay"; |
722 | assigned-clocks = <&clock CLK_MOUT_CAM0>, | 767 | assigned-clocks = <&clock CLK_MOUT_CAM0>, |
723 | <&clock CLK_MOUT_CAM1>; | 768 | <&clock CLK_MOUT_CAM1>; |
724 | assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>, | 769 | assigned-clock-parents = <&clock CLK_XUSBXTI>, |
725 | <&clock CLK_MOUT_MPLL_USER_T>; | 770 | <&clock CLK_XUSBXTI>; |
726 | 771 | ||
727 | fimc_0: fimc@11800000 { | 772 | fimc_0: fimc@11800000 { |
728 | status = "okay"; | 773 | status = "okay"; |
@@ -838,6 +883,24 @@ | |||
838 | }; | 883 | }; |
839 | }; | 884 | }; |
840 | 885 | ||
886 | i2s0: i2s@03830000 { | ||
887 | pinctrl-0 = <&i2s0_bus>; | ||
888 | pinctrl-names = "default"; | ||
889 | status = "okay"; | ||
890 | }; | ||
891 | |||
892 | sound { | ||
893 | compatible = "samsung,trats2-audio"; | ||
894 | samsung,i2s-controller = <&i2s0>; | ||
895 | samsung,model = "Trats2"; | ||
896 | samsung,audio-codec = <&wm1811>; | ||
897 | samsung,audio-routing = | ||
898 | "SPK", "SPKOUTLN", | ||
899 | "SPK", "SPKOUTLP", | ||
900 | "SPK", "SPKOUTRN", | ||
901 | "SPK", "SPKOUTRP"; | ||
902 | }; | ||
903 | |||
841 | exynos-usbphy@125B0000 { | 904 | exynos-usbphy@125B0000 { |
842 | status = "okay"; | 905 | status = "okay"; |
843 | }; | 906 | }; |
@@ -845,6 +908,7 @@ | |||
845 | hsotg@12480000 { | 908 | hsotg@12480000 { |
846 | vusb_d-supply = <&ldo15_reg>; | 909 | vusb_d-supply = <&ldo15_reg>; |
847 | vusb_a-supply = <&ldo12_reg>; | 910 | vusb_a-supply = <&ldo12_reg>; |
911 | dr_mode = "peripheral"; | ||
848 | status = "okay"; | 912 | status = "okay"; |
849 | }; | 913 | }; |
850 | 914 | ||
@@ -865,6 +929,51 @@ | |||
865 | }; | 929 | }; |
866 | }; | 930 | }; |
867 | 931 | ||
932 | &pmu_system_controller { | ||
933 | assigned-clocks = <&pmu_system_controller 0>; | ||
934 | assigned-clock-parents = <&clock CLK_XUSBXTI>; | ||
935 | }; | ||
936 | |||
937 | &ppmu_dmc0 { | ||
938 | status = "okay"; | ||
939 | |||
940 | events { | ||
941 | ppmu_dmc0_3: ppmu-event3-dmc0 { | ||
942 | event-name = "ppmu-event3-dmc0"; | ||
943 | }; | ||
944 | }; | ||
945 | }; | ||
946 | |||
947 | &ppmu_dmc1 { | ||
948 | status = "okay"; | ||
949 | |||
950 | events { | ||
951 | ppmu_dmc1_3: ppmu-event3-dmc1 { | ||
952 | event-name = "ppmu-event3-dmc1"; | ||
953 | }; | ||
954 | }; | ||
955 | }; | ||
956 | |||
957 | &ppmu_leftbus { | ||
958 | status = "okay"; | ||
959 | |||
960 | events { | ||
961 | ppmu_leftbus_3: ppmu-event3-leftbus { | ||
962 | event-name = "ppmu-event3-leftbus"; | ||
963 | }; | ||
964 | }; | ||
965 | }; | ||
966 | |||
967 | &ppmu_rightbus { | ||
968 | status = "okay"; | ||
969 | |||
970 | events { | ||
971 | ppmu_rightbus_3: ppmu-event3-rightbus { | ||
972 | event-name = "ppmu-event3-rightbus"; | ||
973 | }; | ||
974 | }; | ||
975 | }; | ||
976 | |||
868 | &pinctrl_0 { | 977 | &pinctrl_0 { |
869 | pinctrl-names = "default"; | 978 | pinctrl-names = "default"; |
870 | pinctrl-0 = <&sleep0>; | 979 | pinctrl-0 = <&sleep0>; |