ARM: dts: am335x-chiliboard: Support charger
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Thu, 2 Feb 2017 12:11:55 +0000 (13:11 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 2 Feb 2017 17:46:30 +0000 (09:46 -0800)
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>
arch/arm/boot/dts/am335x-chiliboard.dts

index 4e13cc03d6563bc5572f392ec8e7b486b65a9feb..d8769799772ea6cdacb0693427648cf61e0f0879 100644 (file)
        interrupt-parent = <&intc>;
        interrupts = <7>; /* NNMI */
 
+       charger {
+               interrupts = <0>, <1>;
+               interrupt-names = "USB", "AC";
+               status = "okay";
+       };
+
        pwrbutton {
                interrupts = <2>;
                status = "okay";