xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/perf/nds32v3-pmu.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* NDS32 Performance Monitor Units
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunNDS32 core have a PMU for counting cpu and cache events like cache misses.
4*4882a593SmuzhiyunThe NDS32 PMU representation in the device tree should be done as under:
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun- compatible :
9*4882a593Smuzhiyun	"andestech,nds32v3-pmu"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun- interrupts : The interrupt number for NDS32 PMU is 13.
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunExample:
14*4882a593Smuzhiyunpmu{
15*4882a593Smuzhiyun	compatible = "andestech,nds32v3-pmu";
16*4882a593Smuzhiyun	interrupts = <13>;
17*4882a593Smuzhiyun}
18