Skip to contentSkip to conversation

dt-bindings: misc: Add the system id binding for Altera(Intel) FPGA platform

PATCH Superseded [email protected] 1 participant 1 message Jun 2, 2022 Device tree bindings

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 dt-bindings: misc: Add the system id binding for Altera(Intel) FPGA platform

From: Kah Jing Lee <[email protected]>

This binding is created for Altera(Intel) FPGA platform System ID soft IP. The Altera(Intel) Sysid component is generally part of an FPGA design. The component can be hotplugged when the FPGA is reconfigured.

---
 .../bindings/misc/intel,socfpga-sysid.yaml    | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml
Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml new file +39 -0
new file mode 100644
index 000000000000..470444248365
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/intel,socfpga-sysid.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel Sysid IP core driver
+
+maintainers:
+  - Arnd Bergmann <[email protected]>
+  - Greg Kroah-Hartman <[email protected]>
+
+description: |
+  The Altera Sysid component is generally part of an FPGA design. The
+  component can be hotplugged when the FPGA is reconfigured.  This patch
+  fixes the driver to support the component being hotplugged.
+
+properties:
+  compatible:
+    items:
+      - const: intel,socfpga-sysid-1.0
+
+  reg:
+    items:
+      - description: physical address and length of the registers which
+          contain revision and debug features
+
+additionalProperties: false
+
+required:
+  - compatible
+  - reg
+
+examples:
+  - |
+    sysid_qsys: sysid@10000 {
+        compatible = "intel,socfpga-sysid-1.0";
+        reg = < 0x10000 0x00000008 >;
+    };
Signature · 1 line
2.25.1