summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-09-19 15:34:34 +0300
committerEmil Renner Berthing <kernel@esmil.dk>2021-09-27 03:08:14 +0300
commit6df758971d14adc908832f7fcce2ee16fce99222 (patch)
treeab02ce4b9ed152049e8161ead96e3518a0bb9a36
parent274e0708d547da22f702df689431d9dd110a8927 (diff)
downloadlinux-6df758971d14adc908832f7fcce2ee16fce99222.tar.xz
dt-bindings: reset: add starfive,jh7100-reset bindings
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
-rw-r--r--Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml b/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
new file mode 100644
index 000000000000..1985ccaf8605
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/starfive,jh7100-reset.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reset/starfive,jh7100-reset.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: StarFive JH7100 SoC Reset Controller Device Tree Bindings
+
+maintainers:
+ - Emil Renner Berthing <kernel@esmil.dk>
+
+properties:
+ compatible:
+ enum:
+ - starfive,jh7100-reset
+
+ reg:
+ maxItems: 1
+
+ "#reset-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+ - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ rstgen: reset@11840000 {
+ compatible = "starfive,jh7100-reset";
+ reg = <0x11840000 0x10000>;
+ #reset-cells = <1>;
+ };
+
+...