Commit cf26edd8 authored by Nickhu's avatar Nickhu Committed by Greentime Hu

nds32: Add document for NDS32 PMU.

The document for how to add NDS32 PMU
in devicetree.
Signed-off-by: default avatarNickhu <nickhu@andestech.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarGreentime Hu <greentime@andestech.com>
Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
parent c8b34461
* 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>;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment