aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-11-21 18:42:43 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-11-21 18:42:43 +0000
commit9c54f7f312c189c4cfaec68675589a666d37306c (patch)
tree16d9f9beb213e24e138cf9cf941aecc40d3e059a /target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch
parentc84fe94b0df1f3f98a128e929e79d63ab7f4de54 (diff)
downloadupstream-9c54f7f312c189c4cfaec68675589a666d37306c.tar.gz
upstream-9c54f7f312c189c4cfaec68675589a666d37306c.tar.bz2
upstream-9c54f7f312c189c4cfaec68675589a666d37306c.zip
sunxi: add initial 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 43337
Diffstat (limited to 'target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch')
-rw-r--r--target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch b/target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch
new file mode 100644
index 0000000000..0ffe4e8020
--- /dev/null
+++ b/target/linux/sunxi/patches-3.18/111-dt-sun4i-add-lradc.patch
@@ -0,0 +1,28 @@
+From f39ea4358d2e4b939b8ca55ee344d3c8fdfc0a6a Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Wed, 1 Jan 2014 19:51:36 +0100
+Subject: [PATCH] ARM: dts: sun4i: Add lradc node
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ arch/arm/boot/dts/sun4i-a10.dtsi | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
+index 380f914..1ef7d57 100644
+--- a/arch/arm/boot/dts/sun4i-a10.dtsi
++++ b/arch/arm/boot/dts/sun4i-a10.dtsi
+@@ -669,6 +669,13 @@
+ status = "disabled";
+ };
+
++ lradc: lradc@01c22800 {
++ compatible = "allwinner,sun4i-a10-lradc-keys";
++ reg = <0x01c22800 0x100>;
++ interrupts = <31>;
++ status = "disabled";
++ };
++
+ sid: eeprom@01c23800 {
+ compatible = "allwinner,sun4i-a10-sid";
+ reg = <0x01c23800 0x10>;