sunxi: enable AXP209 on BananaPi as well

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42635
This commit is contained in:
Zoltan Herpai 2014-09-21 17:46:50 +00:00
parent 6f3abd92c5
commit aaa430b434

View file

@ -0,0 +1,18 @@
diff -ruN old/arch/arm/boot/dts/sun7i-a20-bananapi.dts new/arch/arm/boot/dts/sun7i-a20-bananapi.dts
--- old/arch/arm/boot/dts/sun7i-a20-bananapi.dts 2014-09-21 19:34:10.000000000 +0200
+++ new/arch/arm/boot/dts/sun7i-a20-bananapi.dts 2014-09-21 19:37:36.823824016 +0200
@@ -131,6 +131,14 @@
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;
status = "okay";
+
+ axp: axp20x@34 {
+ reg = <0x34>;
+ interrupt-parent = <&nmi_intc>;
+ interrupts = <0 8>;
+ axp,system-power-controller;
+ /include/ "x-powers-axp209.dtsi"
+ };
};
i2c1: i2c@01c2b000 {