summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-03-01 15:24:46 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:51 +0900
commit01ad46d26e3e4cdf0c7dd1bd943bd377c5e14f88 (patch)
tree106525f4e6eb1d341192e0de8bdd04672e6c6ef1 /arch/arm/boot/dts
parent66516d4121e425ae264a373a9eb02f7af313f5f3 (diff)
downloadlinux-3.10-01ad46d26e3e4cdf0c7dd1bd943bd377c5e14f88.tar.gz
linux-3.10-01ad46d26e3e4cdf0c7dd1bd943bd377c5e14f88.tar.bz2
linux-3.10-01ad46d26e3e4cdf0c7dd1bd943bd377c5e14f88.zip
ARM: dts: exynos4210-trats: Add node for max17042 battery fuel gauge
This patch adds device tree node for max17042 battery fuel gauge present on Trats board. Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/exynos4210-trats.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 7061c888ea3..a7ed9af4f24 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -464,6 +464,20 @@
};
};
+ i2c-gpio-0 {
+ compatible = "i2c-gpio";
+ gpios = <&gpy4 0 0>, <&gpy4 1 0>;
+ i2c-gpio,delay-us = <5>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ battery@36 {
+ compatible = "maxim,max17042";
+ reg = <0x36>;
+ maxim,rsns-microohm = <10000>;
+ };
+ };
+
usbphy@125B0000 {
status = "okay";
};