From b34e0290e99d68057096e49855f7303768a0828e Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Wed, 26 Feb 2014 01:57:57 +0100 Subject: 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 --- arch/arm/boot/dts/omap3-n900.dts | 6 ++++++ 1 file changed, 6 insertions(+) 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 { -- cgit v1.2.3