linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: geomatsi@gmail.com (Sergey Matyukevich)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: dts: orange-pi-zero: specify wifi interrupts
Date: Thu, 25 May 2017 00:24:32 +0300	[thread overview]
Message-ID: <20170524212433.14386-2-geomatsi@gmail.com> (raw)
In-Reply-To: <20170524212433.14386-1-geomatsi@gmail.com>

The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board
dts file provides a node enabling mmc1 controller. Together with an
out-of-tree driver https://github.com/fifteenhex/xradio this node
enables using the wifi chip.

This commit specifies XR819 interrupt configuration for the driver.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
---
 arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
index 9e8b082c134f..e97dfd1775d1 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -128,6 +128,9 @@
 	 */
 	xr819: sdio_wifi at 1 {
 		reg = <1>;
+		compatible = "xradio,xr819";
+		interrupt-parent = <&pio>;
+		interrupts = <6 10 IRQ_TYPE_EDGE_RISING>;
 	};
 };
 
-- 
2.11.0

  reply	other threads:[~2017-05-24 21:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24 21:24 [PATCH v2 0/2] orange-pi-zero: minor updates for peripherals Sergey Matyukevich
2017-05-24 21:24 ` Sergey Matyukevich [this message]
2017-05-25  2:57   ` [PATCH v2 1/2] ARM: dts: orange-pi-zero: specify wifi interrupts Chen-Yu Tsai
2017-05-25  7:10     ` Sergey Matyukevich
2017-05-25  7:21       ` Chen-Yu Tsai
2017-05-25  8:16         ` Icenowy Zheng
2017-05-25  8:38           ` Sergey Matyukevich
2017-05-25  8:31         ` Sergey Matyukevich
2017-05-24 21:24 ` [PATCH v2 2/2] ARM: dts: orange-pi-zero: add node for SPI NOR Sergey Matyukevich
2017-05-25  2:53   ` Chen-Yu Tsai

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=20170524212433.14386-2-geomatsi@gmail.com \
    --to=geomatsi@gmail.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).