* [PATCH v2] dt-bindings: soc: hisilicon: Add HIP05 CPLD
@ 2026-09-23 19:14 Rob Herring (Arm)
2026-09-24 6:10 ` Wei Xu
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-09-23 19:14 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley, Wei Xu; +Cc: devicetree, linux-kernel
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
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
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
diff --git a/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml b/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml
new file mode 100644
index 000000000000..eaaa8f917bdd
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/hisilicon/hisilicon,hip05-cpld.yaml
@@ -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 <xuwei5@hisilicon.com>
+
+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>;
+ };
+ };
--
2.53.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-24 6:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 19:14 [PATCH v2] dt-bindings: soc: hisilicon: Add HIP05 CPLD Rob Herring (Arm)
2026-09-24 6:10 ` Wei Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®