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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  12. +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  13. @@ -71,12 +71,23 @@
  14. };
  15. mmc3: mmc@01c12000 {
  16. + #address-cells = <1>;
  17. + #size-cells = <0>;
  18. +
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&mmc3_pins_a>;
  21. vmmc-supply = <&reg_vmmc3>;
  22. bus-width = <4>;
  23. non-removable;
  24. status = "okay";
  25. +
  26. + brcmf: bcrmf@1 {
  27. + reg = <1>;
  28. + compatible = "brcm,bcm4329-fmac";
  29. + interrupt-parent = <&pio>;
  30. + interrupts = <10 8>; /* PH10 / EINT10 */
  31. + interrupt-names = "host-wake";
  32. + };
  33. };
  34. usbphy: phy@01c13400 {
  35. --- a/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
  36. +++ b/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
  37. @@ -69,12 +69,23 @@
  38. };
  39. mmc3: mmc@01c12000 {
  40. + #address-cells = <1>;
  41. + #size-cells = <0>;
  42. +
  43. pinctrl-names = "default";
  44. pinctrl-0 = <&mmc3_pins_a>;
  45. vmmc-supply = <&reg_vmmc3>;
  46. bus-width = <4>;
  47. non-removable;
  48. status = "okay";
  49. +
  50. + brcmf: bcrmf@1 {
  51. + reg = <1>;
  52. + compatible = "brcm,bcm4329-fmac";
  53. + interrupt-parent = <&pio>;
  54. + interrupts = <10 8>; /* PH10 / EINT10 */
  55. + interrupt-names = "host-wake";
  56. + };
  57. };
  58. usbphy: phy@01c13400 {