Browse Source

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>
Marcin Niestroj 8 years ago
parent
commit
53225f638b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/arm/boot/dts/am335x-chiliboard.dts

+ 6 - 0
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";