[PATCH 2/6] dt-bindings: perf: Add Arteris FlexNoC interconnect

Vladimir Kondratiev vladimir.kondratiev at mobileye.com
Mon Nov 30 04:51:10 PST 2026


Add a Device Tree binding for the Arteris FlexNoC interconnect used by
the performance monitoring driver. Each node describes a single service-
network register range where hardware units (including packet probes) are
discovered at runtime.

Document the optional "arteris,counter-bits" property for counter widths
that cannot be read back from hardware, and the optional "label"
property used to name the resulting PMUs.

Signed-off-by: Vladimir Kondratiev <vladimir.kondratiev at mobileye.com>
---
 .../devicetree/bindings/perf/arteris,flexnoc.yaml  | 74 ++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml b/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml
new file mode 100644
index 000000000000..ed8f68da7062
--- /dev/null
+++ b/Documentation/devicetree/bindings/perf/arteris,flexnoc.yaml
@@ -0,0 +1,74 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/perf/arteris,flexnoc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Arteris FlexNoC interconnect
+
+maintainers:
+  - Vladimir Kondratiev <vladimir.kondratiev at mobileye.com>
+
+description:
+  An Arteris FlexNoC interconnect gives run-time access to the registers of
+  its hardware units, such as observation probes, sideband managers and error
+  loggers, through a service network. The units are mapped one after the
+  other in a single register range, in blocks of 128 to 1024 bytes, each
+  starting with the same identification registers. Units are discovered by
+  reading those registers; a SoC usually has several FlexNoC instances, each
+  with its own set of units. Packet probes with statistics counters are
+  exposed as performance monitoring units.
+
+properties:
+  compatible:
+    oneOf:
+      - items:
+          - enum:
+              - mobileye,eyeq6h-flexnoc
+          - const: arteris,flexnoc
+      - const: arteris,flexnoc
+
+  reg:
+    maxItems: 1
+    description:
+      The range of unit registers of the interconnect. It must not extend
+      past the last unit; registers in gaps between units answer with a bus
+      error, but the range must be backed by the service network.
+
+  arteris,counter-bits:
+    description:
+      Width in bits of the statistics counters of the packet probes of this
+      interconnect, which is a build option of the NoC that cannot be read
+      back from the hardware.
+    minimum: 8
+    maximum: 32
+    default: 32
+
+  label:
+    description:
+      human-readable name for the interconnect node
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    soc {
+        #address-cells = <2>;
+        #size-cells = <2>;
+
+        noc_ncore_ccti: interconnect at d1d00000 {
+            compatible = "mobileye,eyeq6h-flexnoc", "arteris,flexnoc";
+            reg = <0 0xd1d00000 0 0x1000>;
+            label = "flexnoc_ccti";
+        };
+
+        interconnect at 48419000 {
+            compatible = "arteris,flexnoc";
+            reg = <0x0 0x48419000 0x0 0x1000>;
+            arteris,counter-bits = <24>;
+        };
+    };

-- 
2.43.0




More information about the linux-arm-kernel mailing list