summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/perf/nds32v3-pmu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/perf/nds32v3-pmu.txt')
-rw-r--r--dts/Bindings/perf/nds32v3-pmu.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/Bindings/perf/nds32v3-pmu.txt b/dts/Bindings/perf/nds32v3-pmu.txt
new file mode 100644
index 0000000000..1bd15785b4
--- /dev/null
+++ b/dts/Bindings/perf/nds32v3-pmu.txt
@@ -0,0 +1,17 @@
+* NDS32 Performance Monitor Units
+
+NDS32 core have a PMU for counting cpu and cache events like cache misses.
+The NDS32 PMU representation in the device tree should be done as under:
+
+Required properties:
+
+- compatible :
+ "andestech,nds32v3-pmu"
+
+- interrupts : The interrupt number for NDS32 PMU is 13.
+
+Example:
+pmu{
+ compatible = "andestech,nds32v3-pmu";
+ interrupts = <13>;
+}