提交 34869353 编写于 作者: F Florian Vaussard 提交者: 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: NAlberto Dassatti <alberto.dassatti@heig-vd.ch>
Signed-off-by: NFlorian Vaussard <florian.vaussard@heig-vd.ch>
Tested-by: NAlberto Dassatti <alberto.dassatti@heig-vd.ch>
Signed-off-by: NDinh Nguyen <dinguyen@kernel.org>
上级 e3e6dba1
......@@ -51,6 +51,15 @@
};
};
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册