diff options
author | Sebastian Reichel <sre@debian.org> | 2014-02-26 01:57:57 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-04-26 01:49:01 +0200 |
commit | b34e0290e99d68057096e49855f7303768a0828e (patch) | |
tree | e68c477b4a41150958326e0926b332e4203da92b | |
parent | f91c864c856fc801ce47c6c8e3192f240aaa063e (diff) | |
download | linux-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.dts | 6 |
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 { |