summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2014-02-26 01:57:57 +0100
committerSebastian Reichel <sre@kernel.org>2014-04-26 01:49:01 +0200
commitb34e0290e99d68057096e49855f7303768a0828e (patch)
treee68c477b4a41150958326e0926b332e4203da92b
parentf91c864c856fc801ce47c6c8e3192f240aaa063e (diff)
downloadlinux-b34e0290e99d68057096e49855f7303768a0828e.tar.bz2
DTS: ARM: 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@debian.org>
-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 c9d8b5182fe3..64927724f041 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -103,6 +103,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 {