diff mbox

[v2] arm: bcm2835: Add the PMU to the devicetree.

Message ID 20180521183907.27563-1-eric@anholt.net (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Anholt May 21, 2018, 6:39 p.m. UTC
This only probes on arm64 so far, but hopefully that driver will be
generalized soon.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/boot/dts/bcm2837.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Stefan Wahren May 21, 2018, 6:59 p.m. UTC | #1
> Eric Anholt <eric@anholt.net> hat am 21. Mai 2018 um 20:39 geschrieben:
> 
> 
> This only probes on arm64 so far, but hopefully that driver will be
> generalized soon.
> 
> Signed-off-by: Eric Anholt <eric@anholt.net>

Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Eric Anholt June 22, 2018, 12:15 a.m. UTC | #2
Stefan Wahren <stefan.wahren@i2se.com> writes:

>> Eric Anholt <eric@anholt.net> hat am 21. Mai 2018 um 20:39 geschrieben:
>> 
>> 
>> This only probes on arm64 so far, but hopefully that driver will be
>> generalized soon.
>> 
>> Signed-off-by: Eric Anholt <eric@anholt.net>
>
> Acked-by: Stefan Wahren <stefan.wahren@i2se.com>

Merged to bcm2835-dt-next.  Thanks!
diff mbox

Patch

diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi
index 7704bb029605..beb6c502dadc 100644
--- a/arch/arm/boot/dts/bcm2837.dtsi
+++ b/arch/arm/boot/dts/bcm2837.dtsi
@@ -17,6 +17,12 @@ 
 		};
 	};
 
+	arm-pmu {
+		compatible = "arm,cortex-a53-pmu";
+		interrupt-parent = <&local_intc>;
+		interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
+	};
+
 	timer {
 		compatible = "arm,armv7-timer";
 		interrupt-parent = <&local_intc>;