[PATCH v3 2/3] dt-bindings: misc: intel_sysid: Add the system id binding for Altera(Intel) FPGA platform
From: kah . jing . lee
Date: Sun Jul 24 2022 - 23:58:52 EST
From: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
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.
Based on an initial contribution from Ley Foon Tan at Altera
Signed-off-by: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
Reviewed-by: Zhou Furong <furong.zhou@xxxxxxxxx>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
---
v2->v3:
- Updated maintainer
---
---
.../bindings/misc/intel,socfpga-sysid.yaml | 40 +++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml
diff --git a/Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml b/Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml
new file mode 100644
index 000000000000..7426cbe4462b
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/intel,socfpga-sysid.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright (C) 2022, Intel Corporation.
+# Copyright (C) 2013-2015, Altera Corporation.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/misc/intel,socfpga-sysid.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Altera(Intel) Sysid IP core driver
+
+maintainers:
+ - Kah Jing Lee <kah.jing.lee@xxxxxxxxx>
+
+description: |
+ The Altera(Intel) 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 >;
+ };
--
2.25.1