From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Matyukevich Subject: [PATCH v2 1/2] ARM: dts: orange-pi-zero: specify wifi interrupts Date: Thu, 25 May 2017 00:24:32 +0300 Message-ID: <20170524212433.14386-2-geomatsi@gmail.com> References: <20170524212433.14386-1-geomatsi@gmail.com> Return-path: In-Reply-To: <20170524212433.14386-1-geomatsi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Maxime Ripard , Chen-Yu Tsai Cc: Icenowy Zheng , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Sergey Matyukevich List-Id: devicetree@vger.kernel.org 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 --- 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@1 { reg = <1>; + compatible = "xradio,xr819"; + interrupt-parent = <&pio>; + interrupts = <6 10 IRQ_TYPE_EDGE_RISING>; }; }; -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html