bcm53xx: backport upstream profiling and USB VCC patches
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 068-ARM-BCM5301X-Add-profiling-support.patch
diff --git a/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch b/target/linux/bcm53xx/patches-3.18/068-ARM-BCM5301X-Add-profiling-support.patch
new file mode 100644 (file)
index 0000000..ef3d35f
--- /dev/null
@@ -0,0 +1,27 @@
+From 1ff80363524cf78e2894b1c6fdd5b7b03ea41994 Mon Sep 17 00:00:00 2001
+From: Felix Fietkau <nbd@openwrt.org>
+Date: Wed, 29 Jul 2015 23:51:00 +0200
+Subject: [PATCH] ARM: BCM5301X: Add profiling support
+
+Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+Signed-off-by: Olof Johansson <olof@lixom.net>
+---
+
+--- a/arch/arm/boot/dts/bcm5301x.dtsi
++++ b/arch/arm/boot/dts/bcm5301x.dtsi
+@@ -82,6 +82,13 @@
+               };
+       };
++      pmu {
++              compatible = "arm,cortex-a9-pmu";
++              interrupts =
++                      <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
++                      <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
++      };
++
+       clocks {
+               #address-cells = <1>;
+               #size-cells = <0>;