Skip to content

Commit 9e258a7

Browse files
Yankun Zhengrkhuangtao
authored andcommitted
ARM: dts: rk3229-gva-sdk: enable cw2015 fuel gauge
Change-Id: Ibe6b3fd249a82239790e5d5a17c70a37f995ff9f Signed-off-by: Yankun Zheng <zyk@rock-chips.com>
1 parent 6689259 commit 9e258a7

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

arch/arm/boot/dts/rk3229-gva-sdk.dts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,24 @@
244244
};
245245
};
246246

247+
&i2c2 {
248+
status = "okay";
249+
250+
cw2015@62 {
251+
status = "okay";
252+
compatible = "cw201x";
253+
reg = <0x62>;
254+
bat_config_info = <0x15 0x42 0x60 0x59 0x52 0x58 0x4D 0x48 0x48 0x44 0x44 0x46 0x49 0x48 0x32
255+
0x24 0x20 0x17 0x13 0x0F 0x19 0x3E 0x51 0x45 0x08 0x76 0x0B 0x85 0x0E 0x1C 0x2E 0x3E 0x4D 0x52 0x52
256+
0x57 0x3D 0x1B 0x6A 0x2D 0x25 0x43 0x52 0x87 0x8F 0x91 0x94 0x52 0x82 0x8C 0x92 0x96 0xFF 0x7B 0xBB
257+
0xCB 0x2F 0x7D 0x72 0xA5 0xB5 0xC1 0x46 0xAE>;
258+
monitor_sec = <5>;
259+
virtual_power = <0>;
260+
divider_res1 = <200>;
261+
divider_res2 = <200>;
262+
};
263+
};
264+
247265
&cpu0 {
248266
cpu-supply = <&vdd_arm>;
249267
};

0 commit comments

Comments
 (0)