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>
This commit is contained in:
parent
38130651b7
commit
8b6edb27e0
@ -27,6 +27,8 @@
|
|||||||
i2c5 = "/i2c@138b0000";
|
i2c5 = "/i2c@138b0000";
|
||||||
i2c6 = "/i2c@138c0000";
|
i2c6 = "/i2c@138c0000";
|
||||||
i2c7 = "/i2c@138d0000";
|
i2c7 = "/i2c@138d0000";
|
||||||
|
i2c8 = &i2c_fg;
|
||||||
|
i2c9 = &i2c_max77693;
|
||||||
serial0 = "/serial@13800000";
|
serial0 = "/serial@13800000";
|
||||||
console = "/serial@13820000";
|
console = "/serial@13820000";
|
||||||
mmc0 = "/sdhci@12510000";
|
mmc0 = "/sdhci@12510000";
|
||||||
@ -34,6 +36,22 @@
|
|||||||
mshc0 = "/dwmmc@12550000";
|
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 {
|
i2c@138d0000 {
|
||||||
samsung,i2c-sda-delay = <100>;
|
samsung,i2c-sda-delay = <100>;
|
||||||
samsung,i2c-slave-addr = <0x10>;
|
samsung,i2c-slave-addr = <0x10>;
|
||||||
|
Loading…
Reference in New Issue
Block a user