Commit 34869353 authored by Florian Vaussard's avatar Florian Vaussard Committed by Dinh Nguyen

ARM: dts: socfpga: Add support for PMU

The dual Cortex-A9 MPCore inside socfpga has a standard PMU unit for
each core mapped in the DAP memory space. Add support for it!

Tested with perf on a Cyclone 5 SoC DK.
Reported-by: default avatarAlberto Dassatti <alberto.dassatti@heig-vd.ch>
Signed-off-by: default avatarFlorian Vaussard <florian.vaussard@heig-vd.ch>
Tested-by: default avatarAlberto Dassatti <alberto.dassatti@heig-vd.ch>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent e3e6dba1
......@@ -51,6 +51,15 @@ cpu1: cpu@1 {
};
};
pmu: pmu@ff111000 {
compatible = "arm,cortex-a9-pmu";
interrupt-parent = <&intc>;
interrupts = <0 176 4>, <0 177 4>;
interrupt-affinity = <&cpu0>, <&cpu1>;
reg = <0xff111000 0x1000>,
<0xff113000 0x1000>;
};
intc: intc@fffed000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment