linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 8/9] ARM: dts: sun4i: Add ir controller nodes and pinmux
Date: Mon, 30 Jun 2014 23:57:58 +0200	[thread overview]
Message-ID: <1404165479-23785-9-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1404165479-23785-1-git-send-email-hdegoede@redhat.com>

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 arch/arm/boot/dts/sun4i-a10.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index ae6dd50..ec00030 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -593,6 +593,20 @@
 				allwinner,drive = <0>;
 				allwinner,pull = <1>;
 			};
+
+			ir0_pins_a: ir0 at 0 {
+				allwinner,pins = "PB3","PB4";
+				allwinner,function = "ir0";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
+
+			ir1_pins_a: ir1 at 0 {
+				allwinner,pins = "PB22","PB23";
+				allwinner,function = "ir1";
+				allwinner,drive = <0>;
+				allwinner,pull = <0>;
+			};
 		};
 
 		timer at 01c20c00 {
@@ -621,6 +635,24 @@
 			status = "disabled";
 		};
 
+		ir0: ir at 01c21800 {
+			compatible = "allwinner,sun4i-a10-ir";
+			clocks = <&apb0_gates 6>, <&ir0_clk>;
+			clock-names = "apb", "ir";
+			interrupts = <5>;
+			reg = <0x01c21800 0x40>;
+			status = "disabled";
+		};
+
+		ir1: ir at 01c21c00 {
+			compatible = "allwinner,sun4i-a10-ir";
+			clocks = <&apb0_gates 7>, <&ir1_clk>;
+			clock-names = "apb", "ir";
+			interrupts = <6>;
+			reg = <0x01c21c00 0x40>;
+			status = "disabled";
+		};
+
 		lradc: lradc at 01c22800 {
 			compatible = "allwinner,sun4i-lradc-keys";
 			reg = <0x01c22800 0x100>;
-- 
2.0.0

  parent reply	other threads:[~2014-06-30 21:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 21:57 [PATCH 0/9] ARM: dts: sunxi: Various sunxi dts patches Hans de Goede
2014-06-30 21:57 ` [PATCH 1/9] ARM: dts: sunxi: Add #interrupt-cells to pinctrl nodes Hans de Goede
2014-06-30 21:57 ` [PATCH 2/9] ARM: dts: sun4i: Add AXP209 support to various boards Hans de Goede
2014-06-30 21:57 ` [PATCH 3/9] ARM: dts: sun7i: " Hans de Goede
2014-06-30 21:57 ` [PATCH 4/9] ARM: dts: sun7i: Rename sun7i-a20-ir to sun4i-a10-ir Hans de Goede
2014-06-30 21:57 ` [PATCH 5/9] ARM: dts: sun7i: Add ir receiver support to a20-i12-tvbox Hans de Goede
2014-06-30 21:57 ` [PATCH 6/9] ARM: dts: sun7i: Add board support for LinkSprite pcDuino V3 Hans de Goede
2014-07-01  2:22   ` Chen-Yu Tsai
2014-07-01  7:12     ` Hans de Goede
2014-07-01  7:21       ` Chen-Yu Tsai
2014-07-01  7:30         ` Hans de Goede
2014-07-01  7:59           ` Maxime Ripard
2014-06-30 21:57 ` [PATCH 7/9] ARM: dts: sun7i: Add new ba10-tvbox board Hans de Goede
2014-07-01  2:16   ` Chen-Yu Tsai
2014-07-01  7:06     ` [linux-sunxi] " Hans de Goede
2014-07-01  8:01       ` Maxime Ripard
2014-06-30 21:57 ` Hans de Goede [this message]
2014-06-30 21:57 ` [PATCH 9/9] ARM: dts: sun4i: Add ir node to various boards Hans de Goede
2014-07-01  8:06 ` [PATCH 0/9] ARM: dts: sunxi: Various sunxi dts patches Maxime Ripard
2014-07-01  8:58   ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1404165479-23785-9-git-send-email-hdegoede@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).