Commit 1cb113c5 authored by Nik Bune's avatar Nik Bune Committed by Wim Van Sebroeck
Browse files

dt-bindings: watchdog: nxp,pnx4008-wdt: convert txt to yaml

parent 70f272bd
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
# 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

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@4003c000 {
        compatible = "nxp,pnx4008-wdt";
        reg = <0x4003c000 0x1000>;
        timeout-sec = <10>;
    };
+0 −17
Original line number Diff line number Diff line
* NXP PNX watchdog timer

Required properties:
- compatible: must be "nxp,pnx4008-wdt"
- reg: physical base address of the controller and length of memory mapped
  region.

Optional properties:
- timeout-sec: contains the watchdog timeout in seconds.

Example:

	watchdog@4003c000 {
		compatible = "nxp,pnx4008-wdt";
		reg = <0x4003C000 0x1000>;
		timeout-sec = <10>;
	};