summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/omap3-n900.dts
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-11-15 03:08:24 +0100
committerTony Lindgren <tony@atomide.com>2014-11-21 16:09:07 -0800
commit28398c69a7f99861d9631d5cfbadf8cd054ccf93 (patch)
tree8f746b9bc3950c4d1f459184a54f9479e600313b /arch/arm/boot/dts/omap3-n900.dts
parent406c07e7ed23337e01b908b2882886f48a49c30c (diff)
ARM: dst: OMAP3-N900: Add n900-battery support
This adds support for the N900's battery to the Nokia N900 DTS file. Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-n900.dts')
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index de15feac259b..6fbf44a4bf5e 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -115,6 +115,12 @@
eci-switch-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; /* 182 */
speaker-amplifier-gpios = <&twl_gpio 7 GPIO_ACTIVE_HIGH>;
};
+
+ battery: n900-battery {
+ compatible = "nokia,n900-battery";
+ io-channels = <&twl_madc 0>, <&twl_madc 4>, <&twl_madc 12>;
+ io-channel-names = "temp", "bsi", "vbat";
+ };
};
&omap3_pmx_core {