summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/patches-3.18/0095-mach_bcm2709-Add-Mailbox-resources-to-USB-driver.patch
blob: 6d3185834e5e11d7ff98f66dfd7645142650f2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 4d5ab4e9eb0ae339e8ae87edb0556435cb0bf4b0 Mon Sep 17 00:00:00 2001
From: P33M <P33M@github.com>
Date: Thu, 22 Jan 2015 18:02:44 +0000
Subject: [PATCH 095/114] mach_bcm2709: Add Mailbox resources to USB driver

---
 arch/arm/mach-bcm2709/bcm2709.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

--- a/arch/arm/mach-bcm2709/bcm2709.c
+++ b/arch/arm/mach-bcm2709/bcm2709.c
@@ -338,6 +338,16 @@ static struct resource bcm2708_usb_resou
 		.end = IRQ_USB,
 		.flags = IORESOURCE_IRQ,
 		},
+	[4] = {
+		.start = ARM_LOCAL_BASE,
+		.end = ARM_LOCAL_BASE + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+		},
+	[5] = {
+		.start = IRQ_ARM_LOCAL_MAILBOX1,
+		.end = IRQ_ARM_LOCAL_MAILBOX1,
+		.flags = IORESOURCE_IRQ
+	},
 };