aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch')
-rw-r--r--target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch b/target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch
new file mode 100644
index 0000000000..58ca0ee481
--- /dev/null
+++ b/target/linux/sunxi/patches-3.14/281-dt-sun7i-add-ir-pins.patch
@@ -0,0 +1,38 @@
+From 7720fe5faadae243806833c7a7ec5d15bae244c4 Mon Sep 17 00:00:00 2001
+From: Alexander Bersenev <bay@hackerdom.ru>
+Date: Mon, 9 Jun 2014 00:08:11 +0600
+Subject: [PATCH] ARM: sunxi: Add pins for IR controller on A20 to dtsi
+
+This patch adds pins for two IR controllers on A20
+
+Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
+Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
+---
+ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
+index e67e451..4e4d6ce 100644
+--- a/arch/arm/boot/dts/sun7i-a20.dtsi
++++ b/arch/arm/boot/dts/sun7i-a20.dtsi
+@@ -738,6 +738,20 @@
+ allwinner,drive = <2>;
+ allwinner,pull = <0>;
+ };
++
++ ir0_pins_a: ir0@0 {
++ allwinner,pins = "PB3","PB4";
++ allwinner,function = "ir0";
++ allwinner,drive = <0>;
++ allwinner,pull = <0>;
++ };
++
++ ir1_pins_a: ir1@0 {
++ allwinner,pins = "PB22","PB23";
++ allwinner,function = "ir1";
++ allwinner,drive = <0>;
++ allwinner,pull = <0>;
++ };
+ };
+
+ timer@01c20c00 {