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

12345678910111213141516171819202122232425262728293031323334
  1. From 7a24ce9f5045ac6faf66a08bbb814f3a82c919b1 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] ARM: dts: orange-pi-zero: specify XR819 WiFi chip interrupts
  5. The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board
  6. dts file provides a node enabling mmc1 controller. Together with an
  7. out-of-tree driver https://github.com/fifteenhex/xradio this node
  8. enables using the wifi chip.
  9. This commit specifies XR819 interrupt configuration for the driver.
  10. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
  11. ---
  12. arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts | 3 +++
  13. 1 file changed, 3 insertions(+)
  14. diff --git a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
  15. index 2a45770f7b83..667038973bb7 100644
  16. --- a/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
  17. +++ b/arch/arm/boot/dts/allwinner/sun8i-h2-plus-orangepi-zero.dts
  18. @@ -152,6 +152,9 @@ &mmc1 {
  19. */
  20. xr819: wifi@1 {
  21. reg = <1>;
  22. + compatible = "xradio,xr819";
  23. + interrupt-parent = <&pio>;
  24. + interrupts = <6 10 IRQ_TYPE_EDGE_RISING>;
  25. };
  26. };
  27. --
  28. 2.47.1