Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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>;