brcm2708: switch to linux 4.4 and update patches
[openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0142-bcm2835-Use-DWC_OTG.patch
1 From 893859d791f1d4e3e5722da3be08771cf32e0c71 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
3 Date: Fri, 24 Jul 2015 15:50:24 +0200
4 Subject: [PATCH 142/222] bcm2835: Use DWC_OTG
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
10 ---
11  arch/arm/boot/dts/bcm2835.dtsi     | 8 +++++---
12  arch/arm/configs/bcm2835_defconfig | 1 +
13  2 files changed, 6 insertions(+), 3 deletions(-)
14
15 --- a/arch/arm/boot/dts/bcm2835.dtsi
16 +++ b/arch/arm/boot/dts/bcm2835.dtsi
17 @@ -152,9 +152,11 @@
18                 };
19  
20                 usb: usb@7e980000 {
21 -                       compatible = "brcm,bcm2835-usb";
22 -                       reg = <0x7e980000 0x10000>;
23 -                       interrupts = <1 9>;
24 +                       compatible = "brcm,bcm2708-usb";
25 +                       reg = <0x7e980000 0x10000>,
26 +                             <0x7e006000 0x1000>;
27 +                       interrupts = <2 0>,
28 +                                    <1 9>;
29                 };
30  
31                 arm-pmu {
32 --- a/arch/arm/configs/bcm2835_defconfig
33 +++ b/arch/arm/configs/bcm2835_defconfig
34 @@ -869,6 +869,7 @@ CONFIG_USB_HIDDEV=y
35  CONFIG_USB=y
36  CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
37  CONFIG_USB_MON=m
38 +CONFIG_USB_DWCOTG=y
39  CONFIG_USB_PRINTER=m
40  CONFIG_USB_STORAGE=y
41  CONFIG_USB_STORAGE_REALTEK=m