kernel/bcm2837-enable-pmu.patch

34 lines
906 B
Diff
Raw Normal View History

2018-10-23 18:36:56 +00:00
From 26611da3961755795d58595851eec350e75ae0e7 Mon Sep 17 00:00:00 2001
From: Eric Anholt <eric@anholt.net>
Date: Mon, 21 May 2018 11:39:07 -0700
Subject: arm: bcm2835: Add the PMU to the devicetree.
2018-04-04 13:42:24 +00:00
2018-10-23 18:36:56 +00:00
This only probes on arm64 so far, but hopefully that driver will be
generalized soon.
2018-04-04 13:42:24 +00:00
2018-10-23 18:36:56 +00:00
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
2018-04-04 13:42:24 +00:00
---
arch/arm/boot/dts/bcm2837.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
2018-10-23 18:36:56 +00:00
index 7704bb0..beb6c50 100644
2018-04-04 13:42:24 +00:00
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -17,6 +17,12 @@
};
};
+ arm-pmu {
2018-10-23 18:36:56 +00:00
+ compatible = "arm,cortex-a53-pmu";
2018-04-04 13:42:24 +00:00
+ interrupt-parent = <&local_intc>;
+ interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
timer {
compatible = "arm,armv7-timer";
interrupt-parent = <&local_intc>;
2018-10-23 18:36:56 +00:00
--
cgit v1.1