linux-loongson/Documentation/devicetree/bindings/watchdog/nxp,pnx4008-wdt.yaml
Frank Li 0987760b27 dt-bindings: watchdog: nxp,pnx4008-wdt: allow clocks property
Allow clocks property to fix below CHECK_DTB warning:
  arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: watchdog@4003c000 (nxp,pnx4008-wdt): Unevaluated properties are not allowed ('clocks' was unexpected)

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20250624201227.2515275-1-Frank.Li@nxp.com
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2025-07-16 18:05:01 +02:00

38 lines
626 B
YAML

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/nxp,pnx4008-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: NXP PNX watchdog timer
maintainers:
- Roland Stigge <stigge@antcom.de>
allOf:
- $ref: watchdog.yaml#
properties:
compatible:
const: nxp,pnx4008-wdt
reg:
maxItems: 1
clocks:
maxItems: 1
required:
- compatible
- reg
unevaluatedProperties: false
examples:
- |
watchdog@4003c000 {
compatible = "nxp,pnx4008-wdt";
reg = <0x4003c000 0x1000>;
timeout-sec = <10>;
};