0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 321faaf4b78d46a0c77782c1798856746f0619e9 Mon Sep 17 00:00:00 2001
  2. From: Sergey Matyukevich <geomatsi@gmail.com>
  3. Date: Fri, 19 May 2017 23:39:48 +0300
  4. Subject: [PATCH 1/3] ARM: dts: orange-pi-zero: specify XR819 WiFi chip
  5. interrupts
  6. The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board
  7. dts file provides a node enabling mmc1 controller. Together with an
  8. out-of-tree driver https://github.com/fifteenhex/xradio this node
  9. enables using the wifi chip.
  10. This commit specifies XR819 interrupt configuration for the driver.
  11. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
  12. ---
  13. arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 3 +++
  14. 1 file changed, 3 insertions(+)
  15. diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
  16. index b7ca916d871d..4e1a9050c6b4 100644
  17. --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
  18. +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
  19. @@ -125,6 +125,9 @@
  20. */
  21. xr819: sdio_wifi@1 {
  22. reg = <1>;
  23. + compatible = "xradio,xr819";
  24. + interrupt-parent = <&pio>;
  25. + interrupts = <6 10 IRQ_TYPE_EDGE_RISING>;
  26. };
  27. };
  28. --
  29. 2.11.0