Skip to content

Commit

Permalink
Merge tag 'linux-watchdog-6.5-rc2' of git://www.linux-watchdog.org/li…
Browse files Browse the repository at this point in the history
…nux-watchdog

Pull watchdog update from Wim Van Sebroeck:

 - Add Loongson-1 watchdog dt-bindings

* tag 'linux-watchdog-6.5-rc2' of git://www.linux-watchdog.org/linux-watchdog:
  dt-bindings: watchdog: Add Loongson-1 watchdog
  • Loading branch information
Linus Torvalds committed Jul 10, 2023
2 parents 419caed + 2500df5 commit 3f01e9f
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Loongson-1 Watchdog Timer

maintainers:
- Keguang Zhang <keguang.zhang@gmail.com>

allOf:
- $ref: watchdog.yaml#

properties:
compatible:
enum:
- loongson,ls1b-wdt
- loongson,ls1c-wdt

reg:
maxItems: 1

clocks:
maxItems: 1

required:
- compatible
- reg
- clocks

unevaluatedProperties: false

examples:
- |
#include <dt-bindings/clock/loongson,ls1x-clk.h>
watchdog: watchdog@1fe5c060 {
compatible = "loongson,ls1b-wdt";
reg = <0x1fe5c060 0xc>;
clocks = <&clkc LS1X_CLKID_APB>;
};

0 comments on commit 3f01e9f

Please sign in to comment.