Skip to contentSkip to conversation

dt-bindings: soc: hisilicon: Add HIP05 CPLD

PATCH Applied Rob Herring (Arm) 3 participants 4 messages Sep 23 – Sep 25 Device tree bindings

lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH v2 1/1 dt-bindings: soc: hisilicon: Add HIP05 CPLD

Add schema for the hisilicon,hip05-cpld node on the HIP05 D02 board which is already in use. The node only contains the compatible string and one register window on the local bus.

Assisted-by LLM

---
v2:
- Clarify this is already in use
- Use '0x1' instead of '1' in reg

---
 .../soc/hisilicon/hisilicon,hip05-cpld.yaml   | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml
Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml new file +35 -0
new file mode 100644
index 000000000000..eaaa8f917bdd
@@ -0,0 +1,35 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/hisilicon/hisilicon,hip05-cpld.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: HiSilicon HIP05 CPLD registers
+
+maintainers:
+  - Wei Xu <[email protected]>
+
+properties:
+  compatible:
+    const: hisilicon,hip05-cpld
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    local-bus {
+        #address-cells = <2>;
+        #size-cells = <1>;
+
+        cpld@100000000 {
+            compatible = "hisilicon,hip05-cpld";
+            reg = <0x1 0x0 0x100>;
+        };
+    };
Signature · 1 line
2.53.0
Acked-by on v2 1/1
#1 lore raw

Hi Rob,

Quoted 6 lines · Rob Herring (Arm)

Add schema for the hisilicon,hip05-cpld node on the HIP05 D02 board which is already in use. The node only contains the compatible string and one register window on the local bus.

Assisted-by LLM

Thanks!

Best Regards,
Wei

author maintainer Applied
#3 lore raw
In reply to Rob Herring (Arm)
Quoted 6 lines · Rob Herring (Arm)

Add schema for the hisilicon,hip05-cpld node on the HIP05 D02 board which is already in use. The node only contains the compatible string and one register window on the local bus.

Assisted-by LLM
Quoted 9 lines

---
v2:
- Clarify this is already in use
- Use '0x1' instead of '1' in reg

---
 .../soc/hisilicon/hisilicon,hip05-cpld.yaml   | 35 +++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml

Applied, thanks!