Skip to content

Commit

Permalink
ARM: dts: bcm2837: Enable PMU on Raspberry Pi 3
Browse files Browse the repository at this point in the history
This enables the PMU (performance monitoring unit) on Raspberry Pi 3.
In order to make it work on ARM and ARM64, we need to specify two
compatible strings.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
  • Loading branch information
lategoodbye committed Mar 17, 2018
1 parent 8025300 commit 69e5271
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/bcm2837.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
};
};

arm-pmu {
compatible = "arm,cortex-a53-pmu", "arm,cortex-a7-pmu";
interrupt-parent = <&local_intc>;
interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
};

timer {
compatible = "arm,armv7-timer";
interrupt-parent = <&local_intc>;
Expand Down

0 comments on commit 69e5271

Please sign in to comment.