diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2017-04-03 10:02:53 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2017-04-07 02:27:55 (GMT) |
commit | 8b6edb27e0e5e557b975ba5b7095a1dd4f8be1cd (patch) | |
tree | 329dac645c60bdd1e276dedc57ba16b70b3d8068 /arch/arm | |
parent | 38130651b709bfdf209a69e5358c34bfe1a11888 (diff) | |
download | u-boot-fsl-qoriq-8b6edb27e0e5e557b975ba5b7095a1dd4f8be1cd.tar.xz |
arm: dts: trats2: add the i2c-gpio nodes
Add the i2c-gpio nodes for fuelgauge and max77693.
There are i2c8 and i2c9.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/exynos4412-trats2.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/exynos4412-trats2.dts b/arch/arm/dts/exynos4412-trats2.dts index 1fbcf89..fd9e48c 100644 --- a/arch/arm/dts/exynos4412-trats2.dts +++ b/arch/arm/dts/exynos4412-trats2.dts @@ -27,6 +27,8 @@ i2c5 = "/i2c@138b0000"; i2c6 = "/i2c@138c0000"; i2c7 = "/i2c@138d0000"; + i2c8 = &i2c_fg; + i2c9 = &i2c_max77693; serial0 = "/serial@13800000"; console = "/serial@13820000"; mmc0 = "/sdhci@12510000"; @@ -34,6 +36,22 @@ mshc0 = "/dwmmc@12550000"; }; + i2c_fg: fuel-gauge { + compatible = "i2c-gpio"; + gpios = <&gpf1 5 0>, /* sda */ + <&gpf1 4 0>; /* scl */ + i2c-gpio,delay-us = <2>; /* ~100 kHz */ + status = "okay"; + }; + + i2c_max77693: max77693 { + compatible = "i2c-gpio"; + gpio = <&gpm2 0 0>, /* sda */ + <&gpm2 1 0>; /* scl */ + i2c-gpio,delay-us = <2>; /* ~100 kHz */ + status = "okay"; + }; + i2c@138d0000 { samsung,i2c-sda-delay = <100>; samsung,i2c-slave-addr = <0x10>; |