summaryrefslogtreecommitdiff
path: root/patches.tizen/0446-ARM-dts-exynos4412-redwood-Add-i2c-node-for-MAX77693.patch
blob: 9c9e6bfb9638c5ba0c13e04f0c23393903aad5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
From 481536aa1e35399bd44b1ef8de265c1c41f17c96 Mon Sep 17 00:00:00 2001
From: Jonghwa Lee <jonghwa3.lee@samsung.com>
Date: Mon, 17 Jun 2013 17:21:21 +0900
Subject: [PATCH 0446/1302] ARM: dts: exynos4412-redwood: Add i2c node for
 MAX77693

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
---
 arch/arm/boot/dts/exynos4412-redwood.dts | 46 ++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-redwood.dts b/arch/arm/boot/dts/exynos4412-redwood.dts
index ccb5b9b..e3ef5fe 100644
--- a/arch/arm/boot/dts/exynos4412-redwood.dts
+++ b/arch/arm/boot/dts/exynos4412-redwood.dts
@@ -523,6 +523,52 @@
 		};
 	};
 
+	i2c_if_pmic: i2c@0 {
+		compatible = "i2c-gpio";
+		gpios = <&gpm2 0 0
+			 &gpm2 1 0
+			>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		max77693@66 {
+			compatible = "maxim,max77693";
+			interrupt-parent = <&gpx1>;
+			interrupts = <5 2>;
+			wakeup = <1>;
+			reg = <0x66>;
+
+			regulators {
+				esafeout@1 {
+					regulator-compatible = "ESAFEOUT1";
+					regulator-name = "ESAFEOUT1";
+					regulator-boot-on;
+				};
+				esafeout@2 {
+					regulator-compatible = "ESAFEOUT2";
+					regulator-name = "ESAFEOUT2";
+				};
+				charger@0 {
+					regulator-compatible = "CHARGER";
+					regulator-name = "CHARGER";
+					regulator-min-microamp = <60000>;
+					regulator-max-microamp = <2580000>;
+					regulator-boot-on;
+				};
+			};
+			muic_regs {
+				intmask@1 {
+					addr = <0x7>;
+					data = <0x9>;
+				};
+				intmask@2 {
+					addr = <0x8>;
+					data = <0x1>;
+				};
+			};
+		};
+	};
+
 	lcd_vdd_reg: voltage-regulator@1 {
 	        compatible = "regulator-fixed";
 		regulator-name = "LCD_VDD_5.0V";
-- 
1.8.3.2