summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra114-dalmore.dts
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2013-03-20 16:31:32 +0100
committerStephen Warren <swarren@nvidia.com>2013-04-05 01:17:41 +0200
commit33eb271ed322a289fa382c1f47021183357ebeff (patch)
treefe3ffe226a31f826c1d463e72ec8998f8d9353a3 /arch/arm/boot/dts/tegra114-dalmore.dts
parentARM: tegra: add DT binding for i2c-tegra (diff)
downloadlinux-33eb271ed322a289fa382c1f47021183357ebeff.tar.xz
linux-33eb271ed322a289fa382c1f47021183357ebeff.zip
ARM: tegra: Add sbs-battery node to Dalmore
This patch adds the node for the bq20z45 I2C gas gauge which is compatible with the sbs-battery power supply driver. Signed-off-by: Rhyland Klein <rklein@nvidia.com> [swarren: remove unit-address from node name since it's unique already] Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra114-dalmore.dts')
-rw-r--r--arch/arm/boot/dts/tegra114-dalmore.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts
index 952302e1b838..b4b3b8e21a9f 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -717,6 +717,19 @@
status = "okay";
};
+ i2c@7000c000 {
+ status = "okay";
+ clock-frequency = <100000>;
+
+ battery: smart-battery {
+ compatible = "ti,bq20z45", "sbs,sbs-battery";
+ reg = <0xb>;
+ battery-name = "battery";
+ sbs,i2c-retry-count = <2>;
+ sbs,poll-retry-count = <100>;
+ };
+ };
+
pmc {
nvidia,invert-interrupt;
};