sunxi: add support for 4.1
[openwrt/svn-archive/archive.git] / target / linux / sunxi / patches-4.1 / 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 Index: linux-4.1.3/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
14 ===================================================================
15 --- linux-4.1.3.orig/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
16 +++ linux-4.1.3/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
17 @@ -71,12 +71,23 @@
18 };
19
20 mmc3: mmc@01c12000 {
21 + #address-cells = <1>;
22 + #size-cells = <0>;
23 +
24 pinctrl-names = "default";
25 pinctrl-0 = <&mmc3_pins_a>;
26 vmmc-supply = <&reg_vmmc3>;
27 bus-width = <4>;
28 non-removable;
29 status = "okay";
30 +
31 + brcmf: bcrmf@1 {
32 + reg = <1>;
33 + compatible = "brcm,bcm4329-fmac";
34 + interrupt-parent = <&pio>;
35 + interrupts = <10 8>; /* PH10 / EINT10 */
36 + interrupt-names = "host-wake";
37 + };
38 };
39
40 usbphy: phy@01c13400 {
41 Index: linux-4.1.3/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
42 ===================================================================
43 --- linux-4.1.3.orig/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
44 +++ linux-4.1.3/arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts
45 @@ -69,12 +69,23 @@
46 };
47
48 mmc3: mmc@01c12000 {
49 + #address-cells = <1>;
50 + #size-cells = <0>;
51 +
52 pinctrl-names = "default";
53 pinctrl-0 = <&mmc3_pins_a>;
54 vmmc-supply = <&reg_vmmc3>;
55 bus-width = <4>;
56 non-removable;
57 status = "okay";
58 +
59 + brcmf: bcrmf@1 {
60 + reg = <1>;
61 + compatible = "brcm,bcm4329-fmac";
62 + interrupt-parent = <&pio>;
63 + interrupts = <10 8>; /* PH10 / EINT10 */
64 + interrupt-names = "host-wake";
65 + };
66 };
67
68 usbphy: phy@01c13400 {