add chaos_calmer branch
[15.05/openwrt.git] / target / linux / sunxi / patches-3.18 / 201-dt-sun7i-add-oob-irq-to-bcm-sdio-wifi.patch
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
7 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
8 ---
9  arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 11 +++++++++++
10  arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts  | 11 +++++++++++
11  2 files changed, 22 insertions(+)
12
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  
18                 mmc3: mmc@01c12000 {
19 +                       #address-cells = <1>;
20 +                       #size-cells = <0>;
21 +
22                         pinctrl-names = "default";
23                         pinctrl-0 = <&mmc3_pins_a>;
24                         vmmc-supply = <&reg_vmmc3>;
25                         bus-width = <4>;
26                         non-removable;
27                         status = "okay";
28 +
29 +                       brcmf: bcrmf@1 {
30 +                               reg = <1>;
31 +                               compatible = "brcm,bcm4329-fmac";
32 +                               interrupt-parent = <&pio>;
33 +                               interrupts = <10 8>; /* PH10 / EINT10 */
34 +                               interrupt-names = "host-wake";
35 +                       };
36                 };
37  
38                 usbphy: phy@01c13400 {
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  
44                 mmc3: mmc@01c12000 {
45 +                       #address-cells = <1>;
46 +                       #size-cells = <0>;
47 +
48                         pinctrl-names = "default";
49                         pinctrl-0 = <&mmc3_pins_a>;
50                         vmmc-supply = <&reg_vmmc3>;
51                         bus-width = <4>;
52                         non-removable;
53                         status = "okay";
54 +
55 +                       brcmf: bcrmf@1 {
56 +                               reg = <1>;
57 +                               compatible = "brcm,bcm4329-fmac";
58 +                               interrupt-parent = <&pio>;
59 +                               interrupts = <10 8>; /* PH10 / EINT10 */
60 +                               interrupt-names = "host-wake";
61 +                       };
62                 };
63  
64                 usbphy: phy@01c13400 {