diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2014-09-21 20:31:18 +0000 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2014-09-21 20:31:18 +0000 |
commit | cc5d855f3086c26473377b3be8c475d5ffb068a5 (patch) | |
tree | c24e93ecca754e8a616e271644a9263b818ce817 /target | |
parent | 10354ca6e7174723abac057c8b85a62cd8b41403 (diff) | |
download | upstream-cc5d855f3086c26473377b3be8c475d5ffb068a5.tar.gz upstream-cc5d855f3086c26473377b3be8c475d5ffb068a5.tar.bz2 upstream-cc5d855f3086c26473377b3be8c475d5ffb068a5.zip |
sunxi: add AXP209 to pcDuino3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42636 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/sunxi/patches-3.14/308-dt-sun7i-add-axp209-to-pcduino3.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 index 0000000000..845cfe6944 --- /dev/null +++ b/target/linux/sunxi/patches-3.14/308-dt-sun7i-add-axp209-to-pcduino3.patch @@ -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 { |