diff options
author | Marcin Niestroj <m.niestroj@grinn-global.com> | 2017-02-02 15:11:55 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-02-02 20:46:30 +0300 |
commit | 53225f638b100475984b9f227ce27385e6bb473e (patch) | |
tree | 8bbdcb3c21acf9ca6b058b55fd48a1dd2ec9b0be /arch | |
parent | 41f0e0670e527209cf6323c5a18961ee981b1a45 (diff) | |
download | linux-53225f638b100475984b9f227ce27385e6bb473e.tar.xz |
ARM: dts: am335x-chiliboard: Support charger
chiliBoard has a battery connector, so support charging battery
through tps65217 chip.
Additionally, enabling tps65217 charger allows us to get status
of AC power.
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/am335x-chiliboard.dts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-chiliboard.dts b/arch/arm/boot/dts/am335x-chiliboard.dts index 4e13cc03d656..d8769799772e 100644 --- a/arch/arm/boot/dts/am335x-chiliboard.dts +++ b/arch/arm/boot/dts/am335x-chiliboard.dts @@ -190,6 +190,12 @@ interrupt-parent = <&intc>; interrupts = <7>; /* NNMI */ + charger { + interrupts = <0>, <1>; + interrupt-names = "USB", "AC"; + status = "okay"; + }; + pwrbutton { interrupts = <2>; status = "okay"; |