aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-09-23 12:22:49 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-10-20 11:12:42 -0400
commit7eec1266751bd3a25e35ce88686634c768fedc24 (patch)
tree11118887ec1298d63cc0aba7c6d7be3f1d092f88
parent09918a98b7579e2155215a33b55c3d527d899b7b (diff)
ARM: dts: Add Maxim 77693 PMIC to exynos4412-trats2
The MAX77693 is a companion power management IC for smart phones and tablets. The MAX77693 contains input over-voltage protection (OVP), a fully-integrated 2.5A switching charger for Lithium Ion battery with integrated battery disconnect, OTG/accessory 5V output power, a high-current white LED driver for camera flash, two safeout LDOs, a haptic motor driver, Model Gauge m3 battery fuel gauge and MicroUSB Interface Controller (MUIC). I2C serial interface is used for communicating. Add MAX77693 node to the Trats2 board. This allows using: - charger regulator, - 2 safeout LDO regulators (for USB OTG), - extcon. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos4412-trats2.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 61e59eb68c01..dd9ac66770f7 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -14,6 +14,7 @@
14 14
15/dts-v1/; 15/dts-v1/;
16#include "exynos4412.dtsi" 16#include "exynos4412.dtsi"
17#include <dt-bindings/gpio/gpio.h>
17 18
18/ { 19/ {
19 model = "Samsung Trats 2 based on Exynos4412"; 20 model = "Samsung Trats 2 based on Exynos4412";
@@ -22,6 +23,7 @@
22 aliases { 23 aliases {
23 i2c9 = &i2c_ak8975; 24 i2c9 = &i2c_ak8975;
24 i2c10 = &i2c_cm36651; 25 i2c10 = &i2c_cm36651;
26 i2c11 = &i2c_max77693;
25 }; 27 };
26 28
27 memory { 29 memory {
@@ -514,6 +516,36 @@
514 }; 516 };
515 }; 517 };
516 518
519 i2c_max77693: i2c-gpio-1 {
520 compatible = "i2c-gpio";
521 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
522 i2c-gpio,delay-us = <2>;
523 #address-cells = <1>;
524 #size-cells = <0>;
525 status = "okay";
526
527 max77693@66 {
528 compatible = "maxim,max77693";
529 interrupt-parent = <&gpx1>;
530 interrupts = <5 2>;
531 reg = <0x66>;
532
533 regulators {
534 esafeout1_reg: ESAFEOUT1@1 {
535 regulator-name = "ESAFEOUT1";
536 };
537 esafeout2_reg: ESAFEOUT2@2 {
538 regulator-name = "ESAFEOUT2";
539 };
540 charger_reg: CHARGER@0 {
541 regulator-name = "CHARGER";
542 regulator-min-microamp = <60000>;
543 regulator-max-microamp = <2580000>;
544 };
545 };
546 };
547 };
548
517 mmc@12550000 { 549 mmc@12550000 {
518 num-slots = <1>; 550 num-slots = <1>;
519 broken-cd; 551 broken-cd;