diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2014-09-21 17:46:50 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2014-09-21 17:46:50 +0000 |
commit | 10354ca6e7174723abac057c8b85a62cd8b41403 (patch) | |
tree | 01a1ce8467e2231416d382ee6f6d74effc81bf43 /target/linux/sunxi | |
parent | 95302a2e8e6033eafc3c0938b5077f213e5bf172 (diff) | |
download | upstream-10354ca6e7174723abac057c8b85a62cd8b41403.tar.gz upstream-10354ca6e7174723abac057c8b85a62cd8b41403.tar.bz2 upstream-10354ca6e7174723abac057c8b85a62cd8b41403.zip |
sunxi: enable AXP209 on BananaPi as well
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42635 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r-- | target/linux/sunxi/patches-3.14/307-dt-sun7i-add-axp209-to-bananapi.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/307-dt-sun7i-add-axp209-to-bananapi.patch b/target/linux/sunxi/patches-3.14/307-dt-sun7i-add-axp209-to-bananapi.patch new file mode 100644 index 0000000000..132ddda82a --- /dev/null +++ b/target/linux/sunxi/patches-3.14/307-dt-sun7i-add-axp209-to-bananapi.patch @@ -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 { |