hc
2024-08-16 a24a44ff9ca902811b99aa9663d697cf452e08ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>;
}