diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2017-03-30 21:30:00 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2017-04-03 11:35:38 +0900 |
commit | 57bbc3790971bb920fe69d3d771c221535a98294 (patch) | |
tree | b8920947a48c250965d0967256e03d419098f11a /arch | |
parent | 883c19a7798ec1edf050431e9d2d816163854cfb (diff) |
arm: dts: trats: add i2c_fg node for fuelgauge
Trats has the i2c gpio for fuel-gaugge.
This patch s for preparing to use the fuel-gauge.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/exynos4210-trats.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/dts/exynos4210-trats.dts b/arch/arm/dts/exynos4210-trats.dts index 69c0605184..ac422e4fc4 100644 --- a/arch/arm/dts/exynos4210-trats.dts +++ b/arch/arm/dts/exynos4210-trats.dts @@ -23,6 +23,7 @@ console = "/serial@13820000"; mmc0 = "/sdhci@12510000"; mmc2 = "/sdhci@12530000"; + i2c8 = &i2c_fg; }; fimd@11c00000 { @@ -113,6 +114,14 @@ dwmmc@12550000 { status = "disabled"; }; + + i2c_fg: fuel-gauge { + compatible = "i2c-gpio"; + gpios = <&gpy4 1 0>, /* sda */ + <&gpy4 0 0>; /* scl */ + i2c-gpio,delay-us = <2>; /* ~100 kHz */ + status = "okay"; + }; }; &i2c_5 { |