kernel: refresh patches
[openwrt/svn-archive/archive.git] / target / linux / sunxi / patches-3.14 / 309-dt-sun7i-add-ir-to-bananapi.patch
1 From 05cffcda932b0914d78a08891c13e61593a6ce02 Mon Sep 17 00:00:00 2001
2 From: Alexander Bersenev <bay@hackerdom.ru>
3 Date: Mon, 9 Jun 2014 00:08:13 +0600
4 Subject: [PATCH] ARM: sunxi: Enable IR controller on cubieboard 2 and
5 cubietruck in dts
6
7 This patch enables two IR devices in dts:
8 - One IR device physically found on Cubieboard 2
9 - One IR device physically found on Cubietruck
10
11 Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
12 Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
13 ---
14 arch/arm/boot/dts/sun7i-a20-bananapi.dts | 6 ++++++
15 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 6 ++++++
16 2 files changed, 12 insertions(+)
17
18 --- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts
19 +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
20 @@ -103,6 +103,12 @@
21 status = "okay";
22 };
23
24 + ir0: ir@01c21800 {
25 + pinctrl-names = "default";
26 + pinctrl-0 = <&ir0_pins_a>;
27 + status = "okay";
28 + };
29 +
30 uart0: serial@01c28000 {
31 pinctrl-names = "default";
32 pinctrl-0 = <&uart0_pins_a>;