201-dt-sun7i-add-oob-irq-to-bcm-sdio-wifi.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. From e4127db9b980a5684c537d9010ed2aaa05a1e79a Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Sat, 24 May 2014 20:53:49 +0200
  4. Subject: [PATCH] ARM: dts: sun7i: Add OOB irq support to boards with broadcom
  5. sdio wifi
  6. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  7. ---
  8. arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 11 +++++++++++
  9. arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts | 11 +++++++++++
  10. 2 files changed, 22 insertions(+)
  11. diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  12. index a6c1a3c..f9ab5d4 100644
  13. --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  14. +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  15. @@ -31,12 +31,23 @@
  16. };
  17. mmc3: mmc@01c12000 {
  18. + #address-cells = <1>;
  19. + #size-cells = <0>;
  20. +
  21. pinctrl-names = "default";
  22. pinctrl-0 = <&mmc3_pins_a>;
  23. vmmc-supply = <&reg_vmmc3>;
  24. bus-width = <4>;
  25. non-removable;
  26. status = "okay";
  27. +
  28. + brcmf: bcrmf@1 {
  29. + reg = <1>;
  30. + compatible = "brcm,bcm4329-fmac";
  31. + interrupt-parent = <&pio>;
  32. + interrupts = <10 8>; /* PH10 / EINT10 */
  33. + interrupt-names = "host-wake";
  34. + };
  35. };
  36. usbphy: phy@01c13400 {
  37. diff --git a/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts b/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
  38. index 6a67712d..f620aea 100644
  39. --- a/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
  40. +++ b/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
  41. @@ -29,12 +29,23 @@
  42. };
  43. mmc3: mmc@01c12000 {
  44. + #address-cells = <1>;
  45. + #size-cells = <0>;
  46. +
  47. pinctrl-names = "default";
  48. pinctrl-0 = <&mmc3_pins_a>;
  49. vmmc-supply = <&reg_vmmc3>;
  50. bus-width = <4>;
  51. non-removable;
  52. status = "okay";
  53. +
  54. + brcmf: bcrmf@1 {
  55. + reg = <1>;
  56. + compatible = "brcm,bcm4329-fmac";
  57. + interrupt-parent = <&pio>;
  58. + interrupts = <10 8>; /* PH10 / EINT10 */
  59. + interrupt-names = "host-wake";
  60. + };
  61. };
  62. usbphy: phy@01c13400 {