summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/arc
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/arc')
-rw-r--r--dts/Bindings/arc/interrupts.txt24
-rw-r--r--dts/Bindings/arc/pmu.txt24
2 files changed, 48 insertions, 0 deletions
diff --git a/dts/Bindings/arc/interrupts.txt b/dts/Bindings/arc/interrupts.txt
new file mode 100644
index 0000000000..9a5d562435
--- /dev/null
+++ b/dts/Bindings/arc/interrupts.txt
@@ -0,0 +1,24 @@
+* ARC700 incore Interrupt Controller
+
+ The core interrupt controller provides 32 prioritised interrupts (2 levels)
+ to ARC700 core.
+
+Properties:
+
+- compatible: "snps,arc700-intc"
+- interrupt-controller: This is an interrupt controller.
+- #interrupt-cells: Must be <1>.
+
+ Single Cell "interrupts" property of a device specifies the IRQ number
+ between 0 to 31
+
+ intc accessed via the special ARC AUX register interface, hence "reg" property
+ is not specified.
+
+Example:
+
+ intc: interrupt-controller {
+ compatible = "snps,arc700-intc";
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
diff --git a/dts/Bindings/arc/pmu.txt b/dts/Bindings/arc/pmu.txt
new file mode 100644
index 0000000000..49d517340d
--- /dev/null
+++ b/dts/Bindings/arc/pmu.txt
@@ -0,0 +1,24 @@
+* ARC Performance Monitor Unit
+
+The ARC 700 can be configured with a pipeline performance monitor for counting
+CPU and cache events like cache misses and hits.
+
+Note that:
+ * ARC 700 refers to a family of ARC processor cores;
+ - There is only one type of PMU available for the whole family;
+ - The PMU may support different sets of events; supported events are probed
+ at boot time, as required by the reference manual.
+
+ * The ARC 700 PMU does not support interrupts; although HW events may be
+ counted, the HW events themselves cannot serve as a trigger for a sample.
+
+Required properties:
+
+- compatible : should contain
+ "snps,arc700-pmu"
+
+Example:
+
+pmu {
+ compatible = "snps,arc700-pmu";
+};