4d8b078d7dc84068192e40e18255642c51d28d52
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.1 / 0142-bcm2835-Use-DWC_OTG.patch
1 From cdd86992209a3f4d5b896f05062a5550c39de95b 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/148] 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