diff options
author | Kunihiko Hayashi <hayashi.kunihiko@socionext.com> | 2020-05-13 14:42:25 +0900 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-05-27 19:30:26 -0600 |
commit | b5e47184c37279dc525114287d68b40998ca548c (patch) | |
tree | 0c777fa42973a4112e54618a483fff38fca890d2 /Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml | |
parent | f9a529b9d6f15a065f2ccf5ec67180df431b0c6f (diff) |
dt-bindings: watchdog: Convert UniPhier watchdog timer to json-schema
Convert UniPhier watchdog timer binding to DT schema format.
Cc: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml new file mode 100644 index 000000000000..a059d16cb4f2 --- /dev/null +++ b/Documentation/devicetree/bindings/watchdog/socionext,uniphier-wdt.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/socionext,uniphier-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext UniPhier watchdog timer + +maintainers: + - Keiji Hayashibara <hayashibara.keiji@socionext.com> + +allOf: + - $ref: "watchdog.yaml#" + +properties: + compatible: + const: socionext,uniphier-wdt + +required: + - compatible + +additionalProperties: false + +examples: + - | + // The UniPhier watchdog should be a subnode of a "syscon" compatible node. + + sysctrl@61840000 { + compatible = "socionext,uniphier-ld11-sysctrl", + "simple-mfd", "syscon"; + reg = <0x61840000 0x10000>; + + watchdog { + compatible = "socionext,uniphier-wdt"; + }; + }; |