sunxi: add AXP209 to pcDuino3
authorZoltan Herpai <wigyori@uid0.hu>
Sun, 21 Sep 2014 20:31:18 +0000 (20:31 +0000)
committerZoltan Herpai <wigyori@uid0.hu>
Sun, 21 Sep 2014 20:31:18 +0000 (20:31 +0000)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 42636

target/linux/sunxi/patches-3.14/308-dt-sun7i-add-axp209-to-pcduino3.patch [new file with mode: 0644]

diff --git a/target/linux/sunxi/patches-3.14/308-dt-sun7i-add-axp209-to-pcduino3.patch b/target/linux/sunxi/patches-3.14/308-dt-sun7i-add-axp209-to-pcduino3.patch
new file mode 100644 (file)
index 0000000..845cfe6
--- /dev/null
@@ -0,0 +1,18 @@
+diff -ruN old/arch/arm/boot/dts/sun7i-a20-pcduino3.dts new/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
+--- old/arch/arm/boot/dts/sun7i-a20-pcduino3.dts       2014-09-21 19:38:51.000000000 +0200
++++ new/arch/arm/boot/dts/sun7i-a20-pcduino3.dts       2014-09-21 22:16:11.287396074 +0200
+@@ -111,6 +111,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 {