Browse Source

arm64: dts: Add Cavium ThunderX specific PMU

Add a compatible string for the Cavium ThunderX PMU.

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Jan Glauber 9 years ago
parent
commit
94085fe570

+ 1 - 0
Documentation/devicetree/bindings/arm/pmu.txt

@@ -25,6 +25,7 @@ Required properties:
 	"qcom,scorpion-pmu"
 	"qcom,scorpion-pmu"
 	"qcom,scorpion-mp-pmu"
 	"qcom,scorpion-mp-pmu"
 	"qcom,krait-pmu"
 	"qcom,krait-pmu"
+	"cavium,thunder-pmu"
 - interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
 - interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
                interrupt (PPI) then 1 interrupt should be specified.
                interrupt (PPI) then 1 interrupt should be specified.
 
 

+ 5 - 0
arch/arm64/boot/dts/cavium/thunder-88xx.dtsi

@@ -360,6 +360,11 @@
 		             <1 10 0xff01>;
 		             <1 10 0xff01>;
 	};
 	};
 
 
+	pmu {
+		compatible = "cavium,thunder-pmu", "arm,armv8-pmuv3";
+		interrupts = <1 7 4>;
+	};
+
 	soc {
 	soc {
 		compatible = "simple-bus";
 		compatible = "simple-bus";
 		#address-cells = <2>;
 		#address-cells = <2>;