43 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Loongson-1 Watchdog Timer8 9maintainers:10 - Keguang Zhang <keguang.zhang@gmail.com>11 12allOf:13 - $ref: watchdog.yaml#14 15properties:16 compatible:17 enum:18 - loongson,ls1b-wdt19 - loongson,ls1c-wdt20 21 reg:22 maxItems: 123 24 clocks:25 maxItems: 126 27required:28 - compatible29 - reg30 - clocks31 32unevaluatedProperties: false33 34examples:35 - |36 #include <dt-bindings/clock/loongson,ls1x-clk.h>37 watchdog: watchdog@1fe5c060 {38 compatible = "loongson,ls1b-wdt";39 reg = <0x1fe5c060 0xc>;40 41 clocks = <&clkc LS1X_CLKID_APB>;42 };43